With PTC Mathcad programming you can write multiline functions and define iterative calculations. You can define complex comparisons and branching, and you can return values. When you define a program, you can combine PTC Mathcad expressions and use iterations for compactness and efficiency. You can use programming operators to specify local assignments to variables or functions, loop over calculations, conditionally evaluate branches, add breakpoints, trap errors, and return values.
The tutorial is composed of three sequential exercises:
• Exercise 1: Starting a program and using basic operators