ICSE Class 10 Computer Applications Question 45 of 76

Revising Basic Java Concepts — Question 49

Back to all questions
49
Question

Question 30(a)

Write a Java expression for the following :

3x+x2a+b\dfrac{\sqrt{3x + x^2}}{a + b}

Answer

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