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

Derivative and Mathcad Prime

JM_10241707
6-Contributor

Derivative and Mathcad Prime

How can I force prime to reserve Secant (inverse of cosine) in the solution?  In general, how to implore a particular format to appear in the solution?

1 ACCEPTED SOLUTION

Accepted Solutions

The disappointing answer is that you can't. "sec" is not among the allowed modifiers for "rewrite" (https://support.ptc.com/help/mathcad/r6.0/en/index.html#page/PTC_Mathcad_Help%2Frewriting_expressions.html%23) and i see no other way to force the symbolics to use sec.

The best you could do is to use "rewrite,cos" and then conclude yourself what the result would be in terms of "sec".

Generally its hard to impossible to force the output of a symbolic evaluation in Mathcad to be displayed in a specific way, neither the functions used nor the order of summands and variables. In contrast to other programs, we have far too few opportunities to intervene in a controlling manner.

 

EDIT: One should never say that something can't be done 🙂

Here is a way to achieve what you are looking for but its quite awkward and its doubtful if it would work as flawless for more complicated functions, too.

Werner_E_0-1646934652862.png

 

View solution in original post

1 REPLY 1

The disappointing answer is that you can't. "sec" is not among the allowed modifiers for "rewrite" (https://support.ptc.com/help/mathcad/r6.0/en/index.html#page/PTC_Mathcad_Help%2Frewriting_expressions.html%23) and i see no other way to force the symbolics to use sec.

The best you could do is to use "rewrite,cos" and then conclude yourself what the result would be in terms of "sec".

Generally its hard to impossible to force the output of a symbolic evaluation in Mathcad to be displayed in a specific way, neither the functions used nor the order of summands and variables. In contrast to other programs, we have far too few opportunities to intervene in a controlling manner.

 

EDIT: One should never say that something can't be done 🙂

Here is a way to achieve what you are looking for but its quite awkward and its doubtful if it would work as flawless for more complicated functions, too.

Werner_E_0-1646934652862.png

 

Top Tags