summaryrefslogtreecommitdiff
path: root/3557/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3557/CH5/EX5.3/Ex5_3.sce
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 '3557/CH5/EX5.3/Ex5_3.sce')
-rw-r--r--3557/CH5/EX5.3/Ex5_3.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3557/CH5/EX5.3/Ex5_3.sce b/3557/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..407456640
--- /dev/null
+++ b/3557/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,28 @@
+//Example 5.3//
+c1=5;//at % //drop in carbon concentration 5 to 4 at %
+c2=4;// at % //drop in carbon concentration 5 to 4 at %
+x1=1;//mm //millimetre
+x2=2;//mm //millimetre
+d=(c1-c2)/(x1-x2)
+mprintf("d = %i at percent /mm",d)
+a=7.63;//g/cm^3 //gram per cubic centimeter
+b=0.6023*10^24;//atoms //Avgardo's number
+c=55.85;//g //atomic mass of iron (from appendix 1)
+p=a*(b/c)
+mprintf("\np = %e atoms/cm^3",p)
+a1=0.01;//given
+c1=1;//mm //millimetre
+d1=10^6;//cm^3/m^3
+e1=10^3;//mm/m
+d2=-((a1*p)*c1)*(d1)*(e1)
+mprintf("\nd2 = %e atoms/m^4",d2)
+D0=20*10^-6;//m^2/s //preexponential constant
+Q=142000;//J/mol //activation energy for defect motion
+R=8.314;//J/mol/K //universal gas constant
+T=1273;//K //Kelvin // absolute temperature
+Dc=D0*(%e^-(Q/(R*T)))
+mprintf("\nDc = %e m^2/s",Dc)
+c2=(-8.23*10^29);//atoms/m^4
+J=-Dc*c2
+mprintf("\nJ =%e atoms/(m^2.s)",J )
+