summaryrefslogtreecommitdiff
path: root/343/CH4/EX4.30/ex4_30.sce
blob: 43c9c2bf9d01d5f5f9e0f1f68152613d33280c35 (plain)
1
2
3
4
5
6
7
8
clc
cl1=1.5          //Assigning values to parameters
cl2=0.5*0.5*cl1
tec=cl1*3+cl2*4
tei=36
eo=500
n=eo*100/(eo+tei+tec)
disp(n,"The efficiency is")