From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 29/CH6/EX6.10.1/exa6_10_1.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 29/CH6/EX6.10.1/exa6_10_1.sce (limited to '29/CH6/EX6.10.1') 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 -- cgit