summaryrefslogtreecommitdiff
path: root/3648/CH5/EX5.16/Ex5_16.sce
blob: 23bb7ca26424652a0847b7fcd5118e560eef0129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 5_16
clc();
clear;
//To find IMA AMA and Efficiency of the system
si=3
so=1
IMA=si/so
Fo=2000  //units in Newtons
Fi=800   //units in Newtons
AMA=Fo/Fi
effi=AMA/IMA*100
printf("IMA=%.2f\n",IMA)
printf("AMA=%.2f\n",AMA)
printf("Percentage of efficiency is %d percent",effi)