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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Symbolically solve a vector with vector input

JV_10456665
3-Newcomer

Symbolically solve a vector with vector input

I have the following script

JV_10456665_0-1666801335754.png

So, C is a vector with symbolic equations, and q is the vector with symbols. Now I would like to solve for q. However, that does not seem the work. Is there a way to make this work?

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:JV_10456665)

When this works:

LucMeekes_3-1666803043783.png

You would expect your equation to be solved for q[0 and q[1, but alas:

LucMeekes_4-1666803312839.png

 

What does work is:

LucMeekes_2-1666803024137.png

and this:

LucMeekes_5-1666803345475.png

To have it a little bit more nice-looking, replace the indexes with literal subscripts:

LucMeekes_0-1666803986430.png

 

@Werner_E How does Prime 6 fare with the legacy versus the new symbolic?

(The attached file is Prime 6)

Needless to say, but I'll do it anyway... Mathcad 11:

LucMeekes_0-1666804392949.png

 

Success!
Luc

 

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald III
(To:JV_10456665)

When this works:

LucMeekes_3-1666803043783.png

You would expect your equation to be solved for q[0 and q[1, but alas:

LucMeekes_4-1666803312839.png

 

What does work is:

LucMeekes_2-1666803024137.png

and this:

LucMeekes_5-1666803345475.png

To have it a little bit more nice-looking, replace the indexes with literal subscripts:

LucMeekes_0-1666803986430.png

 

@Werner_E How does Prime 6 fare with the legacy versus the new symbolic?

(The attached file is Prime 6)

Needless to say, but I'll do it anyway... Mathcad 11:

LucMeekes_0-1666804392949.png

 

Success!
Luc

 

Werner_E
25-Diamond I
(To:LucMeekes)

In Prime 6 we can compare the old and the new symbolic engine. Obviously this is one  more thing which got broken when switching from muPad to the new axiom fork.

As I read here in the forum, PTC claims that the symbolics in Prime 8 is vastly improved and more stable. So far I could not be bothered to download and install P8 but I guess Luc's attempts were done in P8 and the problem still persists.

Here is the comparison:

Werner_E_0-1666804537968.png

Needless to say that because of Primes sever auto-label bug it was necessary to manually re-label all occurrences of "q" the same.

 

EDIT:

@LucMeekes 

Funny, I started my reply even before you edited yours and added the question as of the behaviour in P6 😉

Here is another finding which might give a clue why the new engine fails:

Werner_E_0-1666805571840.png

 

 

Announcements

Top Tags