From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 226/CH1/EX1.2/example2_sce.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 226/CH1/EX1.2/example2_sce.sce (limited to '226/CH1/EX1.2') 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 -- cgit