summaryrefslogtreecommitdiff
path: root/2528/CH10/EX10.2/Ex10_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2528/CH10/EX10.2/Ex10_2.sce
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 '2528/CH10/EX10.2/Ex10_2.sce')
-rwxr-xr-x2528/CH10/EX10.2/Ex10_2.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2528/CH10/EX10.2/Ex10_2.sce b/2528/CH10/EX10.2/Ex10_2.sce
new file mode 100755
index 000000000..f9cc18b25
--- /dev/null
+++ b/2528/CH10/EX10.2/Ex10_2.sce
@@ -0,0 +1,25 @@
+//chapter 10
+//Vout
+//page no. 356
+//Example10_2
+//Figure 10.7
+//Given
+clc;
+clear;
+step=0.1;
+t=0:step:10;
+disp("Answer is coming interm of t so solution is done by graph");
+//x=1;
+//f=5000;
+x0=-1.6;x1=0:0.1:10;
+Vin=sin(t);
+
+xtitle('Sin(x)','t')
+X=integrate('sin(t)','t',x0,x1);
+Ri=10000; //in Ohm
+C=10^-8; //in farad
+Rf=100000; //in Ohm
+Vout=-0.318*X;
+clf;
+plot(t,Vin,t,Vout);
+xtitle('Input(Blue) / Output(Green)','t','V');