SlideShare a Scribd company logo
1 of 27
For any Assignment related queries, Call us at : - +1 678 648 4277
You can mail us at : - info@matlabassignmentexperts.com or
reach us at : - https://www.matlabassignmentexperts.com/
matlabassignmentexperts.com
1. Solving differential equations
Solve the following differential equation
for t ≥ 0 assuming the initial conditions y(0) = 1 and dy(t) = 2. Express the
solution dt t=0 in closed form. Enter your closed form expression the the box
below. [Hint: assume the homogeneous solution has the form Aes1t + Bes2t .]
First solve the homogeneous equation: yh(t) + 3y˙h(t) + 2¨yh(t) = 0. Assume
yh(t) = Aest. Then y˙h(t) = sAest and y¨h(t) = s2Aest. Substitute into the
homogeneous differential equation to obtain (1 + 3s + 2s2)Aest = 0. Since est is
never equal to zero, either A must be 0 or 1 + 3s + 2s2 must be zero. If A were
zero, then the solution would be trivial (i.e., yh(t) = 0), so the latter must be true
to get a non-zero solution. From the factored form (1 + s)(1 + 2s) = 0, it is clear
that s could be −1 or −0.5. Therefore the complete homogeneous solution could
be written as
matlabassignmentexperts.com
as in the hint. The particular solution has the same form as the inhomogenous
part, so that yp(t) = 1. To satisfy the initial conditions, we require that y(t) (the
sum of the homogeneous and particular parts) satisfies y(0) = A+B+1 = 1 and
y˙(0) = −A−B/2 = 2 so that A = −4 and B = 4. The final solution is
2. Solving difference equations
Solve the following difference equation
for n ≥ 0 assuming the initial conditions y[0] = 1 and y[−1] = 2. Express the
solution in closed form. Enter your closed form expression the the box below.
[Hint: assume the homogeneous solution has the form
matlabassignmentexperts.com
matlabassignmentexperts.com
3. Geometric sums
a. Expand in a power series.
power series:
For what range of a does your answer converge?
range:
matlabassignmentexperts.com
b. Express a in closed form.
closed form:
matlabassignmentexperts.com
For what range of a does your answer converge?
range:
matlabassignmentexperts.com
c. Expand in a power series.
power series:
For what range of a does your answer converge?
range:
matlabassignmentexperts.com
4. CT transformations
Let x(t) represent the signal shown in the following plot.
The signal is zero outside the range −2 < t < 2.
a. The following plot shows y1(t), which is a signal that is derived from x(t).
matlabassignmentexperts.com
Determine an expression for y1(t) in terms of x(·).
b. The following plot shows y2(t), which is a signal that is derived from x(t).
Determine an expression for y2(t) in terms of x(·).
c. Let y3(t) = x(2t + 3). Determine all values of t for which y3(t)
= 1.
matlabassignmentexperts.com
d. Assume that x(t) can be written as the sum of an even part
matlabassignmentexperts.com
5. Decomposing Signals
The even and odd parts of a signal x[n] are defined by the following:
matlabassignmentexperts.com
b. Is it possible to determine x[n] (for all n) from xo[n] and xl[n]?
matlabassignmentexperts.com
If yes, explain a procedure for doing so. If no, explain why not.
6. Leaky tanks
The following figure illustrates a cascaded system of two water tanks. Water flows
• into the first tank at a rate r0(t),
• out of the first tank and into the second at a rate r1(t), and
• out of the second tank at a rate r2(t).
matlabassignmentexperts.com
The rate of flow out of each tank is proportional to the height of the water in that
tank: r1(t) = k1h1(t) and r2(t) = k2h2(t), where k1 and k2 are each 0.2 m2/second.
Both tanks have heights of 1 m. The cross-sectional area of tank 1 is A1 = 4 m2 and
that of the second tank is A2 = 2 m2. At time t = 0, both tanks are empty.
Part a. Let x(t) = r0(t) represent the input of the tank system and y(t) = r2(t)
represent the output. Determine the relation between the input and the output.
Express this relation as a differential equation of the form
matlabassignmentexperts.com
Part b. Assume that r0(t) is held constant at rate r0. What is the maximum value
of r0 such that neither tank will ever overflow if both tanks start out empty.
matlabassignmentexperts.com
Part c. Because r1(t) is both the output of the first tank and the input of the second
tank, we can equivalently think of the two-tank system as a cascade of two one-
tank systems, as shown in the following figure.
Determine a differential equation that relates r1(t) to r0(t). Determine the solution
to this differential equation when r0(t) is held constant at 0.1 m3/s. Assume that
tank #1 is initially empty.
matlabassignmentexperts.com
matlabassignmentexperts.com
Part d. We could similarly determine a differential equation that relates r2(t) to
r1(t) and solve it for r2(t) given the solution for r1(t) given in Part c. As an
alternative, we can use a numerical method.
Use the forward Euler approximation to generate a discrete approximation to the
differential relation between r1(t) and r0(t), as follows. Let r0(t) and r1(t) be
approximated by discrete sequences r0[n] = r0(nT) and r1[n] = r1(nT), where T
represents the step size. Then approximate the continuous-time derivative at time
nT by a first difference:
Solve this difference equation for r1[n + 1] in terms of values of r1[k] and r0[k]
where k < n + 1 and enter the result below.
matlabassignmentexperts.com
Part e. Use your favorite computer language to solve this recursion for the special
case when the input r0[n] is held constant at 0.1 m3/s, tank #1 is initially empty,
and T = 1 second (see example code in box below). Make a plot of your solution for
0 < t < 60. Also plot the analytic result from part c on the same axes. Determine the
maximum difference between the analytic and numerical results.
maximum difference:
matlabassignmentexperts.com
matlabassignmentexperts.com
Part f. Modify your code to calculate numerical approximations to both r1(t) and
r2(t). Plot results for both on the same axes. Explain similarities and differences of
these two results for both small times and large times.
matlabassignmentexperts.com
matlabassignmentexperts.com
7. Drug dosing
When drugs are used to treat a medical condition, doctors often recommend
starting with a higher dose on the first day than on subsequent days. In this
problem, we consider a simple model to understand why. Assume that the human
body is a tank of blood and that drugs instantly dissolve in the blood when ingested.
Further assume that drug vanishes from the blood (either because it is broken down
or because it is flushed by the kidneys) at a rate that is proportional to drug
concentration.
Let x[n] represent the amount of drug taken on day n, and let y[n] represent the
total amount of drug in the blood on day n, just after the dose x[n] has dissolved in
the blood, so that
a. Assume that no drug is in the blood before day 0, and that one unit of drug is
taken each day, starting with day 0.
1. Determine an expression for the amount of drug in the blood immediately after
the dose on day n has dissolved.
matlabassignmentexperts.com
2. Plot the amount of drug in the blood as a function of day number for
matlabassignmentexperts.com
3. Determine an expression for the steady-state amount of drug in the blood, i.e.,
limn→∞ y[n].
b. In part a, the amount of drug in the blood ramps up over the first few days,
before reaching a steady-state value. Suggest a different initial dose x[0] that will
result in a more constant amount of drug in the blood (with x[n] remaining at 1
for all n ≥ 1).
initial dose:
matlabassignmentexperts.com
matlabassignmentexperts.com

More Related Content

Similar to Call +1 678 648 4277 For Any Matlab Assignment Queries

Applications of differential equation
Applications of differential equationApplications of differential equation
Applications of differential equationDeekshaSrivas
 
Lecture slides Ist & 2nd Order Circuits[282].pdf
Lecture slides Ist & 2nd Order Circuits[282].pdfLecture slides Ist & 2nd Order Circuits[282].pdf
Lecture slides Ist & 2nd Order Circuits[282].pdfsami717280
 
torsionbinormalnotes
torsionbinormalnotestorsionbinormalnotes
torsionbinormalnotesJeremy Lane
 
Second order reaction
Second order reactionSecond order reaction
Second order reactionsara tariq
 
Single Variable Calculus Assignment Help
Single Variable Calculus Assignment HelpSingle Variable Calculus Assignment Help
Single Variable Calculus Assignment HelpMath Homework Solver
 
Decay Property for Solutions to Plate Type Equations with Variable Coefficients
Decay Property for Solutions to Plate Type Equations with Variable CoefficientsDecay Property for Solutions to Plate Type Equations with Variable Coefficients
Decay Property for Solutions to Plate Type Equations with Variable CoefficientsEditor IJCATR
 
1 d,2d laplace inversion of lr nmr
1 d,2d laplace inversion of lr nmr1 d,2d laplace inversion of lr nmr
1 d,2d laplace inversion of lr nmrAdam Lee Perelman
 
Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715HelpWithAssignment.com
 
transient-analysis.pdf
transient-analysis.pdftransient-analysis.pdf
transient-analysis.pdfGireeshkumarD
 

Similar to Call +1 678 648 4277 For Any Matlab Assignment Queries (20)

Ch07 5
Ch07 5Ch07 5
Ch07 5
 
Applications of differential equation
Applications of differential equationApplications of differential equation
Applications of differential equation
 
Lecture slides Ist & 2nd Order Circuits[282].pdf
Lecture slides Ist & 2nd Order Circuits[282].pdfLecture slides Ist & 2nd Order Circuits[282].pdf
Lecture slides Ist & 2nd Order Circuits[282].pdf
 
Linear regression
Linear regressionLinear regression
Linear regression
 
numerical.ppt
numerical.pptnumerical.ppt
numerical.ppt
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Stochastic Processes Assignment Help
Stochastic Processes Assignment HelpStochastic Processes Assignment Help
Stochastic Processes Assignment Help
 
NPDE-TCA
NPDE-TCANPDE-TCA
NPDE-TCA
 
torsionbinormalnotes
torsionbinormalnotestorsionbinormalnotes
torsionbinormalnotes
 
Second order reaction
Second order reactionSecond order reaction
Second order reaction
 
Single Variable Calculus Assignment Help
Single Variable Calculus Assignment HelpSingle Variable Calculus Assignment Help
Single Variable Calculus Assignment Help
 
Decay Property for Solutions to Plate Type Equations with Variable Coefficients
Decay Property for Solutions to Plate Type Equations with Variable CoefficientsDecay Property for Solutions to Plate Type Equations with Variable Coefficients
Decay Property for Solutions to Plate Type Equations with Variable Coefficients
 
1 d,2d laplace inversion of lr nmr
1 d,2d laplace inversion of lr nmr1 d,2d laplace inversion of lr nmr
1 d,2d laplace inversion of lr nmr
 
Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715
 
Statistics Homework Help
Statistics Homework HelpStatistics Homework Help
Statistics Homework Help
 
Multiple Linear Regression Homework Help
Multiple Linear Regression Homework HelpMultiple Linear Regression Homework Help
Multiple Linear Regression Homework Help
 
Duality.ppt
Duality.pptDuality.ppt
Duality.ppt
 
transient-analysis.pdf
transient-analysis.pdftransient-analysis.pdf
transient-analysis.pdf
 
ch03.pptx
ch03.pptxch03.pptx
ch03.pptx
 
Signals and System Assignment Help
Signals and System Assignment HelpSignals and System Assignment Help
Signals and System Assignment Help
 

More from Matlab Assignment Experts

🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊Matlab Assignment Experts
 

More from Matlab Assignment Experts (20)

🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
🚀 Need Expert MATLAB Assignment Help? Look No Further! 📊
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
MAtlab Assignment Help
MAtlab Assignment HelpMAtlab Assignment Help
MAtlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Matlab Homework Help
Matlab Homework HelpMatlab Homework Help
Matlab Homework Help
 
MATLAB Assignment Help
MATLAB Assignment HelpMATLAB Assignment Help
MATLAB Assignment Help
 
Matlab Homework Help
Matlab Homework HelpMatlab Homework Help
Matlab Homework Help
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Computer vision (Matlab)
Computer vision (Matlab)Computer vision (Matlab)
Computer vision (Matlab)
 
Online Matlab Assignment Help
Online Matlab Assignment HelpOnline Matlab Assignment Help
Online Matlab Assignment Help
 
Modelling & Simulation Assignment Help
Modelling & Simulation Assignment HelpModelling & Simulation Assignment Help
Modelling & Simulation Assignment Help
 
Mechanical Assignment Help
Mechanical Assignment HelpMechanical Assignment Help
Mechanical Assignment Help
 
CURVE FITING ASSIGNMENT HELP
CURVE FITING ASSIGNMENT HELPCURVE FITING ASSIGNMENT HELP
CURVE FITING ASSIGNMENT HELP
 
Design and Manufacturing Homework Help
Design and Manufacturing Homework HelpDesign and Manufacturing Homework Help
Design and Manufacturing Homework Help
 
Digital Image Processing Assignment Help
Digital Image Processing Assignment HelpDigital Image Processing Assignment Help
Digital Image Processing Assignment Help
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Recently uploaded (20)

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

Call +1 678 648 4277 For Any Matlab Assignment Queries

  • 1. For any Assignment related queries, Call us at : - +1 678 648 4277 You can mail us at : - info@matlabassignmentexperts.com or reach us at : - https://www.matlabassignmentexperts.com/ matlabassignmentexperts.com
  • 2. 1. Solving differential equations Solve the following differential equation for t ≥ 0 assuming the initial conditions y(0) = 1 and dy(t) = 2. Express the solution dt t=0 in closed form. Enter your closed form expression the the box below. [Hint: assume the homogeneous solution has the form Aes1t + Bes2t .] First solve the homogeneous equation: yh(t) + 3y˙h(t) + 2¨yh(t) = 0. Assume yh(t) = Aest. Then y˙h(t) = sAest and y¨h(t) = s2Aest. Substitute into the homogeneous differential equation to obtain (1 + 3s + 2s2)Aest = 0. Since est is never equal to zero, either A must be 0 or 1 + 3s + 2s2 must be zero. If A were zero, then the solution would be trivial (i.e., yh(t) = 0), so the latter must be true to get a non-zero solution. From the factored form (1 + s)(1 + 2s) = 0, it is clear that s could be −1 or −0.5. Therefore the complete homogeneous solution could be written as matlabassignmentexperts.com
  • 3. as in the hint. The particular solution has the same form as the inhomogenous part, so that yp(t) = 1. To satisfy the initial conditions, we require that y(t) (the sum of the homogeneous and particular parts) satisfies y(0) = A+B+1 = 1 and y˙(0) = −A−B/2 = 2 so that A = −4 and B = 4. The final solution is 2. Solving difference equations Solve the following difference equation for n ≥ 0 assuming the initial conditions y[0] = 1 and y[−1] = 2. Express the solution in closed form. Enter your closed form expression the the box below. [Hint: assume the homogeneous solution has the form matlabassignmentexperts.com
  • 5. 3. Geometric sums a. Expand in a power series. power series: For what range of a does your answer converge? range: matlabassignmentexperts.com
  • 6. b. Express a in closed form. closed form: matlabassignmentexperts.com
  • 7. For what range of a does your answer converge? range: matlabassignmentexperts.com
  • 8. c. Expand in a power series. power series: For what range of a does your answer converge? range: matlabassignmentexperts.com
  • 9. 4. CT transformations Let x(t) represent the signal shown in the following plot. The signal is zero outside the range −2 < t < 2. a. The following plot shows y1(t), which is a signal that is derived from x(t). matlabassignmentexperts.com
  • 10. Determine an expression for y1(t) in terms of x(·). b. The following plot shows y2(t), which is a signal that is derived from x(t). Determine an expression for y2(t) in terms of x(·). c. Let y3(t) = x(2t + 3). Determine all values of t for which y3(t) = 1. matlabassignmentexperts.com
  • 11. d. Assume that x(t) can be written as the sum of an even part matlabassignmentexperts.com
  • 12. 5. Decomposing Signals The even and odd parts of a signal x[n] are defined by the following: matlabassignmentexperts.com
  • 13. b. Is it possible to determine x[n] (for all n) from xo[n] and xl[n]? matlabassignmentexperts.com
  • 14. If yes, explain a procedure for doing so. If no, explain why not. 6. Leaky tanks The following figure illustrates a cascaded system of two water tanks. Water flows • into the first tank at a rate r0(t), • out of the first tank and into the second at a rate r1(t), and • out of the second tank at a rate r2(t). matlabassignmentexperts.com
  • 15. The rate of flow out of each tank is proportional to the height of the water in that tank: r1(t) = k1h1(t) and r2(t) = k2h2(t), where k1 and k2 are each 0.2 m2/second. Both tanks have heights of 1 m. The cross-sectional area of tank 1 is A1 = 4 m2 and that of the second tank is A2 = 2 m2. At time t = 0, both tanks are empty. Part a. Let x(t) = r0(t) represent the input of the tank system and y(t) = r2(t) represent the output. Determine the relation between the input and the output. Express this relation as a differential equation of the form matlabassignmentexperts.com
  • 16. Part b. Assume that r0(t) is held constant at rate r0. What is the maximum value of r0 such that neither tank will ever overflow if both tanks start out empty. matlabassignmentexperts.com
  • 17. Part c. Because r1(t) is both the output of the first tank and the input of the second tank, we can equivalently think of the two-tank system as a cascade of two one- tank systems, as shown in the following figure. Determine a differential equation that relates r1(t) to r0(t). Determine the solution to this differential equation when r0(t) is held constant at 0.1 m3/s. Assume that tank #1 is initially empty. matlabassignmentexperts.com
  • 19. Part d. We could similarly determine a differential equation that relates r2(t) to r1(t) and solve it for r2(t) given the solution for r1(t) given in Part c. As an alternative, we can use a numerical method. Use the forward Euler approximation to generate a discrete approximation to the differential relation between r1(t) and r0(t), as follows. Let r0(t) and r1(t) be approximated by discrete sequences r0[n] = r0(nT) and r1[n] = r1(nT), where T represents the step size. Then approximate the continuous-time derivative at time nT by a first difference: Solve this difference equation for r1[n + 1] in terms of values of r1[k] and r0[k] where k < n + 1 and enter the result below. matlabassignmentexperts.com
  • 20. Part e. Use your favorite computer language to solve this recursion for the special case when the input r0[n] is held constant at 0.1 m3/s, tank #1 is initially empty, and T = 1 second (see example code in box below). Make a plot of your solution for 0 < t < 60. Also plot the analytic result from part c on the same axes. Determine the maximum difference between the analytic and numerical results. maximum difference: matlabassignmentexperts.com
  • 22. Part f. Modify your code to calculate numerical approximations to both r1(t) and r2(t). Plot results for both on the same axes. Explain similarities and differences of these two results for both small times and large times. matlabassignmentexperts.com
  • 24. 7. Drug dosing When drugs are used to treat a medical condition, doctors often recommend starting with a higher dose on the first day than on subsequent days. In this problem, we consider a simple model to understand why. Assume that the human body is a tank of blood and that drugs instantly dissolve in the blood when ingested. Further assume that drug vanishes from the blood (either because it is broken down or because it is flushed by the kidneys) at a rate that is proportional to drug concentration. Let x[n] represent the amount of drug taken on day n, and let y[n] represent the total amount of drug in the blood on day n, just after the dose x[n] has dissolved in the blood, so that a. Assume that no drug is in the blood before day 0, and that one unit of drug is taken each day, starting with day 0. 1. Determine an expression for the amount of drug in the blood immediately after the dose on day n has dissolved. matlabassignmentexperts.com
  • 25. 2. Plot the amount of drug in the blood as a function of day number for matlabassignmentexperts.com
  • 26. 3. Determine an expression for the steady-state amount of drug in the blood, i.e., limn→∞ y[n]. b. In part a, the amount of drug in the blood ramps up over the first few days, before reaching a steady-state value. Suggest a different initial dose x[0] that will result in a more constant amount of drug in the blood (with x[n] remaining at 1 for all n ≥ 1). initial dose: matlabassignmentexperts.com