summaryrefslogtreecommitdiff
path: root/3363/CH12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3363/CH12
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3363/CH12')
-rwxr-xr-x3363/CH12/EX12.1/Ex12_1.sce8
-rwxr-xr-x3363/CH12/EX12.3/Ex12_3.sce12
2 files changed, 20 insertions, 0 deletions
diff --git a/3363/CH12/EX12.1/Ex12_1.sce b/3363/CH12/EX12.1/Ex12_1.sce
new file mode 100755
index 000000000..0cf096908
--- /dev/null
+++ b/3363/CH12/EX12.1/Ex12_1.sce
@@ -0,0 +1,8 @@
+//Example 12.1, page 435
+clc
+c=9*10^9
+cm=1.6*10^-19
+d=2.4*10^-10//in m
+v=(c*cm*cm)/d
+e=v/(1.6*10^-19)//in J
+printf("\n The energy is %e ev",e) \ No newline at end of file
diff --git a/3363/CH12/EX12.3/Ex12_3.sce b/3363/CH12/EX12.3/Ex12_3.sce
new file mode 100755
index 000000000..f11fbef39
--- /dev/null
+++ b/3363/CH12/EX12.3/Ex12_3.sce
@@ -0,0 +1,12 @@
+//Example 12.3, page 445
+clc
+h=6.63*10^-34//in J-s
+I=(2*%pi)^2*2.66*10^-47//in kg-m2
+m_H=1/(6.02*10^26)//in kg
+E=(h^2)/I
+printf("\n The energy is %e J",E)
+s=.59*10^-19//in J
+k=1.38*10^-23//in j/k
+T=(s)/k
+printf("\n The temperature is %f K",T)
+//Answer diffrence is because of round off \ No newline at end of file