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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Programming

bderouiche
1-Newbie

Programming

Hi everyone,

Can anyone help me to program this plz:

Knowing all of: Fi, a1,a2,a3, gama, beta,delta t and u0, 0 and ü0

program.JPG

Thank you

Bily

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:bderouiche)

Something like this?

Note that I assumed you made errors which I 'corrected' in:

- the first bullet. Fi+1 = Fi+...

- the third and fourth bullets. ui+1 = ... instead of ul+1=


Success!
Luc

View solution in original post

7 REPLIES 7
LucMeekes
23-Emerald III
(To:bderouiche)

Something like this?

Note that I assumed you made errors which I 'corrected' in:

- the first bullet. Fi+1 = Fi+...

- the third and fourth bullets. ui+1 = ... instead of ul+1=


Success!
Luc

i have this issue which says that origin is not defined

im using mathcad prime 3.1

and if i do origin=0 i'll have (i) is undefined

and by the way i need all value of u, u' and u'' not only F

thanks

Capture.JPG

LucMeekes
23-Emerald III
(To:bderouiche)

Its ORIGIN, not origin, that is a defined item in Mathcad.

I don't see an undefined i.

If you want more results, then return all of them in a vector or matrix, like e.g. ( F u u' u'' ).

Success!
Luc

Thank you for your reply it's really helpful but i still got pbm as shown, it doesn't show me the value !

what have i done wrong? or what should i do to show the result?

Return.JPG

thank you

It would be really helpful if you wouldn't just post pics but attach sheet.

The pics are important though if you use Prime 3.1, as many of us didn't bother to upgrade and can't read P3.1 files, only P3.0 ones - yes PTC made it incompatible.

In your case you may go to ribbon "Matrices/Table" and in "Result Format" uncheck "Collapse Nested Matrices".

A better idea might be to assign the result to a variable

Res:=TimeStep(3)

and then, to see the vector u, you may type Res ctrl-shift-c 1  =

or as an alternative you may assign teh result to a 1 x 3 matrix rightaway

[ F  u  û] := TimeStep(3)

And then F=..  u=...   ...

WE

RichardJ
19-Tanzanite
(To:bderouiche)

You do not specify how to calculate Fi+1 from Fi

i have all Fi which is a matrice

Top Tags