Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the code using PYTHO N Program 2 Problem Definition: You've been asked to write a program to determine how far a car has traveled
Write the code using PYTHON
Program 2 Problem Definition: You've been asked to write a program to determine how far a car has traveled after 10 seconds, assuming the car is initially traveling at 60mph and the driver applies the brakes to decelerate at a uniform rate of 12 mi/sec 2. Use the following formula: distance = st - (1/2) dt 2 s is the initial speed of the car d is the deceleration t is the elapsed time (conversion) Take the initial speed of 60mph (miles per hour) and divide it to seconds per hour S=S/3600 Program 3 Problem Definition: Write a program that prompts the user which metric conversion they want to use, if they want to convert temperature in degrees Fahrenheit to degree Celsius or Celsius to Fahrenheit. They should be able to select C or F, if they select C they should be able to enter the degree in Fand get the results in C and vice versa. This is the equation for the conversion F to C: Celsius = 5.0/9.0 (Fahrenheit - 32.0) Fahrenheit = 9.0/5.0 *C + 32 Program 4 Problem Definition: The grade level of undergraduate college students in typically determined according to the following schedule: Number of Credits Completed Grade Level Less than 32 Freshman 32 to 63 Sophomore 64 to 95 Junior 96 or more Senior Use the table above to write a program that prompts for the number of credits a student has completed, determines the student's grade level and displays the grade levelStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started