Link to home
Start Free TrialLog in
Avatar of Nusrat Nuriyev
Nusrat NuriyevFlag for Azerbaijan

asked on

Simple matlab task

How to solve this:
y”+7y+5=0 , y(0)=2 ,y(0)=3
on matlab

Thanks
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nusrat Nuriyev

ASKER

>> y(x) = c1*sin(sqrt(7)*x)+c2*cos(sqrt(7)*x)-5/7
if y(0)=2, c2=19/7
if y(0)=3, c2=26/7

Open in new window


The following error occurred converting from sym
to double:
Error using mupadmex
Error in MuPAD command: DOUBLE cannot convert the
input expression into a double array.

If the input expression contains a symbolic
variable, use the VPA function instead.