summaryrefslogtreecommitdiff
path: root/1652/CH4/EX4.3/4_3.sce
blob: 1111d67c9c1e9e9dadb04765480420a7c545b10f (plain)
1
2
3
4
5
6
7
8
9
clc
//Initialization of variables
c=2.998*10^10 //cm/s
wave=2990 //cm^-1
mu=1.627*10^-24 //g
//calculations
k=mu*(2*%pi*c*wave)^2
//results
printf("Force constant = %.2e dynes/cm",k)