i wrote in matlab as what the picture show me but it did not work, could some on
ID: 1868243 • Letter: I
Question
i wrote in matlab as what the picture show me but it did not work, could some one help please.
Equate the response value to 0.9 to determine the rise time. 0.9 l-e-029 ?0.577 sin (0.433r) + cos (0.4331 e50.577sin (0.4331)+ cos (0.4331)0.1 0.25 Solve the equation using MATLAB to get the rise time. Write the function as a script and save the function function f1-fun_sol(t) f1-exp(-0.25*t)* (0.577*sin(0.433*t)+cos(0.433*t))-0.1; end Execute the function at the MATLAB command window f2-@fun_solf3-fzero(f2,5)f3- 4.2511Explanation / Answer
Try using this code. Comment if you find any trouble
-------------------------------------------------------------------------------------------------------------
syms t
eqn = (2.7182^(-0.25*t))*(0.577*sin(0.433*t)+cos(0.433*t)) == 0.1;
solt = solve(eqn,t)
--------------------------------------------------------------------------------------------------------------------
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.