summaryrefslogtreecommitdiff
path: root/569/CH2/EX2.27
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /569/CH2/EX2.27
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 '569/CH2/EX2.27')
-rwxr-xr-x569/CH2/EX2.27/2_27.sci13
1 files changed, 13 insertions, 0 deletions
diff --git a/569/CH2/EX2.27/2_27.sci b/569/CH2/EX2.27/2_27.sci
new file mode 100755
index 000000000..126c0d4d3
--- /dev/null
+++ b/569/CH2/EX2.27/2_27.sci
@@ -0,0 +1,13 @@
+//calculating the voltage across the oscilloscope
+clc;
+C=50*10^-6;
+f=100000;
+disp(f,'frequency=')
+Xc=1/(2*%pi*f*C);
+R=10^6;
+Zl=(R*-%i*Xc)/(R-%i*Xc);
+Eo=1;
+Zo=10*10^3;
+
+El=Eo/(1+Zo/Zl);
+disp(El,'Reading of the multimeter (V)=')