summaryrefslogtreecommitdiff
path: root/569/CH6/EX6.32/6_32.sci
diff options
context:
space:
mode:
Diffstat (limited to '569/CH6/EX6.32/6_32.sci')
-rwxr-xr-x569/CH6/EX6.32/6_32.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/569/CH6/EX6.32/6_32.sci b/569/CH6/EX6.32/6_32.sci
new file mode 100755
index 000000000..4a43319bd
--- /dev/null
+++ b/569/CH6/EX6.32/6_32.sci
@@ -0,0 +1,8 @@
+// Calculating the output voltage
+clc;
+n=6;
+R=10000;
+Io= (10/10*10^3)*{1*1+1*0.5+1*0.25+0*0.125+1*0.0625}*10^-6;
+Rf=5000;
+Eo=-Io*Rf;
+disp(Eo,'Output voltage (V)=') \ No newline at end of file