Question: 2. Write a Python program that outputs the area of a triangle given its base and height Formula: area = * * base height HINT:

 2. Write a Python program that outputs the area of a

2. Write a Python program that outputs the area of a triangle given its base and height Formula: area = * * base height HINT: user inputs base and height 3. Write a Python program that outputs the area and perimeter of a rectangle given its width and height Formula for area = width * height Formula for perimeter = 2 * (width + height) 4. Given an airplane's acceleration a and take-off speed V, you can compute the minimum runway length needed for an airplane to take off using the following formula: Length = v/(2a) Write a program that prompts the user to enter v in meters/second (m/s) and the acceleration a in meters/second squared and displays the minimum runway length. For example, if v = 60 and a = 3.5 then length should be 514.286 5. Write a program that calculates the energy needed to heat water from an initial temperature to a final temperature. Your program should prompt the user to enter the amount of water in kilograms and the initial and final temperatures of the water. The formula to compute the energy is Q=M* (finalTemperature -initialTemperature) * 4184 where M is the weight of water in kilograms, temperatures are in degrees Celsius, and energy Q is measured in joules

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!