A generator gives a peak of . Its coil can turn , or times a second. You will make the program find the time of one cycle for each, the number of cycles in at , and the voltage after the start at . Then it draws the three waves.
The idea. One cycle takes . The voltage is .
Your tasks.
T_ms, the time of one cycle in milliseconds at the frequency f.cycles, the number of cycles in at .v5, the voltage at when .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…