You will write three small functions for the force of light on a surface. Use m/s.
The idea. Light of intensity falls on an area . If a fraction of it is reflected, the force along the normal is , with the angle of incidence. Then and .
Your tasks.
force, return the force in N for an intensity intensity in W/m², an area area in m², a reflected fraction rho and an angle angle in degrees.acceleration, return the acceleration in m/s² for a force force in N and a mass mass in kg.speed_after_days, return the speed in m/s after days days, for a constant acceleration acc in m/s² that starts from rest.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…