summaryrefslogtreecommitdiff
path: root/3701/CH7/EX7.7/Ex7_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3701/CH7/EX7.7/Ex7_7.sce')
-rw-r--r--3701/CH7/EX7.7/Ex7_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3701/CH7/EX7.7/Ex7_7.sce b/3701/CH7/EX7.7/Ex7_7.sce
new file mode 100644
index 000000000..7f1db54dc
--- /dev/null
+++ b/3701/CH7/EX7.7/Ex7_7.sce
@@ -0,0 +1,17 @@
+////Given
+L=10**-9 //Width in m
+v=9.0*10**-9
+h=1.054*10**-34 //Js
+c=3*10**8 //m/s
+m=9.1*10**-31
+v1=(9.0+1)*10**-9
+v2=(9.0-1)*10**-9
+
+//Calculation
+//
+n=sqrt((4*c*m*(L**2))/(v*%pi*h))
+n1=sqrt((4*c*m*(L**2))/(v1*%pi*h))
+n2=sqrt((4*c*m*(L**2))/(v2*%pi*h))
+
+//Result
+printf("\n value of n is %0.0f When + sign is taken %0.0f when -ve sign is taken %0.0f ",n,n2,n1)