summaryrefslogtreecommitdiff
path: root/1991/CH9/EX9.12/12.sce
blob: 5cb52a4438ce2bec46cfcd22daf21e2aa6064278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear
//input
v=400//pd
d=4*10^-3 //distance of seperation
B=0.52//flux density
na=6*10^23//avagadro number
//calculation
x=2*1.6*10^-19/(4*10^-26)//specific charge of ions
r=1*10^5/(8*10^6*B*B)// path radius
//output
printf("the specific charge of ions is %3.0e C/kg",x)
printf("\n the path radius is %3.3e m",r)