# Essential PTC® Mathcad Prime® 3.0

## 1st Edition

### A Guide for New and Current Users

**Authors:**Brent Maxfield

**Paperback ISBN:**9780124104105

**eBook ISBN:**9780124104587

**Imprint:**Academic Press

**Published Date:**28th October 2013

**Page Count:**584

## Description

Companion Website

Preface

Book Overview

Additional Resources

Teminology

Acknowledgements

Part I: Building Your PTC Mathcad Toolbox

Introduction

Chapter 1. An Introduction to PTC® Mathcad Prime® 3.0

Abstract

Before You Begin

Creating Simple Math Expressions

Grouping

Editing Expressions

PTC Mathcad Workspace

Summary of Equal Signs

Regions

Functions

Units

Arrays and Subscripts

Plotting - X-Y Plots

Programming, Symbolic Calculations, Solving and Calculus

Getting Started Tab

Summary

Practice

Chapter 2. PTC® Mathcad Prime® 3.0 for Current Mathcad 15 Users

Abstract

Differences to Become Accustomed to

Exciting New Features in PTC Mathcad Prime

Features from Mathcad 15 that Are Not in Mathcad Prime 3.0

Summary

Chapter 3. Variables and Regions

Abstract

Variables

Types of Variables

Rules for Naming Variables

String Variables

Why Use Variables

Regions

Text Regions

Areas

Additional Information About Math Regions

Find and Replace

Inserting and Deleting Lines

Page View and Page Breaks

Summary

Practice

Chapter 4. Simple Functions

Abstract

Built-in Functions

Labels

User-defined Functions

Examples of User-defined Functions

Passing a Function to a Function

Warnings

Engineering Examples

Summary

Practice

Chapter 5. Units!

Abstract

Introduction

Definitions

Changing the Default Unit System

Using and Displaying Units

Derived Units

Custom Default Unit System

Units of Force and Units of Mass

Creating Custom Units

Units in Equations

Using Labels to Distinguish Between Variables and Units

Units in User-defined Functions

Units in Empirical Formulas

Unit Scaling Functions

Dimensionless Units

Using the Unit Placeholder for Scaling

Summary

Practice

Part II: Hand Tools for Your PTC Mathcad Toolbox

Introduction

Chapter 6. Arrays, Vectors, and Matrices

Abstract

Review of Chapter 1

Tables

Range Variables

Displaying Arrays

Using Units with Arrays

Calculating with Arrays

Array Functions

PTC Mathcad Calculation Summary

Engineering Examples

Summary

Practice

Chapter 7. Selected PTC Mathcad Functions

Abstract

Review of Built-in Functions

Selected Functions

Miscellaneous Categories of Functions

Summary

Practice

Chapter 8. Plotting

Abstract

Plots Tab

Creating a Simple XY Plot

Creating a Simple Polar Plot

XY Plot Range and Tick Marks

Number of Points Plotted

Using Range Variables to Set Plot Domain

Polar Plot Range and Tick Marks

Graphing with Units

Formatting Plots

Graphing Multiple Functions

Plotting Data Points

Parametric Plotting

Trace and Zoom

Plotting over a Log Scale

3D Plots and Contour Plots

Engineering Examples

Summary

Practice

Chapter 9. Simple Logic Programming

Abstract

Introduction to the Programming Toolbar

Creating a Simple Program

Use of *else if* and *also if* Operators

Local Assignment

*Return* Operator

Boolean Operators

Adding Lines to a Program

Using Conditional Programs to Make and Display Conclusions

Engineering Examples

Summary

Practice

Part III: Power Tools for Your PTC Mathcad Toolbox

Introduction

Chapter 10. Introduction to Symbolic Calculations

Abstract

Getting Started with Symbolic Calculations

Keywords and Modifiers

Solve

Expand, Simplify, and Factor

Coeffs and Collect

Substitute

Combine and Rewrite

Series

Explicit

Using More than One Keyword

Units with Symbolic Calculations

