Download as pdf or txt
Download as pdf or txt
You are on page 1of 42

2

:
: Mathcad-a ......3
1: Mathcad- ......................10
2: Mathcad- ..........................11
3: .............................12
4: Mathcad- ...13
5: ..........................................14
6: ...........................................14
7: ..............................16
8: ...................................................17
9: ..............................19
10: ..........................21
11: ................................................24
12: ....................31
13: ......................................32
14: ...............................................35
15: Mathcad- .................................36
.................................................................41
3

MATHCAD

: Mathcad-
Mathcad , , .
, Mathcad . Mathcad-
, ,
. , Mathcad
.

, , :

x=(-B+SQRT(B**2-4*A*C))/(2*A)

spreadsheet :

+(-B1+SQRT(B1*B1-4*A1*C1))/(2*A1)

Mathcad-, :

4 .a .c
2
b b
x
.
2 a
Mathcad- . , ,
. Mathcad-,

. 2D 3D . Mathcad-
(Electronic Books)
(drag and drop) .
, Mathcad . Mathcad-
, , ,
, . . . , ,
. Mathcad- Worldwide Web-, Mathcad
.
.

Mathcad-

Mathcad-, . . .

1. Mathcad-

Mathcad-
.
, .
Mathcad- Insert Function,
Insert Function .

Insert Function

. 15 ,
Number Format,
Displayed Precision .

Calculator , = . 4
+, -, *, / .

1.837 . 10 3
= 2.3142353232
5
100 3

.
3.
log ( 1347.2 ) . sin = 2.976
5

Mathcad- . . .

( 2.3 4.7i ) 3 e3 2i
= 148.613 47.498i

. . . . , Unit Insert,
.

2350 . km 1
= 652.78 m sec
1 . hr

Insert Unit

2.
:= Calculator ; (:).

a 4

a a = 6

, Mathcad .

sin ( x )
f( x)
x
a

f ( 10 ) = 0.218

4 a :

[Backspace] :
5

3. .

3.

.. Matrix - [;] .
2 z 4 . ,
z=, f(z)= .

z 0 , .5 .. 2
z
0
0.5
1
1.5
2

f ( z)
0
3.835
3.366
2.66
1.819

exp ( f( z) ) . z
0
23.156
28.959
21.444
12.326

4.
X-Y Plot Graph , [Ctrl]2 ;
e x y . y
, Mathcad x !
(,) .
6

2
f( x)
sin( x)
0

2
10 0 10
x, x

5.
Mathcad 3D (scatter)
. .
Graph/3D Scatter Plot Insert, Graph/Surface Plot Insert.
Graph .

X, Y, Z
7

X, Y, Z

6.

Calculus . ,
, ,
.

10
1
= 2.7182818
n!
n=0

1
1
dx = 0.785
1 x2
0

7.
, 3 3 Vector and Matrix (
Matrix Insert), , .

4 5 1
A 5 0 12
7 2 8
, A^-1=.

0.074 0.117 0.184


1
A = 0.135 0.12 0.163
0.031 0.132 0.077
, , |, Vector and Matrix
.

A = 326
8

8.
Mathcad- (root finder) . . .
t 1
. . . Mathcad .
root t 2 cosh ( t ) , t = 1.621

