1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//chapter10,Example10_11,pg 275 e=1.6*10^-19 v=5*10^5 B=0.3 N=6.025*10^26 M72=72/N R72=(M72*v)/(B*e) M74=74 R74=(R72/72)*M74 S=2*(R74-R72)//linear separation of two line printf("linear separation of two line\n") printf("S=%.2f m",S)