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
0
Answer:
- According to the ans of the a.
- Explanation:
Answered by
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
Chinese,
4 months ago
Social Sciences,
4 months ago
English,
8 months ago
Chemistry,
8 months ago
English,
1 year ago