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 /1085/CH2/EX2.15/ex2_15.sce | |
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 '1085/CH2/EX2.15/ex2_15.sce')
-rwxr-xr-x | 1085/CH2/EX2.15/ex2_15.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1085/CH2/EX2.15/ex2_15.sce b/1085/CH2/EX2.15/ex2_15.sce new file mode 100755 index 000000000..dd78e593e --- /dev/null +++ b/1085/CH2/EX2.15/ex2_15.sce @@ -0,0 +1,11 @@ +//Exam:2.15
+clc;
+clear;
+close;
+Atw_Cu=63.54;//atomic weight of copper
+Atw_Si=28.09;//atomic weight of silicon
+// 5 atoms of copper working in Cu_5_Si
+Tw_Cu=5*Atw_Cu;//total weight of copper used in copper silicide
+Tw_Si=Atw_Si;//total weight of silicon used in copper silicide
+Percentage=(Tw_Si/(Tw_Cu+Tw_Si))*100;//percentage of Si in Copper silicide
+disp(Percentage,'percentage of Si in Copper silicide(Cu_5_Si)=')
\ No newline at end of file |