From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 980/CH5/EX5.10/5_10.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 980/CH5/EX5.10/5_10.sce (limited to '980/CH5/EX5.10/5_10.sce') diff --git a/980/CH5/EX5.10/5_10.sce b/980/CH5/EX5.10/5_10.sce new file mode 100755 index 000000000..7b58e37ca --- /dev/null +++ b/980/CH5/EX5.10/5_10.sce @@ -0,0 +1,17 @@ +clc; +clear; +format('v',11); +vin=2*10^7; +q=3*10^-6; +rin=[1 0 0]; +mod_rin=sqrt(rin(1)^2+rin(2)^2+rin(3)^2); +Vin=q/(4*3.14*8.85*10^-12*mod_rin); //potential at[1 0 0] due to point charge. +Pin=-1.6*10^-19*Vin; //initial potential energy. +Kin=(9.1094*10^-31*vin^2)/2; //initial kinetic energy considering me=9.1094*10^-31kg. +Etin=Pin+Kin; //initial total energy'. +disp("As electron moves it slows down due to attraction to the charge at the origine and ultimately comes to rest."); +disp("computing rf","hence Etin=Etf=Pf","Kf=0","final kinetic enegy is zero"); +Pf=Etin; +rf=-1.6*10^-19*q/(4*3.14*8.85*10^-12*Pf); +disp(rf,"rf(in meter)="); +disp("from this position the electron reverses motion and begins moving towards the charge at the origin."); -- cgit