blob: a2887320f95f0c91ae906bb986f4daa32bc8bf29 (
plain)
1
2
3
4
5
6
7
|
clc
//to calculate specific rotation
theta=52.8 //optical rotation in degree
l=20 //length of the solution in cm
c=20/50 //concentration of the solution in gm/cc
alpha=10*theta/(l*c)
disp("the specific rotation is alpha="+string(alpha)+"degree")
|