summaryrefslogtreecommitdiff
path: root/149/CH21
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /149/CH21
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 '149/CH21')
-rwxr-xr-x149/CH21/EX21.1.1/ques1_1.sce4
-rwxr-xr-x149/CH21/EX21.1.2/ques1_2.sce4
-rwxr-xr-x149/CH21/EX21.1.3/ques1_3.sce4
-rwxr-xr-x149/CH21/EX21.10.1/ques10_1.sce10
-rwxr-xr-x149/CH21/EX21.10.3/ques10_3.sce9
-rwxr-xr-x149/CH21/EX21.11.1/ques11_1.sce6
-rwxr-xr-x149/CH21/EX21.11.2/ques11_2.sce6
-rwxr-xr-x149/CH21/EX21.12.1/ques12_1.sce6
-rwxr-xr-x149/CH21/EX21.12.3/ques12_3.sce6
-rwxr-xr-x149/CH21/EX21.13.1/ques13_1.sce6
-rwxr-xr-x149/CH21/EX21.13.2/ques13_2.sce8
-rwxr-xr-x149/CH21/EX21.14.1/ques14_1.sce8
-rwxr-xr-x149/CH21/EX21.14.2/ques14_2.sce8
-rwxr-xr-x149/CH21/EX21.15.1/ques15_1.sce8
-rwxr-xr-x149/CH21/EX21.15.2/ques15_2.sce8
-rwxr-xr-x149/CH21/EX21.16.1/ques16_1.sce8
-rwxr-xr-x149/CH21/EX21.16.2/ques16_2.sce8
-rwxr-xr-x149/CH21/EX21.16.3/ques16_3.sce9
-rwxr-xr-x149/CH21/EX21.17.1/ques17_1.sce9
-rwxr-xr-x149/CH21/EX21.17.2/ques17_2.sce9
-rwxr-xr-x149/CH21/EX21.19.1/ques19_1.sce9
-rwxr-xr-x149/CH21/EX21.19.2/ques19_2.sce9
-rwxr-xr-x149/CH21/EX21.2.1/ques2_1.sce5
-rwxr-xr-x149/CH21/EX21.2.2/ques2_2.sce6
-rwxr-xr-x149/CH21/EX21.2.3/ques2_3.sce6
-rwxr-xr-x149/CH21/EX21.28.1/ques28_1.sce6
-rwxr-xr-x149/CH21/EX21.28.2/ques28_2.sce6
-rwxr-xr-x149/CH21/EX21.34/ques34.sce6
-rwxr-xr-x149/CH21/EX21.4.1/ques4_1.sce6
-rwxr-xr-x149/CH21/EX21.4.2/ques4_2.sce7
-rwxr-xr-x149/CH21/EX21.5/ques5.sce6
-rwxr-xr-x149/CH21/EX21.7/ques7.sce6
-rwxr-xr-x149/CH21/EX21.8.1/ques8_1.sce6
-rwxr-xr-x149/CH21/EX21.8.2/ques8_2.sce6
-rwxr-xr-x149/CH21/EX21.8.3/ques8_3.sce7
-rwxr-xr-x149/CH21/EX21.8.4/ques8_4.sce7
-rwxr-xr-x149/CH21/EX21.9.1/ques9_1.sce9
-rwxr-xr-x149/CH21/EX21.9.2/ques9_2.sce8
38 files changed, 265 insertions, 0 deletions
diff --git a/149/CH21/EX21.1.1/ques1_1.sce b/149/CH21/EX21.1.1/ques1_1.sce
new file mode 100755
index 000000000..f33f28930
--- /dev/null
+++ b/149/CH21/EX21.1.1/ques1_1.sce
@@ -0,0 +1,4 @@
+//ques1(i)
+disp('To find the laplace of given function in t ');
+syms t s
+disp(laplace(sin(2*t)*sin(3*t),t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.1.2/ques1_2.sce b/149/CH21/EX21.1.2/ques1_2.sce
new file mode 100755
index 000000000..c9f5b89bd
--- /dev/null
+++ b/149/CH21/EX21.1.2/ques1_2.sce
@@ -0,0 +1,4 @@
+//ques1(ii)
+disp('To find the laplace of given function in t ');
+syms t s
+disp(laplace((cos(t))^2,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.1.3/ques1_3.sce b/149/CH21/EX21.1.3/ques1_3.sce
new file mode 100755
index 000000000..a5b27d22a
--- /dev/null
+++ b/149/CH21/EX21.1.3/ques1_3.sce
@@ -0,0 +1,4 @@
+//ques1(ii)
+disp('To find the laplace of given function in t ');
+syms t s
+disp(laplace((sin(t))^3,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.10.1/ques10_1.sce b/149/CH21/EX21.10.1/ques10_1.sce
new file mode 100755
index 000000000..49fc4ccb0
--- /dev/null
+++ b/149/CH21/EX21.10.1/ques10_1.sce
@@ -0,0 +1,10 @@
+//ques10(i)
+clc
+disp('To find the the given integral find the laplace of tsin(t) and put s=2 ');
+syms t s m
+f=sin(t)*t;
+
+l=laplace(f,t,s)
+s=2
+
+disp(eval(l));
diff --git a/149/CH21/EX21.10.3/ques10_3.sce b/149/CH21/EX21.10.3/ques10_3.sce
new file mode 100755
index 000000000..dba1f2507
--- /dev/null
+++ b/149/CH21/EX21.10.3/ques10_3.sce
@@ -0,0 +1,9 @@
+//error
+//ques10
+clc
+disp('To find the laplace of given function in t ');
+syms t s a b
+f=integ(exp(t)*sin(t)/t,t,0,t);
+
+l=laplace(f,t,s)
+disp(l);
diff --git a/149/CH21/EX21.11.1/ques11_1.sce b/149/CH21/EX21.11.1/ques11_1.sce
new file mode 100755
index 000000000..31ba7e9b0
--- /dev/null
+++ b/149/CH21/EX21.11.1/ques11_1.sce
@@ -0,0 +1,6 @@
+//ques11
+disp('To find the inverse laplace transform of the function');
+syms s t
+f=(s^2-3*s+4)/s^3;
+il=ilaplace(f,s,t);
+disp(il);
diff --git a/149/CH21/EX21.11.2/ques11_2.sce b/149/CH21/EX21.11.2/ques11_2.sce
new file mode 100755
index 000000000..0aa2b2343
--- /dev/null
+++ b/149/CH21/EX21.11.2/ques11_2.sce
@@ -0,0 +1,6 @@
+//ques11
+disp('To find the inverse laplace transform of the function');
+syms s t
+f=(s+2)/(2*s^2-4*s+13));
+il=ilaplace(f,s,t);
+disp(il);
diff --git a/149/CH21/EX21.12.1/ques12_1.sce b/149/CH21/EX21.12.1/ques12_1.sce
new file mode 100755
index 000000000..0e10172c0
--- /dev/null
+++ b/149/CH21/EX21.12.1/ques12_1.sce
@@ -0,0 +1,6 @@
+//ques11
+disp('To find the inverse laplace transform of the function');
+syms s t
+f=((2*s^2-6*s+5)/(s^3-6*s^2+11*s-6);
+il=ilaplace(f,s,t);
+disp(il);
diff --git a/149/CH21/EX21.12.3/ques12_3.sce b/149/CH21/EX21.12.3/ques12_3.sce
new file mode 100755
index 000000000..6c26a0074
--- /dev/null
+++ b/149/CH21/EX21.12.3/ques12_3.sce
@@ -0,0 +1,6 @@
+//ques11
+disp('To find the inverse laplace transform of the function');
+syms s t
+f=(4*s+5)/((s-1)^2*(s+2));
+il=ilaplace(f,s,t);
+disp(il);
diff --git a/149/CH21/EX21.13.1/ques13_1.sce b/149/CH21/EX21.13.1/ques13_1.sce
new file mode 100755
index 000000000..b1eb53f47
--- /dev/null
+++ b/149/CH21/EX21.13.1/ques13_1.sce
@@ -0,0 +1,6 @@
+//ques11
+disp('To find the inverse laplace transform of the function');
+syms s t
+f=(5*s+3)/((s-1)*(s^2+2*s+5));
+il=ilaplace(f,s,t);
+disp(il);
diff --git a/149/CH21/EX21.13.2/ques13_2.sce b/149/CH21/EX21.13.2/ques13_2.sce
new file mode 100755
index 000000000..519d36c7d
--- /dev/null
+++ b/149/CH21/EX21.13.2/ques13_2.sce
@@ -0,0 +1,8 @@
+//error no output
+//ques11
+
+disp('To find the inverse laplace transform of the function');
+syms s t a
+f=s/(s^4+4*a^4);
+il=ilaplace(f,s,t);
+disp(il);
diff --git a/149/CH21/EX21.14.1/ques14_1.sce b/149/CH21/EX21.14.1/ques14_1.sce
new file mode 100755
index 000000000..5da1741c4
--- /dev/null
+++ b/149/CH21/EX21.14.1/ques14_1.sce
@@ -0,0 +1,8 @@
+
+//ques14
+disp('To find the inverse laplace transform of the function');
+syms s t a
+f=s^2/(s-2)^3;
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.14.2/ques14_2.sce b/149/CH21/EX21.14.2/ques14_2.sce
new file mode 100755
index 000000000..787e2e457
--- /dev/null
+++ b/149/CH21/EX21.14.2/ques14_2.sce
@@ -0,0 +1,8 @@
+
+//ques14
+disp('To find the inverse laplace transform of the function');
+syms s t a
+f=(s+3)/((s^2-4*s+13));
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.15.1/ques15_1.sce b/149/CH21/EX21.15.1/ques15_1.sce
new file mode 100755
index 000000000..b7316d1ad
--- /dev/null
+++ b/149/CH21/EX21.15.1/ques15_1.sce
@@ -0,0 +1,8 @@
+//no outp
+//ques15
+disp('To find the inverse laplace transform of the function');
+syms s t a
+f=1/(s*(s^2+a^2));
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.15.2/ques15_2.sce b/149/CH21/EX21.15.2/ques15_2.sce
new file mode 100755
index 000000000..2ca7e2761
--- /dev/null
+++ b/149/CH21/EX21.15.2/ques15_2.sce
@@ -0,0 +1,8 @@
+
+//ques15
+disp('To find the inverse laplace transform of the function');
+syms s t a
+f=1/(s*(s+a)^3);
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.16.1/ques16_1.sce b/149/CH21/EX21.16.1/ques16_1.sce
new file mode 100755
index 000000000..3969b158c
--- /dev/null
+++ b/149/CH21/EX21.16.1/ques16_1.sce
@@ -0,0 +1,8 @@
+//no outp
+//ques15
+disp('To find the inverse laplace transform of the function');
+syms s t a
+f=s/((s^2+a^2)^2);
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.16.2/ques16_2.sce b/149/CH21/EX21.16.2/ques16_2.sce
new file mode 100755
index 000000000..52e3991eb
--- /dev/null
+++ b/149/CH21/EX21.16.2/ques16_2.sce
@@ -0,0 +1,8 @@
+//no output
+//ques15
+disp('To find the inverse laplace transform of the function');
+syms s t a
+f=s^2/((s^2+a^2)^2);
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.16.3/ques16_3.sce b/149/CH21/EX21.16.3/ques16_3.sce
new file mode 100755
index 000000000..40e5224ee
--- /dev/null
+++ b/149/CH21/EX21.16.3/ques16_3.sce
@@ -0,0 +1,9 @@
+//no output
+//ques15
+disp('To find the inverse laplace transform of the function');
+syms s t a
+
+f=1/((s^2+a^2)^2);
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.17.1/ques17_1.sce b/149/CH21/EX21.17.1/ques17_1.sce
new file mode 100755
index 000000000..2a4f78553
--- /dev/null
+++ b/149/CH21/EX21.17.1/ques17_1.sce
@@ -0,0 +1,9 @@
+//no output
+//ques15
+disp('To find the inverse laplace transform of the function');
+syms s t a
+
+f=(s+2)/(s^2*(s+1)*(s-2));
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.17.2/ques17_2.sce b/149/CH21/EX21.17.2/ques17_2.sce
new file mode 100755
index 000000000..dc1948bc0
--- /dev/null
+++ b/149/CH21/EX21.17.2/ques17_2.sce
@@ -0,0 +1,9 @@
+//no output
+//ques15
+disp('To find the inverse laplace transform of the function');
+syms s t a
+
+f=(s+2)/(s^2+4*s+5)^2;
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.19.1/ques19_1.sce b/149/CH21/EX21.19.1/ques19_1.sce
new file mode 100755
index 000000000..32c0bcd1d
--- /dev/null
+++ b/149/CH21/EX21.19.1/ques19_1.sce
@@ -0,0 +1,9 @@
+//error no output
+//ques18
+disp('To find the inverse laplace transform of the function');
+syms s t a
+
+f=s/(s^2+a^2)^2;
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.19.2/ques19_2.sce b/149/CH21/EX21.19.2/ques19_2.sce
new file mode 100755
index 000000000..75bb2301a
--- /dev/null
+++ b/149/CH21/EX21.19.2/ques19_2.sce
@@ -0,0 +1,9 @@
+//error no output
+//ques18
+disp('To find the inverse laplace transform of the function');
+syms s t a b
+
+f=s^2/((s^2+a^2)*(s^2+b^2));
+il=ilaplace(f,s,t);
+disp(il);
+
diff --git a/149/CH21/EX21.2.1/ques2_1.sce b/149/CH21/EX21.2.1/ques2_1.sce
new file mode 100755
index 000000000..694e4fdbf
--- /dev/null
+++ b/149/CH21/EX21.2.1/ques2_1.sce
@@ -0,0 +1,5 @@
+//ques1(ii)
+disp('To find the laplace of given function in t ');
+syms t s
+f=exp(-3*t)*(2*cos(5*t)-3*sin(5*t));
+disp(laplace(f,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.2.2/ques2_2.sce b/149/CH21/EX21.2.2/ques2_2.sce
new file mode 100755
index 000000000..dcba00381
--- /dev/null
+++ b/149/CH21/EX21.2.2/ques2_2.sce
@@ -0,0 +1,6 @@
+//ques1(ii)
+clc
+disp('To find the laplace of given function in t ');
+syms t s
+f=exp(3*t)*(sin(t))^2;
+disp(laplace(f,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.2.3/ques2_3.sce b/149/CH21/EX21.2.3/ques2_3.sce
new file mode 100755
index 000000000..5215ed910
--- /dev/null
+++ b/149/CH21/EX21.2.3/ques2_3.sce
@@ -0,0 +1,6 @@
+//ques1(ii)
+clc
+disp('To find the laplace of given function in t ');
+syms t s
+f=exp(4*t)*(cos(t)*sin(2*t));
+disp(laplace(f,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.28.1/ques28_1.sce b/149/CH21/EX21.28.1/ques28_1.sce
new file mode 100755
index 000000000..17b9d360d
--- /dev/null
+++ b/149/CH21/EX21.28.1/ques28_1.sce
@@ -0,0 +1,6 @@
+//ques28
+syms s t
+f=integ(exp(-s*t)*(t-1),t,1,2)+integ(exp(-s*t)*(3-t),t,2,3);
+disp('Laplace of given function is');
+disp(f);
+
diff --git a/149/CH21/EX21.28.2/ques28_2.sce b/149/CH21/EX21.28.2/ques28_2.sce
new file mode 100755
index 000000000..3ef198be6
--- /dev/null
+++ b/149/CH21/EX21.28.2/ques28_2.sce
@@ -0,0 +1,6 @@
+//ques28
+syms s t
+f=integ(exp(-s*t)*exp(-t),t,0,2);
+disp('Laplace of given function is');
+disp(f);
+
diff --git a/149/CH21/EX21.34/ques34.sce b/149/CH21/EX21.34/ques34.sce
new file mode 100755
index 000000000..05733343c
--- /dev/null
+++ b/149/CH21/EX21.34/ques34.sce
@@ -0,0 +1,6 @@
+//error no output
+//ques34
+disp('to find the laplace transform of periodic function ');
+syms w t s
+f=1/(1-exp(-2*%pi*s/w))*integ(exp(-1*s*t)*sin(w*t),t,0,%pi/w);
+disp(f)
diff --git a/149/CH21/EX21.4.1/ques4_1.sce b/149/CH21/EX21.4.1/ques4_1.sce
new file mode 100755
index 000000000..0c0930bc3
--- /dev/null
+++ b/149/CH21/EX21.4.1/ques4_1.sce
@@ -0,0 +1,6 @@
+//ques1(ii)
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=t*sin(a*t);
+disp(laplace(f,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.4.2/ques4_2.sce b/149/CH21/EX21.4.2/ques4_2.sce
new file mode 100755
index 000000000..c293fc925
--- /dev/null
+++ b/149/CH21/EX21.4.2/ques4_2.sce
@@ -0,0 +1,7 @@
+//ques4(ii)
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=t*cos(a*t);
+l=laplace(f,t,s);
+disp(l);
diff --git a/149/CH21/EX21.5/ques5.sce b/149/CH21/EX21.5/ques5.sce
new file mode 100755
index 000000000..423a77488
--- /dev/null
+++ b/149/CH21/EX21.5/ques5.sce
@@ -0,0 +1,6 @@
+//error
+//ques5
+clc
+syms t s u
+f=integ(exp(-s*t)*t/u,t,0,u)+integ(exp(-s*t),t,u,%inf);
+disp(f);
diff --git a/149/CH21/EX21.7/ques7.sce b/149/CH21/EX21.7/ques7.sce
new file mode 100755
index 000000000..b8a9667d7
--- /dev/null
+++ b/149/CH21/EX21.7/ques7.sce
@@ -0,0 +1,6 @@
+//ques7
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=sin(a*t)/t;
+disp(laplace(f,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.8.1/ques8_1.sce b/149/CH21/EX21.8.1/ques8_1.sce
new file mode 100755
index 000000000..974c427e9
--- /dev/null
+++ b/149/CH21/EX21.8.1/ques8_1.sce
@@ -0,0 +1,6 @@
+//ques7
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=t*cos(a*t);
+disp(laplace(f,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.8.2/ques8_2.sce b/149/CH21/EX21.8.2/ques8_2.sce
new file mode 100755
index 000000000..f0e36fe2b
--- /dev/null
+++ b/149/CH21/EX21.8.2/ques8_2.sce
@@ -0,0 +1,6 @@
+//ques7
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=t^2*sin(a*t);
+disp(laplace(f,t,s)); \ No newline at end of file
diff --git a/149/CH21/EX21.8.3/ques8_3.sce b/149/CH21/EX21.8.3/ques8_3.sce
new file mode 100755
index 000000000..65aa6009c
--- /dev/null
+++ b/149/CH21/EX21.8.3/ques8_3.sce
@@ -0,0 +1,7 @@
+//ques7
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=exp(-3*t)*t^3;
+l=laplace(f,t,s)
+disp(l); \ No newline at end of file
diff --git a/149/CH21/EX21.8.4/ques8_4.sce b/149/CH21/EX21.8.4/ques8_4.sce
new file mode 100755
index 000000000..2077d8faa
--- /dev/null
+++ b/149/CH21/EX21.8.4/ques8_4.sce
@@ -0,0 +1,7 @@
+//ques7
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=exp(-t)*t*sin(3*t);
+l=laplace(f,t,s)
+disp(l); \ No newline at end of file
diff --git a/149/CH21/EX21.9.1/ques9_1.sce b/149/CH21/EX21.9.1/ques9_1.sce
new file mode 100755
index 000000000..ef0cba268
--- /dev/null
+++ b/149/CH21/EX21.9.1/ques9_1.sce
@@ -0,0 +1,9 @@
+//error
+//ques7
+clc
+disp('To find the laplace of given function in t ');
+syms t s a
+f=(1-exp(t))/t;
+
+l=laplace(f,t,s)
+disp(l);
diff --git a/149/CH21/EX21.9.2/ques9_2.sce b/149/CH21/EX21.9.2/ques9_2.sce
new file mode 100755
index 000000000..a325e3b41
--- /dev/null
+++ b/149/CH21/EX21.9.2/ques9_2.sce
@@ -0,0 +1,8 @@
+//ques9
+clc
+disp('To find the laplace of given function in t ');
+syms t s a b
+f=(cos(a*t)-cos(b*t))/t;
+
+l=laplace(f,t,s)
+disp(l);