summaryrefslogtreecommitdiff
path: root/273/CH5/EX5.4/ex5_4sce.sce
blob: fb46ec38b9a5729b3064aa6d5fd202c5fa1347fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;clear;
//Example 5.4
//Mass spectrograph, calculation of linear separation of lines formed on photographic plates

//given values
 E=8*10^4;//electric field in V/m
 B=.55//magnetic induction in Wb/m*2
 q=1.6*10^-19;//charge of ions
 m1=20*1.67*10^-27;//atomic mass of an isotope of neon
 m2=22*1.67*10^-27;//atomic mass of other isotope of neon
 //calculation
x=2*E*(m2-m1)/(q*B^2);//
disp(x,'separation of lines (in metre) is:')