summaryrefslogtreecommitdiff
path: root/2609/CH5/EX5.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2609/CH5/EX5.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2609/CH5/EX5.1')
-rwxr-xr-x2609/CH5/EX5.1/ex_5_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2609/CH5/EX5.1/ex_5_1.sce b/2609/CH5/EX5.1/ex_5_1.sce
new file mode 100755
index 000000000..214198dcb
--- /dev/null
+++ b/2609/CH5/EX5.1/ex_5_1.sce
@@ -0,0 +1,10 @@
+//Ex 5.1
+clc;
+clear;
+close;
+format('v',5);
+V1=2;V2=3;V3=4;V4=5;//V
+R1=10;R2=15;R3=22;R4=50;//kohm
+Rf=10;//kohm
+Vout=-Rf/R1*V1-Rf/R2*V2-Rf/R3*V3-Rf/R4*V4;//V
+disp(Vout,"Output voltage of the circuit(V)");;