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 /995/CH3/EX3.3/Ex3_3.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 '995/CH3/EX3.3/Ex3_3.sce')
-rwxr-xr-x | 995/CH3/EX3.3/Ex3_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/995/CH3/EX3.3/Ex3_3.sce b/995/CH3/EX3.3/Ex3_3.sce new file mode 100755 index 000000000..1564c0507 --- /dev/null +++ b/995/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,16 @@ +//Ex:3.3
+clc;
+clear;
+close;
+V1=7.5;//in volts
+V2=4.5;
+V3=4.5;
+r1=110;//in ohms
+r2=33;
+r3=22;
+i1=V1/r1;
+i2=V2/r2;
+i3=V3/r3;
+printf("Current I1 = %f A",i1);
+printf("\n Current I2 = %f A",i2);
+printf("\n Current I3 = %f A",i3);
\ No newline at end of file |