blob: 88beff375e588e087f3eaeb5c02f9e3298e84a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clc
//
//
//
//Variable declaration
theta1=9.9 //rotation of plane
l=2 //Length
c=0.08 //Concentration
s2=66 //specific rotation
//Calculations
s1=((theta1)/(l*c))
pis=((s2-s1)/s2)*100
pps=100-pis
//Result
printf("\n percentage of purity of sample %0.3f percentage",pps)
|