Question: Need to be coded in python 1. Convert from meters to British length units Make a program where you set a length given in meters
1. Convert from meters to British length units Make a program where you set a length given in meters and them compute and write out the corresponding length measured in inches, in feet, in yards, and in miles. Use that one inch is 2.54 cm, one foot is 12 inches, one yard is 3 feet, and one British mile is 1760 yards. For verification, a length of 640 meters corresponds to 25196.85 inches 2099.74 feet, 699.91 yards, or 0.3977 miles. 2. Compute the growth of money in a bank Let p be a bank's interest rate in percent per year. An initial amount A has then grown to A(1 +p/100)" after n years, Make a program for computing how much money 1000 euros have grown to after three years with 5 percent interest rate 3. Type in programs and debug them Type these short programs in your edito nd execute them, When they do not work, identify and correct thelerroneous statements. a. Does sin (co (r)1 from math import sin, cos l_val ; math.sin"2(x) + math.cos*2 (x) print (1 val) b. b. Computer s in meters when 0.5at, with to 3 m/s, t 1s, a- 2m/s2 ve 3 m/s a2 m/s* 2 print(s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
