implicit multiplication fails
04-20-2016, 02:13 PM (This post was last modified: 04-20-2016 02:37 PM by compsystems.)
Post: #1
 compsystems Senior Member Posts: 1,382 Joined: Dec 2013
implicit multiplication fails
Hi

CAS MODE:
3x -> 3*x ok
x[-]8 > x-8 ok
[+/-] 8x -> -8*x ok
x*[+/-] 8x-> -8*x ok
but
x [+/-] 8 -> Syntax Error
x [+/-] 8 -> x*(-8) or -8*x ok

simulated prime (PC COMPUTER SOFTWARE):
the [-] key on a keypad placed [+/-], I think we should put [-]
x [+/-] 8 -> Syntax Error
[-] -> ANS-

...
you agree?
04-20-2016, 03:30 PM (This post was last modified: 04-20-2016 03:33 PM by DrD.)
Post: #2
 DrD Senior Member Posts: 1,133 Joined: Feb 2014
RE: implicit multiplication fails
The convention of putting a constant to the left side of its literal multiplicand seems to work:
(I think I've read somewhere that implicit multiplication is not completely supported, though)

[CAS]
8x => 8*x
[+/-]8x => -8*x
04-21-2016, 04:48 AM
Post: #3
 cyrille de brĂ©bisson Senior Member Posts: 1,047 Joined: Dec 2013
RE: implicit multiplication fails
Hello,

Implicit multiplication is (partially) there to please some math teachers so that they can type 3A or something like that.

However, using it should be Highly discouraged as it is a sure recepie for disaster.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
 « Next Oldest | Next Newest »

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