Programming With Mathcad Prime 9
Programming With Mathcad Prime 9
Left-click on the Programming menu and then left-click on to insert a Local Assignment symbol
Type 0 and hit Enter to add a new line to the function definition
Step 4: Create a for loop in the program to calculate the average of the terms in List
With the blue cursor in the placeholder on the third line Left-Click on the Programming icon
Left-Click on for in the Programming toolbar. Mathcad will insert a template for defining a for loop
Step 5: Complete the values in the template for the for loop
In the first placeholder type count, the name given to our local variable for controlling the loop