Computer Science, asked by ashu132005, 2 months ago

Write an expression in Java for
cos x +
a 2 b2 .​

Answers

Answered by peeyush321kumar
0

Answer:

Explanation:

import java.lang.*;

math.cos(x) + (a*a)(b*b)

Answered by Oreki
1

\textsf{\large Java Expression:}

    \texttt{Math.cos(x) + Math.pow(a, 2) + Math.pow(b, 2);}

                           \texttt{// or simply, a * a + b * b}

Similar questions