summaryrefslogtreecommitdiff
path: root/3411/CH3/EX3.1/Ex3_1.sce
blob: 09d3ddf13d5f173440e6086fa3830090da75c8eb (plain)
1
2
3
4
5
6
7
8
9
//Example 3_1
clc();
clear;
//To calculate the polarising angle
u=1.5
ip=atan(u)*(180/%pi)       //units in degrees
printf("The Polarising angle is %.2fdegrees or 56degrees.18minutes",ip)
//in text book the answer is printed wrong as 56degrees.18minutes
//the correct answer is 56.31degrees or 56 degrees 18minutes