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. 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
Get step-by-step solutions from verified subject matter experts
