Laplace transform for an expression

Assignment Help Basic Statistics
Reference no: EM13927329

ECET 345

Last week was a basic introduction to Matlab. This week you will learn how to use three built-in functions (laplace, ilaplace and dsolve).
Using the syms function

An expression can be represented using symbols with the syms function.
Let's study the following example:

syms x y % Declare two symbolic variables x and y
y = x^2 %Declare a function
z=diff(y) %Will calculate the derivative of y and store the value in z.

How to find the Laplace transform for an expression?
Example: Find the Laplace transform of sin(2t). From the table of Laplace transforms, the Laplace transform of sin(2t) is . Let us do the same calculation in Matlab.
syms t % Declare a symbolic variable t
F=laplace(sin(2*t)) %Calculate Laplace transform, store in F
pretty(F) % print the output in a more readable form

How to find the inverse Laplace transform for an expression?
Example: Find the inverse Laplace transform of From the previous example, the inverse Laplace transform is sin(2t). The following code will verify this calculation in Matlab.
syms s % Declare a symbolic variable s (the Laplace variable)
f=ilaplace(2/(s^2+4)) %Calculate inverse Laplace transform, store in F

pretty(f) % print the output in a more readable form

How to solve a differential equation in Matlab?
Example: Solve the differential equation , with initial conditions x(0)=1 and x'(0)= 0.
Matlab command:
dsolve('D2x+2*x=0', 'x(0) = 1, Dx(0) = 0')

Exercises:
1. Find the Laplace transforms of the following functions by hand and verify results using Matlab.
1.
2.
3.
2. Find the inverse Laplace transform of the following functions by hand and verify results using Matlab.

1.
2. F(s)=
3. Solve the following differential equations by hand and verify results using Matlab.

with x(0) = 1, x' (0) = 0

with x(0) = 1, x' (0) = 0

Reference no: EM13927329

Questions Cloud

Moral dilemma identify the competing rights : Describe the moral dilemma identify the competing rights and how these make it a moral dilemma.
Influence of health policies and future of health care : Based on the changing environment, as well as demographics in 21st Century America, there are many burgeoning issues and hurdles the U.S. Health Care System faces. As part of the preparation for your assignment, view the video titled "Health Care ..
Discussing a brief synopsis of all the issues : Please prepare a memorandum for me, discussing a brief synopsis of all the issues that might come up in our representation of Jane. I do not need you to analyze these issues in depth at this point or to try to make a determination as to whether Ja..
What is the probability of negative earnings per share : The current price per share of common stock is $50. If this repurchase is undertaken, what is the probability of negative earnings per share during the coming year?
Laplace transform for an expression : Last week was a basic introduction to Matlab. This week you will learn how to use three built-in functions (laplace, ilaplace and dsolve).Using the syms function
Discuss the concept of ecological services : In a 2-3 page paper, using APA-style formatting, define and discuss the concept of ecological services. Then, review the "Ecological Services of Rivers" outlined in Mini Lecture:
International market selection and market entry : Finding current and accurate information about overseas markets can be difficult and time consuming. What sources would you use if you were a manager researching international market opportunities? Would you rely on newspaper reports? Or personall..
What is the chance of having unfavorable financial leverage : NVFC's expected level of EBIT from this division is $1.0 million with a standard deviation of $400,000. If the firm uses the second financing plan, what is the chance of having unfavorable financial leverage?
What hides the systems hardware : What hides the system's hardware underneath an abstract, high-level programming interface?

Reviews

Write a Review

Basic Statistics Questions & Answers

  A professor measures the time x that students take to

a professor measures the time x that students take to complete an examination and the score y that the students

  Probability of winning in series

Assume in a single game sudden death playoff between team A and team B that team A would win with probability 0.6.

  Similarities between f-ratio and t statistic

Describe the similarities between an F-ratio and a t statistic. The basic relationship between t statistic and F-ratios can be stated in an equation. What is that equation?

  Problem on throwing a die on ludo

If a six appears for the second time, the process is repeated with the move depending on the number shown and the previous throws. If a six appears for the third time, the turn of the player ends without moving the token.

  Mean for the heights of males and females

Compare the mean for the heights of males and the mean of the heights of females in the following data. Compare the values and explain what can be concluded based on the numbers.

  What is the probability that every passenger who shows up

because not all airline passengers show up for their reserved seat an airline sells 126 tickets for a flight that holds

  Generate a chart or table that lists a range of crimes

generate a chart or table that lists a variety of crimes types. your chart should include at least four types of crimes

  Three bags of salt and ten bags of mahangu cost n 74

two of bags salt and five bags of mahangu cost n41. three bags of salt and ten bags of mahangu cost n 74. formulate two

  Past experience shows that over time the rivets in bridge

past experience shows that over time the rivets in bridge supports can become dangerously loose. assume that x the

  How much that person smokes

Test the hypothesis that whether or not an individual has hypertension is independent of how much that person smokes.

  Calculate basic descriptive statistics and interpret

Calculate basic descriptive statistics and interpret their meaning in applLearning Outcomes - Explore and apply different levels of measurements, as well as understanding independent/dependent variables in research scenarios.

  Identify the independent and dependent variables classify

for a research project in a political science course a student has collected information about the quality of life and

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd