Engineering with Mathcad

Engineering with Mathcad
اسم المؤلف
Brent Maxfield
التاريخ
6 مايو 2018
المشاهدات
430
التقييم
Loading...

Engineering with Mathcad
Using Mathcad to Create and Organize Your Engineering Calculations
Brent Maxfield
Contents
Acknowledgment v
Preface xix
Introduction xxi
Part I Building your Mathcad Toolbox 1
1 Variables 3
Variables 3
Types of variables 3
Defining variables 4
Rules for naming variables 4
Case and font 4
Characters that can be used in variable names 4
Subscripts 5
Special text mode 6
Chemistry notation 7
String variables 8
Why use variables 8
Guidelines for naming variables 10
Summary 13
Practice 13
2 Creating and editing Mathcad expressions 15
Introduction 16
Regions 16
Definition of region 16
Using the worksheet ruler 16
Tabs 17
viiviii Contents
Selecting and moving regions 17
Aligning regions and alignment guidelines 17
Math regions 20
Text regions 20
Creating text regions 20
Changing font characteristics 20
Inserting Greek symbols 21
Ending a text region 21
Controlling the width of a text region 21
Moving regions below the text region 21
Paragraph properties 22
Text ruler 24
Spell check 25
Creating simple math expressions 25
Creating more complex expressions 26
Editing expressions 29
Selecting characters 29
Deleting characters 30
Deleting and replacing operators 30
Wrapping equations 30
Find and replace 31
Find 31
Replace 33
Inserting and deleting lines 34
Summary 35
Practice 35
3 Simple functions 37
Built-in functions 38
User-defined functions 41
Why use user-defined functions? 42
Using multiple arguments 43
Variables in user-defined functions 43
Examples of user-defined functions 46
Warnings 47
Summary 49
Practice 50
4 Units! 51
Introduction 51
Definitions 52
Changing the default unit system 53
Assigning units to numbers 54Contents ix
Displaying derived units 59
Custom default unit system 61
Units of force and units of mass 62
Creating custom units 63
Units in equations 65
Do not redefine built-in units 65
Units in user-defined functions 67
Units in empirical formulas 68
SIUnitsOf() 71
Custom scaling units 73
Fahrenheit and celsius 73
Change in temperature 74
Degrees minutes seconds (DMS) 77
Hours minutes seconds (hhmmss) 78
Feet inch fraction (FIF) 78
Creating your own custom scaling function 79
Dimensionless units 80
Limitation of units 81
Summary 82
Practice 83
5 Mathcad settings 85
Preferences dialog box 86
General tab 86
File Locations tab 87
HTML Options tab 89
Warnings tab 91
Script security tab 93
Language 95
Save tab 95
Summary of the Preference tab 96
Worksheet Options dialog box 96
Built-in variables tab 96
Calculation tab 98
Display tab 100
Unit system tab 101
Dimensions tab 101
Compatibility tab 101
Result Format dialog box 102
Number Format tab 102
Display Options tab 105
Unit Display tab 106x Contents
Tolerance tab 107
Individual result formatting 107
Automatic Calculation 108
Summary 109
Practice 110
6 Customizing Mathcad 112
Default Mathcad styles 113
Default math styles 113
Default text styles 115
Additional Mathcad styles 116
Additional math styles 116
Additional text styles 120
Changing and creating new math styles 120
Changing the “Variables” style 121
Changing the “Constants” style 122
Creating new math styles 123
Changing and creating new text styles 125
Changing text styles 125
Creating new text styles 128
Headers and footers 130
Creating headers and footers 130
Information to include in headers and footers 132
Examples 133
Margins and Page Setup 134
Toolbar customization 136
Summary 136
Practice 137
7 Templates 139
Information saved in a template 140
Mathcad templates 140
Review of chapters 4, 5, and 6 141
Creating your own customized template 142
EWM Metric 142
EWM US 151
Normal.xmct file 152
Summary 153
Practice 154
8 Useful information—Part I 155
Variables 155
Custom Character toolbar 155Contents xi
QuickSheet 155
Greek letters 156
Other characters 157
List of predefined variables 158
CWD 159
Information about Math regions 159
In-line division 159
Mixed numbers 159
Summary of equal signs 160
Math Regions in text regions 161
Math Regions that do not calculate 161
Customizing operator display 162
Functions 163
Passing a function to a function 163
Custom operator notation 164
Tip of the day 166
Part II Hand Tools for your Mathcad Toolbox 167
9 Arrays, vectors, and matrices 169
Creating vectors and matrices 170
ORIGIN 171
Array subscripts (subscript operator) 172
Range variables 174
Using range values to create arrays 175
Using units in range variables 179
Calculating increments from the beginning and ending values 181
Comparing range variables to vectors 183
Displaying arrays 183
Table display form 184
Using units with arrays 188
Calculating with arrays 189
Addition and subtraction 190
Multiplication 190
Division 194
Calculation summary 197
Engineering Examples 197
Summary 200
Practice 201
10 Selected Mathcad functions 203
Review of built-in functions 204xii Contents
Toolbars 204
Selected functions 205
max and min functions 205
mean and median functions 209
Truncation and rounding functions 212
Summation operators 217
if function 222
linterp function 223
Summary 227
Practice 227
11 Plotting 229
Creating a simple X-Y QuickPlot 230
Creating a simple Polar plot 233
Using range variables 235
Setting plotting ranges 237
Graphing with units 241
Graphing multiple functions 243
Formatting plots 245
Axes tab 245
Traces tab 247
Labels tab 249
Defaults tab 250
Zooming 251
Plotting data points 252
Range variables 252
Data vectors 254
Numeric display of plotted points (Trace) 257
Using plots for finding solutions to problems 257
Parametric plotting 258
3D plotting 259
Summary 260
Practice 260
12 Simple logic programming 263
Introduction to the programming toolbar 264
Creating a simple program 264
Return operator 268
Boolean operators 269
Adding lines to a program 272
Using conditional programs to make and display conclusions 276Contents xiii
Summary 276
Practice 277
13 Useful information—Part II 278
Vectors and matrices 278
Converting a range variable to a vector 278
Sorting arrays 281
Functions 281
Namespace operator 281
Error function 283
String functions 284
Picture functions and image processing 284
Curve fitting, regression, and data analysis 285
Complex numbers, polar coordinates, and mapping functions 285
Plots 287
Plotting a range over a log scale 287
Plotting conics 290
Plotting a family of curves 290
Part III Power Tools for your Mathcad Toolbox 293
14 Introduction to symbolic calculations 295
Getting started with symbolic calculations 296
Evaluate 301
Float 302
Expand, simplify, and factor 305
Explicit 308
Using more than one keyword 311
Units with symbolic calculations 313
Additional topics to study 314
Summary 314
Practice 315
15 Solving engineering equations 317
Root function 318
Polyroots function 321
Solve Blocks using Given and Find 324
lsolve function 328
TOL, CTOL, and Minerr 329
Using units 329
Engineering Examples 329xiv Contents
Summary 334
Practice 335
16 Advanced programming 336
Local definition 336
Looping 339
For loops 340
While loops 344
Break and continue operators 347
Return operator 349
On error operator 350
Summary 351
Practice 351
17 Useful information—Part III 352
Calculus 352
Differentiation 352
Integration 355
Functions 356
Maximize and Minimize in Solve Blocks 356
Sources of additional information 357
Resources toolbar and My Site 357
Reference Tables 358
Keyboard shortcuts 359
Part IV Creating and Organizing your Engineering
Calculations with Mathcad 363
18 Putting it all together 365
Introduction 366
Mathcad toolbox 366
Variables 366
Editing 368
User-defined functions 368
Units! 368
Mathcad settings 369
Customizing Mathcad with templates 369
Hand tools 369
Power tools 370
Let’s start building 370
What is ahead 371Contents xv
Summary 371
Practice 371
19 Assembling calculations from standard calculation worksheets 373
Copying regions from other Mathcad worksheets 374
XML and metadata 375
Provenance 380
Creating standard calculation worksheets 381
Protecting information 382
Locking areas 383
Protecting regions 386
Advantages and disadvantages of locking areas versus protecting
worksheets 388
Potential problems with inserting standard calculation worksheets
and recommended solutions 389
Guidelines 390
How to use redefined variables in project calculations 391
Resetting variables 395
Using user-defined functions in standard calculation worksheets 398
Using the reference function 399
When to separate project calculation files 401
Using Find and Replace 401
Mathcad Application Server and Designate 402
Mathcad Application Server 402
Designate 402
Summary 403
20 Importing files from other programs into Mathcad 404
Introduction 404
Object linking and embedding (OLE) 405
Bring objects into Mathcad 406
Use and limitations of OLE 408
Common software applications that support OLE 408
Microsoft Excel 409
Microsoft Word or Corel WordPerfect 409
Adobe Acrobat 409
AutoCAD 410
Multimedia 410
Data files 410
Summary 411
21 Communicating with other programs using components 412
What is a component? 413xvi Contents
Application components 413
Microsoft Excel 414
Microsoft Access and other Open DataBase Connectivity (ODBC)
components 415
Intergraph SmartSketch® 421
MathWorks MATLAB® 422
Data components 425
Data Import Wizard component 425
File Input component 426
Data table 427
File Output component 428
Read and write functions 430
Data Acquisition 430
Scriptable Object component 430
Controls 431
Inserting Mathcad into other applications 432
Summary 432
22 Microsoft Excel component 433
Introduction 433
Inserting new Excel spreadsheets 434
Multiple input and output 437
Hiding arguments 439
Using Excel within Mathcad 440
Using units with Excel 440
Inserting existing Excel files 444
Mechanics 444
Sizing the component 444
Embedding versus linking 444
Printing the Excel component 445
Getting Mathcad data from and into existing spreadsheets 445
Example 446
Summary 448
Practice 449
23 Inputs and outputs 450
Emphasizing input and output values 450
Input 450
Output 452
Project calculation input 453
Variable names 454
Creating input for standard calculation worksheets 455
Inputting information from Mathcad variables 456Contents xvii
Data tables 456
Microsoft Excel component 458
Which method is best to use? 459
Summarizing output 459
Controls 460
Text box 461
Check box 462
List box 463
Radio box 465
Submit box 466
Summary 467
24 Hyperlinks and Table of Contents 469
Hyperlinks 470
Linking to regions in your current worksheet 471
Linking to region in another worksheet 473
Notes about hyperlinks 473
Creating a pop-up document 474
Table of Contents 475
Mathcad calculation E-book 477
Summary 478
25 Conclusion 479
Advantages of Mathcad 479
Creating project calculations 480
Additional resources 480
Conclusion 481
Index 483
CD instructions 49
كلمة سر فك الضغط : books-world.net
The Unzip Password : books-world.net

تحميل

يجب عليك التسجيل في الموقع لكي تتمكن من التحميل
تسجيل | تسجيل الدخول

التعليقات

اترك تعليقاً