OnlineNursingOwl
← All nursing posts

Engineering · Studypool

LSC Area of A Circle with Radius of R Questions

Overview

I'm working on a engineering multi-part question and need an explanation and answer to help me learn.

Please write a script in Google Colab to calculate the Area of a Circle with radius of r, as your input variable. You also need to use the format printing style to have your output similar as below:

The area of a circle with the radius of 1 ft is  3.14159 ft2

You may just simply use 3.14159 as your PI value OR you may import math library into your Colab by simply using import math command and use math.pi

import math

math.pi