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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

24-Ruby IV

## Round trip operators and functions

6 REPLIES 6
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:

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:

and then wondering what the value of b might be:

Success!
Luc

24-Ruby IV
(To:LucMeekes)

Prime 6

24-Ruby V
(To:ValeryOchkov)

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").

or

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

24-Ruby IV
(To:Werner_E)

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

24-Ruby IV
(To:Werner_E)

Why not

24-Ruby V
(To:ValeryOchkov)

> 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!

Announcements
Top Tags