Chapter 9

Simple Logic Programming

Abstract

Scientific and Engineering calculations must have a way to logically reach conclusions based on data calculated. PTC Mathcad programming allows you to write logic programs. These “programs” allow PTC Mathcad to choose a result based on specific parameters. Programs can be very complex, and can be used for many things. This chapter focuses solely on simple logic programming.

Keywords

Programming; else if; also if; else, local assignment; return and Boolean operator conditional and Manning Equation; and Manning Equation

Scientific and Engineering calculations must have a way to logically reach conclusions based on data calculated. PTC Mathcad programming allows you to write logic programs. These “programs” ...

Get Essential PTC® Mathcad Prime® 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.