summaryrefslogtreecommitdiff
path: root/3492/CH1/EX1.4/Ex1_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3492/CH1/EX1.4/Ex1_4.sce')
-rw-r--r--3492/CH1/EX1.4/Ex1_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3492/CH1/EX1.4/Ex1_4.sce b/3492/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..41c14c2a6
--- /dev/null
+++ b/3492/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,13 @@
+clc
+//Chapter1
+//Ex_1.4
+//Given
+k=1.38*10^-23 //in J/K
+m=9.1*10^-31 // in Kg
+T=300 // in Kelvin
+v_av=sqrt(8*k*T/(%pi*m))
+disp(v_av*10^-3,"Mean speed for a gas of non interacting electrons in Km is ")
+v=sqrt(2*k*T/(m))
+disp(v*10^-3,"Most probable speed for a gas of non interacting electrons in Km is")
+v_rms=sqrt(3*k*T/(m))
+disp(v_rms*10^-3,"rms velocity for a gas of non interacting electrons in Km is")