performance - Computing Rotation Speed In C++ -


basically, in c++, how compute how long take car wheel rotate 360 degrees while moving @ speed of 10 mph? i've tried googling nothing showed up. ideas?

as usual, i've searched site answer nothing showed - unless missed one.

thanks.

if know speed of object , radius of circle moves on, time needed 1 rotation is

rotation_time = 2*pi*radius/speed 

the number of rotations per time unit is

rotation_speed = 1/rotation_time 

the angular speed is

angular_speed = full_circle/rotation_time, 

with value of full_circle depending on angular unit, e.g. 360 or 2*pi.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -