각속도 변환기
rad/s·rpm·deg/s·rev/s·rev/h 상호 변환.
변환 결과
라디안/초 (rad/s)
0.1047197551
도/초 (°/s)
6
분당 회전수 (rpm)
1
초당 회전수 (rps)
0.01666666667
시간당 회전수 (rph)
60
자주 묻는 질문
코드 구현
import math
# Angular velocity unit converter
UNITS = {
'rad_s': 1, # base unit
'deg_s': math.pi / 180, # 1 deg/s = π/180 rad/s
'rpm': (2 * math.pi) / 60, # 1 rpm = 2π/60 rad/s
'rps': 2 * math.pi, # 1 rev/s = 2π rad/s
'rph': (2 * math.pi) / 3600 # 1 rev/h = 2π/3600 rad/s
}
def convert_angular_velocity(value, from_unit, to_unit):
"""Convert between angular velocity units"""
in_rad_s = value * UNITS[from_unit]
return in_rad_s / UNITS[to_unit]
def linear_velocity(angular_rad_s, radius_m):
"""Calculate linear velocity from angular velocity"""
return angular_rad_s * radius_m # v = ω × r
# Motor shaft angular velocity
motor_rpm = 1800
omega = convert_angular_velocity(motor_rpm, 'rpm', 'rad_s')
print(f"{motor_rpm} rpm = {omega:.4f} rad/s")
print(f"{motor_rpm} rpm = {convert_angular_velocity(motor_rpm, 'rpm', 'deg_s'):.2f} deg/s")
# Linear velocity at wheel rim
radius = 0.3 # 30 cm
v = linear_velocity(omega, radius)
print(f"Wheel rim speed: {v:.2f} m/s = {v * 3.6:.2f} km/h")
Comments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.