Docsity

Laplace Transform: Finding and Inverting Using MATLAB, Lab Reports of Mathematics

Toggle sidebar
bg1
EXPERIMENT 2-B
LAPLACE TRANSFORM
The Laplace Transform of a function f(t) is defined as
F(s) = L[f(t)] =
∫
0
∞
e−st f
(
t
)
dt
provided the integral exists.
1. Find the Laplace transforms of the following functions:
i. f(t)=1=2
√
t
+
√
3
t
clear all
clc
syms t
f=input ('Enter the function of t: ');
F=laplace (f);
disp ('Laplace transform of f(t) = ');
disp(F);
Input and Output:
ii.
syms t
f=input ('Enter the function of t: ');
F=laplace(f);
F=simplify(F);
disp ('Laplace transform of f(t) = ');
disp(F);
Input and Output:
iii. f(t)=sin3t
clear all
clc
syms t
f=input ('Enter the function of t: ');
F=laplace (f);
disp ('Laplace transform of f(t) = ');
disp(F);
Input and Output:
pf3

Partial preview of the text

Download Laplace Transform: Finding and Inverting Using MATLAB and more Lab Reports Mathematics in PDF only on Docsity!

EXPERIMENT 2-B

LAPLACE TRANSFORM

The Laplace Transform of a function f(t) is defined as F(s) = L[f(t)] = (^) ∫ 0 ∞ e − st f ( t ) dt provided the integral exists.

1. Find the Laplace transforms of the following functions:

i. f(t)=1=2√ t +

t clear all clc syms t f=input ('Enter the function of t: '); F=laplace (f); disp ('Laplace transform of f(t) = '); disp(F); Input and Output: ii. syms t f=input ('Enter the function of t: '); F=laplace(f); F=simplify(F); disp ('Laplace transform of f(t) = '); disp(F); Input and Output: iii. f(t)=sin^3 t clear all clc syms t f=input ('Enter the function of t: '); F=laplace (f); disp ('Laplace transform of f(t) = '); disp(F); Input and Output:

iv. f(t)=sin2t sin3t clear all clc syms t f=input ('Enter the function of t: '); F=laplace (f); disp ('Laplace transform of f(t) = '); disp(F); Input and Output: v. f(t)=e-tsin^2 t clear all clc syms t f=input ('Enter the function of t: '); F=laplace (f); disp ('Laplace transform of f(t) = '); disp(F); Input and Output:

vi. f(t)=

cos 2 t −cos 3 t t clear all clc syms t f=input ('Enter the function of t: '); F=laplace (f); disp ('Laplace transform of f(t) = '); disp(F); Input and Output:

  • log (-(- s^4 - 17s^2 + s36i + 20)/ (s^4 + 8s^2 + 16))/4 – log ((s^4 + 17s^2 + s36i - 20)/ (s^4 + 8s^2 + 16))/4 + laplace (1/t, t, s - 2i)/2 + laplace (1/t, t, s + 2i)/