Computer Science, asked by ayan7456, 1 year ago

write a expression in java to find surface area of cone(A).

Attachments:

QGP: It would be:

A = Math.PI * r * (r+Math.sqrt(h*h+r*r))
ayan7456: answer it dude
QGP: Ah well I wasn't going to be able to make the answer sufficiently long ^_^". So just commented here. Anyways, the motive was to help. And I hope that's accomplished :)
ayan7456: well thanks

Answers

Answered by duragpalsingh
7
Hey there!

Expression:

 A = \pi r (r+ \sqrt{h^2 + r^2})

In java:

A = 3.14 * r * ( r + Math.sqrt(h^2 + r^2))

Hope It Helps You!
Similar questions