You are on page 1of 172

Mathcad 14.

0
2007 2

2007 Parametric Technology Corporation


Parametric Technology Corporation ( PTC )
/
PTC
/
PTC PTC PTC

PTC
PTC

/ PTC

http://www.ptc.com/appserver/cs/doc/refdoc.jsp
>

FAR 12.212(a)-(b) (1995 10 ) DFARS 227.7202-1(a) 227.7202-3(a) (1995 6)

DFARS
252.227-7013 (1988 10 ) (Rights in Technical Data and
Computer Software Clause) (c)(1)(ii) FAR 52.227-19(c)(1)-(2) (1987 6 )
(Commercial Computer Software-Restricted Rights)
00002007
Parametric Technology Corporation, 140 Kendrick Street, Needham, MA 02494 USA

ii

Chapter <C#>

1
1
1

1 Mathcad

Mathcad
Mathcad 14

2Mathcad
Mathcad

3
Mathcad

3
4
6
7

9
9
11
11
12
14
15

17
17
21
23

25
25
27
31
35

39
39
40
43
45
47

51

51
53
55
57
58

7Mathcad

61

61
63
67
69
71

iii

72
74

8 Mathcad

79

79
88
90
93
98
100

10

112D
2D

2D
2D

123D
3D
3D
3D
3D

13

103
103

109
109
109
112
114

117
117
119
122
125
127
129

131
131
132
134
139

143
143
144
149
149

157

iv

Chapter <C#>


Mathcad Mathcad
Mathcad Mathcad

Mathcad


Mathcad

Mathcad

Mathcad
http://www.ptc.com/go/mathsoft/collab/

PTC Web Mathcad

PTC Web

PTC PTC
PTC
http://www.ptc.com/support/
(SCN) SCN
PTC PTC
http://www.ptc.com/support/cs_guide/

mathcad-doc@ptc.com

1
Mathcad

Mathcad

Mathcad 14

Mathcad
Mathcad Mathcad
Mathcad
Mathcad

Mathcad Mathcad

Mathcad

Mathcad

Mathcad Microsoft OLE 2

Mathcad

Mathcad

Mathcad Inside Mathcad: Programming
http://www.ptc.com/go/mathsoft/mathcad_download/
Mathcad Mathcad


Mathcad 3

4 / 1 Mathcad

Mathcad
Mathcad
XML

Mathcad

Mathcad 14
Mathcad 14

Mathcad
Mathcad
Mathcad

Unicode Mathcad Unicode


ASCII

Unicode

XMCD
Mathcad

2D 2D
2D

JPEG Mathcad

Chapter <C#> 1 Mathcad

Mathcad 14 / 5

ODE Mathcad 14 Adams


stiff BDF stiff
AdamsBDF stiff
Adams BDF Radau

odesolve Fixed Adams/BDF

Radau

Statespace statespace

Jacob Jacobian Jacob

Bessel Airy Airy DAi DBi DAI.sc


DBi.sc Airy

x := 1cm + 2ft = 0.934m

solve
fully all

combine rewrite confrac numer


denom Mathcad

Numer Denom IsInteger IsPrime IsRational

Mathcad 14 All degree domain


exp fully ln using raw sincos

Mathcad 14 5

6 / 1 Mathcad

PTC

PTC

Pro/Engineer Mathcad
Pro/Engineer

Mathcad
PTC Mathcad
Internet
FLEXnet 10.8 PTC http://www.ptc.com/support/cs_guide/

Mathcad 14

Pentium 32 (x86) 64 (x86-64 EM64T) 400 MHz


700 MHz

256 MB RAM 512 MB

550 MB 250 MB Mathcad100 MB 200 MB

CD-ROM DVD CD

SVGA

Windows 2000 SP4 Windows XP SP2

Mathcad CD

Microsoft .NET Framework 2.0

MSXML 4.0 SP2

Microsoft Data Access Components (MDAC) 2.6

Internet Explorer 6.0 IE

Adobe Acrobat Reader 7.0

Chapter <C#> 1 Mathcad

/ 7

Mathcad 14

Internet Mathcad Internet


Mathcad
Mathcad

1. Mathcad CD CD-ROM
D:\SETUP D:
CD-ROM
2. Mathcad 14
3.


CD
4.
5. Mathcad
FLEXnet
PTC
PTC

Mathcad 14
/
Mathcad

Mathcad CD Internet Explorer Acrobat Reader


2
Mathcad

Mathcad

Mathcad
Mathcad 2-1

2-1Mathcad

Mathcad 9

10 / 2 Mathcad

10

Chapter <C#> 2 Mathcad

/ 11

Mathcad Mathcad

Mathcad
Mathcad Mathcad

1.

2.
Mathcad

3. [ ]
6

Mathcad

1.
2. 15-8/104.5=

Mathcad

Mathcad

Mathcad

Mathcad Mathcad

Mathcad Mathcad

11

12 / 2 Mathcad

- / Mathcad

4
Mathcad

Mathcad

1.
2. [:]

3.
[ ]
([Ctrl] X)
Mathcad [Ctrl] Z
Mathcad
t

1. [Enter]
2. acc 9.8acc:9.8

acc t
1.
2. acc/2[ ]*t^2
3. [=]

12

Chapter <C#> 2 Mathcad

/ 13

t acc [=]
Mathcad
Mathcad 10
Mathcad [Enter]

