a^3 + b^3
change to Java expression.
Answers
Answered by
4
Answer:
Math.pow(a,3)+Math.pow(b,3)
Explanation:
Answered by
22
Question:-
- Write the Java expression for the following.
Java Expression:-
Given expression,
a³+b³
The Java expression will be
Math.pow(a, 3)+Math.pow(b,3);
Note:-
Math.pow(x, y) is used to return x raised to the power y. It always returns a value of double data type.
Similar questions
English,
4 months ago
Math,
4 months ago
Environmental Sciences,
4 months ago
English,
8 months ago
Biology,
1 year ago