summaryrefslogtreecommitdiff
path: root/1970/CH4/EX4.3/Ch04Exa3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1970/CH4/EX4.3/Ch04Exa3.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 '1970/CH4/EX4.3/Ch04Exa3.sce')
-rwxr-xr-x1970/CH4/EX4.3/Ch04Exa3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1970/CH4/EX4.3/Ch04Exa3.sce b/1970/CH4/EX4.3/Ch04Exa3.sce
new file mode 100755
index 000000000..5cca32c38
--- /dev/null
+++ b/1970/CH4/EX4.3/Ch04Exa3.sce
@@ -0,0 +1,18 @@
+// Scilab code Exa4.3 : : Page 178 (2011)
+clc; clear;
+E = 10e+06; // Energy produced by the ion pairs, electron volts
+N = E/35; // Number of ion pair produced
+m = 10^3; // Multiplication factor
+N_t = N*m; // Total number of ion pairs produced
+e = 1.60218e-019; // Charge of an ion, coulomb
+Q = N_t*e; // Total charge flow in the counter, coulomb
+t = 10^-3; // Pulse time, sec
+R = 10^4; // Resistance , ohm
+I = Q/t; // Current passes through the resistor, ampere
+V = I*R; // Height of the voltage pulse, volt
+ printf("\nTotal number of ion pairs produced: %5.3e \nTotal charge flow in the counter : %5.3e coulomb \nHeight of the voltage pulse : %5.3e volt", N_t, Q, V);
+
+// Result
+// Total number of ion pairs produced: 2.857e+008
+// Total charge flow in the counter : 4.578e-011 coulomb
+// Height of the voltage pulse : 4.578e-004 volt \ No newline at end of file