1. d(t): d(t)
2.
1600+acc/2[ ]*t^2[Enter]
d t
t t

3.5 d(3.5)=
Mathcad

Mathcad

1.
2.

13

14 / 2 Mathcad

3. 3 103
3 6
4.
93

Mathcad 17

Mathcad

t t
t

1.
2. > X-Y

[@] Mathcad X-Y


3. t x , d(t)
y

4. [Enter]
Mathcad

Mathcad
11 2D

Mathcad

1. 11
2D
2.
3. 1
Displacement

14

Chapter <C#> 2 Mathcad

/ 15

4. 3

5.

6.
7. Mathcad
d(t)

8.

1. [Ctrl] S

2.

Mathcad Mathcad Mathcad XML (.XMCD)


Mathcad XML (XMCDZ)
Microsoft Word HTMLRTF XMCT Mathcad
Mathcad MCD HTML
Web

Mathcad HTML RTF Mathcad

Mathcad
Mathcad
Mathcad

15

Mathcad

Mathcad


Mathcad

Mathcad

Mathcad Mathcad
Mathcad
Mathcad RTF Mathcad
Microsoft Word Mathcad HTML Mathcad


Mathcad
OLE Mathcad Mathcad
DLL

Mathcad
Mathcad Web

Mathcad 3-1

Mathcad
http://www.ptc.com/go/mathsoft/mathcad/

Mathcad Handbook Mathcad



(HBK) Handbook

17

Mathcad 17

18 / 3

3-1

Mathcad

Web

18

Chapter <C#> 3

Mathcad / 19

1.

2.

3. Mathcad

Mathcad Mathcad

Mathcad

Mathcad 19

20 / 3

Web
Web Mathcad
Web Web Mathcad Web

Web Mathcad Microsoft Internet Explorer


Web OLE

Web
1.

2. Web (URL)
Mathsoft Web Resources
http://www.ptc.com/go/mathsoft/mathcad_resources/ [Enter]
Microsoft Internet Explorer Web
Web

Web Mathcad Web


Web
Web

Mathcad
Mathcad Mathcad

[F1]
Internet Explorer 5.5 IE
Mathcad

20

Chapter <C#> 3

/ 21

1.
2. [F1]

1. [Shift] [F1] Mathcad


2. Mathcad
3. Mathcad
[Esc]

Mathcad Mathcad
Mathcad

Mathcad

Internet

http://www.ptc.com/go/mathsoft/collab/

PTC



3-2

Mathcad PTC

21

22 / 3

3-2
Mathcad

new

1.

2.
3.
4.

5.

22

Chapter <C#> 3

/ 23

1.
2.

Web
Mathcad Web http://www.ptc.com/go/mathsoft/mathcad_resources/
Mathcad Advisor Newsletter
Mathcad Mathcad

Mathcad

mathcad-author@ptc.com

Mathcad

http://www.ptc.com/go/mathsoft/support/kb/

Web
http://www.ptc.com/go/mathsoft/support/kb/
PTC Mathcad
http://www.ptc.com/go/mathsoft/mathcad_download
Mathcad Mathcad
Inside MathcadProgramming Inside Mathcad
Solving

23

Mathcad
1.
2. Mathcad

Mathcad
6

Mathcad 26

Mathcad

999
10000

i j 1i 2.5j

i j 1i 1j Mathcad
i j 1i 1j
Mathcad 1

Mathcad i Mathcad j

j(J) 93

25

25

26 / 4

Mathcad a + bi a + bj a b

10
3 10 8 3*10^8

>

[Ctrl] G
f [Ctrl] G

Mathcad

[Ctrl] [Shift] P

ax + y
+ x y
[*] [+]

[?]

Mathcad

1.
[+]

2. 2
3. [Tab]
6

26

Chapter <C#> 4

/ 27

4. [=]

3/4+5^2=

Mathcad

Mathcad
[/]

Mathcad [ ]

Mathcad

[ ]

[Insert]

[ ] [ ]
[ ]

27

28 / 4

[ ]
1. d

2. [ ]

3. [ ]
4. [ ]

a b [ ]

ax + y
1. [^]

2. a
3. [+]
4. x y

28

Chapter <C#> 4

/ 29

ax + y
1. a a a

2. [^] a

3. x+y

a x ya x y
ax + y ax+ y

ax+ y
ax + y
1. a^x x
[+] x
2. [ ] ax
3. [+] [+]

4. y

ax a(x + y) a
x a x y
Mathcad ax Mathcad
a x ax a(x+y)
Mathcad a x y a x + y
[*]
1. a [*] Mathcad a

2. x

29

30 / 4

4xMathcad
4 x . Mathcad
Mathcad
i o


Mathcad

x 3 a 2
--------------------------------------4+ y+1+

1. x-3*a^2 2 [/]
2
2. [ ]

3. [/] [/]

4. -4+
y+1

5. [ ]

6. [+] [+]

7.

30

[Ctrl] [Shift] P

Chapter <C#> 4

/ 31

1.
2.
3. [Backspace]
[Delete]

1.
2. [+]

Mathcad [ ]Mathcad

Mathcad

1.
2. [/]

Mathcad

x x
1. x
2. [\]

31

32 / 4

33

*c

*c

*c

*c c

1.
2. [Backspace] [Delete]

a b
b

1.
2. [Backspace]

32

Chapter <C#> 4

/ 33