Additional Topics to Study

Summary

Practice

Chapter 11. Solving Engineering Equations

Abstract

*Root* Function

*Polyroots* Function

Solve Blocks

*lsolve* Function

Solve Blocks using *Maximize* and *Minimize*

TOL, CTOL, and Minerr

Using Units

Engineering Examples

Summary

Practice

Chapter 12. Advanced Programming

Abstract

Local Definition

Looping

*Break* and *Continue* Operators

*Return* Operator

*Try-On-Error* Operator

Engineering Example 12.1

Summary

Practice

Chapter 13. Calculus and Differential Equations

Abstract

Differentiation

Integration

Differential Equations

Ordinary Differential Equations (ODEs)

Partial Differential Equations (PDEs)

Engineering Examples

Practice

Part IV: Creating and Organizing Your Engineering Calculations with PTC Mathcad

Introduction

Chapter 14. Putting It All Together

Abstract

Introduction

Guidelines for Naming Variables

PTC Mathcad Toolbox

Hand Tools

Power Tools

Let's Start Building

What is Ahead

Summary

Practice

Chapter 15. PTC Mathcad Settings

Abstract

PTC Mathcad Options

Ribbon Bar Settings

Math Tab

Matrices/Tables Tab

Plots Tab

Math Formatting Tab

Calculation Tab

Document Tab

Summary

Practice

Chapter 16. Customizing PTC Mathcad

Abstract

Styles

Math Formatting and Label Styles

Changing Label Styles

Text Formatting

Headers and Footers

Margins

Quick Access Toolbar Customization

Summary

Practice

Chapter 17. Templates

Abstract

Information Saved in a Template

PTC Mathcad Templates

Review of Chapters 5, 15, and 16

Creating Templates

Where Are Templates Stored?

Creating Your Customized Template

Alternate Default Template

Summary

Practice

Chapter 18. Assembling Calculations from Standard Calculation Worksheets

Abstract

Copying Regions from Other PTC Mathcad Worksheets

Creating Standard Calculation Worksheets

Protecting Information

Potential Problems with Inserting Standard Calculation Worksheets and Recommended Solutions

Guidelines

How to Use Redefined Variables in Project Calculations

Resetting Variables

Using User-defined Functions in Standard Calculation Worksheets

Using the *Include* Feature

When to Separate Project Calculation Files

Summary

Practice

Chapter 19. Microsoft® Excel Component

Abstract

Introduction

Excel Component Block

Inputs and Outputs

Important Concepts

Existing Spreadsheets

Using Units with Excel

Printing the Excel Component

Summary

Practice

Chapter 20. Conclusion

Abstract

Advantages of PTC Mathcad

Creating Project Calculations

Additional Resources

Conclusion

Appendix 1. PTC® Mathcad Prime® 3.0 Keyboard Shortcuts

Regions

Math

Constants

Plots

Operators

Matrices and Tables

General

Appendix 2. Keyboard Shortcuts for Editing and Worksheet Management

Keyboard Shortcuts for Editing

Keyboard Shortcuts for Worksheet Management

Appendix 3. Greek Letters

Greek Toolbar

Appendix 4. Built-In Constants and Variables

Math **Constants**

Physics **Constants**

System Variables

Appendix 5. Reference Tables

Index

## Key Features

- Learn the basics faster: Chapter 1 introduces many fundamentals of Mathcad, allowing the reader to begin using the program in less time.
- Learn PTC Mathcad tools in context: Incorporates many applied examples and problems from a wide

variety of disciplines. - Thorough discussion of many PTC Mathcad tools: Units, arrays, plotting, solving, symbolic calculations, programming, algebra, calculus, differential equations, reading from files, writing to files, and incorporating MS Excel spreadsheets.
- Includes a link to PTC with instructions on how to purchase the PTC® Mathcad Prime® 3.0 Student Edition (The Student Edition software is intended for educational purposes only.)

## Readership