9.
1) . x
6 5 4 3 2
, x 7 1 ( x x x x x x 1

2 1 .
dx
x
e
2
0

1
x 1
x

1 1.
5
2 2
1 1.
5
2 2

Symbolics .
, , , , , ,
, , .

10.
Programming Mathcad-
: for while , , , . ''
'' Mathcad-
, , , . :

FRAME . .
f( x) J1 ( x ) . cos 2
20
a 0
b 3.833
xn 17
rn 25
i 0 .. xn
j 0 .. rn
a
NthRoot ( a , n , ) estrt
2
n
n
while estrt a
1 . a
estrt 1 estrt
n n . estrt n 1

estrt

(Newton) n- e
:
9

b a.
rr i a i
xn
2 ..j
ss j
rn

Xc i , j rr i . sin ss j

Yc i , j rr i . cos ss j

Zc i , j f rr i . sin ss j

6
NthRoot 7 , 5 , 10 = 1.476

11.
Mathcad- . ,
Animate View, FRAME 0 20 -.
Animate. - . Mathcad
.

Xc , Yc , Zc
'' '' Mathcad- ,
.
Mathcad- : , , .

1. Mathcad-
Mathcad-
Mathcad-
Mathcad , Mathcad- .


10

, ,
. Math Symbolics
.

Mathcad- Help.


. , tool tip
:

Calculator

Graph

Vector and Matrix

Evaluation

Calculus

Boolean

Programming

Greek Symbol

Symbolic Keyword

.
Mathcad .

,
, spell checking- .
, . Tool tip-
. :

Resource Center, QuickSheets ('' ''), Mathcad-


,
, .

11

. ,
Formatting View.

Resource Center

Mathcad-
.

Mathcad- , , ,
. -- "auto"
, Mathcad
. Mathcad "WAIT"
.
Caps Lock Num Lock , .

Mathcad- : (
) . Mathcad-
- ,
. , ,
, Mathcad- .

2: Mathcad-
Mathcad- , -, .
.
. ,
. .
,
. ,
. ,
, Resource Center-.

x 100 x:100


.
:
-
12

.
. .
. .

,
.

: , ,
- , .

Regions View.
. Mathcad-
2
, . , y = 100
y ( Mathcad- -;
). Mathcad y 2
y. , !
y 10
2
y = 100
.
Cut Edit, Paste Edit
. ,
. , . ,
, , Cut .

3:

- . :
1+

+ . Mathcad-
('' ''). ,
. , 2 , (=)
.

, [Enter], :

,
Calculator. Calculator, Math.

+ 2 2 = 4
13

- 2 2 = 0

* 2 .2 = 4

/
2
= 1
2

^ 22 = 4

Mathcad-
, , , .


, -
["]. ,
, Mathcad .
,
. , .
, , ''''
. ,
. .

4: Mathcad-

Mathcad- .
, .
.


, File/New, ,
.
, .


Formatting .
, View/Toolbars/Formatting. ,
Heading One , ,
, . , Format
Style. , .


.



, ,
14


Save As File of Type, Template. .mct.
, , ,
. .

5:
. ,
:

age:23

[:] ,

Calculator, Mathcad :=. (" ") Mathcad-


. age ,
:

age=

age, 23
age , backspace , .
[Enter], age= . ,
Mathcad- . Mathcad- :
age 23
age . 10 = 230
, :
old age . 10
old = 230
( x TROSKOVI
) .
[:] , [= ] .

6:
Mathcad- . ,
:

f(x):x^2
15

,
. . f ( x ) ,
:
f( x) x2

. . . f ( x ) .
f ( 10 ) = 100

. . . f ( x ) .
x 3
f( x ) = 9
. . . ( ) f ( x )
.
a 0 .. 3

f( a )
0
1
4
9
. . . f ( x ) .
g( y) f( y) 6
g( x) = 15


, , Mathcad-
. ,
Function Insert ,

. Insert Function -, ,
.
16

.
Mathcad- .

ln ( 26 ) = 3.258

csc ( 45 . deg ) = 1 2

1 0 0
identity( 3 ) = 0 1 0
0 0 1

cols ( identity ( 6 ) ) = 6

7:
(
):

f(x):x+6[Spacebar]*(x^3[Spacebar]-1)
17

[Spacebar],

. , ,
. [Spacebar] ,

. [Spacebar] , x3
3
. , -1, x .
f(x):x+6*(x^3-1),

''''
'''' [Spacebar]. ,
, , . :

x^2[Spacebar]
2
x , +3[Spacebar]
, /5[Enter] !

[Spacebar] +3

x^1/t^2[Spacebar][Spacebar][Spacebar]/3

8:
Mathcad- .
, :
18

2
x 5 3
f( x) x
8

.
.
5 , [Spacebar].
.
3
3 x , [Spacebar].
.

.
,
; ,
.
:

2
x 5 3
f( x) x
8
x f ( x ) .
.
2
x , .
.

,
. .
!

x2 5 3
f( x) x
8
5 6 , 5 ,
6.
, 8 , [Backspace]
, [*].
,
[Spacebar] .
[\].
1 . x x 3 , x 3
2
1/2[Spacebar]*x.

, Undo Edit
. , ,
.

Mathcad-. Mathcad

x 1.5

3.
2 .x2 x 2 = 8.75
2

19

2 5 .
2 .( x 5) x 2 = 22.75
2
x .

. . .
, x 2 ( x 5 ) 2 . x x-5.
2 -2. 2
, -.
3 . 3 5.
2
, .
. [Backspace] . [-].

, , :

score 3

1
score 6
2
result
score 2 3

result = 0.583

score:3[Enter]
result:score+6[Spacebar]\+1/2[Spacebar]
[Spacebar]/score^2[Spacebar]-3[Enter]
result=[Enter]

,
Mathcad- .

9:

Mathcad- . , x
0 10,
x:0;10
,

- [;], ( ..)
. Mathcad- .
Range Variable

Matrix.
. Mathcad
[=]
20

.
x 0 .. 5
2 5.
f( x) 2.( x 5) x 2
2

x=

x
0
1
2
3
4
5

f(x)=

f( x)
52
31.5
15
2.5
6
10.5

1 ( ),
. , x 1
10 0.1 , :
x:1,1.1;10

, - [;]
. , :

x:1,1.1;1.8
x 1 , 1.1 .. 1.8

data:-10,-8;0
data 10 , 8 .. 0

n:202,192;102
n 202 , 192 .. 102

x=
21

x
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8

data=

data
10
8
6
4
2
0

n=

n
202
192
182
172
162
152
142
132
122
112
102
.

10:
. Mathcad, ,
22

, .
Mathcad- .
, v ,

v:
Matrix Insert ( matrix Vector and Matrix )

. , 3 1 .
Insert.
. [Tab]
, .
3.3
v 1.2
8
, subscript,
( [ ),

Matrix. 0:
v[0=

v0 = 3.3
1:
v[1=
v 1 = 1.2
2 , :
v[2=
v2 = 8
z , v[2,0

,
:

i:0;2
i 0 .. 2

v[i=

vi

3.3
1.2
8
, . Mathcad-
, 0.
0 Mathcad-. , :

i:2;5
i 2 .. 5
greska[i:1
23

greska i 1
greska =

0
0
gresk =
1
1
1
1
greska (, , ). ,
, . Mathcad, , .
, Mathcad 0 .

. ,
:
b 9.7

a 1.1
v 3.
f( v) v a
9 .b2
:
3.3
v 1.2
8

i 0 .. 2

f vi

1.11
1.098
1.131

.
. :

f(x):[Ctrl]4x
f( x) x
,

Vector and Matrix.

3.3
v = 1.2
8

f ( v ) = 10.1

Vector and Matrix,


:
24

[Shift]8 v. w

[Ctrl]8 v w

| M

[Ctrl]6 M< 2 > ( M. ,


0)

Mathcad .
, M :
7 9 1
M 6 8 2
5 7 3

cols ( M ) = 3
rows ( M ) = 3
max ( M ) = 9
11.526

eigenvals ( M ) = 11.463
1.938

11:
Mathcad x-y . ,
, , sin(x), X-Y Plot

Graph, X-Y Plot Insert/Graph. [Enter] !


:
25

1
0.999982

0.5

sin( x)
10 5 0 5 10

0.5

0.999982 1

10 x 10
!
x. y^2[spacebar]-3*y, @
( x-y ). Mathcad
. :

1. z . cos ( z )

2. 1
1 x2


, Mathcad .
.
, :
. , :
f(x):-x^2[Spacebar]+8*x-27
f( x) x 2 8 . x 27
. :
x:0;10
x 0 .. 10
, @ x-y x
f(x) .
[Enter].

:
26

10
0 5 10

20

f( x) 30

40

50

x
f( x) .
, x x 0 , 0.1 .. 10 .
, , Mathcad
.

x-y , ( Graph
Format) - . -
, , , , , , , .
x-y . Mathcad- -- , , ,
, . - .
x 0 , 0.1 .. 10

10
0 5 10

20

f( x) 30

40

50


troskovi.
Matrix Insert ; 8 1 .
27

2
3
6
8
11
12.5
14
17
-, (a)
troskovi () . (a), :

i:0;7
i 0 .. 7
[@]

troskovi[i
troskovi i

y , i x . :

(), ,
, dan:

1
2
3
5
dan
7
8
10
12
28

2
3
6
8
=
11
12.5
14
17
: @,

troskovi
troskovi

y ,

dan
dan

x .

20

15

10

0 5 10 15
"points" .
.


. ,
.
, , . :
.

f(x):x^2
f( x) x2
. x: [Ctrl]M ,
- Insert Matrix (, 5 1 ), OK.
.
29

2.2
0
x 3.56
9.9
13

.
i:0;4
i 0 .. 4

@ y x f x x . :
i i

200

150

f x 100
i

50

5 0 5 10 15
x
i

( 1, 2, 3, ..., 10). .


. ,
1
z 2 .
z
@:

1/z [Spacebar] , z^2 @ [Enter] :


30

10

1
z
2 10 5 0 5 10
z

10

z, z
,
. .

f(x):sin(x)

f( x) sin ( x )

g(t):t^3
3
g( t) t

x:-10,-9.9;10

x 10 , 9.9 .. 10

t:-2,-1.9;2

t 2 , 1.9 .. 2

,
@ .
, x,t.
, f(x),g(t).
[Enter].

:
31

10

f( x)
g( t ) 10 5 0 5 10

10

x, t
, ---
(,). .

12:
.
, Formatting
Mathcad- . ( Formatting ,
, Formatting View.) -
.
:
x 1 , 1.1 .. 10
,
.
5.
f( x) 2 .( x 5)2 x 2
2
, "" Courier 12-point bold-.
Times New Roman 12-point bold italic.

f(x).

20

0
f( x)
20

40
0 5 10
x
32

, . .


:
"" .
.
Formatting ,
bold, italic, .
Text Format.


Formatting .
, Style Format.
, .
. ,
File New Template.


, Mathcad
( ) (),
.
Formatting Equation Format
.
Mathcad . (highlight) .
Properties/Highlight Region Format .
,
Color Format.

13:
, ,
Mathcad-. :


P:500
P 5000

r:.07
r .07

n:365
n 365
A t , . A(t)
A(t):P*(1+r/n)^n*t
.
r nt
A ( t) P. 1
n
t
A(3)=
3
A( 3) = 6.168 10
33

. Mathcad ( )
1000 ,
.
. :
(A(3)=), Number Format.
- Number Format.
Exponential Threshold 3 6 ( > 3).
Displayed Precision 3 2.
OK.
A ( 3 )
A ( 3 ) = 6168.27

-- ., A ( 3 ) .
,

.
Number Format.
Exponential Threshold .
Displayed Precision .
OK.

Number Format, , , :



(, , ) .

, , -
(), Graph Format.

f(x):sin(x)
f( x) sin ( x )

g(y):cos(y)
g( y) cos ( y )

x:-10,-9.9;10
x 10 , 9.9 .. 10

y:-2,-1.9;2
y 2 , 1.9 .. 2
34

0.5

f( x)
g( y) 10 5 0 5 10

0.5

x, y
:

@ .
, x,y .
, f(x),g(y).
[Enter]. . ,
X-Y Plot Format. -
Graph/X-Y Plot
Format Format.
Traces.
trace 1, Color green ().
trace 2 Line dadot ().
OK.


. , . . .

2 1 0 1 2

. . . . . .
35

2
2 1 0 1 2
( ), ,
, , .

Trace Zoom Graph. , ,

.

14:
Mathcad-
. ,
kilometers km.
:

r:6370*km
r 6370 . km
A(r):4*p[Ctrl]g*r^2
A ( r) 4 ..r 2
( Calculator Greek Symbols.)
, :

A(r)=
14 2
A ( r ) = 5.099 10 m


SI.
(hectares), .
- Insert Unit.
.
14 2
4 . . r 2 = 5.099 10 m

10
4 . . r 2 = 5.099 10 hectare
Mathcad- , ,
. Mathcad, Unit
Insert.
w 100 . joule
w = 100 m N
36

10 . m
6
m
smoot 5.23 . ft
6
smoot = 1.594 10 m
7
m = 6.273 10 smoot


. ,
(newtons) ( ) . . .
m
a 10 .
sec

mas 2 .k

F mas . a

F = 20 s newton

seconds. ,

a sec 1 .

15: MathCad- ( Mathcad


Professional)


. Mathcad-
, -, , ,
.

.
.

,
:
,
.
,
.
37

":".

Math Programming
.

"Add Line" ].

( ).

, "z"
.

( z .
. Mathcad-
":=", . "<-".)

"x/w" .

. "log(z)" .
.



38

:
.
Math Programming
.
"If" Shift+]. "if".
, boolean .
"Add Line" .
"otherwise". "otherwise".
.
:
"if" "otherwise" , "otherwise"
.

( )
. :
"For" .
"While"
.

, .

"FOR"
"for" .

"for"

"for" .
Math Programming
.
"for" Ctrl+". "for".
"e", .
"e", (
, , ,
).
"Add Line" .
,
"while" .

"WHILE"
"while"
. .
Esc.
39

"while" :
"while" .
Math Programming
.
"while" Ctrl+]. "while".
"while", boolean . "Add Line" Programming
.
"while", . "Add
Line" .

"While"
. , "for"
.

"BREAK"
"break" .

"break" :

"break".
Math Programming
.
"break" Ctrl+{. "break".

Mathcad "break" for while :


1. .
2. .



. ,
. , continue.
"continue" :

40

"continue".
Math Programming
.
"continue" Ctrl+[. "continue".
continue, , ,
.


, . ,
return.

"return" :
"return".
Math Programming
.
"return" Ctrl+|. "return".
"return", .

"Return" .

, on error

:
41

"on error".
Math Programming
.
"on error" Ctrl+'. "on error".
"on error", ,
.
"on error",
. "Add Line"
.

. ,
.

1. ,
2. .

: f(n+1) f(n),
f(0), f. , ,
, , .
.

:
(1) .
(2) Ctrl + .

1.
2.


Mathcad-, .
Mathcad- :

ToolTips
QuickSheets ('' '')
On-line Help
-
World Wide Web MathSoft

42

ToolTips
,
tooltip :

Mathcad-
.

Resource Center QuickSheets


,
Mathcad- '' ''-QuickSheets. QuickSheets
.
300 QuickSheets. QuickSheets , QuickSheets
Resource Center-.

On-line Help

on-line Help ,
Mathcad-, . [F1] , Help Topics
Help, Help .

-
- Mathcad- Help
Mathcad- . ,
, , Mathcad-
[Shift][F1] Help .

World Wide Web MathSoft


, World Wide Web MathSoft
Mathcad- , , .
Web browser- (. Netscape Navigator, Microsoft Internet Explorer, .)
MathSoft- http://www.mathsoft.com/.

MathSoft Collaboratory
Collaboratory MathSoft- File .

.


, The Mathcad Treasury, . (Paul R. Lorczak),
Mathcad-. Resource Center.
Mathcad- ,
. , , ,
Mathcad- .

You might also like