diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1379/CH12/EX12.1.5 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1379/CH12/EX12.1.5')
-rwxr-xr-x | 1379/CH12/EX12.1.5/example12_5.sce | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/1379/CH12/EX12.1.5/example12_5.sce b/1379/CH12/EX12.1.5/example12_5.sce index f99f24ae6..0a57d1e5f 100755 --- a/1379/CH12/EX12.1.5/example12_5.sce +++ b/1379/CH12/EX12.1.5/example12_5.sce @@ -1,15 +1,14 @@ -
-
-//example 12.5
-clc; funcprot(0);
-// Initialization of Variable
-l=25;
-pi=3.1428;
-rhos=2690;//density of ore
-emin=0.6;
-emax=0.8;
-//calculation
-Pmax=rhos*(1-emin)*g*l;
-disp(Pmax,"The maximum pressure drop in (N/m^2):");
-Pmin=rhos*(1-emax)*g*l;
-disp(Pmin,"The minimum pressure drop in (N/m^2):");
+//example 12.5 +clc; funcprot(0); +// Initialization of Variables +l=25; + g = 9.81; +pi=%pi; +rhos=2690;//density of ore +emin=0.6; +emax=0.8; +//calculation +Pmax=rhos*(1-emin)*g*l; +disp(Pmax,"The maximum pressure drop in (N/m^2):"); +Pmin=rhos*(1-emax)*g*l; +disp(Pmin,"The minimum pressure drop in (N/m^2):");
\ No newline at end of file |