A student has a mass of . You will make the program find the student's weight on four bodies with , pick out where the weight is smallest, and find what a bathroom scale marked in kilograms for the Earth would show on the Moon. Then it draws the weights as bars.
The idea. The mass is the same everywhere; only the weight changes. A bathroom scale measures the pull and divides it by , so on the Moon it shows the wrong mass.
Your tasks.
W, the weight on each body, in newtons.lightest to the name of the body where the weight is smallest.scale_moon, what the bathroom scale shows on the Moon, in kilograms.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…