blob: d46d8c612a1ce3ab6ec649bbf3ddb3a36fa48433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 1_36
clc();
clear;
//To find the order which will be visible at this point
lemda1=6000 //units in angstroam
lemda1=6000*10^-8 //units in cm
lemda2=4500 //units in angstroam
lemda2=4500*10^-8 //units in cm
n1=21
n2=(n1*lemda1)/lemda2
printf("The order is %.0f",n2)
|