summaryrefslogtreecommitdiff
path: root/3636/CH13/EX13.2/Ex13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH13/EX13.2/Ex13_2.sce')
-rw-r--r--3636/CH13/EX13.2/Ex13_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3636/CH13/EX13.2/Ex13_2.sce b/3636/CH13/EX13.2/Ex13_2.sce
new file mode 100644
index 000000000..ac81561c6
--- /dev/null
+++ b/3636/CH13/EX13.2/Ex13_2.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+drift_length=2*10^-4 //in cm
+drift_velocity=2*10^7 //in cm/s
+
+//Calculation
+d=drift_length/drift_velocity
+f=(drift_velocity*10^-2)/(2*drift_length*10^-2)
+
+format("v",8)
+disp(d,"Drift time (s)= ")
+disp(f,"Operating frequency (Hz)= ")
+