summaryrefslogtreecommitdiff
path: root/1652/CH3/EX3.9/3_9.sce
blob: 077837c3a9edd1499c7bea210fbeca0625295493 (plain)
1
2
3
4
5
6
7
8
clc
//initialization of variables
atoms=5
//calculations
f=3*atoms
fvib=f-3-3
//results
printf("Vibrational degrees of freedom = %d",fvib)