# HP Forums

Full Version: file scripts in the hp-prime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
scripts in the hp-prime

Hello, What do you think that the hp-prime can read a script command file .hppscript, the purpose is to step demonstrations to students without running programs

Example 1

The input file would be the following

Code:
```1: f1(x) := (x + 5)* e^x - (x + 5)* e^(2x); 2: solve( f1( x ), x ); 3: subst( f1( x ), x = -5 ); 4: subst( f1( x ), x = +5 ); 5: (x + 5)* e^x - (x + 5)* e^(2x) = 0; 6: solve( Ans, x ); 7: f1( -5 ); 8: f1( 0 );```

The output in history view the hp-prime

Quote:f1(x) := (x + 5)* e^x - (x + 5)* e^(2x)

solve( f1( x ), x )
__________________{-5, 0}

subst( f1( x ), x = -5 )
__________________0

subst( f1( x ), x = +5 )
__________________10*e^5-10*e^10

(x + 5)* e^x - (x + 5)* e^(2x) = 0
solve( Ans, x )
__________________{-5, 0}

f1( -5 );
__________________0

f1( 0 );
__________________10*e^5-10*e^10

[SPN] Guiones en la hp-prime

Hola, ¿Qué opinan de que la hp-prime pueda leer un guion de comandos, el propósito es hacer demostraciones paso a paso a los estudiantes sin necesidad de ejecutar programas

the only calculator that supports this is the ti68k series as the TI89 and tiv200,

Good Idea? +1 or -1

Casio Classpad ha something like this, called eActivities.
You can also go back, change one or more values in the history stack, and it will redo all calculations from that point with the new values.
Now I remember on classpad.

I want to see this simple but very useful feature in the hpprime, you too?
Yes, it is very useful, specially when solving complex problems.
Reference URL's
• HP Forums: https://www.hpmuseum.org/forum/index.php
• :