summaryrefslogtreecommitdiff
path: root/3369/CH3/EX3.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3369/CH3/EX3.8
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 '3369/CH3/EX3.8')
-rwxr-xr-x3369/CH3/EX3.8/Ex3_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3369/CH3/EX3.8/Ex3_8.sce b/3369/CH3/EX3.8/Ex3_8.sce
new file mode 100755
index 000000000..417bd8547
--- /dev/null
+++ b/3369/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,11 @@
+//Chapter 3, Exmaple 8, page 106
+//Energy of free electron
+clc
+clear
+//Using equation 3.3
+mv2 = (3/2*1.38*10**-21*293) // 1/2*m*v^2
+E = mv2*10**38/1.6*10**-19
+printf("\n1/2*m*v^2 = %e J",mv2)
+printf("\nEnergy of free electron = %f eV",E)
+
+//Answers may vary due to round off error