1. ### Parametric distance of a line in a grid (Line Integral Convolution)

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...
2. ### A Implicit Euler method with adaptive time step and step doubling

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...
3. ### Coding a numerical approximation for a damped pendulum

Hi there. 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...
4. ### Determine stopping distance of a train traveling at 20m/s

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...
5. ### Euler's Method and Planetary Motion

Homework Statement Hi there, I wish to use Newton's Laws in conjunction with Euler's Method to model the motion of a planet around a star. Homework Equations 2nd Law F = m*a Law of Universal Gravitation F = -G*M1*M2/r^2 The Attempt at a Solution [/B] First I combined the two laws...
6. ### Euler method for modeling simple harmonic oscillation

Hello! 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...