summaryrefslogtreecommitdiff
path: root/3769/CH10/EX10.22/Ex10_22.sce
blob: 126a51a3cba91428a4a22a193b2b4ba859430daa (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
H=0.40
a=18                  //degree

//Calculation
//
R=H/(cos(a*3.14/180.0))

//Result
printf("\n Magnitude of earths magnetic field is %0.2f  G",R)