Given that the radius of a hemisphere is increased by a fixed percentage so, the target is to calculate the percentage increase in the volume of the hemisphere.

Examples:

Input :

20

Output :

72.8 %

Input :

70

Output :

391.3 %

**Approach:**

Let, the radius of the hemisphere =

Given percentage increase =

Volume before increase =

New radius after increase =

So, new volume =

Change in volume =

Percentage increase in volume =

**Below is the Python code implementation of the above mentioned approach.**

`# Python3 program to find percentage increase ` `# in the volume of the hemisphere ` `# if the radius is increased by a given percentage ` ` ` `def` `newvol(x): ` ` ` ` ` `print` `(` `"percentage increase in the volume of the"` ` ` `" hemisphere is "` `, ` `pow` `(x, ` `3` `) ` `/` `10000` `+` `3` `*` `x ` ` ` `+` `(` `3` `*` `pow` `(x, ` `2` `)) ` `/` `100` `, ` `"%"` `) ` ` ` `# Driver code ` `x ` `=` `10.0` `newvol(x) ` |

*chevron_right*

*filter_none*

**Output : **

percentage increase in the volume of the hemisphere is 33.1 %

Attention geek! Strengthen your foundations with the **Python Programming Foundation** Course and learn the basics.

To begin with, your interview preparations Enhance your Data Structures concepts with the **Python DS** Course.