summaryrefslogtreecommitdiff
path: root/377/CH1/EX1.8/1_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH1/EX1.8/1_8.sce')
-rw-r--r--377/CH1/EX1.8/1_8.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/377/CH1/EX1.8/1_8.sce b/377/CH1/EX1.8/1_8.sce
new file mode 100644
index 000000000..4f1288baf
--- /dev/null
+++ b/377/CH1/EX1.8/1_8.sce
@@ -0,0 +1,9 @@
+disp("v=(1/(2*pi))*sqrt(k/m0)");
+pi=3.14;
+k=10;
+m0=1*10^-3;
+h=6.6;
+v=(1/(2*pi))*sqrt(k/m0);
+printf('\n The value of v is %f Hz',v);
+E0=(h/2)*v;
+printf('\n The zero point energy is %f *10^-32 J',E0); \ No newline at end of file