blob: 3db76f95e86829103a25ae9e44ae8d78f9211cd5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 1.8
clc();
clear;
//To calculate the distance from the edge of wedge
alpha=0.01 //units in radians
n=10
lamda=6000 //units in armstrongs
lamda=lamda*10^-10 //units in mts
x=((2*n-1)*lamda)/(4*alpha) //units in mts
printf("Distance from the edge of the wedge is %.6fmts",x)
|