blob: de4fa433410cc6b27db27dd2472282c11856dcee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
// Given that
lambda = 5.893e-7 // wavelength of light in meter
d = 2.3e-3 // diameter of the central zone of zone plate in meter
u = 6 // distance between point source from zone plate in meter
// Sample Problem 11 on page no. 2.42
printf("\n # PROBLEM 11 # \n")
n = 1 // for central zone
f = (d^2) / (4 * lambda * n) // calculation for focal length
disp(f)
v = (f * u) / (u - f) // calculation for distance of first image from zone plate
printf("\n Standard formula used \n f = (d^2) / (4 * lambda * n). \n v = (f * u) / (u - f). \n ")
printf("\n Distance of first image from zone plate = %f meter ",v)
|