subject
Engineering, 20.02.2020 08:33 blackbetty79

2.13 LAB: Driving costs Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 20 miles, 75 miles, and 500 miles. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('{:.2f} {:.2f} {:.2f}'.format(your_value1, your_value2, your_value3)) Ex: If the input is: 20.0

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
question
Engineering, 04.07.2019 19:10
Starting wih an energy balance on a rectangular volume element, derive the one- dimensional transient heat conduction equation for a plane wall with constant thermal conductivity and no heat generation.
Answers: 1
question
Engineering, 06.07.2019 04:10
Water flows at the rate of 200 i/s upwards through a tapered vertical pipe. the diameter at marks(3) clo5) the bottom is 240 mm and at the top 200 mm and the length is 5m. the pressure at the bottom is 8 bar, and the pressure at the topside is 7.3 bar. determine the head loss through the pipe. express it as a function of exit velocity head.
Answers: 3
question
Engineering, 06.07.2019 04:30
List five instruments for angular measurement and explain one of them witlh appropriate diagram(s)
Answers: 1
You know the right answer?
2.13 LAB: Driving costs Driving is expensive. Write a program with a car's miles/gallon and gas doll...
Questions
question
Mathematics, 13.10.2020 15:01
question
Social Studies, 13.10.2020 15:01
question
Mathematics, 13.10.2020 15:01
question
History, 13.10.2020 15:01
question
English, 13.10.2020 15:01
Questions on the website: 13722367