Possible BUG on History CAS
01-06-2017, 08:21 PM (This post was last modified: 01-06-2017 09:52 PM by compsystems.)
Post: #1
 compsystems Senior Member Posts: 1,344 Joined: Dec 2013
Possible BUG on History CAS
Hello
Quoted expressions ('expression') are not working well in CAS history

F1(x):='sin(x)'; ⇨ 'sin(x)'
[up key] QUOTE(sin(X))

f2(x):=quote(sin(x));
[up key]
f1:=(x)->'sin(x)'

f(x):=x^2;
f(x)' ⇨ 2*x // ok
f' ⇨ (x)->2*x

a/b; ⇨ a/b // ok
quote(a/b); ⇨ a/b (problem, not include quotation marks) ⇨
[up key][up key]copy '(a/b') error ? It's a BUG or not?
Is expected ⇨ quote(a/b) or 'a/b' or '(a/b)'

numer(quote((a/b))) ⇨ a/b
numer(eval(quote((a/b)))) ⇨ a // ok
[up][up]copy error ?
He does not let me retrieve the input

One of the functions of the history is to be able to call inputs and outputs and then manipulate them. Who agrees with this?
01-06-2017, 09:11 PM
Post: #2
 compsystems Senior Member Posts: 1,344 Joined: Dec 2013
RE: Possible BUG on History CAS
quote(a/b); ⇨ a/b
[up key][up key]copy ⇨ '( a/b' )

I think the problem is that the last expression is interpreted as a derivative diff(b),
-> diff( a/diff(b) )

The problem could be solved (copy input) if the expression has two ' at the beginning and end, are not derived is a single expression.
01-08-2017, 03:48 AM (This post was last modified: 01-08-2017 03:49 AM by Han.)
Post: #3
 Han Senior Member Posts: 1,882 Joined: Dec 2013
RE: Possible BUG on History CAS
It is a bug (though only in Texbook entry mode)

Graph 3D | QPI | SolveSys
01-08-2017, 04:23 PM (This post was last modified: 01-14-2017 03:35 PM by compsystems.)
Post: #4
 compsystems Senior Member Posts: 1,344 Joined: Dec 2013
RE: Possible BUG on History CAS
Some plans by HP-TEAM to correct this BUG?
 « Next Oldest | Next Newest »

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