Laplace transform for an expression

Assignment Help Mathematics
Reference no: EM13920774

ECET 345
LAB WEEK 2
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: EM13920774

Questions Cloud

Brand mean in today market : Research the Nike company using both its Web site and articles in the AIU Library's full-text databases, and address the following: What does the brand mean in today's market?
How would one go about putting these suggestions in practice : If you were to take over as inventory control manager Ford, what policies and techniques would one implement to ensure accurate inventory records?
Correlation between coffee and cholesterol : A study from a Colombian research center is about to publish a pilot study regarding a new coffee plant that they believe can reduce total cholesterol in humans. They gave increasing doses (cups of coffee) to a test patient over several weeks and ..
What might bqt do to reduce the magnitude of the problems : What might BQT do to reduce the magnitude of these problems? What problems might be caused by BQT's maintaining ownership of the production equipment?
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
What is the best type of hypothesis test : At a 1% level of significance, test to see if the proportion of voters has changed. QUESTION 1: What is the best type of hypothesis test to apply for this problem?
Synopsis of the jones and shephard case study : 1. Provide a synopsis of the Jones and Shephard case study 2. Highlight three enterprise management causes/considerations and three project management causes/considerations for the situation. Include what seemed to be missing
Discuss why the ownership pattern makes economic sense : Discuss why this ownership pattern makes economic sense. Do you think the CEO's conclusions are correct? Why or why not?
Building a multi-project battalion by leading upward : Read the case study titled "A Peaceful Evacuation: Building a Multi-Project Battalion by Leading Upward." before starting this assignment.

Reviews

Write a Review

Mathematics Questions & Answers

  Compute the orientation of x intersect z

Compute the orientation of X intersect Z in the following examples by exhibiting positively oriented bases at every point. [By convention, we orient the three coordinate axes so that the standard basis vectors are positively oriented. Orient the xy p..

  How much will you be repaying over the life of your loan

Logic and Decision Making- Does it make more sense to buy or lease a car from a dealership? How much will you be repaying over the life of your loan? How much are your monthly payments

  Question let l be a language whose wff-formation rules are

question let l be a language whose wff-formation rules are the following..1. every sentence letter us an l-wffmore

  State simple pendulum is related to the length l

simple pendulum is related to the length L (in feet) of the pendulum by the formula 87t^2=(3.14)^2L. If a child is on a swing with a 10 foot chain, then how long does it take to complete on cycle on the swing?

  How long will it take the machine to produce enough muffins

A muffin machine in a bakery produces 120 muffins in an hour. At this rate, how long will it take the machine to produce enough muffins to fill 520 muffin containers if each container will contain 4 muffins?

  What was the original diameter of the pipe

mineral deposits have formed a uniform coating that is 4 millimeters thick on the inside of a water pipe. the cross sectional area has decreased by 10%. what was the original diameter of the pipe?

  Finding the tangent to curve

Find the condition that the curve y = mx + c to be a tangent to the parabola y^2 = 4 ax and also determine the point of contact.

  Define tree diagram and dice tossing

Develop a tree diagram for tossing two, eight-sided gaming dice to figure out how many possibilities there are. Define Tree Diagram and Dice Tossing

  Find probabilities of selecting multiples of fixed numbers

Probabilities of Selecting Multiples of Fixed Numbers. Let N = 1000 and let S = {1, 2, ... , N}. Let D_i = {m belongs to S: i|m} for integers i between 1 and N.

  Linearly independent or linearly dependent

In the following case, state if the following set of vectors are linearly independent or linearly dependent. Justify your answer.

  What was the population distribution

What was the population distribution in that state at the beginning of 2000? (Round your answers to one decimal place.)

  A probability distribution for the duration of a service.

What is the probability that a service call will take more than 2 hours?

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