summaryrefslogtreecommitdiff
path: root/2534/CH3/EX3.1/EX3_1.sce
blob: 5c8e73b38a149d30f7907976ee86e73a7117827b (plain)
1
2
3
4
5
6
7
8
9
10
//Ex3_1
clc
E = 20*10^3
e = -(1.6*10^-19)
F = e*E
disp("E = "+string(E)+"ax V/m")//initializing electic field
disp("e = "+string(e)+"C")//intializing electron charge
disp("F = eE = "+string(F)+"ax N")//calculation for force on electron due to electric field

//  NOTE : answer provided in the textbook is wrong Correct answer is, -3.2*10^16ax N