calculate total surface area of Hemisphere in java

Previous
Next

In this post, we will see how to calculate total surface area of Hemisphere in java.

Hemisphere is exactly half of sphere.

There can be many practical examples of Hemisphere. You can divide earth into two hemisphere i.e. Northen Hemisphere and Southern Hemisphere.
Hemisphere

Formula of calculating total surface area of Hemisphere is:

surface area of Hemisphere = 2 *Π * r * r
Where r is radius of hemisphere.

Here is java program to calculate total surface area of Hemisphere. We are using scanner class to take input from user in below program.

When you run above program, you will get below output

Enter the radius of hemisphere :
3
Total surface area of Hemisphere is: 56.548667764616276

That’s all about how to calculate total surface area Hemisphere in java.

Previous
Next

Add Comment