diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /226/CH1/EX1.2/example2_sce.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '226/CH1/EX1.2/example2_sce.sce')
-rwxr-xr-x | 226/CH1/EX1.2/example2_sce.sce | 12 |
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 |