summaryrefslogtreecommitdiff
path: root/3523/CH4/EX4.10.4/Ex4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3523/CH4/EX4.10.4/Ex4_4.sce')
-rw-r--r--3523/CH4/EX4.10.4/Ex4_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3523/CH4/EX4.10.4/Ex4_4.sce b/3523/CH4/EX4.10.4/Ex4_4.sce
new file mode 100644
index 000000000..1bdc6319d
--- /dev/null
+++ b/3523/CH4/EX4.10.4/Ex4_4.sce
@@ -0,0 +1,13 @@
+//Example 4// Ch 4
+clc;
+clear;
+close;
+// given data
+
+a=7.5*1e5;
+b=-4*1e4;
+c=59.97;
+p = poly([c, b,a], 'x', 'c');
+alpha=roots(p);
+printf('The distance it must travel to produce an avalanche of 1E9 electrons is (in m) %f',alpha(2))
+