how to write sin squared in java
<pre><code>double maxHeight = 0.0;

velocity = v;
angle = theta;

maxHeight = Math.pow(velocity, 2.0);
maxHeight = Math.pow(sin, 2.0);
maxHeight *= Math.sin(angle) / (2 * gravity);
</code></pre>

<p>I'm trying to get the <code>Math.pow(sin, 2.0);</code>. it's asking me to declare <code>sin</code>. What am I supposed to put down for it? I'm just trying to get sin squared.</p>