Computer Science, asked by ayan7456, 1 year ago

write the expression in java for : T =
 \sqrt({a { { }^{} }^{2} }  + b {}^{2}  + c {  }^{2} )

Attachments:

QGP: It would be:

T = Math.sqrt(A*A+B*B+C*C)

Answers

Answered by duragpalsingh
2
Hey there!

Java expression for:

 T = \sqrt{A^2 + B^2 + C^2}

In java:

T = Math.sqrt(Math.pow(A,2)+ Math.pow(B,2) + Math.pow(C,2))

Hope It Helps You!
Similar questions