Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Show any/all additional variable names and types that you choose to use. Write a

ID: 3851696 • Letter: S

Question

Show any/all additional variable names and types that you choose to use. Write a statement to convert z pounds to y grams (recall: 454 g = 1 lb). Write a statement to convert x miles/hour to y feet/sec (recall: 1 mile = 5280 feet and 1 minute = 60 seconds). Write a statement that can be used to calculate the volume of a hollow sphere V = 4/3 pi(r^3_0 - r^3_1), where r_o is the outer radius and r_l is the inner radius. Write a statement to calculate the distance, d, between two points (x_1, y_1) and (x_2, y_2). Recall that d is defined by: d = Squareroot (x_2 - x_1)^2 + (y_2 - y_1)^2

Explanation / Answer

16.

Since 454gm = 1lb

x lb = x*454 gm

Therefore, y = x*454

17.

Since 1 mile = 5280 feet

x miles/hour = 5280/3600 feet/sec

Therefore, y= (5280/3600)*x