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

21-Topaz II

In Mathcad Prime 3.1 has come out this inexplicable error. How to correct it?

Hi all

In Mathcad Prime 3.1 has come out this inexplicable error. How to correct it? it is enclosed in the box in black, of the following figure.

Thk.

1 ACCEPTED SOLUTION

Accepted Solutions
23-Emerald II
(To:-MFra-)

In your definition of F.s, and its usage in the three partial deriatives, each x, y and z are explicitly labelled as 'variable' but the variable to differentiate to (the x, y and z in dx, dy and dz) are 'automatic'. This may make the variable to differentiate to different from the arguments to the F.s function, hence they are treated as constants.

If you change the x, y and z in dx, dy and dz respectively to label type 'variable' it should work.

In the lowest box all x y and z are 'automatic', so that works as expected.

Luc

3 REPLIES 3
23-Emerald II
(To:-MFra-)

In your definition of F.s, and its usage in the three partial deriatives, each x, y and z are explicitly labelled as 'variable' but the variable to differentiate to (the x, y and z in dx, dy and dz) are 'automatic'. This may make the variable to differentiate to different from the arguments to the F.s function, hence they are treated as constants.

If you change the x, y and z in dx, dy and dz respectively to label type 'variable' it should work.

In the lowest box all x y and z are 'automatic', so that works as expected.

Luc

21-Topaz II
(To:LucMeekes)

Hi Luc

Yes, by changing the labels of x, y, z, from a variable to automatic, it works.

Thk

16-Pearl
(To:-MFra-)

Luc is on the right track.  However, setting everything to variable didn't seem to solve it.  But If I just retype it everything it seems to work.   So, however you entered the a,b,c as 'constants' seems to be messing up.  (I recently posted a thread where it was found symbolics automatically reverted to constants instead of defined variables (c = speed of light).  Not sure if this could be related.)

Announcements