English

Write a Java Expression for the Following : Sqrt(3"X"+"X"^2)/"A+B" - Computer Applications

Advertisements
Advertisements

Question

Write a Java expression for the following :

`sqrt(3"x"+"x"^2)/"a+b"`

One Line Answer

Solution

Math.sqrt * (3 * x + Math.pow(x, 2)) / (a + b);

shaalaa.com
Introduction of Operators in Java
  Is there an error in this question or solution?
2017-2018 (March) Set 1
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×