summaryrefslogtreecommitdiff
path: root/2780/CH7/EX7.30/Ex7_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH7/EX7.30/Ex7_30.sce')
-rwxr-xr-x2780/CH7/EX7.30/Ex7_30.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/2780/CH7/EX7.30/Ex7_30.sce b/2780/CH7/EX7.30/Ex7_30.sce
new file mode 100755
index 000000000..c7d9bd444
--- /dev/null
+++ b/2780/CH7/EX7.30/Ex7_30.sce
@@ -0,0 +1,6 @@
+clc
+//to calculate zero point energy
+nu=1 //frequency in Hz
+h=6.63*10^-34 //planck's constant in Js
+zeropointenergy=(h*nu)/2
+disp("zeropointenergy="+string(zeropointenergy)+"J")