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/CH4/EX4.1/EXP4_1.sce | |
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/CH4/EX4.1/EXP4_1.sce')
-rw-r--r-- | 1586/CH4/EX4.1/EXP4_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1586/CH4/EX4.1/EXP4_1.sce b/1586/CH4/EX4.1/EXP4_1.sce new file mode 100644 index 000000000..cb6f0f950 --- /dev/null +++ b/1586/CH4/EX4.1/EXP4_1.sce @@ -0,0 +1,12 @@ +clc;funcprot(0);//EXAMPLE 4.1
+// Initialisation of Variables
+Lp=0.36151;........//The lattice parameter of FCC copper in nm
+T1=298;..........//Temperature of copper in K
+Qv=20000;...........//Heat required to produce a mole of vacancies in copper in cal
+R=1.987;.........//The gas constant in cal/mol-K
+//CALCULATIONS
+n=4/(Lp*10^-8)^3;..........//The number of copper atoms or lattice points per cm^3 in atoms/cm^3
+nv1=n*exp(-Qv/(T1*R));.......//concentration of vacancies in copper at 25 degree celsius in vacancies /cm^3
+nv2=nv1*1000;.......//concentration of vacancies in copper atoms at T2 temperature
+T2=-Qv/(R*log(nv2/n));.......//temperature at which this number of vacancies forms in copper in K
+disp(round(T2-273),"Temperature at which this number of vacancies forms in copper in Degree celsius:")
|