Engineers and scientists working in industry who need instruction on using Mathcad. Engineering, math, and science students using Mathcad in their coursework.

## Table of Contents

Companion Website

Preface

Book Overview

Additional Resources

Teminology

Acknowledgements

Part I: Building Your PTC Mathcad Toolbox

Introduction

Chapter 1. An Introduction to PTC® Mathcad Prime® 3.0

Abstract

Before You Begin

Creating Simple Math Expressions

Grouping

Editing Expressions

PTC Mathcad Workspace

Summary of Equal Signs

Regions

Functions

Units

Arrays and Subscripts

Plotting - X-Y Plots

Programming, Symbolic Calculations, Solving and Calculus

Getting Started Tab

Summary

Practice

Chapter 2. PTC® Mathcad Prime® 3.0 for Current Mathcad 15 Users

Abstract

Differences to Become Accustomed to

Exciting New Features in PTC Mathcad Prime

Features from Mathcad 15 that Are Not in Mathcad Prime 3.0

Summary

Chapter 3. Variables and Regions

Abstract

Variables

Types of Variables

Rules for Naming Variables

String Variables

Why Use Variables

Regions

Text Regions

Areas

Additional Information About Math Regions

Find and Replace

Inserting and Deleting Lines

Page View and Page Breaks

Summary

Practice

Chapter 4. Simple Functions

Abstract

Built-in Functions

Labels

User-defined Functions

Examples of User-defined Functions

Passing a Function to a Function

Warnings

Engineering Examples

Summary

Practice

Chapter 5. Units!

Abstract

Introduction

Definitions

Changing the Default Unit System

Using and Displaying Units

Derived Units

Custom Default Unit System

Units of Force and Units of Mass

Creating Custom Units

Units in Equations

Using Labels to Distinguish Between Variables and Units

Units in User-defined Functions

Units in Empirical Formulas

Unit Scaling Functions

Dimensionless Units

Using the Unit Placeholder for Scaling

Summary

Practice

Part II: Hand Tools for Your PTC Mathcad Toolbox

Introduction

Chapter 6. Arrays, Vectors, and Matrices

Abstract

Review of Chapter 1

Tables

Range Variables

Displaying Arrays

Using Units with Arrays

Calculating with Arrays

Array Functions

PTC Mathcad Calculation Summary

Engineering Examples

Summary

Practice

Chapter 7. Selected PTC Mathcad Functions

Abstract

Review of Built-in Functions

Selected Functions

Miscellaneous Categories of Functions

Summary

Practice

Chapter 8. Plotting

Abstract

Plots Tab

Creating a Simple XY Plot

Creating a Simple Polar Plot

XY Plot Range and Tick Marks

Number of Points Plotted

Using Range Variables to Set Plot Domain

Polar Plot Range and Tick Marks

Graphing with Units

Formatting Plots

Graphing Multiple Functions

Plotting Data Points

Parametric Plotting

Trace and Zoom

Plotting over a Log Scale

3D Plots and Contour Plots

Engineering Examples

Summary

Practice

Chapter 9. Simple Logic Programming

Abstract

Introduction to the Programming Toolbar

Creating a Simple Program

Use of *else if* and *also if* Operators

Local Assignment

*Return* Operator

Boolean Operators

Adding Lines to a Program

Using Conditional Programs to Make and Display Conclusions

Engineering Examples

Summary

Practice

Part III: Power Tools for Your PTC Mathcad Toolbox

Introduction

Chapter 10. Introduction to Symbolic Calculations

Abstract

Getting Started with Symbolic Calculations

Keywords and Modifiers

Solve

Expand, Simplify, and Factor

Coeffs and Collect

Substitute

Combine and Rewrite

Series

Explicit

Using More than One Keyword

Units with Symbolic Calculations

Additional Topics to Study

Summary

Practice

Chapter 11. Solving Engineering Equations

Abstract

*Root* Function

*Polyroots* Function

Solve Blocks

*lsolve* Function

Solve Blocks using *Maximize* and *Minimize*

