Social Sciences, asked by sayandeep30, 7 months ago

if the java expression of ab+bc+ca=a*b+b*c+c*a, then what is the java expression of (a+b)^n​

Answers

Answered by BrainlyProgrammer
9

Answer:

Math.pow((a+b),n);

Bro plz follow me..... give thanks.....mark it as brainliest

Answered by anindyaadhikari13
2

Question:-

  • Write the java expression for the following.

Solution:-

Given expression,

 \sf {(a + b)}^{n}

The java expression will be,

Math.pow(a+b, n);

Note:- Math.pow(x, y) is used to return x raised to the power y.

Similar questions