summaryrefslogtreecommitdiff
path: root/2780/CH7/EX7.30/Ex7_30.sce
blob: c7d9bd444a7a069e229d70db536cab06cabda2de (plain)
1
2
3
4
5
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")