summaryrefslogtreecommitdiff
path: root/1325/CH12/EX12.8/12_8.sce
blob: 163de90668bf1c673fc5fa70e4009f3af4bb7877 (plain)
1
2
3
4
5
6
7
8
9
10
11
//to find the weight of flywheel
clc
//given
N=120//rpm
k=3.5//ft
Ef=2500//ft lb
Ks=.01
g=32.2//ft/s^2
w=%pi*N/30//angular velocity
W=g*Ef/(w^2*k^2*Ks*2240)//Weight of flying wheel
printf("\nWeight of flying wheel, W = %.2f tons",W)