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 /914/CH15/EX15.3 | |
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 '914/CH15/EX15.3')
-rwxr-xr-x | 914/CH15/EX15.3/ex15_3.sce | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/914/CH15/EX15.3/ex15_3.sce b/914/CH15/EX15.3/ex15_3.sce index df1d64221..12f9eb793 100755 --- a/914/CH15/EX15.3/ex15_3.sce +++ b/914/CH15/EX15.3/ex15_3.sce @@ -1,12 +1,11 @@ -clc;
-warning("off");
-printf("\n\n example15.3 - pg774");
-// given
-// from example 15.2
-n'=0.8851;
-K'=0.01254;
-n=n';
-K=K'/((3*n+1)/(4*n));
-disp(n,"n=");
-printf("\n K = %f N/m^2",K);
-
+clc; +warning("off"); +printf("\n\n example15.3 - pg774"); +// given +// from example 15.2 +n1=0.8851; +K1=0.01254; +n=n1; +K=K1/((3*n+1)/(4*n)); +disp(n,"n="); +printf("\n K = %f N/m^2",K);
\ No newline at end of file |