MATLAB Answers

how to solve 3 equations in 1 st order using rk4 method

3 views (last 30 days)
Mallikarjun Bangi
Mallikarjun Bangi on 16 Oct 2017
Answered: Mischa Kim on 16 Oct 2017
%%Initial inputs values
x = 10000.0;
y = 0.0;
theta = 30deg;
V = 300m/s;
%%3 main equations inter dependant
xdot = (dx/dt) = V*cos(theta);
ydot = (dy/dt) = V*sin(theta);
thetadot = (dtheta/dt) = acc/V;
%%Note: we can derive V = sqrt(xdot^2 + ydot^2); "Integration" or by using "S-function" of Xdot and ydot we will get instatenous x, y values at every step size w.r.to given acceleration variable (acc);
can anyone pls give some idea to solve it

  0 Comments

Sign in to comment.

Answers (1)

Mischa Kim
Mischa Kim on 16 Oct 2017
Mallikarjun, check out this answer for the Lorentz attractor.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags


Translated by