blob: e490747710f100f1e36042043e589588d66a1909 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Example 5.9, Page number 5.30
clc;clear;close
// variable declaration
N_a=0.3 // numerical aperture
Gamma=45 // coefficient
// Calculations
theta_a=asin(N_a) // degree
theta_as=asin((N_a)/cos(Gamma)) // degree
// Results
printf("Acceptance angle, theta_a = %.2f degrees",(theta_a*180/%pi))
printf("\nFor skew rays,theta_as = %.2f degrees",(theta_as*180/%pi))
// Answer given in the textbook is wrong
|