Question: python (1) Implement the following class design Cone -baseRadius: float -height: float getBaseRadius (self) getHeight(self) +getSurfaceArea(self) +getVolume (self) changeRadius (self, newRadius) changeHeight (self, newHeight) Use
(1) Implement the following class design Cone -baseRadius: float -height: float getBaseRadius (self) getHeight(self) +getSurfaceArea(self) +getVolume (self) changeRadius (self, newRadius) changeHeight (self, newHeight) Use the following formulae (r stands for base radius, and h stands for height of the cone): Surface Area of a Cone = + rMatra Volume of a Cone = 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
