The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Bug with direct access cmds
10-27-2018, 12:30 PM (This post was last modified: 11-03-2018 07:38 PM by compsystems.)
Post: #1
Bug with direct access cmds
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bug with direct access cmds - compsystems - 10-27-2018 12:30 PM



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