help: euler() prg on home mode
|
05-30-2017, 02:36 PM
(This post was last modified: 06-07-2017 02:59 PM by compsystems.)
Post: #1
|
|||
|
|||
help: euler() prg on home mode
Hello, the next numerical code, I want to run it in HOME MODE.
The definition v(t) does not allow me to define it within the code, Why? PHP Code: // file euler.hppprgm I managed to run it by doing the following trick. Icomment the line // v(t):= vi+(g-(c/m)*vi)*(t-ti); and I put in the line of entry (CAS MODE) the expression v(t):= vi + (g- (c / m) * vi) * (t-ti); euler() returns [] =( but [shift][1](program editor) euler [DEBUG][CONT] [enter] ...[enter] ... ok The program shows me screen by screen what I want vi=0 m/s, ti=0 s , tf=0 s v(0) = 0 m/s vi=0, ti=0, tf=2 v(2) = 19.62 m/s vi=19.62 m/s, ti=2 s, tf=4 s v(4) = 32.04 m/s vi=32.04 m/s, ti=4 s, tf=6 s v(6") = 39.90 m/s ... Please someone can help me by rewriting the above code to work well Thanks PS: In CAS mode if it works fine but how can I clean each screen? The print; command does not seem to be working. I have to clean each screen because the terminal view does not progress after the first impression screen is completed, (even hp-prime is a single process) should allow split screen and more of a process as did the hp48, PHP Code: // file euler1.hppprgm Debug mode does not work for CAS MODE = (, for this reason I want to create it in HOME MODE |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
help: euler() prg on home mode - compsystems - 05-30-2017 02:36 PM
RE: help: euler() prg on home mode - toml_12953 - 05-30-2017, 03:59 PM
RE: help: euler() prg on home mode - compsystems - 05-30-2017, 04:18 PM
RE: help: euler() prg on home mode - toml_12953 - 05-30-2017, 05:03 PM
RE: help: euler() prg on home mode - compsystems - 05-30-2017, 05:17 PM
|
User(s) browsing this thread: 1 Guest(s)