Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import math
- a = 0 # duty_cycle or percent or %
- b = 0.025 # period or cycles in time
- c = 0.1 # timing or time
- b / c = a
- print ("The duty_cycle equals: ", a)
- # ANSWER: 25% or a = 25%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement