Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Terren

Last effort on this difference equation..

This topic is 5237 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi.. Just a last resort effort to see if anyone can shed some light on how to solve this; some guidelines would be very much appreciated.. I have to find the general solution of this difference equation: Yn+4 - 6Yn+3 + 14Yn+2 - 14Yn+1 + 5Yn = 1 .. where n+4, n+3, .. are subscripts of Y. I realise to do this you substitute L^n for Yn (where L = lambda) and find an auxiliary equation to find roots, but all the examples we''ve been given deal with equations of the form Yn+2 + Yn+1 + Yn , which is fairly easy to find the roots for. But how can I find the roots for the above 4th order equation? Should I be using Newtons method for this? If anyone can help that would be grand

Share this post


Link to post
Share on other sites
Advertisement
There is such a thing as a closed-form solution to find the roots of a quartic expression. Try looking up the "quartic formula".

Share this post


Link to post
Share on other sites
quote:
Original post by Terren
NM.. just read homework help rules.. sorry mods


Its okay. At least you found the rules!

Graham Rhodes
Principal Scientist
Applied Research Associates, Inc.

Share this post


Link to post
Share on other sites
You probably have to find the roots "creatively", using exp(lambda*x), if it''s HW. Or use an iterative method like Newton. What have you learned in this course?

Remember, though, that the solution to the inhomogeneous equation is the general solution to the homogeneous one + one specific solution of the inhomogeneous equation (that you have to find creatively again, AFAIK).

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!