cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Round trip operators and functions

ValeryOchkov
24-Ruby IV

Round trip operators and functions

Trip.png

6 REPLIES 6
LucMeekes
23-Emerald III
(To:ValeryOchkov)

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

 

Prime 6

ValeryOchkov_1-1669197742829.png

ValeryOchkov_2-1669197813546.png

 

 

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.

 

An example with a sinus is not very successful.
Here is a good example of a double-sided simple operator.

STEM-allan.png

Why not

ValeryOchkov_0-1669833024877.png

 

> An example with a sinus is not very successful.

It was yours, not mine 😉

 

> Here is a good example of a double-sided simple operator.

?????

 

> Why not

Again - a matter of definition!

 

 

Top Tags