Bug with direct access cmds - 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: Bug with direct access cmds (/thread-11680.html) Bug with direct access cmds - compsystems - 10-27-2018 12:30 PM Hello, Users and Developer group of the famous hp-prime calculator Sorry for my technical english. => synonyms of sto ► and convert cmds 0: 5 => aa [ENTER] returns a:=5 // ok 1: sum(k^2,k,1,n) [ENTER] returns (2*(n+1)^3-3*(n+1)^2+n+1)/6 2: sum(k^2,k,1,n) => * [ENTER] returns n*(n+1)*(2*n+1)/6 sum(k^2,k,1,n) ► * [ENTER] returns n*(n+1)*(2*n+1)/6 3: factor(x^4-1) [ENTER] returns (x-1)*(x+1)*(x^2+1) Now with shortcut cmd =>* x^4-1 => * [ENTER] returns input: POLYFORM(x^4-1,'*' ) output: (x-1)*(x+1)*(x^2+1) [up][up][copy] x^4-1 ► * [ENTER] returns (x-1)*(x+1)*(x^2+1) // ok 4: partfrac((x+1)^4) [ENTER] returns x^4+4*x^3+6*x^2+4*x+1 Now with shortcut cmd =>+ (x+1)^4 => + [ENTER] returns x^4+4*x^3+6*x^2+4*x+1 input: POLYFORM((x+1)^4,'+' ) output: x^4+4*x^3+6*x^2+4*x+1 [up][up][copy] (x+1)^4 ► + [ENTER] // Problem enter an * when executing, can be checked in the simulator Edit/copy then edit/paste (x+1)^4 * ► + [ENTER] // Bug returns "Error: Syntax Error" with an extra parenthesis works well ( (x+1)^4 ) ► + [ENTER] returns x^4+4*x^3+6*x^2+4*x+1 // ok 5: (X_,Y_:=[0,1,2,3],[1,-3,-2,0]),(P_:=lagrange(X_,Y_)) [ENTER] returns [0,1,2,3],[1,-3,-2,0],(((-2/3)*(x-2)+(5/2))*(x-1)-4)*x+1 // ok P_:=lagrange(X_,Y_) => + [ENTER] returns [0,1,2,3],[1,-3,-2,0],(-4*x^3+27*x^2-47*x+6)/6