Вы находитесь на странице: 1из 27

-

( )

:
MathCAD

: .-11-2

___________

..

____________

..

()

()

()

-
2012

(...)

(...)


..3
1. ...4
1.1 MathCad4
1.2 MathCad 2000.5
1.3 MathCad6
2 MathCad 10
2.1 .10
2.2 .. 11
3. MathCad...15
3.1 ...15
3.2 ..17
3.3 ...17
3.4 ....17
3.5 ..19
3.6 ..20
3.7 23
3.8 .24
...26
.27

.
-
.
, ,
. .
,
.
,
.

(Eureka, MathCAD, MatLab .).



MathCAD.

1. .
Mathcad ,

, .
MATHematica () CAD (Computer Aided
Design , ).
Mathcad .

Mathcad

.
, , ,
,
.
Mathcad , , , , ,
, ,

,
.
Mathcad
, .
Mathcad
,
,
Windows,
.
Mathcad ,
()
. , ,
.

.
.
, Mathcad

, .
MathConnex. 1999
Mathcad 2000.
, ,
.
1.1 Mathcad.

Mathcad 2000
:
1)

, ;
2)
MathConnex

,
Mathcad ;
3)

4)

;
5)

,
;
6)

QuickSheets
,
;
7)

Windows
95/98/NT, ,
,
( ) OLE2.

.


.

.

. Mathcad 8.0,
.
Mathcad 2000
.

,
, , , ,
.
. ( )
5

.
Mathcad 2000

.
MathConnex. ,
,
Mathcad, Excel, MATLAB .
, ,
, MathConnex .
1.2 Mathcad 2000.
Mathcad 2000 :
1. Mathcad 2000 Standard ,
;
2. Mathcad 2000 Professional ( PRO) ,
- ,

;
3. Mathcad 2000 Premium -
, .
, Mathcad
. , , ,

, ,
, , . .
,
,
. Mathcad 2000 PRO
.

Mathcad 2000 Premium.
1.3 Mathcad.
Mathcad .
.
Mathcad 7.0 PRO
:
2000;
6

Word 95/97;
Enter (
Ctrl+F9);
Backspace ( Ctrl+FlO);
;

= ( : =),
==
;
'(QuickPlot)

;
;
;
;
on error.continuen return;
;
, ;
;
;
,
, Collaboratory;
;
(Resource Center)
QuickSheet, , .;
() ,
, MathConnex, 16
;
(Excel, Axum,
MatLAB .) .

, = (
; =).
,
MathConnex,
, .
Mathcad 8.0 PRO
:
50 (, ,
.);
maximize minimize;
;
;
7


( 50),
200;

,
;
;
;
Microsoft Office 97
;
;
;
Find () Replace ( );
;
;
HTML,
;
;
Open GL Active X;
;
;
;
( )
;

;

, ;
;
Shift.
, Mathcad 2000
:
,
;
- ,

Given,
.;
,
, .;
;
root
( ),
( );
8

;
,
;
;
;

.

Mathcad , ,
.

2 Mathcad.
Mathcad .
,
, .
MathCad :
1.

, ,
.
2.

,
.
3.

, .
4.

,
.
5.

.
.
6.

7.
,
, .
8.

,
.
,
.
2.1 .
MathCAD . m n
.
ORIGIN .
1)
mean()-
m n
1 m1 n1
mean( A)
Ai , j
mn i 0 j 0

10

2)
median(A)- m n .
,
. ,
.
3)
var(A)-
m n
2

1 m1 n1
var( A)
Ai, j mean( A)
mn i0 j 0
4)
cvar(A,)-
m n
1 m1 n1
c var( A, B)
Ai , j mean( A) Bi , j mean( B)
mn i 0 j 0
- .

5)
stdev(A)- (
) m n :

stdev( A) var( A)
6)
corr(A,)- :
m n .
2.2 .
,
, . MathCAD:
(
) (
-).
, ,
,
. - .
,
.

, . MathCAD
,
.
, ,
, ,
, MathCAD 0 ,
.
11

1)

Mathcad
. linterp,
.
linterp(vx,vy,x) vx vy,
, .
vx vy . vx
,
.
,
.
.
, vx, MathCAD
,
. , vx, MathCAD
,
.

vx
, ,
. linterp
,
.
2)

-
,
.
, .
,
.
:
vx vy, ,
. vx
. ( vx, vy vs,
; .)
vs:=cspline(vx,vy). vs
.
, 0,
interp(vs, vx, vy, x0), vs, vx vy , .
12

, , :
interp(cspline(vx,vy), vx, vy, x0)
, , inlerp
. cspline ,
,
, ,
.
cspline vs
, vx vy.
vs , interp
.
, vs ,
. vs
, ,
.
cspline MathCAD
-. -: cspline(vx,vy),
pspline(vx,vy), lspline(vx,vy).
, vs. , vs,
interp, . vx vy
. vx
.
:
lspline ,
.
pspline ,
.
cspline ,
.
interp(vs,vx,vy,x)

