summaryrefslogtreecommitdiff
path: root/3636/CH1/EX1.5/Ex1_5.sce
blob: 959c746e879521f0f8aa26fd593820f964e405d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
clear;
Ey=3*10^4 //electric field in y-axis in N/C
Ex=0      //electric field in x-axis in N/C
q=1.6*10^-19 //electric charge in C
me=9.1*10^-31 //in kg

//Calculation
//F=q*E
Fy=-q*Ey //Force in y direction 
ay=Fy/me

format("e",8)
disp(ay,"Acceleration of the electron is =")
//The negative sign tells us that the direction of this acceleration is downward