Function file : (save this file with "values.m" name)
function [A,B,C,D,E,F,G] = values(a1,a2,b,y)
syms s;
A = (s^2-3*s+1)/((s+a2)*(s+b)^3*(s^2+y^2));
A = subs(A,s,a1);A = double(A);
B = (s^2-3*s+1)/((s+a1)*(s+b)^3*(s^2+y^2));
B = subs(B,s,a2);B = double(B);
E = (s^2-3*s+1)/((s+a1)*(s+a2)*(s^2+y^2));
E = subs(E,s,b);E = double(E);
D =
((2*s-3)-E*((s+a2)*(s^2+y^2)+(s+a1)*(s^2+y^2)+2*s*(s+a1)*(s+a2)))/((s+a1)*(s+a2)*(s^2+y^2));
D = subs(D,s,b);D = double(D);
C =
(2-D*((s+a2)*(s^2+y^2)+(s+a1)*(s^2+y^2)+2*s*(s+a1)*(s+a2))-E*(2*(s^2+y^2)+4*s*(s+a1)+4*s*(s+a2)+2*(s+a1)*(s+a2)))/(2*(s+a1)*(s+a2)*(s^2+y^2));
C = subs(C,s,b);C = double(C);
G =
(1-A*a2*b^3*y^2-B*a1*b^3*y^2-C*a1*a2*b^2*y^2-D*a1*a2*b*y^2-E*a1*a2*y^2)/(a1*a2*b^3);
F =
(-3-A*(b^3*y^2+3*a2*b^2*y^2)-B*(b^3*y^2+3*a1*b^2*y^2)-C*(a2*b^3*y^2+a1*b^3*y^2+2*a1*a2*b*y^2)-D*(a2*b^3*y^2+a1*b^3*y^2+a1*a2*y^2)-E*((a1+a2)*y^2)-G*((a1+a2)*b^3+3*a1*a2*b^2))/(a1*a2*b^3);
end
Program file : (save this file with any name you want) (Enter the value of a1,a2,b and y)
clear all
clc
a1 = 1; % enter any value of this constants
a2 = 10;
b = 3;
y = 4;
[A,B,C,D,E,F,G] = values(a1,a2,b,y);
clear s;
syms s t;
x_s =
A/(s+a1)+B/(s+a2)+C/(s+b)+D/(s+b)^2+E/(s+b)^3+(F*s+G)/(s^2+y^2);
x_t = ilaplace(x_s,s,t)
time = 0:0.1:10;time = time';
x_t = subs(x_t,t,time);
x_t = double(x_t);
plot(time,x_t)
Consider the signal x(t) that has a Laplace transform of the form: s2-3s +1 X (s) where a, a , β,...
s2+15 X(s) (s2+5s+ 6) (s2 +9) Find: (a) Use Partial Fractions Decomposition to write the rational function as the sum of simpler expressions (b) Obtain the time-domain solution, x(t), by finding the inverse Laplace Transform of X(s) f(t)) had initial conditions, x(0) 0 and (c) Consider the inverse question, if the ODE (ä + ax + bx = 1, what was the input function in the time domain, f(t) (0) s2+15 X(s) (s2+5s+ 6) (s2 +9) Find: (a) Use Partial...
A signal x(t) has the following Laplace transform X(s)= 2s+4 $2+45+5 Get x(t) (inverse Laplace Transform) (assume x(t)=0 for t<0) Answer:
Compute the unilateral Laplace transform of the function f(t)=1 . Compute your answer by evaluating the inverse Laplace transform of the result and write down MATLAB Code
(1 point) Consider the initial value problem where g)-t ifosi«5 a. Take the Laplace transform of both sides of the given differential equation to create the corresponding algebraic equation. Denote the Laplace transform of y(t) by Y(s). Do not move any terms from one side of the equation to the other (until you get to part (b) below). help (formulas) b. Solve your equation for Y(s) (s) = L {y(t)) = c. Take the inverse Laplace transform of both sides...
Question 11 pts x(t) is a time domain function. The laplace transform of x(t) is in what domain: s domain none of the above f domain time domain Flag this Question Question 21 pts if X(s) is the Laplace transform of x(t), then 's' is a : real number integer complex number rational number Flag this Question Question 31 pts In a unilateral Laplace transform the integral, the start time is just after origin (0+) just before origin (0-) origin...
d) Find the Laplace transform of the following function: f (t = 0 to +09) eat dt e) Find the equivalent solution of (d) using MATLAB method(s) (find 2 methods). d) Find the Laplace transform of the following function: f (t = 0 to +09) eat dt e) Find the equivalent solution of (d) using MATLAB method(s) (find 2 methods).
7e 3s Find the inverse Laplace transform of F(s) $2 + 49 f(t) = Note: Use (u(t-a)) for the unit step function shifted a units to the right.
Problem 1: Find the Laplace transform X(s) of x(0)-6cos(Sr-3)u(t-3). 10 Problem 2: (a) Find the inverse Laplace transform h() of H(s)-10s+34 (Hint: use the Laplace transform pair for Decaying Sine or Generic Oscillatory Decay.) (b) Draw the corresponding direct form II block diagram of the system described by H(s) and (c) determine the corresponding differential equation. Problem 3: Using the unilateral Laplace transform, solve the following differential equation with the given initial condition: y)+5y(0) 2u), y(0)1 Problem 4: For the...
USE DEFINITION 1 TO DETERMINE THE LAPLACE TRANSFORM OF THE FOLLOWING FUNCTION. f(t)= e sin(t) Laplace Transform Definition 1. Let f(t)be a function on [0,00). The Laplace transform of f is the function defined by the integral The domain of F(s) is all the values of " for which the integral in (1) exists.' The Laplace transform of fis denoted by both and ${/}. QUESTION 2. (3PTS) USE TABLE 7.1 AND 7.2 TO DETERMINE THE LAPLACE TRANSFORM OF THE GIVEN...
(1 point) Consider the initial value problem d'y dy dt2 dt dt Write down the Laplace transform of the left-hand side of the equation given the initial conditions Your answer should be a function of s and Y with Y denoting the Laplace transform of the solution y Write down the Laplace transform of the right-hand side of the equation Your answer should be a function of s only. Next equate your last two answers and solve for Y. You...