summaryrefslogtreecommitdiff
path: root/887/CH11/EX11.12/11_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '887/CH11/EX11.12/11_12.sce')
-rwxr-xr-x887/CH11/EX11.12/11_12.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/887/CH11/EX11.12/11_12.sce b/887/CH11/EX11.12/11_12.sce
new file mode 100755
index 000000000..bf9ecc824
--- /dev/null
+++ b/887/CH11/EX11.12/11_12.sce
@@ -0,0 +1,13 @@
+clc
+//initialisation of variables
+Rin= 1 //Mohms
+Rs1= 100 //kohms
+Rs2= 100 //kohms
+Ioff= 84 //Amperes
+Voff= 5 //mV
+//CALCULARIONS
+Vioff= Rin*Ioff*10^-3*(Rs1+Rs2)/(2*(Rin+10^-3*(Rs1+Rs2)))
+Vvoff= Voff*Rin/(Rin+10^-3*(Rs1+Rs2))
+//RESULTS
+printf ('Vioff = %.f mV ',Vioff)
+printf ('\n Vvoff = %.2f mV ',Vvoff)