Solving Laplace Transforms Homework

Click For Summary

Discussion Overview

The discussion revolves around solving a homework problem related to Laplace transforms in the context of a linear time-invariant (LTI) system. Participants explore the derivation of differential equations from a given transfer function and the implications of initial conditions on the system's response to an impulse input.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant presents the transfer function and derives the corresponding differential equation, indicating the need to find initial conditions for a specific output behavior.
  • Another participant uses MATLAB to solve the differential equation and notes a discrepancy in the results compared to the manual calculations.
  • A participant points out a potential issue with using the MATLAB function dsolve, suggesting that there are nuances that need to be considered.
  • There is a discussion about the correct notation for time functions and transformed variables, with emphasis on the importance of specifying initial conditions.

Areas of Agreement / Disagreement

Participants generally agree on the initial condition y(0+) = 0, but there is uncertainty regarding the value of y'(0+). The discussion includes multiple perspectives on the correct application of initial conditions and the use of MATLAB for solving the problem.

Contextual Notes

There are unresolved aspects regarding the initial conditions, particularly the value of y'(0+), and the implications of using MATLAB's dsolve function. The discussion reflects varying interpretations of the problem setup and the mathematical steps involved.

Who May Find This Useful

Students and practitioners interested in Laplace transforms, differential equations, and their applications in control systems may find this discussion relevant.

zhaniko93
Messages
13
Reaction score
0

Homework Statement



I'm given the transfer function of LTI system is \frac{1}{s^2 + 4}

Homework Equations



H(s) = \frac{Y(s)}{X(s)}

The Attempt at a Solution



first of all I had to find diff. equations of the system. I found that it's y'' + 4*y = x;
Then they asked to find such initial conditions that if I applied unit impulse at input, I got y=0 for time t>=0; I took Laplace transform of diff. equation with initial conditions and got that s^2Y - sY(0) - Y'(0) + 4Y = 1; I want y=0, so Y=0 and 1+sY(0) + Y'(0) = 0; I'm wrong in something...
 
Physics news on Phys.org
Matlab

Code:
syms y(t) x(t) a t
Dy = diff(y);
A = dsolve(diff(y, 2) + 4*y == dirac(t), y(0) == 0, Dy(0) == -1);
ezplot(A, [0 10])

pretty(laplace(A))

I get something slightly different in matlab
 
Thanks milesyoung, it helped!
 
You should use y for the time functions and Y for the transformed variables.

You are right in saying y(0+) = 0 but what about y'(0+)?
 
rude man said:
You are right in saying y(0+) = 0 but what about y'(0+)?
He/she wrote the correct initial conditions in the code segment.
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
23
Views
6K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
3K