From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 443/CH17/EX17.20/17_20.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 443/CH17/EX17.20/17_20.sce (limited to '443/CH17/EX17.20/17_20.sce') diff --git a/443/CH17/EX17.20/17_20.sce b/443/CH17/EX17.20/17_20.sce new file mode 100755 index 000000000..49cdff7c8 --- /dev/null +++ b/443/CH17/EX17.20/17_20.sce @@ -0,0 +1,14 @@ +pathname=get_absolute_file_path('17_20.sce') +filename=pathname+filesep()+'17_20_data.sci' +exec(filename) +//Mean height of the indicator diagram(in mm) +H=(Area/l) +//Mean effecive pressure(in bar) +mep=(H)*d +//Indicated power(in kW) +ip=(mep*10^5*0.25*%pi*D^2*L*0.5*N)/60000 +//Brake power(in kW) +bp=ip*nm +printf("\n\nRESULTS\n\n") +printf("\nIndicated power:%f\n",ip) +printf("\nBRake power:%f\n",bp) \ No newline at end of file -- cgit