How to calculate an area of a circle | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to calculate an area of a circle

I need to calculate the area of a circle using import.math

28th Feb 2018, 3:15 AM
Camila Lancheros
Camila Lancheros - avatar
4 Answers
+ 1
Area=Math.PI×Math.pow(radius, 2); I think this is more correct...
28th Feb 2018, 4:44 PM
Meeky
Meeky - avatar
+ 5
area=π×Math.pow(radius);
28th Feb 2018, 4:55 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 1
The best way to calculate this (I think) is to use the area of a circle most math import packages include a pi value
28th Feb 2018, 3:35 AM
A G
A G - avatar
0
pie*r*2*2 thats mean pie multiply by square of radius...
28th Feb 2018, 4:32 AM
Kunal Kumar
Kunal Kumar - avatar