summaryrefslogtreecommitdiff
path: root/3828/CH3/EX3.7/Ex3_7.sce
blob: 0a855ba047e3b458bdd5528248c7a4a58f8cc46e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 3 : Polarization

clear;

//Variable declaration
l=2                    //length of the tube
s=60                   //specific rotation
theta=12               //angle of rotation of plane vibration

//Calculations
C=theta/(l*s)*100

//Result
mprintf("The solution is of %d percent",C)