12-19-2019, 02:39 PM
Hi HP-Prime Team, sorry for the electronic translation
There is a command that is not included in the latest firmware version.
with_sqrt (True / False)
it's a flag type cmd for factored in terms of irreducible factors with respect to the rational numbers. (In other words, none of the polynomials in the factored form can be factored further without introducing radicals.)
The idea is to work with the command line in the history view without going to the configuration view, for this reason, HP-Prime Team must include with_sqrt(True / False) in the next firmware improvements
sentences to enter the history view to observe the operation of with_sqrt ()
Xcas Code
There is a command that is not included in the latest firmware version.
with_sqrt (True / False)
it's a flag type cmd for factored in terms of irreducible factors with respect to the rational numbers. (In other words, none of the polynomials in the factored form can be factored further without introducing radicals.)
The idea is to work with the command line in the history view without going to the configuration view, for this reason, HP-Prime Team must include with_sqrt(True / False) in the next firmware improvements
sentences to enter the history view to observe the operation of with_sqrt ()
Xcas Code
PHP Code:
test_withsqrt_flag(x):={
local poly1;
purge(x);
with_sqrt( False );
poly1 := x^5 -4*x^4 -7*x^3 -41*x^2 -4*x+35;
print( factor( poly1 ) ); // (x+1) * (x^2-7*x+5) * (x^2+2*x+7)
with_sqrt( True );
print( factor( poly1 )); // (x+(-√29-7)/2) * (x+(√29-7)/2)*(x+1) * (x^2+2*x+7)
return poly1;
};