summaryrefslogtreecommitdiff
path: root/1586/CH11/EX11.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1586/CH11/EX11.3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH11/EX11.3')
-rw-r--r--1586/CH11/EX11.3/EXP11_3.jpgbin0 -> 205232 bytes
-rw-r--r--1586/CH11/EX11.3/EXP11_3.sce23
2 files changed, 23 insertions, 0 deletions
diff --git a/1586/CH11/EX11.3/EXP11_3.jpg b/1586/CH11/EX11.3/EXP11_3.jpg
new file mode 100644
index 000000000..4806b988d
--- /dev/null
+++ b/1586/CH11/EX11.3/EXP11_3.jpg
Binary files differ
diff --git a/1586/CH11/EX11.3/EXP11_3.sce b/1586/CH11/EX11.3/EXP11_3.sce
new file mode 100644
index 000000000..112f11e7f
--- /dev/null
+++ b/1586/CH11/EX11.3/EXP11_3.sce
@@ -0,0 +1,23 @@
+clc;funcprot(0);//EXAMPLE 11.3
+// Initialisation of Variables
+M=200;........//Mass of alpha phase of alloy in gm
+%Sn=61.9;......//Percentage of the Sn in the eutectic alloy in percent
+%Pb=19;.......//Percentage of the Pb in the alpha phase in percent
+%Pb2=97.5;.....//Percentage of the Sn in the beeta phase in percent
+//CALCULLATIONS
+W1=(%Pb2-%Sn)/(%Pb2-%Pb);.....//Weight fraction of alpha phase
+W2=(%Sn-%Pb)/(%Pb2-%Pb);.......//Weight fraction of beeta phase
+Ma=M*W1;......//The mass of the alpha phase in 200g in g
+Mb=M-Ma;......//The amount of the beeta phase in g at 182 degree celsius
+MPb1=Ma*(1-(%Pb/100));.......//Mass of Pb in the alpha phase in g
+MSn1=Ma-MPb1;......//Mass of Sn in alpha phase
+MPb2=Mb*(1-(%Pb2/100));.....//Mass of Pb in beeta phase
+MSn2=123.8-MSn1;.....//mass of Sn in beeta Phase
+disp(W1,"Weight fraction of alpha phase")
+disp(W2,"Weight fraction of beeta phase")
+disp(Ma,"The mass of the alpha phase in 200g in g:")
+disp(Mb,"The amount of the beeta phase in g at 182 degree celsius:")
+disp(MPb1,"Mass of Pb in the alpha phase in g:")
+disp(MSn1,"Mass of Sn in alpha phase")
+disp(MPb2,"Mass of Pb in beeta phase:")
+disp(MSn2,"mass of Sn in beeta Phase:")