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 --- 273/CH4/EX4.1/ex4_1.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 273/CH4/EX4.1/ex4_1.sce (limited to '273/CH4/EX4.1') diff --git a/273/CH4/EX4.1/ex4_1.sce b/273/CH4/EX4.1/ex4_1.sce new file mode 100755 index 000000000..d9fa870d8 --- /dev/null +++ b/273/CH4/EX4.1/ex4_1.sce @@ -0,0 +1,20 @@ +clc;clear; +//Example 4.1 +//Calculation of acceleration,time taken,distance covered and kinetic energy of an accelerating proton + +//given values + m=1.67*10^-27;//mass of proton in kg + q=1.602*10^-19;//charge of proton in Coulomb + v1=0;//initial velocity in m/s + v2=2.5*10^6;//final velocity in m/s + E=500;//electric field strength in V/m + //calculation + a=E*q/m;//acceleration +disp(a,'acceleration of proton in (m/s^2) is:'); +t=v2/a;//time +disp(t,'time(in s) taken by proton to reach the final velocity is:'); +x=a*t^2/2;//distance +disp(x,'distance (in m)covered by proton in this time is:'); +KE=E*q*x;//kinetic energy +disp(KE,'kinetic energy(in J) at the time is:'); + -- cgit