blob: ecdef4c084fe0d5cd530c28208d57bb605a095fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Example number 1.14, Page number 1.39
clc;clear;close
//Variable declaration
theta=5*10**-3/2// unitless
lamda=5*10**-7 // in m
//Calculation
a=(lamda)/theta // in m
printf("a=%0.e m",(a))
printf("\n a=%.1f mm",a*10**3)
|