Home / Questions / Write a Java expression for √(2as + u²).
Explanatory Question

Write a Java expression for √(2as + u²).

👁 87 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation


Math.sqrt(2 * a * s + Math.pow(u, 2));

or


Math.sqrt(2 * a * s + u * u)