Post Reply 
Reset integrating a function
01-31-2015, 10:42 PM (This post was last modified: 01-31-2015 10:55 PM by salvomic.)
Post: #1
Reset integrating a function
hi all,
I try:
g(x):=x^2
then
int(g,x) - (also with the graphic tools on C key...)
HP Prime reset and g variable is reset also.
Is it only a problem by me or...?

Any workaround?

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
01-31-2015, 11:16 PM
Post: #2
RE: Reset integrating a function
Did the emulator crash?

See attachment.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
01-31-2015, 11:18 PM
Post: #3
RE: Reset integrating a function
(01-31-2015 10:42 PM)salvomic Wrote:  int(g,x) - (also with the graphic tools on C key...)

Try int(g(x),x)

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
01-31-2015, 11:49 PM
Post: #4
RE: Reset integrating a function
Hello Salvo,

I could reproduce the crash for g(x):=x² and int(g,x).
This also happens for int(g) or f(t):=t² and int(f,t), whereas int('sin') or int(f) or h(x):=c and int(h) are mostly fine (somewhat strange results nevertheless).

Since I don't know if a functional form of "int" makes sense anyway (how should it behave for functions with two or more parameters?) -- as opposed to "diff" --, you should use only expressions as arguments (see on-calc help) as Tim suggested.
Find all posts by this user
Quote this message in a reply
02-01-2015, 09:05 AM
Post: #5
RE: Reset integrating a function
hi all,
here emulator crashes also, but without warning, only message for crash...

int(g(x),x) seems to be ok, as it must be. Yeah Tim, it's correct, I know, but if there is a way to avoid reset it's better: the calculator should only give an error not reset, also if the reset it's not deadly Smile

cheers

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2015, 09:27 AM
Post: #6
RE: Reset integrating a function
Just checked on emulator, I can not reproduce a crash.
And yes, it would probably be meaningfull to make int(g) work like g'.
Find all posts by this user
Quote this message in a reply
02-01-2015, 01:06 PM (This post was last modified: 02-01-2015 01:37 PM by Snorre.)
Post: #7
RE: Reset integrating a function
(02-01-2015 09:27 AM)parisse Wrote:  Just checked on emulator, I can not reproduce a crash.
And yes, it would probably be meaningfull to make int(g) work like g'.
Did you name the parameter "x"? Just asking because it matters:

g(x):=x and int(g) crashes my device quite reliable.
f(t):=t and int(f) doesn't crash it, but returns (t)->(t*x). So, "int" does not care about the actual parameter as "diff" would do, but always assumes "x" to be the integration variable.
h(x):=c and int(h) doesn't crash, but returns _x->(c*x(_x)) if CAS setting "Exact" is checked, or "Error: Bad Argument Value" if unchecked.
BTW: if CAS setting "Exact" is unchecked I cannot do a simple "restart", so have to either re-check it or do "restart(NULL)".

P.S. Maybe helpful to see what's going on: int(h) says "Warning, evaluating (integrate((x)->c,x))(_x) as a function not as a product".
Find all posts by this user
Quote this message in a reply
02-01-2015, 03:05 PM
Post: #8
RE: Reset integrating a function
Yes, tried with x as variable. But revisions may differ.
Find all posts by this user
Quote this message in a reply
02-01-2015, 03:11 PM
Post: #9
RE: Reset integrating a function
(02-01-2015 03:05 PM)parisse Wrote:  Yes, tried with x as variable. But revisions may differ.

I've firmware 6975, hardware A...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
02-02-2015, 08:51 AM
Post: #10
RE: Reset integrating a function
It probably means that the crash has been fixed since then.
Find all posts by this user
Quote this message in a reply
02-02-2015, 08:54 AM
Post: #11
RE: Reset integrating a function
(02-02-2015 08:51 AM)parisse Wrote:  It probably means that the crash has been fixed since then.

well, 6975 isn't the last public released firmware upgrade?
Is it info about the next release?

Merci!

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
02-02-2015, 01:57 PM
Post: #12
RE: Reset integrating a function
All I can say is that it's fixed in Giac/Xcas sourcecode base.
Find all posts by this user
Quote this message in a reply
02-02-2015, 02:12 PM
Post: #13
RE: Reset integrating a function
(02-02-2015 01:57 PM)parisse Wrote:  All I can say is that it's fixed in Giac/Xcas sourcecode base.

ok! ;-)

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)