Hi, the above image is from the Line Integral Convolution paper by Cabral and Leedom. However, I am having a hard time implementing it, and I am quite certain I am misreading it. It is supposed to give me the distances of the lines like in the example below, but I am not sure how it can. First...
For Initial Value problems I want to implement an ODE solver for implicit Euler method with adaptive time step and use step doubling to estimate error. I have found some reading stuff about adaptive time step and error estimation using step doubling but those are mostly related to RK methods. I...
I have a question about the damped pendulum. I am working on an exercise where I have already numerically approximated the solution for a simple pendulum without dampening. Now, the excercise says that I can simply change the code of this simple situation to describe a pendulum with...
This is problem 12.81 from Pytels Dynamics 2nd edition
1. Homework Statement
A train traveling at 20m/s is brought to an emergency stop. During braking,
the acceleration is a=-(7/4)+(t/16) m/s^2, where t is the time in seconds measured
from when the brakes were applied. (a) Integrate the...
I wish to use Newton's Laws in conjunction with Euler's Method to model the motion of a planet around a star.
F = m*a
Law of Universal Gravitation
F = -G*M1*M2/r^2
The Attempt at a Solution
First I combined the two laws...
An assignment for my computational modeling course is to demonstrate the use of the Standard Euler method for modeling a simple harmonic oscillator; in this case, a mass attached to the end of a spring.
I have the two coupled first-order differential equations satisfying hookes law...