cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to create a new Matrix for acceleration?

vlehner
13-Aquamarine

How to create a new Matrix for acceleration?

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

Volker
1 ACCEPTED SOLUTION

Accepted Solutions
-MFra-
21-Topaz II
(To:vlehner)

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

View solution in original post

3 REPLIES 3

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 II
(To:vlehner)

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

vlehner
13-Aquamarine
(To:-MFra-)

Thank you all for your efforts.

That works perfectly!

I have to do some more with arrays and Matrices.

Volker

Volker
Top Tags