Hey guys i have nonlinear equation: dy/dt = 3siny + y - 2. I got the direction field with this(adsbygoogle = window.adsbygoogle || []).push({});

>> [T,Y] = meshgrid(-5:00.2:5, -5:0.2:5);

>> S = (3*sin(Y))+Y-2;

>> L = sqrt(1 + S.^2);

>> quiver(T, Y, 1./L, S./L, 0.5), axis tight

>> xlabel 't', ylabel 'y'

>> title 'Direction Field for dy/dt = (3*sin(Y))+Y-2'

NOw i need to use fzero function to find approximate values for all the equilibria of teh system. I just dont' know how to use fzero with a dif equation like this. ANy help is appreciated. thanks Also, i know the values are around 0.5 and 4.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Help using fzero function in matlab

Loading...

Similar Threads for Help using fzero | Date |
---|---|

[Matlab] How to use inputdlg string variable in text file? | Oct 26, 2014 |

Mathematica Help with "Which[] in a For loop using Mathematica | Sep 12, 2014 |

I need help plotting some data using octave | Feb 9, 2013 |

Please I need a Help with matlab code (Controlling the LEGO NXT Using MatLab) | Dec 7, 2012 |

Help with Data Justification Using Excel 2007 | Jul 23, 2012 |

**Physics Forums - The Fusion of Science and Community**