x , x x!
1.
2. [Backspace]
x x
Mathcad
x x
x

1.
2. [Backspace]

3.


Mathcad Mathcad
Mathcad
[Insert]
sin(a)
1. sin(a) [ ]
2. [Insert]
3. [-]

Mathcad

33

34 / 4

1. [ ]

2. []

[(] [)] a b + c
a (b + c)
1. b
[Insert]
2. [(] c
[Insert]
3. [)]

Mathcad

1. (
2. [Backspace] [Delete]

cos ( wt + x ) + sin ( wt + x )
1.
2.

3.
4.

34

Chapter <C#> 4

/ 35


1.

2. [Delete] [Backspace]

[Ctrl] Z

[Backspace]
[Delete]

Mathcad

Mathcad

Mathcad

1.
2.

3.

4.

35

36 / 4

1.
2.

3.

1.
2.

1.

36

Chapter <C#> 4

/ 37

2.
3. User
1 User
1

Vectors
4.

Vectors

x x
f(x) f(x) Mathcad


Mathcad XML Template
(*.XMCT)

61

37

Mathcad



35

1.
2.

3.
3 1

4.

[Tab]

39

39

40 / 5

600

1. Mathcad

2.

1 0

Mathcad

0 10
Mathcad Mathcad

t 1 10 20

1. t:10 t:=10 10
2. ,11 11 1
3. [;]

20
20 Mathcad

40

Chapter <C#> 5

/ 41

4. t Mathcad
t t

Mathcad
5 5 ij i + j 5-1

[[]

xi,j 25 5-1
5 5 i j i + j

5-1

84

1. >

41

42 / 5

2. Mathcad
3.
Mathcad 0
5-2

5-2

42

Mathcad

Chapter <C#> 5

/ 43


[[]

i v[i M i j
M[i,j
5-3

5-3

v
v3 10 v0 v1 v2 Mathcad
5-3

Mathcad 47

43

44 / 5

Mathcad

5-4 M

5-4 0 2 M

5-4

Mathcad ORIGIN
ORIGIN 0 81

5-5 ORIGIN 1
Mathcad

5-5 ORIGIN 1

44

Chapter <C#> 5

/ 45

Mathcad
5-6

5-6

1.
2.
3.


Mathcad

1.
2.
3.
4.

45

46 / 5

Mathcad


Mathcad

Excel ASCII
Mathcad

1.
2.
3. Mathcad
4.

1.
2.
3.

5-7

46

Chapter <C#> 5

/ 47

5-7

y:

Mathcad

40

47

48 / 5

M N
P
P i, j = M i, j N i, j
Mathcad

M N
1. [ ]

2.
Mathcad

ab c 5-8

5-8
Mathcad a c
a c

5-8

48

Chapter <C#> 5

/ 49

12 3D

0 255

0 255


10

49

Mathcad
57

1.
["]
Mathcad

2. Mathcad

3.

[Enter] [Ctrl] [Shift] [Enter]

[ Backspace ] [Delete]

1.
2. [Insert]
[Insert]

51

51

52 / 6

[Enter] Mathcad
[Shift] [Enter]
Mathcad

1.
2.
Mathcad

11

>

[Ctrl] G
f [Ctrl] G

[Ctrl] G
[Ctrl] G
[@] [Ctrl] G

1.
2. [Ctrl] [Enter]

52

Chapter <C#> 6

/ 53

Mathcad
[Ctrl] [Enter]

1.
2.

53

54 / 6


55

[Enter]

[Shift] [Enter] Mathcad

1.

2.

54

Chapter <C#> 6

/ 55

Mathcad


Tab

55

56 / 6

1.
2.

3.

1.

2.
3.

4.

56

Chapter <C#> 6

/ 57

1.
2.
3.

4.

7 Mathcad

1.
2.

1.

2.
[Ctrl] [Shift] A

3.

57

58 / 6

4.
Mathcad

Mathcad

Mathcad
Mathcad

1.

2. Mathcad

58

Chapter <C#> 6

/ 59

1.

2. Mathcad

Mathcad

Mathcad

1.

2. Mathcad
Mathcad

59

60 / 6

Mathcad

60

Chapter <C#> 6

7
Mathcad

Mathcad Mathcad XMCD

Mathcad Mathcad
Mathcad
Mathcad

Mathcad

(Normal.xmct)

1.
Mathcad

2.

Mathcad Mathcad
Template

61

61

62 / 7 Mathcad

[Ctrl] O
URL


XMCD XMCD XML
XMCDZ
XML Mathcad
(HTML) Web
(RTF)
XML HTML XMLT

Mathcad
Mathcad Mathcad 14
Mathcad 1112 13

Mathcad

67

Mathcad 8

Mathcad 8

65

1. Mathcad
2.

62

Chapter <C#> 7 Mathcad

/ 63

1.
2. Mathcad Template
3. Mathcad XML (*.XMCT)
4.

Template

1.
2. Mathcad Templates
3.
Template
Mathcad

Normal.xmct
Normal.xmct

>

1.
2.
3.

63

64 / 7 Mathcad
[Ctrl]
[Shift]

1.
2.
3.
4.

64

Chapter <C#> 7 Mathcad

/ 65

69

1.
2. [Ctrl] X

[Ctrl] D

1.
2. >
>

Mathcad

Mathcad
66

1.
2.

65

66 / 7 Mathcad

[TAB]


[TAB]


Normal.xmct

1. [Enter]

1.

2. [Delete] [Backspace]

Mathcad

Mathcad

66

Chapter <C#> 7 Mathcad

/ 67


[Enter]

1.
2.
3.
4.

Mathcad

1.
2.

Mathcad


Mathcad 74

67

68 / 7 Mathcad

62
Mathcad

Mathcad

Mathcad

1. Mathcad

2. [Delete]
3.


Mathcad

68

Chapter <C#> 7 Mathcad

/ 69

1.
1 1

2.


3.

(BMP)

Mathcad 1

1. Mathcad

2.

3.

69

70 / 7 Mathcad

1.
2. >

3.

4.

5.

1.
2. >

1.
2. >
3.

1.

70

Chapter <C#> 7 Mathcad

/ 71

>

1.
2.
3. [Delete]

Mathcad
Mathcad


Mathcad

Mathcad

1.
2.

71

72 / 7 Mathcad

3. Internet (URL)
Web Mathcad
Mathcad

Mathcad

URL
Mathcad

[F9]

Mathcad
Mathcad

Mathcad
Mathcad
Internet

Mathcad

1. Mathcad

72

Chapter <C#> 7 Mathcad

/ 73

2. Internet (URL)

3.
Mathcad

4.
5.

1.
2.

Section1.3 Section1-3


1.
2. Internet (URL)

73

74 / 7 Mathcad

#
C:\filename#region tag
#region tag #

Mathcad

Mathcad Mathcad

Web

Windows
Mathcad

Mathcad Internet
Mathcad Mathcad
Mathcad PDF

Mathcad

Mathcad
Mathcad

Mathcad

74

Chapter <C#> 7 Mathcad

/ 75

Mathcad

:=

Mathcad

Mathcad

75

76 / 7 Mathcad

PDF
Adobe (PDF) PDF
PDF

Acrobat Distiller PDF

3 Mathcad
Mathcad

Mathcad

Mathcad
3

Web
Mathcad HTML Web
HTML Mathcad
HTML Web

Web HTML

Web

JPEG PNG PNG


JPEG

76

Chapter <C#> 7 Mathcad

/ 77

HTML

HTML
HTML
Mathcad Web HTML
HTML
HTML Mathcad
HTML
Web
MLT HTMLtemplate.mlt
Mathcad Template MLT
Mathcad
Mathcad Mathcad
Mathcad Web
Mathcad
Web

HTML File (*.htm) Mathcad HTML

HTML HTML

HTML Mathcad HTM []_images

Microsoft Word
Microsoft Word
1.
> [Ctrl] [F9]
2.
3.
(.rtf)
4.
Microsoft Word RTF
Word

77

78 / 7 Mathcad

Mathcad Microsoft Word


Word Mathcad Word
1.25 1 Mathcad >
Microsoft Word

Mathcad Microsoft Word Mathcad


Word 112
Mathcad Mathcad
Microsoft Word Word

Microsoft Mail API (MAPI)


Mathcad >
Mathcad

78

Mathcad

Chapter <C#> 7 Mathcad

8
Mathcad

1.
2. [:]
(:=)

3.

:=

vi

y1

f(x, y, z)

79

79

80 / 8 Mathcad

Mathcad

Mathcad

(3.14159) e (2.71828)
Mathcad 81

Mathcad
Mathcad A m
s

Mathcad 90


Mathcad

Mathcad

80

0 9

[_]

['] [Ctrl] [F7]

[%]


[Ctrl] G 26

[]
[Ctrl] [Shift] Z

alpha

xyz700

A1_B2_C3_D4%%%

F1'

a%%x

Mathcad diam DIAM Mathcad


35 Diam
Diam

Mathcad

Chapter <C#> 8 Mathcad

/ 81

Mathcad
velinit uair

1.
2. [.]

[[]

[.] 5

e Mathcad

Mathcad 90

Mathcad Mathcad
e Mathcad
e := 2 e
83

Mathcad
e e

81

82 / 8 Mathcad

Mathcad

>

1.

2. =

Mathcad

Mathcad
93 Mathcad

8-1
Mathcad
Mathcad :=


Mathcad

82

Chapter <C#> 8 Mathcad

/ 83

8-1
8-2
Mathcad x y
x y Mathcad
x y
x y Mathcad
x y

8-2 Mathcad

Mathcad

1.

83

84 / 8 Mathcad

2. [~]

3.

:=

:=

8-3 R

8-3 P
R
V T P

Mathcad Mathcad

40 1
85

84

Chapter <C#> 8 Mathcad

/ 85

8-4 j
i := j + 1 Mathcad

j xj
x[j [Shift]; j [Shift]6 2[Space]+1
8-4 j j
j 0 15 xj

8-4

Mathcad
Mathcad 99

j 0 15
Mathcad

85

86 / 8 Mathcad

1 k:1,1.1;2

1 k

1.1
0.1 1.1 1 1.1 Mathcad

2
k := 10 .. 1 k 10 1

k := 10 20 .. 65 k 10 20 30 . . . 60

Mathcad
1.
2.

3.
4.

5.

86

Chapter <C#> 8 Mathcad

/ 87

[ ]

Mathcad

Mathcad

1. [] w t k z

2. []

3. [ ]
4. [ Insert]

5.

87

88 / 8 Mathcad

dist(x, y) (x, y)

1.
2.

3. [:]

(:=)
4.

8-5 Mathcad
1.
2.
3.
4.

8-5

88

Chapter <C#> 8 Mathcad

/ 89

8-5 Mathcad
90

dist ( v ) := v 2 + v 2
0
1
5

f(x) f(x) SIN(x)


sin(x) Mathcad
sin(x) sin(x) sin(x)

Mathcad
Mathcad

Mathcad

8-6

8-6 f
a a f f f
a

Mathcad

89

90 / 8 Mathcad

Mathcad 8-7

8-7Mathcad

Mathcad

Mathcad

Mathcad

Mathcad Mathcad
SI

MKSCGSU.S.
95

90

Chapter <C#> 8 Mathcad

/ 91

mass:75*kg
acc:100*m/s^2
acc_g:9.8*m/s^2
F:mass*(acc + acc_g)
8-8

8-8 mass:75kg Mathcad

Mathcad
8-8

1.

Mathcad

91

92 / 8 Mathcad

2. Mathcad

3. Mathcad

Mathcad

Mathcad

Mathcad
Mathcad

acc
100 m s 100 m s 2
acc
g

Mathcad

v 3 acre 2 3 ft

sin ( 2 s )

8-9

92

m m
Mathcad m
Mathcad

Chapter <C#> 8 Mathcad

/ 93

8-9

Mathcad

Mathcad Mathcad

Mathcad

1.

2.

3.



3 6

93

94 / 8 Mathcad

[=]

Mathcad
17 Mathcad
Mathcad

1.
2.
3.
Mathcad

7 Mathcad


i j

8-10

94

Chapter <C#> 8 Mathcad

/ 95

= 15
= 2
= 4
= 5

E 000

8-10

Mathcad

Mathcad Mathcad
1.
2.

3.

Mathcad SI Mathcad
SI
Mathcad CGSU.S. MKS


SI US
MKS CGS

95

96 / 8 Mathcad

Mathcad

SI

m kg s A K cd mole

MKS

m kg sec coul K cd mole

CGS

cm gm sec statcoul K cd mole

U.S.

ft lb sec A K cd mole

(CGS) SI A
L s S
Mathcad
Mathcad
milli- m- nano- n- 92
ns

Mathcad

Mathcad

Mathcad

1.
2.
3.


1.
2.

3.
8-11 SI F

96

Chapter <C#> 8 Mathcad

/ 97

Mathcad
8-11
kW s Mathcad m-1

SI

kW s Mathcad
m-1

8-11
Mathcad

Mathcad

Mathcad

103 106

Mathcad rad 1
deg

46

97

98 / 8 Mathcad

Mathcad

>
F9

(XMCT)

Mathcad

Mathcad

Mathcad
Mathcad
Mathcad

[F9] Mathcad

Mathcad
[Ctrl] [F9]

98

Chapter <C#> 8 Mathcad

/ 99

1. [Esc]
2.

[Esc]
100
[F9]

Mathcad

Mathcad

1.
2.
3.
4. Mathcad

1.
2.
3.

99

100 / 8 Mathcad

Mathcad

Mathcad

[F1]

f(0)f(x) g(x)
x g(x)

1.

2.

3.

100

Chapter <C#> 8 Mathcad

/ 101

Mathcad

Mathcad
Mathcad

101

Mathcad
13

root
root [a,b]

x
f(x) (TOL)
Mathcad

81 TOL
root

9-1 root polyroots

103

103

104 / 9

root a b f(a) f(b)


Mathcad f 9-1

Mathcad
root
x
x
root

root
105 Find Minerr

vn x n + + v2 x 2 + v1 x + v0
polyroots root polyroots
9-1

root polyroots

> 13

/
Mathcad

lsolve M lsolve M
lsolve

Mathcad

1. Mathcad
Mathcad

104

Chapter <C#> 9

/ 105

2. Given
Given
3. Given

[Ctrl] [=] < >



4. Find Maximize Minimize Minerr

Given Find Maximize


Minimize Minerr f(x) := Find(x)

9-2 Find
Find x y

9-2
Find

Mathcad FindMaximizeMinerr Minimize

9-3

9-4 9-5

CTOL 9-4

105

106 / 9

...

9-3

9-4

106

Chapter <C#> 9

/ 107

9-5

Mathcad 400 Solving and Optimization


Extension Pack 1000 250
1000

Given FindMaximizeMinerr
Minimize x y z w

w = z

x<y

x>y

xy

xy

xy

xy

xy

Mathcad Given Find

x:=1

1 x 3

Mathcad

107

108 / 9

Mathcad

(TOL) TOL

CTOL
0.0001 x < 2
x x < 2.0001

81

FindMinerr

Mathcad

-

>

Mathcad
1. Mathcad

2.

3.
Mathcad

108

Chapter <C#> 9

10

Mathcad

2D 3D

.AVI .DOC .MDI

1.
2.

3.
Mathcad 256

Mathcad 256 0 255 0255


256

Mathcad

(RGB)

Smith HSV

Otswald HLS

109

109

110 / 10

1.
2.
Mathcad 3 256 RGB
111


READBMP

Mathcad BMPJPEGGIFTGA
PCX
1.

2. []

3.

110

Mathcad

Chapter <C#> 10

/ 111

Mathcad

1.

2.

3.
>

Mathcad


OLE Mathcad 112
OLE Mathcad


Mathcad

DIB
Mathcad

Mathcad
XMCDZ XML

1.
2.

3.

111

112 / 10

Microsoft Windows OLE


Mathcad Mathcad

Mathcad

Mathcad

Mathcad Mathcad OLE 2



Mathcad

Mathcad
Mathcad Mathcad
Mathcad

1.
2.

112

Chapter <C#> 10

/ 113

1.
2.
Mathcad

1.

2.
3.

Mathcad

1.
2. Mathcad Mathcad

Mathcad

OLE


OLE

113

114 / 10

OLE Mathcad

Mathcad
Mathcad
Excel Word
Mathcad

Mathcad

Mathcad
OLE Mathcad
Mathcad SmartSketch SmartSketch
Mathcad
10-1 SmartSketch SmartSketch
Mathcad Excel MATLAB

114

Mathcad

Chapter <C#> 10

/ 115

10-1 SmartSketch Mathcad

115

11
2D

2D

2D

2D

2D
Mathcad
X-Y r 11-1
11-1 2D
X-Y

X-Y

11-12D
117

2D 117

118 / 11 2D

X-Y
X-Y
1. > X-Y

[@]Mathcad X-Y
2. x
y
3. [Enter]
Mathcad

125 2D

Mathcad Re
Im

Mathcad
Mathcad

125 2D

1. >

2.

3. [Enter]
Mathcad

118

Chapter <C#> 11 2D

/ 119

2D QuickPlots
2D QuickPlot y
Mathcad X-Y 10
10 0 360
QuickPlot
1.

2. >X-Y

3. [Enter]

2D QuickPlot

1. 84

2.

3. > X-Y

4. x
5. [Enter]

Mathcad

119

120 / 11 2D

2D
X-Y y
x 11-3
x y
11-2
QuickPlot
1.

2.
> X-Y

3. [Enter]
QuickPlot y
Mathcad x

1. > X-Y
2. y
3. x
Mathcad x
y x y
Mathcad 11-2

11-2

120

Chapter <C#> 11 2D

/ 121

11-3 y

1. > X-Y
2. x y
3. [Enter]
Mathcad QuickPlot 11-1

Mathcad
Mathcad
11-4
84

121

122 / 11 2D

11-4 X-Y
Mathcad a

11-5

X-Y
1. i
i := 0 .. 9
2. > X-Y
3. i yi
[[]

122

11-5 x
x

11-5 11-7
41

Chapter <C#> 11 2D

/ 123

11-5

1. x y
2. > X-Y
3. y y x x 11-6

11-6

Mathcad

123

124 / 11 2D

x y
1. k 1 4 9
x y x0 y0
2. yk xk

5
11-7

11-7 0 x 1 y
[Ctrl] 6

124

Chapter <C#> 11 2D

2D / 125

2D
Mathcad

1.

2.

X-Y

3.

2D

Mathcad
1.
11-8
2.

2D 125

126 / 11 2D

3. Mathcad

11-8 Mathcad 0.5


2.499
y 0.6 2.0

1.
2. 2D
11-9

11-9 Mathcad

126

Chapter <C#> 11 2D

2D / 127

2D
Mathcad 2D

1.
>


2.

3.


4.

5.

11-10X-Y

2D 127

128 / 11 2D

1.
>



2.

3.

4. Mathcad X- Y-

5.

11-11

11-11

1. X Y

2.

128

Chapter <C#> 11 2D

/ 129

Mathcad FRAME

FRAME
1. FRAME

2. >

3. 11-12

11-12
4. FRAME FRAM

5. /
6. Mathcad
FRAME

129

130 / 11 2D

7. Mathcad Windows Windows


AVI

Mathcad

Mathcad Windows AVI


1. >

2.
AVI

130

Chapter <C#> 11 2D

12
3D

3D

3D

3D

3D

3D
xy z
Mathcad OpenGL 3D
3D

1.
2. 3D
3D Mathcad
3D
3.
4. [Enter]
Mathcad

3D QuickPlotQuickPlot

3D
QuickPlot 139
3D

3D
3D
1. >
2.
131

3D 131

132 / 12 3D

3.

4. 3D
5. [Enter]

3D
3D
3D 3D

http://www.ptc.com/go/mathsoft/mathcad_resources/ Mathcad Web

x y 5 5
0.5 F(x,y) z x y
G(u,v) xy z
u v
X(u,v)Y(u,v) Z(u,v) xy z
u v

132

3D QuickPlot

Chapter <C#> 12 3D

3D / 133
2 3D

3D
X Y Z

1. >
3D
2.

(X,Y,Z)
3. [Enter]

1. 3D
2.

12-1 G 3D F

12-1

3D QuickPlot QuickPlot
x y z Mathcad
x y 5 5 0.5 x
y z

3D 133

134 / 12 3D

3D
QuickPlot

H(u)
R(u) S(u) T(u)

u
2 3D

1. > 3D
3D
2.
R S T
(R,S,T)

3D
3D
3D 3D

134

Chapter <C#> 12 3D

3D / 135

1. x y
z x-y z = 0
2. >
3.
12-2 M 3D

12-2 3D

139 3D

x y z

1.
2. >
3.

3D 135

136 / 12 3D

12-3 X Y Z

12-3

12-3 XY Z

x y z

1.
2. >
3.

136

Chapter <C#> 12 3D

3D / 137

12-4 P Q R

12-4

1.
2. >

3.
12-5 C
Mathcad

z x-y Mathcad
0 0 x
y

3D 137

138 / 12 3D

12-5
3D

3D
1. 3D

2. >
3. [,]
4.
5. [Enter]
6. 3D
Plot 2
12-6

138

Chapter <C#> 12 3D

3D / 139

12-6

3D
3D 3D
3D
1. > 3D
3D

2.
3.
4.

3D 139

140 / 12 3D

3D

3D

Mathcad

3D 3D

3D
3D
3D

3D

3D
3D
12-7

140

Chapter <C#> 12 3D

3D / 141

12-7 3D

3D QuickPlot
3D QuickPlot 3D QuickPlot

1.
2.

3D 141

142 / 12 3D

1.

2.
QuickPlot

QuickPlot x y z
QuickPlot
1.
2.
3D

3D
Mathcad 3D

142

3D

Chapter <C#> 12 3D

13

Mathcad 13-1
Mathcad 13-1

13-1

143

143

144 / 13


Mathcad Mathcad

1.
2.
[Ctrl] [.]

3. [Enter]Mathcad
Mathcad

Mathcad
Mathcad 13-2

148 13-5

144

Chapter <C#> 13

/ 145

13-2

1.
2. [Ctrl] [Shift] [.]
3.

4. [Enter]

[Enter]

13-3

145

146 / 13

13-3
float
laplace

series
series 6
x x5 series

3 ex
1. ex [Shift] 6 x

2. [Ctrl] [Shift] [.]


3. series

4. x

5. 3 3

6. [Enter]

146

Chapter <C#> 13

/ 147

1.

146

2. [Enter]
3. [Ctrl] [Shift] [.]

4. [Enter]

1.
2. [Ctrl] [Shift] [.]
3.

4. [Ctrl] [Shift] [.]

5. [Ctrl] [Shift] [.]


[Enter]

assume
real Mathcad
simplify
1.
2. simplify
3. [Ctrl] [Shift] [.] simplify

147

148 / 13

4. assume
5. a = real
[Ctrl] [=]
6. [Enter]
a a
assumeMathcad csgn

simplify 13-4
simplify

13-4simplify

Mathcad x := x
13-5
Mathcad 3
x

x 3
Mathcad

13-5

148

Chapter <C#> 13

/ 149

coeffs

1.

2.
3. >


>


13-6

149

150 / 13

Mathcad

13-6

Mathcad 13-7

[&]

[Ctrl] [Shift] Z

[Ctrl] I

[Ctrl] [Shift] [/] N

13-7
1.

[?]
[Ctrl] [Shift] [/] n

2.

150

Chapter <C#> 13

/ 151

3.

[Ctrl] [.]

4. [Enter]
13-8
>

13-8 x
> >
Mathcad

>

Mathcad

1.

2.
3. d
4.

[Ctrl] [.]

5. [Enter]
13-7

151

152 / 13

Mathcad
1.

[Ctrl] L

[Ctrl] [Shift] B [Ctrl] [Shift] A

2. lim.
3. lim.
4. [Ctrl] [.]
5. [Enter]
Mathcad 13-9

13-9

Mathcad

solve
1.

[Ctrl] [=]

13-10

2. [Ctrl] [Shift] [.]Mathcad

3. solve
4. [Enter]

152

Chapter <C#> 13

/ 153

Mathcad
13-10

13-10 0

>

solve
n n
1. [Ctrl] M n 1
2. n [Ctrl] [=]

3. [Ctrl] [Shift] [.]


4. solve
5. [Ctrl] M n 1
6. [Enter]
Mathcad n 13-11

153

154 / 13

[Ctrl] [Shift] [.]

solve

[Ctrl] [=]

13-11

1. Given
Given
2. Given [Ctrl] [=]
3. Find 104 /

4. [Ctrl] [.] Mathcad


5. [Enter]
Mathcad 13-11

Mathcad

1. [ ]
2. [Ctrl] 1

154

Chapter <C#> 13

/ 155

3. [Ctrl] [.]
4. [Enter]
Mathcad 13-12

13-12

155


( ) 33
:= 12, 79
= 12, 82
144
47
3D 139

39
40
155
154155
154155
41
52
2D 14
2D
4
Adams 5
AdamsBDF 5
AVI
130
130
BDF 5
BMP 69, 110
CGS 96
combine 5
confrac 5
CTOL 82, 108
denom 5
e 8081
Find 105, 154
Given 154
Given 105
HBK 17
HTML 62, 76
77
Internet
21
IsInteger 5
IsPrime 5
IsRational 5
i 25
Jacob 5
JPEG 4, 76
JPG 4
j 25
lsolve 104

Mathcad 2001 2001i 11 62


Mathcad 6
Mathcad 17
Mathcad 17
Mathcad 20
Mathcad 23
Microsoft Internet Explorer 20
MKS 96
numer 5
ODE 5
OLE 112, 114
114
112, 114
114
OpenGL 131
PDF 76
pi () 30, 81
26
80
PNG 76
polyroots 104
QuickPlot 119, 131
Radau 5
rewrite 5
root 103
RTF 62

RTF 77
SmartSketch 114
statespace 5
TOL 8182
108
U.S. 96
Unicode 4
URL
PTC 20
Web 20
Web 20
Web
76
7677
Web 76
Web 76
Web 23
XMCD 62
XMCD 61
XMCDZ 62
XMCT 61
XML 4, 62
XML 63
X-Y

157

157

Chapter <C#>

158 /
118

2D
x-y
125
7
94
(:) 79
23

15, 6162
6263
15

Microsoft Word 77

69
67

103
4
3
55
114
11

31
30
31
31
87
35
34
32
/ 6364
34
30
3

12, 79
35
39
80
83
100
39
83, 100
81
40, 84
151

158

80
153

55
65
55
66
25

73

100
144
101
82
87
35
63
34
145

(~) 84

107
151
92
107
77

86

109
17
17

135136
3D

121
27
33
91
87
33
66
57
109
112
51
57

Chapter <C#>

/ 159
114
91, 95

51
11
64, 97, 112
51
69
57
71
129
5
72
73
74
73
73
29
30
91
2930
66
92
130
130

polyroots 103104
12, 98
98

2D 117, 120
3D 131, 138
12
137
76
61
(PDF) 76
134
73
132, 134
39
51
61
60
60
82

92
101
100
100

15
75
68, 74
75
74
67, 74
75
75

CGS 96
MKS 95
SI 96
U.S. 96
92, 95
96
95
94
90
96
95
92
92
92
90
95
96

RTF 77

150
98

137
139
3D
(=)
82
144, 152153
105

79
12, 98
100
90
12, 82
82, 98
99
83
34
36
35

159

160 /
69
57
84
35
107
107
90
17, 76
76
19
18, 20
18, 20

19
Web 20
19
19
78

40
151

12, 79
83
92, 95
25
88

83
25
84
(:=) 79
5
130
130
130
129
129130
FRAME 129
129
54
55
54
55
55
55
55
55
55
90
33

160

65
45
55

OLE

104
94

152154
103
104
60
ASCII 4
85
104
66, 68
6768
(RTF) 77

144
144
144
149
149
5
149
145
4
25
25
94
94
145

34
19
97
64
64, 97, 112
64
51

2D 125
3D 139
149
67
93
46
10

Chapter <C#>

/ 161
36
56
56

60
150

104
152
103
104
100

98
94

58

Web 20
10
18
10
10
10

71
15, 6162
6263
61
62
15, 74
67
82
78
RTF 77
62
76
71
65
62
65

TOL CTOL

104
76
98
Mathcad
Mathcad
5
144

2D 120
(SI) 90, 96

90
13, 88
103
103
87
80, 88
103
154
39
21
21

97
97

Mathcad 20
20
20
21
20

52

3D 131
3D 140
3D 131
OpenGL 131
QuickPlot 131
135136
131, 138
137
138
140
134
132, 134
142
140
141
141
3D
139
140
142
140
132
141
140

161

162 /

119
119, 121, 132
122
122
2D 117, 120
3D 131, 138

151
151
95

14
14
152

118
125
2D
4
23
12
12, 82
82
93
99
98
69
12, 82

33
34
51
Mathcad 11

97
17

97
13, 93
12
82
/ / 94
13, 94
99
112

47
40, 46
39

162

40
154
137
40
44
43
/ 40
40
43
45
109
44
44
44
94
154
17
94

66

134
3D
66
17
68
104

112
7172
39
94
62
RTF 77
Web 76
92
5
61
62
63
98
61

61
62
93
81
59

Chapter <C#>

/ 163
60
17

94
104
108
103

152
152
104, 154
108
108
152153
104
Given 105
108
104
108
154
104
107
107
11
73
69
11, 66
73
66
11
65
66
64
70
6970
69
65, 71
64, 73
69
6970
64
11, 51
63
64
64
70
69
11
73
11

135137
132, 134
139
3D
83
17
68
97
97
(3D)
139
3D

35
73
66
65
31
51
68
34
32

44
54
111
97
64
98
20
45
45
94
45

67, 73

41
41

47
10, 26
25

37
35
36

103
104
25

163

164 /
94
94
25
13, 93
94
94
94
25
93
26

47
39
46
94
40
44
48
44
45

19
58
58
4

2D 127
55

6970
6970
5
59
33
100

111
118
(3D)
139
2D
125
14, 118
125
128
127
125
120

164

120
127
118
119
119
123
125
128
3D
118

111
111
109
110
111
111
49, 109

BMP 110
69

14, 131, 138


14
2D
118
109
111
Mathcad 15
64
19, 34, 64, 112, 114
92
64
92
83, 100

110
111
97
51
57
55
53
58
54
59
51
52
55
52
54

Chapter <C#>

/ 165
55
52
53
55
58
51
51
51
52
51
55
56
56
56

15
61
4
4
78
27
81
() 80

80
52
26

81
81
44
44
54
54
23
94
45

104
104
77
76

72
17

3D 131

47
39
40

123
44
43
45
47
44
44
44
47
47
55
4
/ 68

25, 94
25
94
63

68
63
27, 32
52
63
113
62

67
36
54

35
55
67
68
68
69
69

69
68
68
68
67, 74

31
31
64
11
64

165

166 /
71
72
30, 91
68
1
21
88
89
80
11
65
104
78
4
60
81
44

33
34

107
108

151
31
150
26
10
32
33
33
30
33
99
17

OLE 113
34, 111
111
111
111

166

113
145, 149
94
12, 25
69

14
2D

Mathcad 84
40
40, 8485
86
47
86
86

26
94
125

19
98
17
17
Web 20
Web 20
20
31

35
69
53

88
98
98
108
108
108
17, 76

Chapter <C#>