Section 4.2 Exercise 4

A circular balloon is inflated with air flowing at a rate of 10cm\(^3\)/s. How fast is the radius of the balloon increasing when the radius is (a) 1cm? (b) 10cm? (c) 100cm?

Start by using an equation that relates the volume of the balloon to its radius:

\[ V = \frac{4}{3}\pi r^3 \] Differentiate: \[ \frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt} \] Re-arrange for the rate of interest: \[ \frac{dr}{dt} = \frac{1}{4\pi r^2} \frac{dV}{dt} \] Encapsulate in an R function:

a) r = 1cm

## [1] 0.7958

b) r = 10cm

## [1] 0.007958

c) r = 100cm

## [1] 7.958e-05