Question: Complete these problems and submit the whole notebook 1. The area of a triangle is calculated using the following equation area = (base x height).

 Complete these problems and submit the whole notebook 1. The area

Complete these problems and submit the whole notebook 1. The area of a triangle is calculated using the following equation area = (base x height). Write a Python function to calculate the area of triagle when the base and height values are provided through formal parameters. 2. Write a function to calculate the perimeter of a triangle. For this implementation, the function asks the user to enter the sides of a triangle and calculates its perimeter. Note, the perimeter of traingle is the summation of all three sides (so, if a, b and c are the lengths of each side of a traingle then the perimeter is a + b + c). 3. If the coordinates of a point is given (x, y) in 2D, the distance from the origin is: d= 7x2 + y2. Write a function to calculate the distance of a point from the origin. (you can use parameter or user input to implement this function) In [ ]: In [ ]: In [ ]

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!