a) Plot the following three curves on a single plot and a multiple plots (using the subplot command): 2 cos(t), sin(t), and cos(t)+sin(t). Use a time period such that two or three peaks occur for each curve. Use solid, dashed, and + symbols for the different curves. Use roughly 25-50 points for each curve. b) Find the eigenvalues of the matrix -1 0 0 2 1 --2 0 6 D= 1 3 −1 8 0 0 0 -2 c) Find the solutions to the equation f(x) = 3x³ + x² + 5x-6 = 0. Use roots and fzero. d) Integrate the equations, from t = 0 to 1 = 5 dx1 +x2 dt dx2 =-x2 dt with the initial condition x₁(0) = x²(0) = 1. Use ode45 (Module 3) and plot your results.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter11: Topics From Analytic Geometry
Section11.4: Plane Curves And Parametric Equations
Problem 40E
icon
Related questions
Question

Using matlab, please help with a, b, c, and d

a) Plot the following three curves on a single plot and a multiple plots (using the
subplot command): 2 cos(t), sin(t), and cos(t)+sin(t). Use a time period such
that two or three peaks occur for each curve. Use solid, dashed, and + symbols
for the different curves. Use roughly 25-50 points for each curve.
b) Find the eigenvalues of the matrix
-1
0 0
2
1 --2
0
6
D=
1
3
−1
8
0
0 0 -2
c) Find the solutions to the equation f(x) = 3x³ + x² + 5x-6 = 0. Use roots and
fzero.
d) Integrate the equations, from t = 0 to 1 = 5
dx1
+x2
dt
dx2
=-x2
dt
with the initial condition x₁(0) = x²(0) = 1. Use ode45 (Module 3) and plot
your results.
Transcribed Image Text:a) Plot the following three curves on a single plot and a multiple plots (using the subplot command): 2 cos(t), sin(t), and cos(t)+sin(t). Use a time period such that two or three peaks occur for each curve. Use solid, dashed, and + symbols for the different curves. Use roughly 25-50 points for each curve. b) Find the eigenvalues of the matrix -1 0 0 2 1 --2 0 6 D= 1 3 −1 8 0 0 0 -2 c) Find the solutions to the equation f(x) = 3x³ + x² + 5x-6 = 0. Use roots and fzero. d) Integrate the equations, from t = 0 to 1 = 5 dx1 +x2 dt dx2 =-x2 dt with the initial condition x₁(0) = x²(0) = 1. Use ode45 (Module 3) and plot your results.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage