Programming With Mathcad Prime 5
Programming With Mathcad Prime 5
Follow these steps to create a Mathcad program that calculates the area of a circle given its
Diameter as an input parameter:
Step 1: Type the following keystrokes to give the program a name and a parameter:
Step 2: Mathcad shows that it is waiting for the program to be defined on the right side of the assignment
statement by leaving the blue cursor in the placeholder. Follow these steps to insert the first line of the
program:
Type: D/2 in the placeholder. Hit the Right Arrow key once to
advance the cursor and then hit the ENTER key. A new Program
line will appear as shown.