function with a condition..
Show older comments
Consider the function
y = f(t) = (exp^(-2.3*t))*((-1.2*cos(1.345*t))+(3.4*sin(1.345*t))), t>= 0
(a) Produce a graph of the function along with the two lines defining the region
abs(y) < 0.1.
(b) Use fzero in conjunction with your plot to identify the time τ at which
abs(f(t)) < 0.1 for all t > τ .
...
so For part A..
I did..
syms x t
t >= 0;
f = @(t) (exp^(-2.3*t))*((-1.2*cos(1.345*t))+(3.4*sin(1.345*t)));
y = f;
abs (y) < 0.1
i dont think this is how it should be done...
Since it is my first time using matlab i don't know how to code this..
Can you guys help me out...!!!??
also help me for part B..
i just dont get it.... QQ
2 Comments
Stephen23
on 29 Sep 2015
What does the exp^(...) syntax mean? What is exp ?
Walter Roberson
on 29 Sep 2015
Remove the ^ to get exp(-2.3*t)
Answers (0)
Categories
Find more on Plot Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!