From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 779/CH12/EX12.8/12_8.sce | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '779/CH12') diff --git a/779/CH12/EX12.8/12_8.sce b/779/CH12/EX12.8/12_8.sce index 717fa67d9..82f0d3617 100755 --- a/779/CH12/EX12.8/12_8.sce +++ b/779/CH12/EX12.8/12_8.sce @@ -2,6 +2,7 @@ h1 = 2758; h2 = 1817; h3 = 192; h4 = 200; Wt = h1-h2; Wp = h4-h3; Q1 = h1-h4; Wnet = Wt-Wp; +cpg = 1.1; n1 = Wnet/Wt; WR = Wnet/Wp; Q1_ = 100; @@ -52,4 +53,4 @@ n2d = POd/EIRd; disp("Part (d)") disp("%",n1d*100,"n1 is") disp("%",n2d*100,"n2 is") -disp(WRd,"Work ratio is") +disp(WRd,"Work ratio is") \ No newline at end of file -- cgit