diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1367/CH10/EX10.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1367/CH10/EX10.2')
-rwxr-xr-x | 1367/CH10/EX10.2/10_2.sce | 22 | ||||
-rwxr-xr-x | 1367/CH10/EX10.2/10_2r.txt | 15 |
2 files changed, 37 insertions, 0 deletions
diff --git a/1367/CH10/EX10.2/10_2.sce b/1367/CH10/EX10.2/10_2.sce new file mode 100755 index 000000000..a4284dcfe --- /dev/null +++ b/1367/CH10/EX10.2/10_2.sce @@ -0,0 +1,22 @@ +//Calculate Total weight of lead and tin
+//Exa:10.2
+close;
+clc;
+clear;
+p_pb=11364.1;//density of lead in kg/m^3
+p_sn=7220.14;//density of tin in kg/m^3
+p_e=100/((38/p_pb)+(62/p_sn));//density of eutectic composition at point D
+disp(p_e,"Density of eutectic composition at point D (in kg/m3) = ");
+w=.88*p_e;//in kgf
+w_pb=.38*w;//of lead in kgf
+w_sn=.62*w;//of tin in kgf
+p_b=7300;//density in beta phase in kg/m^3
+w1=.12*p_b;//in kgf
+w1_pb=.03*w1;//of lead in kgf
+w1_sn=.97*w1;//of tin in kgf
+w2_pb=w_pb+w1_pb;//Total weight of lead in kgf
+disp(w2_pb,"Total weight of lead (in kgf) = ");
+w2_sn=w_sn+w1_sn;//Total weight of tin in kgf
+disp(w2_sn,"Total weight of tin (in kgf) = ");
+sn=(w2_sn/(w2_sn+w2_pb))*100;
+disp(sn,"% of Sn = ");
\ No newline at end of file diff --git a/1367/CH10/EX10.2/10_2r.txt b/1367/CH10/EX10.2/10_2r.txt new file mode 100755 index 000000000..8c9c455c6 --- /dev/null +++ b/1367/CH10/EX10.2/10_2r.txt @@ -0,0 +1,15 @@ +Density of eutectic composition at point D (in kg/m3) =
+
+ 8381.559
+
+ Total weight of lead (in kgf) =
+
+ 2829.0733
+
+ Total weight of tin (in kgf) =
+
+ 5422.6986
+
+ % of Sn =
+
+ 65.715566
\ No newline at end of file |