diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1586/CH1 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1586/CH1')
-rw-r--r-- | 1586/CH1/EX1.1/EXP1_1.jpg | bin | 0 -> 166761 bytes | |||
-rw-r--r-- | 1586/CH1/EX1.1/EXP1_1.sce | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/1586/CH1/EX1.1/EXP1_1.jpg b/1586/CH1/EX1.1/EXP1_1.jpg Binary files differnew file mode 100644 index 000000000..ccd5a93b1 --- /dev/null +++ b/1586/CH1/EX1.1/EXP1_1.jpg diff --git a/1586/CH1/EX1.1/EXP1_1.sce b/1586/CH1/EX1.1/EXP1_1.sce new file mode 100644 index 000000000..47e265656 --- /dev/null +++ b/1586/CH1/EX1.1/EXP1_1.sce @@ -0,0 +1,19 @@ +clc;funcprot(0);//EXAMPLE 1.1
+// Initialisation of Variables
+wf=30;.............//Weight of the bicycle frame made of steel in lb
+rho1=7.8;...........//Density of steel in g/cm^3
+rho2=2.7;..........//Density of Aluminum in g/cm^3
+rho3=4.5;...........//Density of Titanium in g/cm^3
+rho4=1.8;..........//Density of Carbon fiber in g/cm^3
+//CALCULATIONS
+vf=(wf*454)/rho1;..........//Volume of frame in cm^3
+wa1=(vf*rho2)/454;.........//Weight of Aluminum in lbs
+wa2=(rho2/rho1)*wf;.......//Weight of Aluminum alloy in lb
+wt=(rho3/rho1)*wf;........//Weight of Titanium in lb
+wc=(rho4/rho1)*wf;........//Weight of Carbon fiber in lb
+disp(round(vf),"Volume of frame in cm^3:")
+disp(wa1,"Weight of Aluminum in lbs:")
+disp(wa2,"Weight of Aluminum alloy in lbs:")
+disp(wt,"Weight of Titanium in lbs:")
+disp(wc,"Weight of Carbon fiber in lbs:")
+printf("As can be seen, substantial reduction in weight is possible using materials other than steel.")
|