summaryrefslogtreecommitdiff
path: root/1652/CH4/EX4.1/4_1.sce
blob: 423506517f6c0416837e7af695f429d00bf40d0c (plain)
1
2
3
4
5
6
7
8
9
clc
//initialization of variables
B=10.34 //cm^-1
c=2.998*10^10 //cm/s
h=6.625*10^-27 //erg sec
//calculations
I=h/(8*%pi^2 *B*c)
//results
printf("Moment of inertia = %.2e g cm^2",I)