,
x. vs
vx vy lspline, pspline cspline.

. ,
vx, MathCAD
. , vx,
MathCAD
.

vx
, ,
. , .
3)


13

, ,

.
, ,
. MathCAD predict,
. ,
,
, .
,
.
predict(v,m,n) n , n
v. v
, .
predict n ,
. ,
n , (m+1)- ,
m .

14

3. MathCad.
MathCad .
:
.
, ,
.
. MathCad .
, ,
.
, .
.
3.1 .
.
. ,
, ,
. ,
, ,
() .

. .
, .
.
,
, .
, ,
.
.
.
(. 1) View ()
Math ().
:
Arithmetic () ,

;
Evaluation ()
;
Graph () ;
Matrix ()
;
Calculus () ,
;
15

Greek ( )
( ,
CTRL+G,
[a][CTRL+G] , [W][CTRL+G]-);
Symbolic ( )
.
.
,
Evaluate Expression
( ) Evaluation ().

. 1. thcad .

:=,
Assign Value ( ) Evaluation
(). .
, , ,_ ,
.
. ,
, Vinit. ,
, -.
, ,
. ,
.
16

3.2 .
, ,
, .
MathCad
.
,
.
Insert > Text Region ( >
).
.
Insert > Math Region ( > ).
3.3 .
MathCad
Formatting ().
,
, ,
.
.
.

Style () Formatting ().
.
,
Formate Equation ( ^ ).
Variables () Constants ()
.
. , -
.
.
Format > Style
( > ).
3.4 .
MathCad
.
Insert Matrix ( ),
Insert > Matrix ( > ). ,
.

17

,
.
, .
: ,
, .
: ,
,
. , + 3, ,
, 3.

, ,
Vectorize () Matrix ().
:

. 2

.
.
,
. Subscript ()
Matrix (). ,
, . (, )
, .
,
18

, <0>. Matrix Column


() Matrix ().
, I,J:= i +j, .
,
, , .
, ,
.
(..).
, x:= 0,0.01.. 1.
( ,
),
. ,
66,
i:= 0..5 j:= 0..5.
, .
.
, 5,5:=1 66,
, , 0.
3.5 .
MathCad
root. f(x) = 0,
f () , , a x .
root,
, :
root(f(x),x). f(x) ,
. root
, f(x) 0.

19

.3

( ),
, root,
. (),
, given
() find ().
,
, , .
, ,
.
, ,
, Boolean
Equals ( ) Evaluation ().
.
find,
.
, .
3.6 .
-,

20

Insert> Graph > X-Y Plot ( > > ).



.
,
. .

, .
.
.
,
.
Traces ()
. ,
, .
Legend Label () ,
Hide Legend ( ). Symbol ()
, Line ( )
, Color () . Type ()
, Width () .

. Insert > Graph > Polar Plot
( > > ).
, .
Insert > Graph > Surface Plot ( >
> ), Insert > Graph > 3D Bar Plot
( > > ) Insert >
Graph > Contour Plot ( > > ).
Insert > Graph >
Vector Field Plot ( > > )
.
,
.
,
.

Insert > Graph > 3D Scatter Plot ( > >


) ,
-, - z- ,
.
. , . , , ,
-, - z- .
Insert > Graph >Surface Rot ( > > )
.
21

,
.

.4 .

22

3.7 .

,
(, ). ,
. MathCad
, ,
.
Symbolics
( ). (
),
Symbolics > Simplify ( > ).
,
, ,
, ,
( eInx).

Symbolics > Expand ( > ).
Symbolics > Simplify ( > )
. , :
,
;
,
;
;

.
Symbolics ( )
, ,
.
Symbolics> Variable (
> ). Solve () ,
, ,
2 + bx + ,
Symbolics > Variable > Solve ( > >
), :

1
( 2 a)

1
( 2 a)

2
2
b b 4 a c

2
2
b b 4 a c

23

:
: Symbolics >
Variable > Differentiate ( > >
) Symbolics > Variable > Integrate (
> > );
: Symbolics > Variable > Substitute (
> > )
;
: Symbolics > Variable > Expand to Series
( > > ),
-
: Symbolics > Variable >
Convert to Partial Fraction ( > >
).
,
,
Symbolic Evaluation ( )
Evaluation (). , ,
.
, (
),
find(x,y,...), ,
, ,
.
. Symbolic Keyword Evaluation
( ) Evaluation
(). Symbolics
( ). ,
Symbolics ( ),
.
3.8 .
MathCAD,
, - . MathCAD, ,
,

. ,
break.
MathCAD
:

24

Add line

if

while

for

break

otherwise
1)
Add line - , ,
..
2)

- .

3) While -
: while .
while (),
, ( while ) - .
4)

If - .

5)

Otherwise - :
C D if A > B
E F otherwise

6)

for - .

7)

Break - .

25

.
, ,
. MathCad,
, MatCad,
MathCad 2000
.
MathCad ,
MathCad. ,

MatCad.

26

:
1. .. .
2. . Mathcad 2000.
3. .. .. Mathcad 2000

27