cancel
Showing results for 
Search instead for 
Did you mean: 
RobMio
Level 3
33 10 1 2
Message 1 of 5
740
Flag Post

Solved!

HP Rpime functions

HP Recommended
HP PRIME
Microsoft Windows 10 (64-bit)

Hi everyone, how do I transport a function written in the CAS into the Function App? In fact, in the CAS environment the functions are written with a lowercase letter, while in the Function App the functions are written with a capital letter.

 

Thanks a lot, Roberto.

0 Kudos
4 REPLIES 4
Joe_Horn
Level 8
635 622 121 213
Message 2 of 5
Flag Post
HP Recommended

CAS functions and programs can be used in the Function App just like any built-in function.  For example, if you have a CAS function that you call myfunc, just include myfunc(X) as a Symb entry in the Function App.  You can also include it in an algebraic expression, like 2*myfunc(X)/3 or whatever.

 

If you try that and it doesn't work or you get an error message that you don't understand, please let us know exactly what your CAS function or program is, and how you entered it into the Function App, and together we'll figure out how to get it working.

 

Disclaimer: I don't work for HP. I'm just another happy HP calculator user.

-Joe-
0 Kudos
RobMio
Author
Level 3
33 10 1 2
Message 3 of 5
Flag Post
HP Recommended

Hi Joe, the function is as follows:

OneJoe.png

Now I put the function in the Fuction App:

TwoJoe.png

And this is the result:

3Joe.png

 

Where am I doing wrong? Thank you so much for your availability, greetings, Roberto

0 Kudos
Joe_Horn
Level 8
635 622 121 213
Message 4 of 5
Flag Post
HP Recommended

I think I see the problem.  You didn't define myfunc as a function of t.  Instead of starting your definition with

myfunc:=

try starting it with

myfunc(t):=

instead.  Of course, use whichever variable the definition uses.

 

I just tried this in CAS:

myfunc(x):=x+1

and it worked in the Function App just fine.  So I suspect that it'll work for your function too.

 

Hope that helps!

-Joe-
RobMio
Author
Level 3
33 10 1 2
Message 5 of 5
Flag Post
HP Recommended

Thanks a lot, your suggestion works well.

Sincerely, Roberto.

0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation