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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

[Beginner] How to document a function without defining variables?

Andre70
4-Participant

[Beginner] How to document a function without defining variables?

Hello,

 

sorry, I have to ask some beginner questions:

1. I want to use the f'(x) notation but it seems that this is not possible. Mathcad is unhappy "variable not defined" about the f'. The function f(x) as such is defined. Is there a trick?

 

2. I want do document some functions without defining variables. For example "slope = (f(b)-f(a))/(b-a)". Once more Mathcad wants to force me to define b and a. But that doesn't make sense in my case since I just want to document the concept and not do an actual calculation. I use a text box with a inside calculation box to get the mathematical notifications. 

I feel deeply sorry that I have to bother you with probably very simple questions. 🙂 

 

Kind Regards

 

ACCEPTED SOLUTION

Accepted Solutions
DJNewman
17-Peridot
(To:Andre70)

Regarding 1, read the documentation on the prime operator: https://support.ptc.com/help/mathcad/r9.0/en/index.html#page/PTC_Mathcad_Help/derivative_and_prime_operators.html#

Regarding 2:

 

DJNewman_0-1700681113699.png

You can use the boolean equal sign (Ctrl + =; you can also find it in the Operators drop-down under "Comparison") to make such statements without actually having to define anything. This just serves as documentation.

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.

View solution in original post

4 REPLIES 4
DJNewman
17-Peridot
(To:Andre70)

Regarding 1, read the documentation on the prime operator: https://support.ptc.com/help/mathcad/r9.0/en/index.html#page/PTC_Mathcad_Help/derivative_and_prime_operators.html#

Regarding 2:

 

DJNewman_0-1700681113699.png

You can use the boolean equal sign (Ctrl + =; you can also find it in the Operators drop-down under "Comparison") to make such statements without actually having to define anything. This just serves as documentation.

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.

https://www.google.com/search?q=mathcad+prime+beginners+guide will bring up a beginners guide on youtube.

Capture.JPG

LucMeekes
23-Emerald III
(To:Andre70)

Ad.2.

If you define it as a function of all parameters, you can do without error:

LucMeekes_0-1700686037533.png

Then the function you want to get the slope of doesn't need to be defined beforehand:

LucMeekes_1-1700686258355.png

Success!
Luc

Andre70
4-Participant
(To:LucMeekes)

Hi guys, thank you for help.

Announcements

Top Tags