blob: 854f67a5e02f19b419a9ddf95c0e7139540b1a8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Chapter 3, Exmaple 14, page 108
//Diameter of argon atom
clc
clear
//As derived from example 13
N = (1.01*10**5/760)/(1.38*10**-23*273)
printf("\nN = %e atoms/m^3 ",N)
//Use equation 3.10
ra = sqrt((85*10^2/(%pi*3.527*10**22)))
printf("\nra = %e m ",ra)
//Answer may vary due to round off error
|