Computer Science, asked by prosnehal7, 1 month ago

write the Java expression for √2as+u²​

Answers

Answered by fbbackupbretta
3

Answer:

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

Explanation:

plz mark as brainliest

Answered by BrainlyProgrammer
5

Answer:

\large{\bold{\text{Java Expresion for:-}\sqrt{2as}+u^{2}}}

Here is it..

\sf{Math.sqrt(2*a*s)+Math.pow(u,2)}\\OR\\Math.pow((2*a*s),0.5)+Math.pow(u,2)

Remember:-

  • sqrt() returns the square root of the number
  • pow() returns the number raised to the other number

More Math Functions..

  • cbrt() returns the cube root of a number
  • exp() returns the exponential value of a number
  • ceil() returns the rounded value upto next higher number of an integer
  • floor() it is just pposite to ceil() and it rounds the number to next lower integer
  • rint() returns the rounded vaue of an integer
  • round() returns the value upto next higher number ignoring whether it is negative or whether it is positive
  • abs() returns the absolute(positive) value of a number

Similar questions