Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Off-Topic-Archive > Converting a 2nd order O.D.E to two 1st order O.D.E's
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
Question  Old Post 15-02-2003 22:10 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Converting a 2nd order O.D.E to two 1st order O.D.E's Support Apolyton buy from Amazon

Is there a general formula that can be used to convert a 2nd order O.D.E into a system of two 1st order O.D.E's (or an Nth order O.D.E into a system of N 1st order O.D.E's)? F'rinstance, I'd like to convert the O.D.E.
y" - (1 - y2)y' + y = 0, [y(0) = .5, y'(0) = .5]
into two 1st order O.D.E's
u' = f(u, y)
y' = f(y, t)
...but I've no idea where to begin. I can solve 1st order O.D.E's without too much difficulty, but 2nd order O.D.E's are hating on me...

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 15-02-2003 22:36 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Browse Apolyton AD-FREE

Whoops, never mind, I managed to find my old diff eq textbook hiding under a pile of junk in the basement.
y' = u
u' = (1 - y2)u - y
[y(0) = .5, u(0) = .5]
Woot! Take that, second order!

Jon Miller is offline Jon Miller
Emperor

May 1999
time: 23:25
  Old Post 15-02-2003 22:41
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization 2

that is aneasy way

there are many other ways also



Jon Miller

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 15-02-2003 22:47 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Full PM-box? Change here!

I'll probably only need the easy way. I'm numerically solving these things, so the 1st order O.D.E's don't need to look especially pretty -- they just need to be 1st order.

Jon Miller is offline Jon Miller
Emperor

May 1999
time: 23:25
  Old Post 15-02-2003 23:28
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

that was what I was expecting

Jon Miller

Provost Harrison is offline Provost Harrison
Emperor
The farce is strong with this one.
Feb 2000
time: 05:25
  Old Post 15-02-2003 23:32
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Avatar Enlargement: We've got the solution



Sorry, did something boring wake me there?

Hueij is offline Hueij
Emperor
Kokonino Kounty
May 1999
time: 06:25
  Old Post 15-02-2003 23:41
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

If you are suffering from O.D.E, shouldn't you go to a doctor ASAP?

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:25
  Old Post 16-02-2003 10:14
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by loinburger
I'll probably only need the easy way. I'm numerically solving these things, so the 1st order O.D.E's don't need to look especially pretty -- they just need to be 1st order.


Oh. For numerical analysis?

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 16-02-2003 10:22 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Yup, the prof gave us a whole slew of nasty 2nd order O.D.E's to solve for the midterm (take-home test).

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:25
  Old Post 16-02-2003 10:28
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Remove this text

Do you need to write your own program, or use something like Maple or Mathematica?

I have always hated take home exams, they are always evil beyond belief.

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 16-02-2003 10:31 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton buy from Amazon

We need to submit our own, but we're allowed to test our solutions against Mathematica or Matlab in order to get error estimates, and we're also allowed to borrow code (our text is chock full of pseudocode).

Yeah, basically take-home exams are an excuse to give a 20-hour test. Fortunately, once I get my method programmed in, the rest should be pretty easy.

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:25
  Old Post 16-02-2003 10:34
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Browse Apolyton AD-FREE

Oh yeah, the programming is the hard part. C++? Fortran is the best for this, but you probably don't know it.

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 16-02-2003 10:38 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton buy from Amazon

Mathematica or Matlab. I don't know Matlab very well, but I've programmed O.D.E. solvers in Mathematica before. (Those were just basic implementations of Euler's method, though, while these equations are probably going to need something more like an Adams-Multivalue or Bulirsch-Stoer, but the principle's the same.)

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:25
  Old Post 16-02-2003 11:07
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Never used Mathematica before. IIRC, it looks sort of like Lisp.

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 16-02-2003 19:48 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Enter the AD-FREE zone

Yeah, it's basically LISP with better built-in functions (it autmatically handles derivatives, f'rinstance). It's also not so anal about the parentheses.

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:25
  Old Post 16-02-2003 20:27
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton buy from Amazon

Hurm. I much rather use Fortan than Lisp. Lisp is probably the worst language to do numerical analysis in, even though it's awesome doing symbolic stuff.

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 18-02-2003 01:24 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Suffering from ads?

Hey UR, do you have any idea how to perform Richardson extrapolation using stepsizes h and h/i (with i > 1)? All the material I've found on it only employs stepsizes h and h/2, which works fine most of the time, but I've got an unbelievably stiff diff eq and I don't want to wind up computing a thousand points for my tableau...

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:25
  Old Post 18-02-2003 10:53
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Tired of ads?

Let me think ( ) about it. The bad thing about postgrad work is you are supposed to do a bit of original work.

loinburger is offline loinburger
Emperor
Sweet Sauce Jones
Jul 1999
time: 00:25
  Old Post 18-02-2003 10:58 Visit loinburger's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Bah humbug.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:25.
Apolyton Time is 00:25.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0465 seconds (89.09% PHP - 10.91% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net