Skip to main content
24-Ruby IV
November 22, 2022
Question

Round trip operators and functions

  • November 22, 2022
  • 1 reply
  • 1912 views

Trip.png

1 reply

23-Emerald IV
November 22, 2022

Your first round trip involves assigning a value to a variable, and retrieving that value when calling that variable. It's not a 'simple' variable, I know it's a matrix, but it's a variable anyway.

Your second round trip essentially defines a function, at least, it appears to do so. The definition:

sin(x):=0.5

States that, no matter what value x may have, sin(x) will always result in 0.5. The second part of this round trip could (better?) be:

LucMeekes_0-1669142166527.png

And that shows that there's not one unique value of x for which sin(x)=0.5.

 

But in fact what you did is assign the value 0.5 to the variable named sin(x). This variable has no relation to a variable x whatsoever. It's similar to assigning:

LucMeekes_1-1669142793534.png

and then wondering what the value of b might be:

LucMeekes_2-1669142832188.png

 

Success!
Luc

 

24-Ruby IV
November 23, 2022

Prime 6

ValeryOchkov_1-1669197742829.png

ValeryOchkov_2-1669197813546.png

 

 

25-Diamond I
November 23, 2022

You forgot about sin(5 *pi /6), etc. 😉

 

In the meantime its well known  and shown by quite some examples here in the forum that the new symbolic engine is much less capable than the old ones (muPad and even older Maple).

But as you are using Prime 6 you are lucky and can switch back to muPad at least (you  can get rid of the second unnecessary "_n in Z" by adding the modifier "simplify").

Werner_E_0-1669212070061.png

or

Werner_E_1-1669212468569.png

Try the last one with the new engine for a funny experience.