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/CH2/EX2.6 | |
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/CH2/EX2.6')
-rwxr-xr-x | 226/CH2/EX2.6/example6_sce.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/226/CH2/EX2.6/example6_sce.sce b/226/CH2/EX2.6/example6_sce.sce new file mode 100755 index 000000000..4c9c3856a --- /dev/null +++ b/226/CH2/EX2.6/example6_sce.sce @@ -0,0 +1,12 @@ +//chapter 2
+//example 2.6
+//page 43
+printf("\n")
+printf("given")
+If=0;Vf=5;R1=100;
+E=(If*R1)+Vf
+disp("E")
+disp("B)")
+Vf=0;E=5;R1=100;
+If=(E/R1)*1000;
+printf("resistance is %dmA\n",If)
\ No newline at end of file |