Recent content by Dmalyuta

  1. D

    Need help with numerical lifting line method

    Hi randomguy! Thank you for the response; I think you have set me on the right track. However! I am only familiar with differentiating vectors which have a variable in them; e.g. the derivative of [t; 2t2; 3t] will be [1; 4t; 3]. Where are the variables in the directed differential...
  2. D

    Need help with numerical lifting line method

    Dear all, I am following Warren F. Phillips' book "Mechanics of Flight" (2nd edition) and am trying to code the numerical lifting line method outlined by him starting on page 96 of Chapter 1. I will write the code in Matlab, but what is preventing me from doing so is a few variables within...
  3. D

    Optimizing Orbits with Runge-Kutta-Nyström Method

    Thank you for the help. I took a shot at something, and now I feel stupid for having spent so much of your and my own time on this spiral dilemma- the problem was in, like many of you said, the method i was using and, in particular, the interval I was using. With 0.3 days, I get the spiral...
  4. D

    Optimizing Orbits with Runge-Kutta-Nyström Method

    I re-wrote the code, and am still getting this bizarre effect. Here is the new code: %% The Three Body Problem clear clf %% Asking user to input some information and defining some constants tim=10000; interva=0.3; G=6.67384e-11; %% Sun initial coordinates M(1)=1.989e+30; %...
  5. D

    Optimizing Orbits with Runge-Kutta-Nyström Method

    haruspex, I don't think this is accumulation of error as I used the same method to simulate the motion of just the Sun and mercury without Venus and Mercury's orbit was perfectly fine. I think we should look into the signs of my calculated forces/accelerations in each quadrant when the x and...
  6. D

    Optimizing Orbits with Runge-Kutta-Nyström Method

    Could you please use simpler language in explaining that last problem about calculating accelerations all at once? I'm just trying to make sense of why the heck the planets would constantly be gaining energy and be moving into a higher orbit- there is nothing in my code which would imply that...
  7. D

    Optimizing Orbits with Runge-Kutta-Nyström Method

    Hi all, I'm using Matlab to try and smulate the orbits of Mercury and Venus aroudn the Sun, allowing all three to disturbe each others' orbits. However, I am constantly running into this problem- all of my orbits look like in the pictures below- in effect, the planets spin out of orbit and...
Back
Top