summaryrefslogtreecommitdiff
path: root/2123/CH3/EX3.1/Exa_3_1.sce
blob: 82b46d0765b96c3af0b5853f1eb16c003cce3ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Example No. 3.1
clc;
clear;
close;

//Given Data : 
MoI=0.3;//Kg-m^2
T=20;//N-m
MoIshaft=10;//in Kg-m^2
LostT=10;//%

//Solution : 
MoItotal=MoI+MoIshaft;//in Kg-m^2
LoadTorque=T-T*LostT/100;//in N-m
disp(MoItotal,"Total Moment of Inertia in Kg-m^2 : ");
disp(LoadTorque,"Load Torque in N-m : ");