TOL, CTOL, and Minerr

Using Units

Engineering Examples

Summary

Practice

Chapter 12. Advanced Programming

Abstract

Local Definition

Looping

*Break* and *Continue* Operators

*Return* Operator

*Try-On-Error* Operator

Engineering Example 12.1

Summary

Practice

Chapter 13. Calculus and Differential Equations

Abstract

Differentiation

Integration

Differential Equations

Ordinary Differential Equations (ODEs)

Partial Differential Equations (PDEs)

Engineering Examples

Practice

Part IV: Creating and Organizing Your Engineering Calculations with PTC Mathcad

Introduction

Chapter 14. Putting It All Together

Abstract

Introduction

Guidelines for Naming Variables

PTC Mathcad Toolbox

Hand Tools

Power Tools

Let's Start Building

What is Ahead

Summary

Practice

Chapter 15. PTC Mathcad Settings

Abstract

PTC Mathcad Options

Ribbon Bar Settings

Math Tab

Matrices/Tables Tab

Plots Tab

Math Formatting Tab

Calculation Tab

Document Tab

Summary

Practice

Chapter 16. Customizing PTC Mathcad

Abstract

Styles

Math Formatting and Label Styles

Changing Label Styles

Text Formatting

Headers and Footers

Margins

Quick Access Toolbar Customization

Summary

Practice

Chapter 17. Templates

Abstract

Information Saved in a Template

PTC Mathcad Templates

Review of Chapters 5, 15, and 16

Creating Templates

Where Are Templates Stored?

Creating Your Customized Template

Alternate Default Template

Summary

Practice

Chapter 18. Assembling Calculations from Standard Calculation Worksheets

Abstract

Copying Regions from Other PTC Mathcad Worksheets

Creating Standard Calculation Worksheets

Protecting Information

Potential Problems with Inserting Standard Calculation Worksheets and Recommended Solutions

Guidelines

How to Use Redefined Variables in Project Calculations

Resetting Variables

Using User-defined Functions in Standard Calculation Worksheets

Using the *Include* Feature

When to Separate Project Calculation Files

Summary

Practice

Chapter 19. Microsoft® Excel Component

Abstract

Introduction

Excel Component Block

Inputs and Outputs

Important Concepts

Existing Spreadsheets

Using Units with Excel

Printing the Excel Component

Summary

Practice

Chapter 20. Conclusion

Abstract

Advantages of PTC Mathcad

Creating Project Calculations

Additional Resources

Conclusion

Appendix 1. PTC® Mathcad Prime® 3.0 Keyboard Shortcuts

Regions

Math

Constants

Plots

Operators

Matrices and Tables

General

Appendix 2. Keyboard Shortcuts for Editing and Worksheet Management

Keyboard Shortcuts for Editing

Keyboard Shortcuts for Worksheet Management

Appendix 3. Greek Letters

Greek Toolbar

Appendix 4. Built-In Constants and Variables

Math **Constants**

Physics **Constants**

System Variables

Appendix 5. Reference Tables

Index

## Details

- No. of pages:
- 584

- Language:
- English

- Copyright:
- © Academic Press 2014

- Published:
- 28th October 2013

- Imprint:
- Academic Press

- eBook ISBN:
- 9780124104587

- Paperback ISBN:
- 9780124104105

## About the Author

### Brent Maxfield

Brent Maxfield is a Professional Structural Engineer in Utah and a Professional Civil Engineering in California. He graduated Magna Cum Laude from Brigham Young University with a degree in Civil Engineering and earned a Master of Engineering Management degree. He is active in professional associations, having served on the Board of Directors of the Structural Engineers Association of Utah and in the Structural Advisory Committee to the Utah Uniform Building Codes Commission. He has used Mathcad extensively for nearly 20 years. In Essential Mathcad, Maxfield shares his vast Mathcad experience and knowledge.

### Affiliations and Expertise

Professional Engineer, Salt Lake City, UT, USA