summaryrefslogtreecommitdiff
path: root/24/CH41/EX41.1/Example41_1.sce
blob: 2c55503452fb5d309837925acd8c11cc8d59b43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Given that
Bdot = 1.4/10^-3  //in T/m
w = 3.5*10^-2  //in m
v = 750  //in m/s
M = 1.8*10^-25  //in kg
u = 9.27*10^-24  //in J/T

//Sample Problem 41-1
printf("**Sample Problem 41-1**\n")
Fz = u*Bdot
a = Fz/M
t = w/v
d = 0.5*a*t^2
printf("The atoms have been deflected %e m", d)