Post Reply 
Bug(s) in the New Version: 2018.07.06 2.0.0.13865
07-26-2018, 05:28 PM (This post was last modified: 07-26-2018 05:34 PM by ijabbott.)
Post: #11
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 04:17 PM)John P Wrote:  Hi ijabbott,

"2." in sin(l1).^2.*cos(l1).^2 is, I think, for the element wise multiplication on the corresponding elements of the two list not to have approximate solution. It also crashed when I used "*". I put the dot in ".*" to make sure it will operate on the corresponding elements of the two lists.
Cheers

I think numbers (including the decimal point ".") have higher precedence in the parser than the "." modifier. You could add a space between the "2" and the "." to be sure, or add parentheses.

Example...

In Home > Settings set Entry mode to Algebraic and turn off Textbook Display. Then in CAS mode:

Code:

Input: {1,2,3}.^2.*{4,5,6}
Displays: ({1,2,3}) .^ 2.*{4,5,6}      {4.,20.,54.}

Input: {1,2,3}.^2 .*{4,5,6}
Displays: (({1,2,3}) .^ 2) .* {4,5,6}     {4,20,54}

Input: ({1,2,3}.^2).*{4,5,6}
Displays: (({1,2,3}) .^ 2) .* {4,5,6}     {4,20,54}

As can be seen, the first one with the "2." is calculated in approximate mode.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - ijabbott - 07-26-2018 05:28 PM



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