Question: Question No . 1 : Functions in Python. Given Write a Python program that includes the following functions: Function 1 : Calculate the area of

Question No.1: Functions in Python.
Given Write a Python program that includes the following functions:
Function 1: Calculate the area of a right triangle. Use the formula Area ab2, where a and b are the triangle base and height.
Function 2: Calculate the volume of a cone of height h and base radius r. Use the formula Volume =r2h3
Test your program with the following input parameters:
Triangle with a=5cm and b=3cm
Cone with r=5cm and h=15cm
Cone with r=10cm and h=10cm
 Question No.1: Functions in Python. Given Write a Python program that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!