diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /29/CH6/EX6.10.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '29/CH6/EX6.10.1')
-rwxr-xr-x | 29/CH6/EX6.10.1/exa6_10_1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/29/CH6/EX6.10.1/exa6_10_1.sce b/29/CH6/EX6.10.1/exa6_10_1.sce new file mode 100755 index 000000000..e1b05de90 --- /dev/null +++ b/29/CH6/EX6.10.1/exa6_10_1.sce @@ -0,0 +1,21 @@ +//Caption:time_response_for_step_function +//example 6.10.1 +//page 170 +// we have defined parallel and series function which we are going to use here +exec parallel.sce; +exec series.sce; +s=%s; +syms t; +a=4/(s*(s+4)) +b=s+1.2 +c=s+0.8 +d=a/(1+a) +e=parallel(b,c) +f=d/.e; +disp(f,"C(s)/R(s)=");//transfer function +//since input:r(t)=2, so R(s)=2/s;//step_function_of_magnitude_2 +g=f*(2/s); +disp(g,"C(s)="); +[A]=pfss(8/(s*(s+2)*(s+6))) +F=ilaplace((8/(s*(s+2)*(s+6))),s,t); +disp(F,"time_response_for_step_function_of_magnitude_2,f(t)=")
\ No newline at end of file |