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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Getting Started with PTC Mathcad Prime

bedmonds
12-Amethyst

Getting Started with PTC Mathcad Prime

This PTC Mathcad Prime 9 worksheet uses a simple physics problem to provide introductory information on some important fundamentals of Mathcad. The principles covered in this worksheet are at the core of using Mathcad, and should be helpful for those who are new to Mathcad and just getting started.

Please note that this is not intended to be an in-depth tutorial, and therefore won't provide details on every mouse click and keyboard entry. There are tutorials available in the Getting Started tab on the ribbon, so if you find yourself needing a little extra explanation, the tutorials would be a good resource. 

5 REPLIES 5

 

Hello

 

I downloaded Mathcad and Creo but can not find Mathcad on my computer.

Can you please help me?

 

Kind regards

 

VladimirN
24-Ruby II
(To:Rob3)

Check the following directories.

For regular Mathcad version: C:\Program Files\Mathcad\Mathcad 15

And Mathcad Prime version: C:\Program Files\PTC\Mathcad Prime

In this example, F(m) was defined. Then later a vector was created F(mass). How did the program understand that m = mass, too? It looked inconsistent to me.

LucMeekes
23-Emerald III
(To:Albert_FE2021)

"It looked inconsistent to me." It isn't.

The definition:

LucMeekes_0-1627656045125.png

defines a function F, with a 'formal' or dummy parameter m. You should realise that this m has NOTHING to do with the m that appears in the definition of the variable F:

LucMeekes_0-1627656824347.png

a little earlier in the example. Because this is a definition of a variable in terms of other variables, all these variables (m, v0,d , g and theta) must be defined prior to the definition of the variable F. Well g is a predefined constant in Prime. The other variables are defined explicitly in the sheet.

But now F is (essentially re-)defined as a function, with only one dummy parameter: m. The other variables in the function definition must still be defined prior to that definition.

When calling the function F you can fill in any value (or variable name) for m. As an example:

LucMeekes_1-1627656179774.png

If you've defined the variable m3 as:

LucMeekes_2-1627656219889.png

you can use it:

LucMeekes_3-1627656250929.png

The example defines an array of mass values, with the variable name mass:

LucMeekes_4-1627656297384.png

then the result of calling F with that variable is:

LucMeekes_5-1627656323150.png

And because a variable m is also (still) predefined, you can also get:

LucMeekes_1-1627657202226.png

(So this is where the function F is called with variable m as value for its formal parameter m.)

You should also note that, because the variable F was redefined to a function F, you can no longer evaluate the variable F (to the right of, and below the definition of the function F). If you try to evaluate the variable F below the definition of the function you get:

LucMeekes_0-1627657459662.png

Which indicates that F should be treated as a function with one formal parameter (Prime expects a variable or value as the parameter to that function).

 

Hope this helps to clarify.

 

Success!
Luc

 

 

Announcements

Top Tags