summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.28/Ex5_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.28/Ex5_28.sce')
-rw-r--r--3537/CH5/EX5.28/Ex5_28.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH5/EX5.28/Ex5_28.sce b/3537/CH5/EX5.28/Ex5_28.sce
new file mode 100644
index 000000000..e916a0ec7
--- /dev/null
+++ b/3537/CH5/EX5.28/Ex5_28.sce
@@ -0,0 +1,12 @@
+//Example 5_28
+clc();
+clear;
+//To calculate the effective temprature
+theta=28.5 //units in degrees
+d=0.203 //units in nm
+lamda=(2*d*sin(theta*%pi/180))*10^-9 //units in nano meters
+h=6.626*10^-34
+m=1.67*10^-27
+k=1.38*10^-23
+t=h^2/(3*m*k*lamda^2)
+printf("The effective tempratures is T=%d K",t)