Question: prefered python Q1.Write a program / pseudocode for the following problems. Given are three sides of triangle are 5,6 and 7. i)Calculate the semi-perimeter and

 prefered python Q1.Write a program / pseudocode for the following problems.

prefered python

Q1.Write a program / pseudocode for the following problems. Given are three sides of triangle are 5,6 and 7. i)Calculate the semi-perimeter and area from the three sides of the triangle. Print the area of the triangle. ii) Calculate the height of the triangle where base is 2.5. print the height. Formulas given below Height = 2 X area / base ; semi-perimeter = (a + b + c)/2 ; Area of Triangle = vs(s-a)(s-b)(s-c) ( s is semi- perimeter ]

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!