summaryrefslogtreecommitdiff
path: root/226/CH1/EX1.2/example2_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH1/EX1.2/example2_sce.sce')
-rwxr-xr-x226/CH1/EX1.2/example2_sce.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/226/CH1/EX1.2/example2_sce.sce b/226/CH1/EX1.2/example2_sce.sce
new file mode 100755
index 000000000..25c1294c9
--- /dev/null
+++ b/226/CH1/EX1.2/example2_sce.sce
@@ -0,0 +1,12 @@
+//chapter 1
+//example 1.2
+//page 18
+printf("\n")
+printf("given")
+l=1*10^-3;E=10;
+un=1500*10^-4;up=500*10-4;
+Vn=-(un*E)/l;
+printf("drift current is %dm/s\n",Vn)
+disp("drift current of hole")
+Vp=(up*E)/l;
+printf("drift current is %dm/s\n",Vp) \ No newline at end of file