MATLAB: Suppose that at any given time t (in seconds) the current i (in amperes) in an alternating current circuit is i = 2 cos t + 2 sin t. What is the peak current for this circuit (largest magnitude)

differential equationsmathematicsMATLAB

i am learning mtlab now , and i have to solve this some one please help
Suppose that at any given time t (in seconds) the current i (in amperes) in an alternating current circuit is i = 2 cos t + 2 sin t. What is the peak current for this circuit (largest magnitude)?

Best Answer

  • Do the same as shown in your question before. Then use
    diff(...) == 0
    to find extremum points. The solve function maybe helpful.