summaryrefslogtreecommitdiff
path: root/1280/CH8/EX8.12/8_12.sce
blob: d510d2fea2c6ffebdcff1de876d7379d69a9927e (plain)
1
2
3
4
5
6
7
8
clc
//initialisation of variables
eo= 88 //perecent
ev= 97 //percent
//CALCULATIONS
em= eo*100/ev
//RESULTS
printf ('mechanical efficency = %.2f percent',em)