HP Forums
testing the cas - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: testing the cas (/thread-11454.html)



testing the cas - compsystems - 09-24-2018 02:24 PM

hp_prime
solve(abs(3*x - 2) = 5, x, '=' )

complex var flag: on =>
_x+i*√(-3*_x^2+4*_x+7)/√3,_x-i*√(-3*_x^2+4*_x+7)/√3 ?

complex var flag: off =>
["Unable to isolate function abs"]

xcas
complex var flag: off =>
solve(abs(3*x - 2) = 5, x, '=' )
[x=-1,x=(7/3)]


RE: testing the cas - roadrunner - 09-24-2018 09:58 PM

Try it with these:

[attachment=6365]

CAS settings.

-road


RE: testing the cas - Tim Wessman - 09-25-2018 12:09 AM

Almost as if the default settings are the ones that generally provide the best and most expected results.... hmmm...


RE: testing the cas - compsystems - 09-26-2018 01:57 PM

(09-25-2018 12:09 AM)Tim Wessman Wrote:  Almost as if the default settings are the ones that generally provide the best and most expected results.... hmmm...

a [default] button would be important to include in the CAS configuration view.
but more important to include the complete command of configuration of the CAS cas_setup(), the hp-prime as it is currently I can not program in CAS mode, I have already shown several examples

we need these two xcas commands
cas_setup([0,0,0,1,160,[1e-12,1e-15],12,[1,100,0,25],0,1,0,1]);
autosimplify()

for example I want to show different results, change the simplification flag, this is possible in xcas, but not in the hpprime, simply because the hpprime team have not incorporated the autosimplify() command. Any technical difficulty?, Bernrad Parisse reports that the inclusion or not of commands in the hp-prime, does not correspond

PHP Code:
autosimplify(0):; surd(16/27,3); => (16/27)^(1/3)
autosimplify(2):; surd(16/27,3);  => 2*2^(1/3)/3
autosimplify
(2):; surd(162*pi^6,4);
approx(3*pi*(2*pi^2)^(1/4)); approx(3*pi^(3/2)*surd(2,4));
autosimplify(0):; surd(162*pi^6,4);
autosimplify(1):; surd(162*pi^6,4);
autosimplify(2):; 1/sqrt(2);
autosimplify(0):; 1/sqrt(2);
autosimplify(2):; 1/(sqrt(2)+sqrt(3));
autosimplify(1):; 1/(sqrt(2)+sqrt(3));
autosimplify(2):; (sqrt(2)+sqrt(3))/(sqrt(5)-sqrt(7));
autosimplify(0):; (sqrt(2)+sqrt(3))/(sqrt(5)-sqrt(7));
autosimplify(0):; -1/* (sqrt(2) + sqrt(3)) * (sqrt(5) + sqrt(7)); 



RE: testing the cas - CyberAngel - 09-26-2018 05:46 PM

(09-26-2018 01:57 PM)compsystems Wrote:  
(09-25-2018 12:09 AM)Tim Wessman Wrote:  Almost as if the default settings are the ones that generally provide the best and most expected results.... hmmm...

a [default] button would be important to include in the CAS configuration view.
but more important to include the complete command of configuration of the CAS cas_setup(), the hp-prime as it is currently I can not program in CAS mode, I have already shown several examples

we need these two xcas commands
cas_setup([0,0,0,1,160,[1e-12,1e-15],12,[1,100,0,25],0,1,0,1]);
autosimplify()

for example I want to show different results, change the simplification flag, this is possible in xcas, but not in the hpprime, simply because the hpprime team have not incorporated the autosimplify() command. Any technical difficulty?, Bernrad Parisse reports that the inclusion or not of commands in the hp-prime, does not correspond
X
I don't understand the sentence that I emphasized.
Can you form your thoughts in another way, please.


RE: testing the cas - compsystems - 09-26-2018 06:04 PM

compsystems

solve( [a+56/10=66/10, -a+3*b-12/10=-22/10],[a,b]) returns [[1,0]] // list

list2exp( solve([a+56/10=66/10, -a+3*b-12/10=-22/10],[a,b]), [a,b]) returns (a=1 and b=0) // expression as equations and boolean =)

exp2list(ans(-1)) => [[1,0]]

but they are not available in the HP Prime, please BP, incorporate these two very important functions
Thanks


Bernard >

I do not decide myself which command is visible or is not visible on the Prime, otherwise I would obviously make all Xcas commands available. It's different on the TI nspire CX and Casio Graph 90+e ports where I have full control of the set of commands (and I enabled all the commands on the nspire, and all that could fit on the Casio). Unfortunately, exam mode desactivates access to KhiCAS and the QCC does not take KhiCAS in account.

Source

https://tiplanet.org/forum/viewtopic.php?f=49&t=21750&p=234184#p234184