Skip to main content
1-Visitor
March 24, 2017
Solved

How to create a new Matrix for acceleration?

  • March 24, 2017
  • 3 replies
  • 1619 views

Hello,

I have solved a DGL with Rkadapt-Routine (Runge-Kutta-Verfahren, adaptiv) , whitch generated following arrays:

Now i want to build the acceleration-Matrix by dividing vx over t.

So i have to divide each Element and write them into a new Matrix for the acceleration.

I think we have to write a little program for it and that's my problem.

Can please somebody help me to program it?

Thank you for your efforts.

best regards, Volker

Best answer by -MFra-

Hi Volker,

I have adapted the worksheet to PRIME 4 (with carriage return for the sum and subtraction, and constant font size) as well as having traced the graphic of the acceleration calculated in two different approximations.

acceleration.jpg

3 replies

23-Emerald I
March 24, 2017

Actually, you want to take the difference in the velocities and the times, and divide those:  acceleration is the slope of velocity

first element Acc[0 will be null

-MFra-21-Topaz IIAnswer
21-Topaz II
March 24, 2017

Hi Volker,

I have adapted the worksheet to PRIME 4 (with carriage return for the sum and subtraction, and constant font size) as well as having traced the graphic of the acceleration calculated in two different approximations.

acceleration.jpg

vlehner1-VisitorAuthor
1-Visitor
March 25, 2017

Thank you all for your efforts.

That works perfectly!

I have to do some more with arrays and Matrices.

Volker