blob: 198d30b21c0f4fede3afafb25bc3c2ad5900da20 (
plain)
1
2
3
4
5
6
7
8
9
|
clc
clear
//input
i1=53//inertia when it spins with panels carrying solar cells
i2=37//inertia about axis of rotation
//calculation
r=i1/i2//law of conservation of angular momentum
//output
printf("the ratio of angular velocities is %3.3f",r)
|