summaryrefslogtreecommitdiff
path: root/275/CH6/EX6.6.24
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /275/CH6/EX6.6.24
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 '275/CH6/EX6.6.24')
-rwxr-xr-x275/CH6/EX6.6.24/Ch6_24.pngbin0 -> 4448 bytes
-rwxr-xr-x275/CH6/EX6.6.24/Ch6_6_24.sce29
2 files changed, 29 insertions, 0 deletions
diff --git a/275/CH6/EX6.6.24/Ch6_24.png b/275/CH6/EX6.6.24/Ch6_24.png
new file mode 100755
index 000000000..9b157bd06
--- /dev/null
+++ b/275/CH6/EX6.6.24/Ch6_24.png
Binary files differ
diff --git a/275/CH6/EX6.6.24/Ch6_6_24.sce b/275/CH6/EX6.6.24/Ch6_6_24.sce
new file mode 100755
index 000000000..9b5329abf
--- /dev/null
+++ b/275/CH6/EX6.6.24/Ch6_6_24.sce
@@ -0,0 +1,29 @@
+clc
+disp("Example 6.24")
+printf("\n")
+disp("calculate output voltage for inverting amplifier & sketch the waveform")
+printf("given")
+disp("Peak to peak input votage=200mV,Rf/R1=10")
+Vpp=200*10^(-3)
+Vm=Vpp/2
+RfdivR1=10
+wt=0:0.2:3*%pi
+Vi=Vm*sin(wt)
+Vo=-(RfdivR1)*Vi
+disp(Vo)
+a= gca ();
+subplot(221)
+a= gca();
+a. x_location = "origin";
+a. y_location = "origin";
+plot2d(wt,Vi)
+xtitle("Vi V/s wt","wt","Vi in volt")
+a.thickness=2
+subplot(222)
+a= gca();
+a. x_location = "origin";
+a. y_location = "origin";
+plot2d(wt,Vo)
+xtitle("Vo V/s wt","wt","Vo in volt")
+a.thickness=2
+