summaryrefslogtreecommitdiff
path: root/2534/CH3/EX3.1/EX3_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2534/CH3/EX3.1/EX3_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2534/CH3/EX3.1/EX3_1.sce')
-rwxr-xr-x2534/CH3/EX3.1/EX3_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2534/CH3/EX3.1/EX3_1.sce b/2534/CH3/EX3.1/EX3_1.sce
new file mode 100755
index 000000000..5c8e73b38
--- /dev/null
+++ b/2534/CH3/EX3.1/EX3_1.sce
@@ -0,0 +1,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