Computer Science, asked by Tanichakraborty, 8 months ago

write corresponding expression in java of the following------ (mathematical formula)
a). a²+b²
b). 3=x³+y³-xy/2
c). a=0.05-2y³/x-y
d). (a+b)^n/√3+b

it's urgent.....
please help me.....
no offensive answer....
want correct answer.......
please........​

Answers

Answered by roydebjyoti551
0

Answer:

  • According to the ans of the a.

  • Explanation:

 {a}^{2}  +  {b}^{2}  =  {(a + b)}^{2}  - 2ab

Answered by anindyaadhikari13
1

Question:-

  • Write the corresponding expression for the following in Java.

Solution:-

Question 1.

a²+6² can be written as,

a*a+6*6

Question 2.

x³+y³-xy/2 can be written as,

Math.pow(x,3)+Math.pow(y,3)-(x*y)/2.0

Question 3.

a=0.05-2y³/(x-y) can be written in Java as,

a=0.05-2*Math.pow(y,3)/(x-y)

Question 4.

(a+b)^n/(√3+b) can be written in Java as,

Math.pow(a+b, n)/(Math.sqrt(3)+b)

Similar questions