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

!

" ,

,

MS Excel,


. Excel

,


".

Microsoft
Excel, ,
VBA
,
,
, ,
,
Excel

..


"

http://www.williamspublishing.com

http://www.diaiektika.com

Microsoft
Excel

Microsoft
Excel
..

"'
-
2004

32.973.26-018.2.75
19
681.3.07

""
. ..
"" :
info@dialektika.com, http://www.dialektika.com

, ..
19

Microsoft Excel. -- M. :
"", 2004. - 512 .: .
ISBN 5-8459-0573-7 (.)
Excel - . Excel,
, ,
, ,
, . Excel . Excel.
Excel Maple. , .
32.973.26-018.2.75

.

, , ,
"".
Copyright 2004 by Dialektika Computer Publishing.
All rights reserved including the right of reproduction in whole or in part in any form.

ISBN 5-8459-0573-7 (.)

- "", 2004


I. EXCEL
1. Excel

17
18

2. Excel

109

3. Excel

187

II.
4.

291
292

5.

391

6. Excel Maple

457

506

510

Excel

I. EXCEL
1. Excel


Excel



File
Edit
View
Insert
Format
Tools
Data
Window
Help


Formatting












11
11
12
14
15
16

17
18
18
18
20
24
26
27
28
30
33
35
36
38
40
41
42
44
44
46
47
49
49
51
53
54
55
56
75
88
97
97
103

106
107

2. Excel
Excel



-

Excel

















109
109
109
111
112
118
119
121
121
122
125
126
128
133
136
136
139
142
146
146
150
153
157
158
168
174

3. Excel




VBA
VBA
File
Edit
View
Insert
Format
Debug
Run
Tools
MemoAdd-Ins
Window

187
187
188
190
192
193
194
195
197
200
202
203
206
208
209
210
211

Help



User Form









II.

212
214
215
216
217
224
224
230
232
237
243
246
247
260

291

4.

Excel













292
293
305
317
324
337
337
342
345
353
364
364
373
380
381
383
386

5.





Excel

391
392
392
396
402
403
404
405
416
416
419





Descriptive Statistics

Moving Average



420
424
424
428
436
439
442
444
446
446
452

6. Excel Maple
Maple Excel Add-In
Maple
Maple
Maple



Maple Excel



Maple Excel



Maple Excel
Excel
Maple



457
458
460
461
464
465
466
467
470
470
472
475
483
484
486
488
490
490
492
493
493
495
497
499
502

506

510
510
511


Excel
. . , . .
: , -, , , , .
.
, ,
, , , ,
" ". ,
. , , , . , ,
. ,
,
, . ,
. , .
, , : ( , ). , ,
, .
. Excel Microsoft Office. . ,
, - .
, , ( Microsoft Office),
, , ( Word). , , , . , Excel . , ,
. ,
. , . -

, , , ,
Excel, , . , Excel , .
- , ,
. . ,
,
Excel.

, , , .
Excel. ,
, , . Excel . , , , .
.
,
, , Microsoft Office,
Excel. , . ,
Excel .
. , ,
Excel Maple . , .
. , Excel .


, . Excel . 1 . ,
.
,
( ). , Microsoft Office,
.
2 , .
, , ,
.

12

Excel 3.
VBA ( Visual Basic for Applications), Excel Microsoft Office .
VBA, ,
. ,
Excel.

Excel . , 4 : , ,
, , ,
. , Excel , , (
), . .
5 , , Excel .
, , - . , .
, 6 Excel Maple. , , ,
. ( , Excel Maple),
, .
, , , VBA .
, "" . , . ,
, , .
,
( , ),
.
: , , .. . , ,
, . ,
, Excel
Maple. ,

Excel.

13

Excel 2002
Microsoft Office XP. , , Excel 2000. , .
, Excel ,
( ). ,
, , (, , , ..).
. , , , .
, , .. , , , .
,
( ,
). , , ,
, , ,

Excel. .


, , vasilev@univ. kiev. ua. , . , .
, .

14


"" .
,
.
, , ,
(Southampton).
, .
(Tim Sluckiri) , .

, . , .-. , .
, .
, , .
. ,
. (last but not least), .
,
.

!
, , .
, ,
"". ,
.
.
, Web- . ,
, , ,
.
, ,
. . :
E-mail:
WWW:

info@dialektika.com
http://www.dialektika.com

:
:
:

115419, , / 783
03150, , / 152

Excel
...

Excel

Excel

Excel

Excel
...




, , ,
. ,
, .


,
. , . : ?
.
, , . , . ,
. ,
, .
. ,
, , . , , . . ,
.

Microsoft Excel
Microsoft Office. , .

, , . , , , .
, , , - ,
.
( ). , ,
Excel . , Excel
, , , Maple
MathCAD, .
,
Excel ( ,
). , Word, Excel
.
Excel
. , ,
( , ). Excel . ,
, , .
, , , ,
.
-, , .

. ,
Excel. - .
.


, , .

1. Excel

19

Excel
Excel , , Start
(), Programs () Microsoft
Excel (. 1.1).
- . xsl . , .
. , , , .
, . 1.2.
(Microsoft
Excel) .
Book 1 ( 1). , , , , ,
.
. , , Microsoft Excel 2002. , , .

-3

Accessories

I CJ3 Startup
' ^ Internet EwptoWf
Si SephotAnWirus
5j Mictotoft Oflee Tools
|2 Microsoft Access
: ^ MicrasoftOilfook ;;
OH MicratoftPoweiPorit '
[PJ Microsoft Pubfchet
_j GhostsoW

AaobatReader5.1
@ Adobe
[SI MicrasaltWofd
_r) WWW)

as.t .J ;

^ Expforet.ejte

. 1.1. Microsoft Excel

20

I. Excel

I F3 Micmsofl Excel - Bookl


Cata

Sjndow

ttdp

- 10

@,
<

4 Workbook

Open a workbook __
Notes.xls
Forms, xts
Example, xk
MyData.xls
^ More workbooks...

New
D Blank Workbook
New From existing workbook
[} Choose workbook...
Newlromjternplate
1] General Templates...
[J Templates on my Web Sites.,.
wj Templates on MicrosoFt.com

Cj Add Web Folder...


8} Microsoft Excel Help
Irj Show at startup

!
Reedy

. 1.2. Microsoft Excel


, , (. 1.3).
Qte

Sew

fistrt

Format

Tools

Qata

dc

. 1.. Microsoft Excel

.
: File (), Edit (), View (), Insert (), Format
(), Tools (), Data (), Window () Help ().
, .
.

. , Data
Chart ().

.
Excel , , , . (Standard)
(Formatting). . , , . 1.2. , . ( , -

1. Excel

21

, ), .
. 1.4 , . 1.5
.

. 1.4.

EArW

___

'

- - I : at g! ; > % ,
:

_.

. 1.5.

(
). (
1 ) . 1.6.
1

. ' ' *

. 1.6.

, ,
( ).
. .
, ,
, , .
, . .

( ) . :
( , . 1.6), ( ) . ,
, 2 ,
.
. ,
View^Formula Bar. ,
.
(. 1.7),
(
, , ..), .
Microsoft Office , .

.22

\. Excel

. 1.7.
Excel , ,
, Sheetl (1), Sheet2 (2) Sheets ().
(. 1.8).
( ).
(. 1.9). ,
,
. . 1.1.

kSheetl

. 1.8.

. 1.9.

1.1.

]
j
3

,



,

!
. .
, .
, , . ,
. , . , 1.
, , . 1. Excel

23

65 536, 256.
: Z ,
.. AZ , IV.
16 .
! , Excel R1C1.
, , . R ,
, . , 1
R11, 4 R4C2 ..
, (. 1.10).
,
. , . 1.10 Ready ()
, ( )
( ). CAPS
, <Caps Lock> (.. :
), a NUM , <Num Lock>.

11

~~]

^^^
N \Sheet l/ShMt2.^9wet3/
Ready

Sum-10

|]
*
CAPS MUM

. 1.10. ( )

, , 1 4. 10,
( Sum=10).
. Excel ,
. :
, , ,
.
. ,
.
. .

. , View^ Status Bar.


, .


,
.
24

I. Excel

. , .
> , <Ctrl+Page Down>.
<Ctrl+Page Up>.
> , . , <Ctrl+Backspace>.
> ,
. , <Scroll Lock>. SCRL, , .
> <Alt> ()
, . ,
(</>).
- ,
Tools^Options (^) Options,
Transition (),
Microsoft Excel menu or Help key ( Microsoft Excel
Help) (. 1.11).

Color
Vtew

Calculation

j Save [Microsoft Excel Workbook


; Settings
Wcrosoft Excel or
<" Microsoft xcei menus
.(". Lotus 1-2-3 Help
~ TransHon navigation joeys
Swet Options
~ TransfctonomtJa evaluation
* foniya entry

Puc. 1.11. Transition Options

Transition navigation keys ( ,


Tools^Options, Transition)
. , , <Ctrl>, , .
, ,
,
. , . , . 1.12 1. , 1. Excel

25

, <Ctrl>, , , ,
, , G1, G3, G5 5 . , , ,
G11 ( <Ctrl>), IV11. , G11 , .

Distance!
6 jDistance2
rjOretanceS
i%i*tance4
Speed!
Speed2
Sped3
Speed4
Speeds

Puc. 1.12.

, <>.
1 <Ctrl+Home>.
<Scroll Lock> <>
( ) , <End> ( ) .
<Ctrl+End> .
. ,
, .
.


, ,
, ,
.
, .

26

I. Excel


, ,
. .
.
,
. .
, , .
Insert (). . 1.13
, . 1.14 .
. 1.13.
Insert

BOWS

Css...

Columns

BOWS

Sorksheet

Puc. 1.14.
Insert

Columns

Crjart...

Worksheet

Symbol...

Bcture
Hyperlink... .
5

Pagegreak

Ftjnction...
Same
Corjiment
Bcture
Diagram...

fibject...
Hyperlpk...

. Always
show full menus ( ) Options Customize () (. 1.15). , Tools^Customize.
.

Tootjars | Commands Options


Personalized Menus end Toolbars
W show Standard and Formatrjig toobars on two rows
sJTowTtSTmegj*:! .
fyl menus after a short delay
* my usage data

fc names tn their font .


' Show Screenjjps on toolbars

. 1.15.

1. Excel

27

,
. , Hyperlink () . 1.14 <Ctrl+K>. , , .
.
,
, , ,
. . , , , .

File
File () ,
. . 1.16. File
. 1.2.
,
. ,
Save as Web Page no . (
) . ,
, , .
, , . ,
.
a questiwi for

f* _ ff x

100%

New
Open a workbook
Notes.xte
MyOata.xls
Forms.xls
Example.xls
More workbooks

General Templates,,.
Templates on my Web Sites...
Templates on Mfcroscrft.com
1 \Vaslev\ExceNJsting5\Notes.xls

Mail Recipient (as Attachment)

I \Vasfev\ExcelV.istino.s\MyDeta.xls

Routing Recipient...

J \Vesfcv\Excel\LUtings\Forms .xb

Exchange Folder...

1 \Vasitev\Excel\Lislhgs\Example.xl5

Crtne

Exit

. 1.16. File

28

I. Excel

Add Web Folder.,.

Microsoft Excel Help


Show at startup

1.2. File

New ()

<Ctrl+N>

Open ()

<Ctrl+O>

Close ()

Save ()

<Ctrl+S>

Save As ( )

Save as Web Page


(
Web-)

Web-

Save Workspace
(
)


.
,

Search ()

.
, ,

Web Page Preview


(
Web-)

Web-

Page Setup (
)

Print Area (
)


: Set Print Area
( )
Clear Print Area (
).
,
,

1. Excel

29

. 1.2

Print Preview ( )

Print ()

<Ctrl+P>

Send To ()

Properties ()

,
.
,

Exit ()


Excel

Edit
Edit ()
(. 1.17). Microsoft
Office. , , File. . 1.3 Edit .

D Blank Workbook
New fromi odfUng workbook

General Templates,..
|

. 1.1'7. Edit

30

I. Excel

uk] Templates on my Web Sites,

1.3. Edit

Undo ()

<Ctrl+Z>

Repeat ()

<Ctrl+Y>

Cut ()

<Ctrl+X>

()

<Ctrl+O

Office Clipboard (
Office)

Paste ()

<Ctrl+V>

Paste Special
( )

Paste as Hyperlink
(
)

Fill ()

Clear ()


Office.
24





,


.
,

,
, Internet
,



.

( )

1. Excel

31

. 1.3

Delete ()

Delete Sheet (
)
Move or Copy Sheet
( )
Find ()

<Ctrl+F>

Replace ()

<Ctrl+H>

Go To ()

<Ctrl+G>

Links ()

Object ()

,

,
.

. ,

(, ),


.

. 1.17 ,
( Undo Repeat, )
( , ),
Can't, .

( . 1.17 ), .
. , , , ,
.
. (
Excel), .

32

I. Excel

, , , ,
. , Repeat .

View
View () ,
Excel.
. 1.18, . 1.4 .

I Microsoft Excel - Bookl


iS] Be

E*

Be | Insert_ Farmat __loote

Qaca

WJndow

rjelp

"

Tv : ! ,

--..'

L.-ivr.flr,

mal

i D a* H JB -
l

* jffli Eag Break Preview

Arla

A1
A

loobars

is

^% Borders

Control Toolbox

nts

;M Oawing

Custoni Views...
L'f

..; .... .

FormiJa Auditing

Picture

jj| Task Pane

^r x

D Blank Workbook

,: New from template


$ j General Tempiates . , .
Lit] Templates on my Web Sites. . :

, Reviewing

"" '

- * New wtrttock-.V. ",;.:

I! New from exKtinfl workbook

i^] Choose workbook...

Protection

L
N

PivotTable

;^ Forms

, New

^; External Data

een

FyllS!

'^: ' ' l^:


j . Open a workbook
Notes.xls
MyData.xls
Forms.xls
Example.xls
j fir More workbooks...

?| Formattffig

&j TemplatesonMicrosoft.com

|
| Text To Speech
~~

, Visual Basic

1 M?\J5heeU_/SieeK / Sheets

M 4

Reair/

.._

tteada and Footer. . .

If

20
21

^J Standard

3 Status Bar

5
6
7
6
9

14
15

a Bar

|
3

11
12

|*1 Task. Pane

Watch Window

I -ll
j Q5 Add Web Pokier...

1 Web

1 WordArt
/

1
!T.

l?l Microsoft Excel Help


[vj Show at startup
HUM

. 1.18. View

1.4. View

Normal ()



.
,
. 1.18

1. Excel

33

. 1.4

Page Break Preview


(
)




.
,

Task Pane (
)

.
,

Toolbars (
)

. , , Customize
()
. 1.18. ,
:
( Standard) ( Formatting)

Formula Bar (
)

Status Bar (
)

Header and Footer


()

(,

)

Comments
()


.
Reviewing
()

Custom Views ()

34

I. Excel

. 1.4

Full Screen (
)

.

,

Zoom ()

,
. ,
(.. Full Screen)
. , ,
. 1.18 , . , , .

Insert
Insert ()
. . 1.19. 1.5 .

6*

Bw

Inset y=flnnat Jjxte

Qata

Xflnobw

Type ai question^ for he!c

H
H
B
i
Open a workbook
Notes.xb
MyData.xls
Forms.x!s
Example, xls
Q Morewortoooks...
New

>m existing workbook


Diagram...

loose workbook...

fibjert...

Hyperlink...

From Scanner or Camera..


+

?A Templates...
esonmyWebates...

Puc. 1.19. Insert

1. Excel

35

1.5. Insert

Cells ()

Rows ()

Columns ()

Worksheet ( )
Chart ()

Symbol ()
Page Break (
)

Function ()

Name ()

Comment ()

Picture ()

Diagram ()

Object ()

Hyperlink ()

<Ctrl+K>

, ,
.

Format
Format ()
(. 1.20). . 1.6.
, ,
. Cells ().

36

I. Excel

. 1.20. Format

1.6. Format

Cells ()

<Ctrl+l>

Row ()

Column ()

Sheet ()

AutoFormat ()

Conditional Formatting
(
)

Style ()

1. Excel

37

Tools
Tools () . . 1.21.
. 1.7 Tools. .

SJ Be

Bew .Insert

Format j loob t'Qata

D '? : : 5"9Arial

- 10

grtow

<::

' U J\^.
!9" ".

'" Speech
Share Workbook...
-,i Track Changes
I Cofnosre and Mtras
Protection
5 Or*ne CoHaboration
Goal Seek...

e Workbook
Open a workbook
Notes.xls
MyData.xls
Forms.xls
Example. x!s
More workbook-

Scenarios...
|> Irace Precedents
Tools on the Wefe...
p Macro

Trace Cependents
Trace Error

Add-lns...
1?

AutoCorrect Options..,

Iff Customize...

Evaluate Formula
Show Hatch window

Options...

Formula Auditing Bode

SJVM4 Formula Auditing Toobai

Puc. 1.21. Tools


1.7. Tools

Spelling ()

<F7>

Error Checking (
)
Speech ()

Share Workbook
(
)
Track Changes
(
)
Compare and Merge
Workbook (
)
38

I. Excel





,
Text To Speech ( )

()
(
,



( )

.1.7

Protection ()

Online Collaboration

( online)
Goal Seek (
)

Scenarios ()

Formula Auditing
( )
Tools on the Web
( Web)

Macro ()

Add-Ins ()

AutoCorrect Options
( )
Customize ()

Options ()

,


online
.

,
,




()


,

Tools Microsoft Office, .


, Excel,
. , ( 3), ( 2 4).
, (
) . ,
( - ), , , .
1. Excel

39

Data
Data () , . Data . 1.22,
. 1.8.
Microsoft Excel - ookl
fgj fie

E*

ew

insert

Format

loots j Qata jJSMow

D * H eii u S a:^ * %i ijti; sort...


Anal

- 10

I U l

""^^"""TBBI'.''.*.

-"!:

Subtotals...

fonVfaook

i Validation..,
'

kbook
df
i.xls
xls
e.xls

labte...
Text to Columns...
Consolidate...
5roup and Outline
EivotTabteendPivotChartReport...

5 Import External Oata

Sroup...

LSigroup...

New from
| (%'] G
|M < T"M\Sheetl /ShMttiX Sheets /

>

ir', JtLI

Settings...

Ready,

Puc. 1.22. Data


1.8. Data

Sort ()

Filter ()

Form ()

Subtotals ()

Validation
()

Table ()

Text to Columns (
)

Consolidate ()

40

I. Excel

. 1.8

Group and Outline


( )
PivotTable and PivotChart
Report ( PivotTable
PivotChart)
Import External Data
( )

Refresh Data (
)

.
, . , , ,
.

Window
Window () (. 1.23)
. Window . 1.9.

Microsoft

!gj 9

Sew

: D * c$ SI
'f Arid

'[-

lads

Format

& El v^

10

Excel

Insert

Beta [ Bin*" |jjMP

. e X

2i i: 11 4} g

-ewWindow

I*. <?
!

Bookl
wiquKUwfoheip

Arrange...

.. : Jnhde..

v Nw Workbook

' X

Split
3

| Freeze Pane,

1
7

2Book2

|v[ JBookl

Notes.xls
M/Data.xls
Forms.xls
Example.xls
^ workbooks...
D

10

>

H\Sheetl/Sheet2

/Sheets/

Ready :

HI

Blank Workbook

,i N ew from existing workbook


|f~i

.1-

Puc. 125. Window

1. Excel

41

1.9. Window

New Window ( )

Arrange ()


.
,

Hide ()

Unhide ()

Split ()


.
,

Remove Split ( ),

Freeze Panes
( )



.
,

,
.

Help
Help () . 1.24. . 1.10, .

42

I. Excel

! E Excel - Bookl
' G! I''1'.'.:-.:-'-, ,.
Microsoft Excel Help

Fl

Show the Office Assistant


What's Ihis?

5hift-H=l

..

Office on the Web


Activate Product.. .
Lotus 1-2-3 Help...
Detect and Repair,..
About'

M\ShM*l 52 / /

|<

Puc. 1.24. Help


1.10. Help

Microsoft Excel Help (


Microsoft Excel)

<F1>


Excel

Show the Office Assistant


( )

What's This ( )

<Shift+Fl>

Office on the Web (Office Web)


Web-
Microsoft Office

Activate Product
( )

Lotus 1-2-3 Help (


Lotus 1-2-3)

Lotus

Detect and Repair (


)

About Microsoft Excel


( Microsoft Excel)

. , , . , .

1. Excel

43


Excel ( , ). , ,
:
. , , , ( ) -, , , -, , (View=>Task Pane View^Toolbars^
Task Pane).
. , : , ,
, .


. 1.11 (Standard)
.

! , , .

1.11.

44

I. Excel

. 1.11

,


,



.

.
.

(, )
,
( )
,




Drawing ()

Microsoft Excel

.
, .
.
, ,
, Show Buttons on Two Rows (
),
.

1. Excel

45

Formatting
. 1.12 Formatting ().
1.12. Formatting









. ,
. ,



,
( ,
..)








,
.
46

I. Excel


,
, Microsoft Office
.
. 1.25.
, Open a workbook ( ).
Puc. 1.25.
Book.xls
MyData.xls
tny.xls
Bookl.xls
More workbooks...
D Blank Workbook
New From exiting workbook
;5 Choose workbook.,.
General Templates...
'3ju Templates on my Web Sites...
& ] Templates on Microsoft.com

jj Add Web Folder...


G>l Microsoft Excel Help
iyj Show at startup

, . , .
More workbooks ( ).
, .
Blank Workbook
( ) New (). , Excel . ( ,
, .)
Choose workbook ( ) New from
existing workbook ( ) New from template ( ):
General Templates ( ), Templates on my Web Sites ( Web-), Templates on Microsoft.com (
Microsoft.com) ( ).
Web- Add Web Folder (
Web-), Microsoft Excel Help ( Microsoft
Excel), Show at startup ( ) .

1. Excel

47

New Workbook ( )
Excel.
, . 1.26.
Microsoft Office.
Clipboard ( ). , ,
. 1.27.
: 5 (=5), (
=1 +3), (4), (name) (1).
24 ,

, .
. 1.26.

4ew Workbook

Open

'

New Workbook
OpbcMfd

<i * S of 24-Clpbojrd
i

Search

!w,toA

i/.'Clear AH

Click an item to paste:


SPl-AS

*- X

Puc. 1.27.
.

Microsoft Office

,fc Insert dip Art

G$l lore workbooks...


New
D lank Work-book.
Newfr om existing workbook

-1+3

hoose workbook. . .

Newfr om template

ir<
m
fjl

eneral Templates...

emplates Web Sites...


emplates on Microsoft.com

Add Web Folder...


CJ MCrosofc Excel Help
E Show at startup
I Options -1

. , , , .
, ,
Search (). ,
. 1.28.

.
Insert Clip Art ( ClipArt) ,
Clip Art. . 1.29.

48

I. Excel

. 1.28.
.

" - Insert Op Art

Search For
Search text:

: :- :

. 1.29.
.
Clip Art

[search | i :
Search Tips.,.
WwSearch<jpUonc_
i Selected locations
Results should be:
5dectedffletvpes_

Other Search Options


Search in:
j All collections
Results should be:
I All media file types

[Vj

Fast searching is not instated


Instal...

Sec also

Seeabo

%| Advanced Search

Clip Organizer. ..

$& Find in this document...

^ Clips Online
(?) Tips for Finding Clips

, , Microsoft Office XP
, , .
, .

, .


Excel ( Microsoft Office)
. ,
Excel.


, , , . , ,
.
. . . 1.30
2.
2

. 1.30.

1. Excel

49

,
.
. . 1.30 .
, , .
. .
, . . '
, .
, .
, <Enter>.
! , , ,
. , , .
,
, . .
,
Edit directly in cell ( ),
Edit () Options, Tools^Options. . 1.31.

. Color

International I

Save

'Calcufatan' '_3|

Error CnecMng
Transport

Security

ctw

Settings
17 Extend fst formats and formulas
P Enable automatic percent entry

& Alow eel ! J-ag and drop


:

17 ( before ovetwlmo. eels

17 Show Past* Options buttons


P Stew Insert OpMonsbuttom

P ve selection after Enter


0ection:

[pawn

Elaces:

p"

; P Cut, copy, and sort objects with ce8s


17 A* to update automatic fc*s
,/P Provide feedback with Animation
.'7 Enable AutoCornplete for eel values

Puc. 1.31. Edit Options

. , Excel . , <Enter>, , . <Shift+Enter>, ,


. .
Tools^Options, Options, Edit
() (. . 1.31). Move selection after Enter (
50

I. Excel

Enter), Direction () . : Down (), Right


(), Up (), Left (). ,
,
<Enter>. <Shift+Enter>. <>. <Shift+Tab>. , .
, , .
. , , ,
. . 1.32 3. , ,
, . . 1,13.
. 1.32.

1.13.

Cancel
()

<Esc>.
,
<Enter>,
.


Enter ()


Insert Function (
)


Insert Function (
),

, , , .


, , . , , ,
, . ,
(+, , , , $, %, I, , ), .
.
1. Excel

51

. (=). , . . , , . ,
.
. :
1. (-). (+) .
, Excel .
2. , . , (25) , 25.
3. .
, , 10.
, 2, , 2000 ( 2
10 3).
4. . .
' . ( ).
. , . ,
, .
5. (/) .
. ,
Excel , . ,
1/4, 7 (1-).
, , , : 0 1/4.
Excel .
6. Excel ( %
) ( ). , .. ,
, .
.
,
. : , ,
, , .
, . .

52

I. Excel

!
. , , . , . ,
,
, .
, .
, .
. ,
, , , .

. . , .
, ( )
, .

. , <Enter>
. , , Format^Cells (<=>) Format Cells ( ) Alignment () Wrap text ( ).


. , .
, ,
. . .
1. <Enter>.
2. <Shift+Enter>.
3. <>.
4. <Shift+Tab>.
, , .
/, ()
, <> (
<Shift+Tab>) () ()
. () . , () ,
<Enter> ( <Shift+Enter>) ()
() .
1. Excel

53

. , . .
! ,
, <Enter>, <Ctrl+Enter>.


,
Excel,
. .
, "
", . 1.14.
1.14.

.
,

(
), . ,

i.

,
. , ,

, .

, , ,
: , , ..

54

I. Excel

. 1.14


, ,

. , (,
, )
. ,
,

. , ,
, .
.

. ,
, . (
Tools^Options^EditoAllow cell drag and drop ).
,
, .


,
, , .
Excel ,
,
, , , . , Excel.

1. Excel

55


, .
Format^Cells (^),
<Ctrl+l>. Format Cells ( ), . 1.33.

Patterns

Protection

Category:
Nurrbei
Currency
Accounting
Date
Time
Percentage
Fraction
Scentific
Text
Special
Custom

General format cefls have no


specific number format.

Puc. 1.33.

Number

Format Cells

Number (),
12.
Sample ().
. , ( Sample)
. , ,
, Category
( ).
Category ( ) ,
.
General (). , , . .
( ) ,
. , General ()
, .
. . , . ,
,
, .

56

I. Excel

General () Number ().


, Format Cells
, . 1.34.
, Sample .
Decimal places ( ), ( 2).
Use 1000 Separator (,) ( ), .
! , ,
, ( ,
).
Tools^Options, International ().
, . 1.35.
Number handling ( ) : Decimal separator (
) Thousands separator ( ).
( ),
( ). , (.. )
Use system separators ( ).
,
.
. .

1000 Separator (,)


Negative numbers;

Number fe used for general display of numbers. Currency and Accounting


; offer specialized formatting for monetary value.

Puc. 1.34. Format Cells


Number

1. Excel

57

Negative numbers ( )
. . , "" ( ), ,
( "")
.
Currency () Accounting ()
(. 1.36 1.37 ) ,
, .

view

UK'']*: Chart

|
Internationa

Color

Number handhg
gedmal separator!]!
f~ ta* system separators
PrMhg
;

p ASow M/tetter paper rejsfcdng

RigN ' He)


Defautctrection; jght-to>teft

Cursor Rwwjment: f* lop>cal


<"<

<? tefMo-rtght
. Wea current sheet rioJlMjHeft

" ^iov# control characters

Puc. 1.35. Options


International

Accounting
Date
Time
Percentage
Fraction
Scientific
Text
Special
ustom

Wegetive numbers:

formats are used for general monetary values. Use Accounting


afcgn dectnai points in a column.

Puc. 1.36.

58

I. Excel

. Excel Euro Currency Tools (


), . , Tools^Add-lns,
,
.
.
Date () Category ( ). . 1.38. , ()
( , ,
Sample). ( Locale (location))
() . , .
Nunfcw I Alignment ]

Font

j Border | Patterns j Protection |

; Samite-''Decimal places;

jj
Sne Mp the currency symbols and decimal panes n a

Puc. 1.37.

Wednesday, March 14, 2001

3/H

3/14/01
03/14/01
14-Mar
14-Mar-Ol
Locate (location);
i
'{English (United States)

.ZJ
' '

-i

! formats display date and time serial numbers as date values. Except for
items that have n asterisk O, appted formats do not switch date orders
wth the operating system.

Puc. 1.38.

1. Excel

59

Time ().
Format Cells ( ) . 1.39.
(.. ), Percentage () Category
( ). (.. 1) 100
(.. 100%). , , 12 1200%.
. 1.40,
Format Cells ( ) .

13:30
1:30
13:30:55
1:30:55
30:55.2
37:30:55
locate (location):

/ date and ttrae serial numbers as values, Except for


> en asterisk (*)/ af^fed formats do not switch date of time
orders with the operating system.

Puc. 1.39.

Number j AUgment j

Font

| Border

j Samite -
| 1200.00%

TJ
,

gedmal places:

Percentage formats rnufeply the cd value by 100 and (Jsplays the result wtth
e percent symbd.

Pwc. 14(7.

60

I. Excel

, , .
. .
(), ,
Fraction (). . 1.41.
, , Excel,
( , ). ,
. ()
. , (Up to one digit (1/4) (
)), , . (Up to two digits
(21/25) ( )),
. (Up to three digits (312/943) ( ))
,
. ,
(, , ..).

Up to two digits (21/25)


Up to three digits (312/943)
As halves (1/2)
As quarters (2/4)
As eighths (4/8)
As sixteenths (8/16)

Puc. 1.41.

. Excel . , ,
, . ,
0113/199 ( , ) <Enter>, 0.5678391959799. ,
, . ,
Up to one digit (1/4) ( ), 4/7.
Up to two digits (21/25) ( ),
46/81. , -

1. Excel

61

(Up to three digits (312/943) ( )), 113/199. , 0.5678391959799, .


Excel . , . (),
. , (),
( ). Excel . Decimal places (
), . 1.42.
Format Cells ( ) Scientific
() Category ( ).
( Text) (
Number), (. 1.43).
, . , ,
.
, ,
. Special ().
Format Cells , . 1.44.
. () . ( ), . , ,
Locale (location) (/).

Number | SSgrment j

Font ] Border | Patterns j. Protection |


-rSeipte-"I 1.20-

Puc. 1.42,

62

I. Excel

Number |,Alignment

Font | Border I Patterns :| Protection |


.-Sample---

^Category; '.;.
General
Number
Currency
Accounting
Date
Time
Percentage
Fraction
Scientific

12
Text format cefe ft treated as
text even when a number is in the V
eel. - The celt displayed exactly as
entered.

Special
Custorr

Puc. 1.43.

.Number J Alignment
CeteW:

IVPe:

Social Security Number

J
_l|

locate (location):
(English (United States)

~3

Special formats are useful for tracking fist and database values.

Puc. 7.44.
. , ,
. .
, Excel .
Custom ( )
Category ( ). . 1.45.

, . ,
, . , . 1.15.

1. Excel

63

Number (farmer*

Font

Border

Patterns

Protection

Type the number format code, using one of the existing codes as a starting
point.

Cancel

Puc. 1.45.

1.15.

. , ( (.)) ,
12 0.00,
12.00. 0.00 :
() , . , 0.1, ( General) .
0.00 ( ,
Custom Number ( ), 0.10.
: 12 000.000,
012.000
, , , , .
, ???.??? 12 12. (..
). , , " ", ..

, ,
, . ( ?) . , ###.### 12, , 12.,
.
, , , , ..
(, .123)

64

I. Excel

.1.15

.
100
(.. %)
, .
, ,
, , . , ,
,
, ###/###. 1.2345
458/371.
# ###/###, 1 87/371.
. , , 00 ###/###?
, , : 01 87/371,
, ,

. , , ,
. (+),
(). , , .
() , .
. , 123 0.##-00
1.2302, 0.???+000 1.23 +002.
0.###, ..
. ,
, . (
0.???+000)
, ,
. . ,

, . ,
( ).
, \R 0,
R. !
, .. , R
, " "
. ,
,
. ,
. , , .
, Baden,
@-@, Baden-Baden. :
, , .
Baden

_
@

1. Excel

65

. 1.15

. , ,
, . , 12
0*, 12 (
X )

.
. ($, ,+), .
, . , #,### 10000000
10,000,000.
. , , ,
.
, . , 1234567 #,###,
1,235 (.. ,
1234567). ,
.. 1234567 #,### 1.
,
, . , , . , . .
. ( ) , . ,
. ( ), Format^Cells. , Sample () .
, Excel , ,
, , " ". :
, ( ). :
, , . . .
1. , , .
2. , , (.. ), .

66

I. Excel

3. ,
.
4. .
Excel .
, ,
. " ",
. , .
. 1.16 , , .
1.16.

Black
Blue
Cyan
Green
Magenta
Red
White
Yellow

,
COLORx, 1 16 (
56). .
, COLOR .
. (.. ,
) Formats Conditional Formatting
(^* )
. .
, Custom
Category. , . :
, , . , .
. ,
.
, .
.
, , . ,
General () ( Excel). -

1. Excel

67

, ( ). , ,
, .
.
.
. 1.17.
1.17.

. < ,
. > ,
. = ,
. <= ,
. >= ,
. ,

, ,
.
( , , ).
. .
1. Excel . 1 :2.
2. Format^Cells (^) Format Cells ( ) Number ()
Category ( ) Custom ( ).
3. , () [>10][blue]0.00;[red][<0]0.00;[green];"This is" @, , , <Enter> .
4. 1 1, 2 12, 1
-2, , , 2 Excel.
. 1.46.
. 1.46.

"
.
. ,
, . ([>10][blue]0.00)
, (

68

I. Excel

[>10]). ,
( [blue]).
([<0]), ([red]), ( )
. (.. , 0 10), . ,
([green]). , , , "This is" , , @.
This is .
. ( ) , . ,
. , 0.00;; (
) ,
0.00;;; , . ,
;;; , .
,
.
, Excel
, , , . Alignment ()
Format Cells (. 1.47).

Number

I Afignmentj

Textalgnment
j General
iertical:

;
Text control

[o ]|3
RigM-tofcft
lext direction:

. 1.47. Alignment
Format Cells

1. Excel

69

. Text alignment ( ) :
Horizontal ( ) Vertical ( ), Indent ()
Justify distributed ( ) ( ). Horizontal . 1.18.
.
1.18. Horizontal


. ,
Left (Indent) (
.
Indent ( 0 15
/)
)

Center ( )
Right (Indent) ( . Indent
/)
. , Fill ()
, ,
. , .

, Justify ( )
.
Center Across Selection
. ( )
.
,
. . ( ), ( Center ( ))
Distributed (Indent) ( , . Indent ()
/)
( ).
Justify distributed ( ) 0 Indent (),
, Distributed
General ()

. ( Indent) ,
( ), (
) .
; ( ), .

70

I. Excel

. , Vertical, . 1.19. ,
.
1.19. Vertical

( )
Center ( )
Bottom ( )
Justify ( )
Distributed (
)

Text control ( ) .
> Wrap text ( ) ,
. .
> Shrink to fit ( ) , .
> Merge cells ( ) .
,
(
) (.. , ).
. Shrink to fit ( ) , .
<F2>, , , . , Shrink to f i t
, .
, , .
Text direction ( ) Right-to-left
( ) ,
(.. ), .
Excel , ,
.
Orientation ().
Text ( ), Degrees ().
, ,
, , .. 1. Excel

71

. , (
-90 90 ) , .
Degrees,
. .

. ,
.

, .
Font (). . 1.48.

This is a TrueType font. The same font wi be used on both your printer
and your screen.

Puc. 1.48. Font Format Cells


Microsoft Office ,
. . 1.20.
1.20. Font
,

Font ()

Font style ()

(, , )

Size ()

Underline ()

Color ()

72

I. Excel

. 1.20
,

Normal font ()

(
) .

Strikethrough ()

Superscript ( )

Subscript ( )

Preview (
)

. .
Border () (. 1.49) , Excel .
Presets ( ) , .
Outline () . Inside () ,
. , .
None () ( , ).
Border , , , , . , , , .

Number j Alignment j

Font

Patterns j Protection j

:-

Presets

Si
.P..
t^one
Qjjfctere

....Qtor:

r:

! ; i ;

^-Jj \j

"The iseiftted border ^vfe can be applied by cSd*g presets, preview


diagram of the buttons above.

Puc. 1.49. Border


Format Cells

1. Excel

73

, Color () , Style ( ) . Line ().


Patterns ()
. Format Cells
. 1.50.
Color . , No Color ( )
, Pattern () .
Sample ().
, Protection ()
(. 1.51).

.:.--

Number.] Afignmen
Cell shading
Color:

: Si. a :

ai
:. ,::; i'; ;
!
Pattern;

Puc. 1.50. Patterns


Format Cells

Number |
P (petted

eels or hidios formulas has no elf ect gntess the


tvor&sheet Is protected. To f^tAect worla^ieet, draose
Protection front the Toote , end then choose Protect
t. A (Missword is optional

Puc. 1.51. Protection


Format Cells

74

I. Excel

, ,
( ).

, . , .


,
. , Excel, . 1.21.
1.21.

(x1(f )

(xlO )

()

(. .)

0,0579

3,302

0,1080

48,690

4880
12104

0,38
0,91

0,1490

59,740

12756

1,00

0,2270

6,418

6794

0,38

0,7780

18990,000

142985

2,36

1,4320

5685,000

120536

0,92

2,8710

868,200

51118

0,90

4,4980

1024,000

49528

1,10

5,9150

0,130

2300

0,07

.
, . .
R. Freedman, W. Kaufmann, Universe, W.H. Freeman and Company,
New York, 2002.
Excel. , , . 1.52. .
. , ,
, .
1. 2:15
. : Format^Cells,
Patterns Pattern (. 1.53).

1. Excel

75

. 1.52.

Edit

Insert

Format

loot

Bata

, <S ' * * - -;'*

^Jndcw

M l
'2 5 :
:

. 3" ...' :.

Sample

a
BGLIBBBS
'

\Sheet 1 / 5heet2 '/ She'<*3 /

Ready

. 15J. '

I. Excel

gj Add Web Folder...


(?) Microsoft Excel Help
[y. Show at startup

2. . ,
2:15, Format^Cells Border ().
Style ( ) (
), Outline () (. 1.54).
3. , . C5:G14 (. 1.55).
. Format^Cells Patterns, Color
No Color ( ) (. . 1.55).
.
4. . . Border Format Cells . . 1.56,
( Style).
Outline ( ) Inside
( ).
.
,Jgjx)
ob

p_ata

Window

_V X

10 -

/
New Workbook
; Open workbook
Solar_System.xls
Notes.xls

Alignment

for*

Border

Patterns

I V

Protection

Automatic

JJj

"Hie seled bwder styte carv be epf&ed fay cSdong the prea^s, p-eview
dsgran or the buttons above.

Caned
Show aFslartup
7 > Nsheet 1XSheet2 /^ /
Ready

MJM

Puc. 1.54.
1. Excel

77

. 7.55.

.
. .
, Color ().
5. D5:G5. ( ,
). , Alignment ()
Format Cells (. 1.57) Horizontal
Vertical ( Center). , Wrap text , .
, 90
(. . 1.57).
6. . 1.58
C5:G5,
(, 5). (.. ) Format^Cells, Font Font style () Bold ().

78

I. Excel

~ <j;

t;NwWaHjoi*

Oom workbook
Solar_5ystem.xls
Notes.xls
HyData.xb

Puc. 1.56.
L
9

6*

Sew

fijrmat

Inwrt

* . * 5* X '
06

-''

''

ft

'

Puc. 1.57.

1. Excel

79

&tt

View

Sert

Farmat

loote , Qata

Window

- ui \ (3 ?
G

~- * Workbook

_-.

11 Open a workbook
5olar_Systens.xls
Notes.xls
MyData.xte

'S'
g

Number I Aigrment

Font

Eont: . .
>T Algerian
Andre
Antique Olive

H IS

>,:;; '

(Bold Ital

0*:

jNohe

Sites...
t.com

rj^ P

Effects
j Strlsethrough
i Suoe-scrlpt

Fontstyto;

^3

| Border | Patterns | P

AaBbCcYyZz

TNs is a TrueType font. The same font wS be used on both your prints*
and your screen.

|"< \Sheetl5heet2 /5/

[eady

PMC. /.55.

7. 5 ,
. , -, .
Border
( Style), (
. 1.59, ).
8. 5 ( Justify Vertical Alignment).
Wrap text ,
,
. . 1.60 .
9. 5 .
- ,
(
). ,
( ) ,
5, . 1.61.

80

I. Excel

:
fi
!

Microsoft Excel - Bookl


je

gdft

Sert

Fs-mat

loob

Eata

SJridow

"*. X

^c4- |-:S'B. v'


. . '".
f*

JL

j__J

Puc. 1.61.

10. , , , . .
, , , .
C5:G14 (. 1.62),
Patterns.
11. D6:G14,
- (. 1.63). , .
12. ( 6:14)
, ( D6:G14).
, C8:G8 ( ) (. 1.64).

82

I. Excel

cft

Sew

Insert

Format

I*s

PMC. 162. ( )

J ~

(mbiw | AJgnna* I

',

Peri

1 Bonier

Patterns j fntKOan ]

Puc. 1.63. ,
1. Excel

83

ill

. 1.64.

13. G6:G14 (
), Format^Cells Format Cells
Number. Category
Custom [Red][>1]0.00;0.00,
. ,
1 (.. , ),
. , .
. 1.65.
14. , ,
C3:G3
(. 1.66).
15. (. 1.67),
Alignment Format Cells Merge cells ( ),
( Center Horizontal). ,
.

I. Excel

*
Number
Currency
Accounting
Date
Time
Percentage
Fraction
Scientific
Text

12
13

Type the nurrfcer format code, using one of the existing codes as e starting
point.

14

ISj

16J

18]
19,
<

|<|

v,n..rti/shiz /She*3/

Sum-e.02

Ready

MJM

. 1.65.

Number

Stgnment

Font

icrdw

Pattern!

Protection |

. ^..
1. Excel

85

.. -12} " i

'

Text control
)Bees

Shrtttoflt

| 11
Right"to-Wt
Xext dreoton:
Context

4880
12104
12756
6794
142985
120536
5111
49528
2300

10

* : ;i

s. **

091tj

.:
0.90J

1 101

v
M < > \ Chartl
'9

' 51*2 / Sheets /

"J ir

. 1.67.

16.
, ( Bold Font style
Font), 13 (
Size , ),
Underline () Double Accounting (, ), Color
- (. 1.68). Excel
, , . 1.52.

, . . , , , . , . ,
. , , . , . .
12000 1. 1 (.. ), ( , <F2>) =1.2*1
( :
). . 1.69.

86

I. Excel

.=

--

:i

C3
A

: Vjew

insert

Fgrmat

Tools

-,''. ',%-?j - wt;^i - .io,ll

,
.-. .

- -

' ,.^i

1 ;

TNs is a TfyeTypefont. TtM


id your screen.

PMC. f .65.
<Enter> , . 1.70.
, , 1 Scientific (), Format^Cells Category
Number. . 1.71.
SUM
X / )6 =1 2*1 OM
A
1 j ~
1=1. 2*1 DM
2

;
i

j,->.A' -!

.p

. 1.69.

. 1.70.

12000 ""

;.

1 1 1 .20E404I
2
:
|

$ =1.2*10

. 1.71.

1. Excel

87

,

.
Formatting (), .
, , , , .


, . Excel
, . ,
, Format. Cells . .
Row (), Column () Sheet () , , , .
. 1.22-1.24 , .
1.22. Row

Height ()

AutoFit ()
Hide ()
Unhide ()

, .
12.75.
,
. ,
( )
( )
. ,

. AutoFit () .
, - ,
(, 20
10), .
( <Del>),
AutoFit, . ,
,
, 20, .
, .

88

I. Excel

EditO1=> (1^1^)
( ) Edit^Clear^Formats
(^^) ( ,
).
,
(
) (
Unhide). , (, ) (
) .
, Unhide.
,
( <Enter>) Unhide.

. ,

. , .

Cell ()
Row.
1.23. Cell

Width ()

( , , ).

8.43
AutoFit Selection (
)
,

Hide ()
,
Unhide ()

Standard Width ( -
)
.
, "",
,
. , (, ).
. , ,
<Ctrl> , , .

1. Excel

89

Sheet () , . . 1.24.
1.24. Sheet

Rename ()

Hide ()

.

.
<Enter>

Unhide ()

.

.

Background ()

.
, ,
. , ,
Delete Background ( ).

Tab Color ( )

.
,
. ,

. ,
, .

. AutoFormat Formats to apply ( ),


Options () .

, . 1.72, ,
, First (),
Second () Third (). (First)
, ,
. (Third)
. , ( Windows).
,
, .
Format . AutoFormat (), , .
( ) , . 1.73.

90

I. Excel

Sheel_Foiraat.xU

ill"

PMC. 1.72.

East
Wesl
South
Total

Jan Feb Mai Total


5
19
17
9
a
24
18
21
60
21

East
West
South
Total

jart Fet>
7
7
6
4
8
7
21 18

Total

19
17
24
60

(1 5

17

South 8 7 9
Total 21 18 21

24
60

East

Wt

19

Classic 2
East
West
South
Total

7 J

_ nul_

1I

8
7
21 J 18 t

J 19 , East
24

J 60

:f

South
Total

Jan

Feb
7I

J 19

8
7
21 18 I

$ i

7 J

Total
17

AorajntingJ

P fex-tfer

Puc. 1.73.

,
. , Formats to apply (
) , , ( Number, Border,
Font, Patterns, Alignment,
Width/Height).
Conditional Formatting ( ) , . , .
, . 1.74.. -

1. Excel

: Cell Value Is ()
Formula Is (). ,
.

Condition].

Preview of format to use


when contSttonls true:

No Format Set

fidd I

Qeiet...

Puc. 1.74.

Cell Value Is
, :
between ( ), not between ( ), equal to (), not equal to
( ), greater than (), less than (), greater than or equal to (
), less than or equal to ( ).
( ) (
). ( ) .
, , , ,
Format. Format Cells, ,
, . (Font, Border
Patterns), , ,
.
, Conditional Formatting
Add ( ).
.
. . 1.75.
1 Conditional Formatting

' 1

Condition i
l-'Vjcel Value Is _^j Jbetween
;

j^J

'T

when

| -,"-Jcel Value Is jj jlessthan


Preview or format to use
when fs true:

AaBhC

J-J
j
1

iJ and |
rv y z ;

15

AaBbC cYyZz

Condi; ion 2
i_J (not equal to

_]

; Preview of format to use


wr^ condition is true:

Jj

-3

Fjjrmat...

ij

0
* -.ou/
..cYyZz

'

.. . 2J 'i
Eonnat...

Betete...

format...

<

Cancel

Puc. 1.75.

92

I. Excel

:
(Condition 1), , .
, (Condition 2), ..,
(Condition 3). , . 1.75
: 1 10, . 15 ( ),
- . , 0,
.
, ,
(. 1.76). 1 :2.
5,10,12 18. , 12
, 18 . 0 (.. ). : (5 10)
( ), .
12 , . ,
18 , .
,
Conditional Formatting Delete ().
, . 1.77. ,
(
) .
.
. , Conditional Formatting
.
.
, ( ). .
. 1.76.

t= I

< > \Sh /Sh .. |


Delete Conditional Formal

. 1.77.

Select the con*on(s) to dote:


~ Condtioni

1. Excel

93

Cell Value Is
Formula Is. Conditional Formatting
, , . ( ) ,
.
. ,
1,
=1 >2. :
1 2 ( , Excel ). (. 1.78), ..
1 ,
1 2. , 2 , 1 2.
1, 3, 5 7. . 1.79.

als
Preview of format to use
true:

Puc. 1.78.

. 2 .
1,
( Edit<=>Copy) (
), 2 Edit^Paste.
1
2,
. , .
OJ I oimulds^Foimal xlt

. 1.79. ,

, (, ) 2, 2 2, 1
, 1 2.
Format Style.
, . 1.80. , .
.
, .
94

I. Excel

Style Style name


( ) . FirstStyle.
Modify ().
Format Cells.
, ( Format Cells). Format Cells , Style includes (
) . . 1.81 ,
(Scientific), , Times New Roman 12,
, .
, ( ) , Formats Style. ,
Style name ( ) (FirstStyle) . . 1.82 1 :4, .

Stykname: .. ]FirstStyle
5tyle includes

Number

. . . General

)|*

General, 8<*tontAl9ned
' . *riaUO;

NoBwcfcre,
F Ealttms

No Sharing
locked

Puc. 1.80. Style

fe

;> .

o.oo .-..

17 Afgmw*

Horizontal Center, Vertical Center


Aligned (Wrap)

por* ;"

Times Mew Roman 12, SoW Sue

F Border,:;-.,

i*-ft, (tight, Top, Bottom Borders

I ' 17 Eattems

F Protection

; .-,

F Protection

Shaded

Locked

. 1.81.

,
. , 1 :4 . , Number Font (. . 1.82). , ,
Arial 10 , Normal
(). , Style Includes (
) . , ,
, . . 1.82, 1 :4 FirstStyle, , , Border ().
, .
1 :4 .

1. Excel

95

, ,
D1 :D4 , ,
Patterns () Number
(). ,
1 1 (. 1.83).
a MiiSliFles_1.xls

_.

__ _

___

2..J' text , text


text
very long very long 1 very long
3 : text
text
text
4

5
|:

M t > >l\Sheetl/Sh*2/5h| <| _

IfT

Puc. 1.82.

. 1.83.

(.. Modify Format Cells).


, .

Format Cells, .
, ,
, Format^Style, , , , .
. Style () . , .
,
Delete Style.

. Normal () ,
.

, ,
, . . ,
. . , , FormatoStyle
Merge (). Merge Styles ( )
. ,
, . . , , . ,

I. Excel

. , .

, , , , , , .


', Toolbars
( ) View () .
, ,
. Microsoft Office.

. 1.25, , .
, View1*Toolbars.
1.25.

Standard ()

. . , , , , ,
,

Formatting
()

, .
: , , ,
, . , ,

Borders ()

. ,
.
( , ,
)
(
)

1. Excel

97

. 1.25

Chart ()

. ,

Control Toolbox
( )

.
, , , . , ,
.

Drawing ()

.

(, , ,
..).
(, )

External Data (
)

Forms ()

Formula Auditing
( )

, .

Picture ()

PivotTable
Protection ()

Reviewing
()

.
,
,

Task Pane (
)

Text To Speech (
)
Visual Basic

Excel

Watch Window (
)

Web
WordArt

98

I. Excel

,
VB, ..
,


WordArt

, , . , , View^ToolbarsoCustomize
Customize () Commands () (. 1.84).

add command to a toolbar:


command out of this daM) box to a
Categories;
Commantfa:

Puc. 1.84. Customize


Categories () (,
, ). Commands (, , ). , ,
, , ""
( , ,
).
. 1.85.
Formatting Pattern
(). ,
. ,
, . ,
Modify Selection
() Customize ().
. 1.86. . 1.26.

. Exit (), File ().

1. Excel

99

Bte'.""'. gdft
5

f" !

1.

$ew

Insert

format

f~5
^ fd j^ WOi^*" [rj ^J fey LCi v

--5?

Arial

-r 10

loofe

ata

V^indow fcteJp

V 1~H. f^3
-'"^f
-~i
r-j
- d?i 1 * '*/ j ,*?

.; .p -..J ,,U.

'Toofears

fipmtnands

Open a workbook
MyStytesJ.xJs
Format_Cond,xls
Formulas_Format.xls
Sheet_Format.xls

| Qp
y and drag the

To add a command to a todx


command out of this datog bo
Categories:.; '-.'
(.

Q^ More workbooks.,.

AD Borders

New
D

Bottom Double Border


Ftfl Color
Tools
Data
Window and Help
Drawing
AutoShapes

I >

Blank Workbook

Pattern

New from existing workbook


j!ky Choose workbook..,

Dark Shading

New from template


) Genera!Templates...
I Templates en my Web Sites..,

Selected command;

j Templates on Microsoft.corn

Descrtetton

Add Web Folder...

BJ.

> W \Sheet 1/sheeE./ sheets/

|
l

(3 Microsoft Excel Help


(] Show at startup

Ready

NUM

'3 i
. 1.85.

Puc. 1.86. ,

Modify Selection

Reset
Delete
Name: E&xt
Copy Button Image
Paste Button Image
Reset Button Image
dit Button Image...
Change gutton Image
Default Styte

!
Tea Cyily (ii Menus)
Image and Text
Begin a Group
Assign Hyperlink
. Assign Macro...

100

I. Excel

'')(f j :

1.26. Modify Selection


Reset ()



, (
)

()

Delete ()
Name ()

Copy Button Image


(
)
Paste Button Image
(
)
Reset Button Image
( )
Edit Button Image
( )
Change Button Image
(
)
Default Style (
)
Text Only (Always)
( , )
Text Only (in Menus)
( , )
Image and Text
( )
Begin a Group (
)
Assign Hyperlink
( )

Assign Macro (
)

.
,
,
, .


,

,
( ).
, ( )
. :
Open (), Insert Picture ( )
Remove Link ( ),
. , . Insert Picture ( )
,
. , Remove Link
( ), , (
Edit Hyperlink),
. ,

1. Excel

101

, Edit Button Image (


) . . 1.87.
Cotofs

Picture

. 1.87.
Picture ().
Colors () .
Picture, . ,
, Erase (). . Clear
(). Preview ( ) , .
Move () , , , .
, .
, Cancel.
. ( ), , ,
.
Customize (,
Customize), , , ,
Customize (), , .
. , , , . , . , Built-in Menus ( ).
.

102

I. Excel


,
Excel ( Microsoft Office),
. , Customize
Toolbars New (. 1.88).
New Toolbar ( ) (. 1.89), .

.
Excel . ,
Excel. ,
- . , , . ( ). Toolbars
Attach (),
Attach Toolbar ( ) (. 1.90). Custom toolbars ( )
(). ,
( Toolbars
Delete), ( ).

Toofears I Commands | Options |


Todba/st
Formatting
3-D Settings
Borders
Chart
Chart Menu Bar
Circular Reference
Control Toolbox
Diagram
Drawing
Drawing Canvas
Exit Design Mode
External Data
Forms
Formula Auditing
Full Screen
Organization Chart

Puc. 1.88.

Toobar name:

. 1.89.

1. Excel

103

Attach Toofbais
Toolbars in workbook:

"3

EuroPlaceholder 2000

Caned

Puc. 1.90.
, Attach Toolbar,
Toolbars in workbook
( ), Delete, .
. Commands
Categories New Menu ( ). , , Commands, ( ),

(. 1.91).
.fj jjjfe

|d

^ew

Insert

Fo/mat

loob

fiata

KJndow

tt* J

s# d> <a: s a ? ' x % e <? i,^ - it li


" A1 "'

1*

IS

J ...G

2_j
Toolba-s

To add a commend to a Cooker: select a category and drag the


command out of this cfiabsg box to a toolbar.
Cateflciries:
Commands:
Window and Help
j*J
, New Menu
>j_ll

S '
gj

Auto5hapes
Charting
Web
Forms
Control Toolbox
Macros
BuilHnMer

iril
tfj
12'

i
Uj
1&I

Forma^Cond.xIs
MyStyles_l.xls
Formulas_Format. ids
Sheet_Format,xls

Commands

More workbooks..,
I

D Blank Workbook

j New front tKisting wcM-kbook


[ij Choose workbook, . .

frprn template
^^.

Jd

Li] General Templates...


Templates on my Web Sites , . .
l|[] Templates on Microsoft.com

16:

irl
19
2Q1
21:

C3 Add Web Folder...

22":

;
:

' '-4

(5 Microsoft Excel Help


Show at startup

w;\Sh

PMC. 151
104

I. Excel

, . Modify Selection
(), Commands Customize.
, . . Name ()
(. 1.92).
<Enter> ( My Menu).

\Sheet l/Sheet2 /Sheets /

PMC. /.52.

, ,
. . , .
:
1. Customize.
2. .
3. Commands ( Customize).
4. Modify Selection.
5. Delete (. 1.93).

1. Excel

105

Format_Cond.xls
MyStylesJ ,xls
Formulas_Format.:ds
Sheet_Format.xls
<Sr More workbooks...
Window and Help
Drawing
AutoShapes
Charting
Web
Forms
Control Toolbox

D Blank Workbook
New from existing workbook
ij Choose workbook...
New from template
If] General Templates...
Templates on my Web Sites..
Templates on Microsoft.com

Q( Add Web Folder...

__< ---^sheetl

Microsoft Excel Hep


Show at startup

Ready

a ^-

PMC. f ..95.

, .
, .


Reset ()
Toolbars Customize. ( ), Toolbars
Reset (). ,
. .
Toolbars Worksheet Menu Bar
( ), .
. , ,
, ( Customize ())
Reset () Modify Selection (). ,
.

106

I. Excel


.
. , . , , ( ) .
.xlt. . 1.27 , Excel.
1.27. Excel

Excel

xlw

.
, , ..

, .
,
Excel. , ,
(, , ..). , File^Save as,
Save as type ( ) Template (), Save.
! , .
, General () Templates (), .
, , ,
General Templates ( ) New from template
( ). Templates, . , , .
. ,
.
Choose workbook ( ) New from existing workbook
( ). ,
.

1. Excel

107

. Excel ,
XLStart ( C:\Program Files\
Microsoft Office\Office10\XLStart, , ), .
, Book.xls (), Sheet.xls ,
Insert^Worksheet (^ ) .
, , Excel. . -, , . , .
,
Excel. -, , , - ,
Excel
.
. , , , , .

108

I. Excel

Excel
...
Excel
Excel


J3 ,
Excel. , Excel
, ,
.
, , . , Excel
. , Excel .

Excel
,
. .


,
. .
, .

( ). 2.1 2.
( ), , ,
(. 2.2) , , .
.
<Enter>.

. 2.1. 2

. 2.2.

, , . ,
Excel, :
. , , , . 2 =3+4.
. Excel (+), (), (*) (/). Excel
(). . ,
( ).
<Enter> . 2.3.
, ,
. ,
SUM. . <Enter> , . 2.4.
. , ( :
).

. 2.3.

. 2.4.

. , <Enter>,
2 . ,
<Enter> .
, 2. 2
.
, 2 7 3 4. : , .

110

I. Excel

,
.
. ,
. . 2.5.
. 2.5.

,
,
.


Excel ,
, .
,
. , , .
.
, , ( ) .

! , R1C1,
.

(), -
, .
. t
S, S = gfl2. g ,
9,8 /2. .
( ). , 1 g, 2 t A3
S . . 2.6.
. 2 9.8. 2 1, .
|

. .

2 =2*2 2/2. , .
. 2.7 2.8.
, <Enter> (
). . 2.9.

2. Excel

. 2.6.

SUM

i
2 f
3_j
4i

. 2.7. ,
. 2

X -J A =A2*B2 2/2|
i !
s
t _
9.81
l)*B2 2/2
i...
f
A

. 2.8. (2
2),

. 2.9.

2
(4.9 ).
, , . , ,
, . 2 2 <Enter>. 2
. . 2.10 , .
. 2.10. ,

S3

19.6

Excel
, .
Excel . ,
.


, , , . ( , ). , ,
( ).
Excel . , ,
(
!). , ,
, , .

112 I. Excel

. .
, . - - .
. ,
, . , - ,
.
. ,
.
.
,
, . , ,
, , ( !). , , , .. ,
,
, . .
.
.

, =1 2, 1
,
(. 2.11). 1 2.
<Enter>, ,
, 1. . 2.12.
, ( ), . 1
( , , ), .
5.
, Edit<=>Copy (1^ ).
, , , ( ). 5 Edit<=>Paste (-=> ). . 2.13.
'

X ^ jt =A1"2|

M~l~iS*EZ

1^1=
1 ,)

6~\

. 2.11.

_ _8 .
2

. 2.12.

2. Excel

5 16,
=2. . , 1
. ,
1, 5, , ,
, 5. ,
. , , D4,
2.
. 2.13.

16 5. , ,
=12, , 1. 5
, , , ,
1. . , . 1, 5. .
. 5 , Paste () .
, , . 2.14.
( 5). Keep Source Formatting (
). , .
, , 5 4, ,
5, Values Only ( ). 5 , .
. 2.15. , 1, 5 .
($). , 1, $$1.

, ,
. .
=12 =$$12. . 2.16. , , , .
5.
, , . 2.17.

114

I. Excel

Match Destination Formatting


Values Only
Values and tjumber Formatting
j

Values and Source Formatting


Keep Source Column Vjidths
Formatting Only
UnkCefc

Puc. 2.14.

C5

Values and Number Formatting

_L

Valyes and Source Formatting

J Keep Source Column jtfjdths


"Jy Formatting Onty

Puc. 2.15.
83

. =$AJ12

. 2.16.

. 2.17.

2. Excel

15

5 ,
(, , ).

. , ,
. ,
.
.
. ,
, . , .
,
, . , $
, () , (3)
. $3, , , .
. , <F4>. , ,
.. , <F4>, . <F4>, (
), <F4>
. <F4> , , , .
, <F4>
, .

. .
, , .
, , 1, 1 1 g
( ), t () S ( ) . 2 (9.8),
2, , 4 5 1 4,
. . 2.18.
2 =$$2*22/2.
, . 2.19.
, ,
,
( 2), ( $$2), . , .

116

I. Excel

. 2.18.

. 2.19. 2

<Enter> (. 2.20),
, . ,
( Edit<=>Copy).
, (
),
Edit<=>Paste. . 2.21.
,
, . ,
2 , .
, 2 .
2 .

. 2.20.

.221.

4 5,
. , . 2.22.
. 4 5
2 . . , . .
. 2.22.

2. Excel


. , , , , , . $$2
$2. . 2.23.
.
,
:5 (. 2.24). (
!), (. 2.25).
, , , (. 2.26).
A

* =AJ2*B2 2/2

j.g

9.8i

. 2.23.

. 2.24.

5

1
,<
I

JS =$2*5'-2/2

.
"9.8"

~4~Ti

L__c_
4.9:
"19.6.

44.V

5]

. 2.25.

. 2.26.

.
.
(.. ).

-
, Excel
. -, R11. ( R),
( ). , R2C4 D2.
R1C1 Tools^Options
(^).
General (), . 2.27.

118 I. Excel

'Odor.
View

Internet

Sat

>

1 Owl

Calculation

T" RIQ reference style


Ignore other appfcatto
17 Function tooltips

s in new workbookStandard for*


IXeu* ffle location:

,.'

: At startup, al fites in;


Userpame:

Puc. 2.27. Options General

R1C1 reference style (


R1C1).
R11.

, .
( ) (, )
, .
, . , ,R[-2]C[3] ,
. , . , R2C3 2.
. , .

<F4> ,
. ,
,
( ),
.

!
R11 !


, Excel , , . , .
.

2. Excel

. , 1
( Sheet"!)
2 ( Sheet2),
=Sheet2!B2.
( ,
), . , ,
, . .
, , , , . . , 2,
Sheet2 Bookl, =[Book1]Sheet2!B2.
. . .
1. , .
2. , .
3. , (.. , ).
4. ( ),
<Enter>.
. ,
, :
1. , ,
. , .
2. , .
. ,
Window (),
. <Alt+W> ( Window),
<Enter>.
3. , , <Enter>.

.
. , . Excel , .
, Excel. , , .

120

I. Excel

Excel
Excel . (). ,
, ,
. Excel ( ) . , , , .
, (.. ) .
, ,
, .


, , ,
. Insert 1 ^Function
(<=>). Insert Function,
. 2.28.
Select a function ( ) ,
. ,
,
.
, , ,
Or select category ( ) (). Select a function . , ,
(, ),
Or select category
( , , Logical Financial).
, .

Search for a function:


Type a brief d ription ol" what you want to do and men
dick Go

Or select a jategory; JKust Recently Used


. -

Select a function;

IF
AVERAGE
HYPERLINK
COUNT
MAX
SIN

SUM(mJinberl .number 2....)


Adds al the numbers in a range <rf eels

-Heb on this funrtron

Puc. 2.28.

2. Excel

121

, ,
Search for a function ( ) Insert
Function . Excel
, .
. ,
, - .
, ,
, . ,
.
. Insert function
( ), . Insert Function, .
Excel.

.
. . , , .
,
.
, .



, . 2.1.
.
2.1.

ABS()

.
,

ACOSQ

ACOSH()

ASINQ

ASINH()

ATAN()

ATANH()

122

I. Excel

. 2.1

CEILINGQ

( ) .
,
, .

COS()

COSH()

DEGREESQ

EVEN()

. , ,

EXPQ

( - 2.72 ,
)

FACT()

( )

FLOOR(A.B)

( ) ,
( )

GAMMALN()

INT()

LN()

LOG(A,B)

( )
( )

LOG 10()

10

()

, . .
( )

MDETERM()


() , .
( !) ,

MIN()

, . .

MINVERSEO

, ,
. -
,

MMULT()


. , , . , ,

MOD(A,B)

( )
( )

2. Excel

123

. 2.1

ODD()

( )
. ,

= 3.1415 15 . (
!)

POWER(A.B)

. ( )
( )

PRODUCTO

,
.

RADIANSO

RAND()

,
() 1.

ROUND(A.B)

( ). , .. (
)

SIGNQ

,
( 1, 1 0)

SIN()

SINHQ

SQRTQ

SUM()

.
. .
,

SUMIF()

. . .

( ).
,
, ,
. (
).
, (..
, )

SUMPRODUCTO

, , .
,

SUMSQQ

. , , , ( )

TAN()

TANH()

124

I. Excel

. 2.1

TRANSPOSEQ

(
)

TRUNC()

, , .
() ,
( )

, ,
, . ,
.
, . ,
. ,
.
, , . , .


, . : TRUE () FALSE (). , IF(), , . 2.2.
2.2.

ANDQ

FALSE()
IF()

NOTQ

ORQ

TRUEQ

TRUE, ( ) TRUE. (..


FALSE) FALSE
FALSE
. ,
.
( TRUE),
. ( FALSE),

. ,
( ). ,
TRUE FALSE
. TRUE, TRUE. FALSE
,
FALSE
TRUE.

2. Excel

125


, . . 2.3 , .
2.3.

CHARO

, ,
,

CODEO

CONCATENATEO

,
, . ( )

, .
TRUE.

FALSE.

FINDQ

, , , . .
, . ().
,

FIXEDQ

. , . ,
, (
). ()
. TRUE,
. FALSE
, .

LEFT()

. . () ,

LENQ

LOWERO

, , ( )

PROPERO

, , , .

126 I. Excel

. 2.3

REPLACEQ

.
. ,
. , . . , ,
,

REPT{)

, , ,

SEARCHQ

FINDQ , (
)

SUBSTITUTEQ

. , . , .
(
). ,
,
. ,

()

, .

()

.
, .
(. 1). .

TRIMQ

(
) ( )

UPPER()

, , ( )

VALUEO

( ) .

,
. ,
. ,
.

2. Excel

127


,
. , , . . 2.4.
2.4.

AVEDEVO

,
( ) ,
. {:} (), ' 1 "
^|*/ ~\, N ~
N /=i
{,}, ,
1 "
JC0 = ^;..
(, , ),

AVERAGEQ

.
, , , ,
.. [:] N,
1 "
, Vx, .
N
, AVERAGEAQ.
, ,
0. ,
FALSE, 0. TRUE 1

BETADISTQ

.
0 < <1,

1
|>"'(1-)" (,)=|>~'(1-0~'< -.
> 0 , (3 > 0 .
, ,

,

BETAINVQ

128

- ( ) .
. ,
BETADIST(x,a,b,A,B)=y, BETAINV(y,a,b,A,B)=x.
, BETADISTQ

I. Excel

. 2.4

BINOMDISTO

. . . .
FALSE,
, **(1-)"~* ,
1

k\(n-k)\

, k (
) ( )
(
). TRUE,

1- )"~

, k
CHIDISTO

- . .
() , ,
() . %1 = ^^ , {,} .
j
() =;/
(/2) ,
2" (//2)
() = J t~l e.xp(-t)dt -.
1 - \p(z)dz,

yjn
CHIINVQ

CHIDIST().
( ) ( )
- . ,
y=CHIDIST(x,n) x=CHIINV(y,n)

COUNTBLANKO

COUNTIFQ

.
. , .
. ,

2. Excel

129

. 2.4

DEVSQO

. , ,
( ). [{\
,
N

V(* - JC0) , . - V x NM

(N )
EXPONDISTO

. .
. FALSE, Xexp(-Xjc) ( ), ,
. TRUE,
,

| Xexp(-Xt)dt = 1 - (-)
GAMMADISTO

-. "'1 (-*/) . ()
.
. , ,
FALSE, . TRUE,

pT(a)J

GAMMAINVO

-.
y=GAMMADIST(x',a,b,TRUE), x=GAMMAINV(y,a,b,TRUE)

GEOMEANO

( {xt}

i ).

,
HARMEANQ

LARGEQ

130

>

-
( )

I. Excel

. 2.4

LINESTQ

() .
, . .

LOGESTQ

.
. , .

MODE()

, ( ) (
, )

NORMDISTO

,
f= ( -- ) .
2D''
, ( ) D ( ) . FALSE,
,
. , ..
TRUE,

J ( __ ,2 )dt

JlnD:

2D

NORMINVQ

,
( ), ( ) ( )
.
y=NORMDIST(x,a,D,TRUE), x=NORMINV(y,a,D)

NORMSDISTQ

. J e\p(-t2/2)dt , *

NORMSINVO

.
, y=NORMSDIST(x),
x=NORMSINV(y)

POISSONQ

. . ,
, FALSE, k (
) . ( )

.' (-)

TRUE,

Jt!

,"(-.)

2. Excel

131

. 2.4

SMALLQ

-
. ,

STANDARDIZEO

( )
( ) D (
).
( - a)/D

STDEVQ

.
{*} ( ).

N(N-l)

N . .
, STDEVAQ
STEYX()

. ,
, ,

VAR()

. {) /V

( ) .

N(N-1)

( ,
STDEV(), ). .
, VARAQ
, , . Excel . , .
Excel
, , . , , ,
.

132

I. Excel


Excel ,
Tools<=> Add-lns (^ ), Add-lns, . 2.29.
. 2.29. Add-lns
Analysis ToolPs
Conditional Sum Wizard
Euro Currency Tools
Internet Assistant VBA
Lookup Wizard
Solver Add-in

:'Analysis TooPak
'

Provides functtons and interfaces for financiaJ and


scientftc data analysis

. , Analysis ToolPak (. . 2.29). Engineering (),



. . 2.5.
2.5. Excel

BESSELI()

Ij(x) ( ). "(} + '()


- (2 + v1)y(x) = 0 ( v ).
. ,
(.. ), v

BESSELJQ

Jj(x), 2"() +
+ '() + ( - v2)y(x) = 0 ( ).
/

i-,i

2i+v

Jv(x) = 2_.- -

,
v
BESSELKQ

Kj(x) ( ). ,
IJix), "() +
+ '() - (:2 + v2)y(x) = 0, ,
, .
,

2. Excel

133

. 2.5

BESSELYO

Yj(x).

cos(7iv)y v (x)-y V O)
Y () =
. Jjlx),
sin(Tiv)
2

"() + '() + ( v )y(x) = 0. . ,


BIN2DEC()

BIN2HEX()

BIN20CT()

COMPLEXO

. ,
.
. ,
. / /
, i

CONVERTO


. , ,
,

DEC2BINO

DEC2HEXO

DEC20CTO

DELTAQ

, . .
, 1,

ERFQ

ERFCQ

: = (-) .
VII.,
b
1=|(-) ,
v/ J0

FACTDOUBLEO

134

.
1 , .
,

I. Excel

. 2.5

GESTEPQ

, , ,
.

HEX2BINQ

HEX2DECO

2()

IMABSO

( )

IMAGINARYQ

IMARGUMENTO

IMCONJUGATEO

, ,

IMCOSQ

IMDIVQ

1()

IMLN()

IMLOG100

IMLOG20

IMPOWERQ

( ) ( )

IMPRODUCTO

, .

IMREALO

IMSINQ

IMSQRTO

IMSUBO

IMSUMO

. , ,

OCT2BINO

OCT2DECO

2()

2. Excel

135

,
, , .
, . , , VBA ( Visual Basic for Applications)
. ,
.



. , Excel . ,
. , .


SUM(). , . . , , , .
. , Excel : , , ,
. , 1, 2, 1 2 ,
1 :2.
.
.

. ( ) . 2.30.
| Resklotc.xls

. 2.30.

136

I. Excel

, R1 (10 ), R2 (20 ) R3 (25 ). U (220 ). , ,


, ,
.. R = Rl + R2 + R3, ,
: / = U/R. G9 (
) G10 (). :

.
, , , ( 10, R1), D3
( 20, R2) F3 ( 25, R3).
, D9 U ( 220). G10
, , , . SUM().
, G10 =SUM(B3,D3,F3).
. ( ) . Insert^Function
( <=>)
,
Insert Function ( ). SUM() Most Recently Used ( ), , , Math&Trig
( ).
Function Arguments ( ) ,
,
.
G9, =D9/SUM(B3,D3,F3),
=D9/G10. , , , , , ,
, .
, . .
> , . , Format^Cells (^).
>
Drawing ().
View^Toolbars 1 ^Drawing (1^ ^). . 2.31,
. 2.6.

2. Excel

137

. 2.31. Drawing
2.6. Drawing

,
, , ,
..
. ,
(!)

: , , ,




[:|

WordArt

ClipArt

|..|

JA-J

IgJ

'

, D3 F3, ,
, (9, 9, ) , ,
(9, F9, F10) . , F9:H10

138 I. Excel

, G9 G10 .
, .
. , Excel.
. . , . : (
) ( , , ).


, ,
. , ( ). . 2.32
.
(. ) .
( G9). G10
.

Umax-

* W

R2,

.R1.0H |

R3.0H

:
*

it -

R- '""*'

220

55
50

5
19
20
0.005 h
0.019:
0.02:
1
2
91.65151":! 161.8894
1.666391 !| 2.943444! 3.636364"

..,,:
U.
I,

:
CD

at

X
0)

Of
X

=1
Q.

19

55
' X
0)
X

_

D 5

-
ffi

- ' '

*"

S
&

x
x

os
S 1
01

'

'-

. U,
0 1-10.5127 155.SG3492
2E-16' 2.554778 2.82842712
C 1, A
H\Shcet l//Sheets /

Puc. 2.32.

2. Excel

139

, , .
( 20).
12- 0 20 ( C12:W12) .
. ,
. (0 1 ..
12 D12).
( ). W12 ( ,
, .. 20).
( ) , .
, 13- ( C13:W13) , .
, . .
, , v = 1/v.
, , ,
C12:W12, , , W12. , , ( ) W12. , i
( C12:W12) . ,
13 =C12/$G$10/$W$12. . , ( D13)
12 ( D12).
, 13
. 13, W13. 14 15, 13:W15.
,
.

: U(t) - f/,cos(ca?) + t/2sin(cor). , 2. /, U2 , f/max, /0. , /, = U0, a /, = -y/^L. ~ ^1 ( , , ). 14
=$D$10*COS(2*PI()*$G$10*C13)+SQRT($D$9A2-$D$10A2)*SIN(2*PI()*$G$10*C13).
, , 15
=C14/$G$9.

140

I. Excel

C13:W15 ,
. 2.32.
! . 2.32 ,
( ). , ,
, .
, , , (. . 2.32),
,
(, , ^ ). , , ' .
AVERAGEQ. 20 =AVERAGE(C14:V14), 21 =AVERAGE(C15:V15).
, .
. V
W , () (
W) (, ). , .

, . , , . ( !), .
AVEDEVQ.
D20 =AVEDEV(C14:V14), D21 =AVEDEV(C15:V15). , :
(
, !), ( W12), . ,
20 =SQRT(DEVSQ(C14:V14)/$W$12),
21 =SQRT(DEVSQ(C15:V15)/$W$12).
.
. Excel,
, (,
, ). , .

2. Excel

141


.
, , . , , . ,
=

( = 2nv), , j
(
j, /). XL L: XL = j'coL.
Z () Z = R + XC + XL.
U /
U = \ Z \ I , |Z| - - .
. 2.33. ,
.
- .
. .
,
. , , , .

. 2.33.

142

I. Excel

(
, , ).
, , , . , ,
CONVERT(). ,
, . 2.7.
2.7. ,
CONVERT()

(slug) ( 14593.84 )
( 453,6 )

(1 16 1
16 )


( 1853,6 )
( 2,5 )
( , 30,48 ,
)
( , 3 914,4 )

(pica) (1/72 )

"g"
"sg"
"Ibm"
""
"ozm"

""
"mi"
"Nmi"
"in"
"ft"
"yd"
"ang"

"Pica"

"yr"

"day"

"hr"

"mn"

"e"

"sec"
"Pa"
"aim"

"mmHg"
"N"
"dyn"
"Ibf"

"J"

2. Excel

143

. 2.7

"

"eV"

"HPh"

"Wh"

"fib"

BTU ( British Thermal Unit


)

"BTU"

"HP"

"W"

"T"

"ga"

"C"

"F"

"K"

"tsp"

"tbs"

(
, 1/16 29,57
)

"oz"

"cup"

"pt"

"uk_pt"

( 1/4 , 2
1,14 0,95 )

"qt"

"gal"

144

I. Excel

, ,
. 2.8.
2.8.

()
(peta)

1+18

""

1+15

II

(tera)
(giga)
(mega)
(kilo)
(hecto)
(dekao)
(deci)
(centi)

1+12

""
"G"
""
"k"

1+09
1+06
1+03
1+02

1-01

"h"
""
"d"

1-02

""

(milli)
(micro)
()
(pico)

1-03

(femto)
(atto)

1-15

"m"
"u"
"n"
"p"
"f"
"a"

1+01

1-06
1-09
1-12
1-18

, .
. , , . , 12
=CONVERT($D$12,"um","m"). Excel , .

( =$D$11 11 $D$13
13). ,
( =$D$14*2*PI() 14).
, ( ). ,
( 16) =1_($$11,0),
.. (
), , , . ( 17) =IMDIV(1,IMPRODUCT
($E$14,$E$12,"jM)), .. . ,
( 18)
( =IMPRODUCT($E$14,$E$13,"j")).

2. Excel

145

19 (
=IMSUM(E16:18)), 20 ( =IMABS(E19)).
. ,
,
.
. , .
.
, .
<Alt+Enter> ( <Enter> ,
).
( ) ,
.


Excel , . , , .
.


,
,
. , Excel
, , , , .
, .
>

> , .
> <Enter>.
. 2.34. 1 First.
ft

. 2.34.

: . <Enter>.
, . .
,
. . 2.35.
146

I. Excel

, , (. 2.36).
. 1 First. .
, !
, , ,
.

(. 2.37).

. 2.35. 1:4
Range

. 2.36.

. 2.37.
, ,
, . 2:2 (
, ) Insert^Name^Define (1*1*). Define Name ( ), . 2.37. Names in workbook
( )
2. Excel

147

( ). (
). , Refers to ( ),
( ), ( ) .
. ( ) . . , , . , "" , .
, 2:2 .

Insert^ Name1^ Define Define Name (
) ,
, ( ) .
, ,
.
, ,
, , . , ,
. ,
(), .
. ,
Define Name .
.
, , ( ). . , ,
. , , .
.
1. , (\)
(_), .
2. . Excel
.
3. , (1, ). ,
, R .
. 10:10. Insert^Name^Paste (^1^). Paste Name ( ), , (
), (. 2.38).

148

I. Excel

=.
<Ctrl+Shift+Enter>, (. 2.39).
! , ,
<Ctrl+Shift+Enter>. ,
. 2.39, , , . Excel .
. , , . ,
, . , ,
10:10.

4 I

. {
I

< M'i\Sheet l/SheetZ/Sheets /

. 2.38.

'tO 9

S*w

Inrt

Fflrmat

loots

Q.ata

^ndow

Help

- X

u at : X 4aa-'." -j z - I! " ' / M S


A10

{=)
8 |
D
i
E . .;- |
1 , ...
2 i

0
0
0.0005485
3

i
1
0
1.008665
1
1;
1.0072765
4 ;

;
1!
1.007825
5

1
Sop

11
5
11.00
10
19.99244
7 ;
Ne
20
14
27.9769
8 '-
Si
28

,',
F

Ti

9 !

101
11

'

> \Sheet 1 / /.Shee(3 /


Reetfe

Sum=0.nra)54eS

O.OQ05435I

iiiiur

111
NUM

. 239.

2. Excel

149

, , ,
.
, (.. , , !). Define Name <Ctrl+F3> Names in workbook (),
Refers to ( ) ( !) . Excel
. , ,
. , , . .
1. . 2.
2. Define Name Inserts
Name1^ Define <Ctrl+F3>.
3. Names in workbook , left.
4. Refers to =Sheet1 !$B$2
=2.
5. left , (.. , )
. , =left,
A3, =left 5,
5. , , .
!
Refers to ( ). , . , ,
.


( ) (, ,
..). ,
( , , ),
, .
, . , , . ,
.
, .
1. Define Name ( ).
2. Names in workbook ( )
.
150

I. Excel

3. Refers to . ,
, (
Excel). . , .
4. , .
.
, ,
.
. , Define Name, Refer to .
! ( )
Name, , .
Define Name.
. , .
, (, , ).
Refers to ( ) (
). , ( )
. , . .
, 2 Sheetl
My_Formula () =12+$$1. 1
1, 1 2, 2 3 ,
, D3 =My_Formula. . 2.40.
D3

ft

=My_Fofmula

. 2.40.

D3 11. , , ,
: 1 ( 2,
, ) $$1. D3, , ,
2. 3 ( 2)
2 ( 1), .. 11. ,
1 .

2. Excel

151


. 2.41: 4,
My_Formula ( Define Name
, Refers to
, ).
Dj Names ids

Puc. 2.41.

-, ,
A3, . -, , (Sheet"!). Excel .
. ,
. , , "" .
Excel.
Sheetl
( 1 :2) , Sheet2 , Sheets . , : Namel Name2.
Namel =Sheet1 :Sheet3!$A$1
. Name2
=Sheet1 :Sheet3!$A$1 :$B$2. "" ,
1 :2 . .
4 Sheetl =SUM(Name1).
Sheetl !A1, Sheet2!A1
SheetS!A1 (.. 1+2+3). . 2.42.
4 Sheet2 =SUM(Name2).
(
). . 2.43.

152

I. Excel

. ,
(),
() . , I
Apply ("=>1^).

. 2.42. Namel

. 2.43. Name2

, Excel
.


, .
, . 2.39.
(,
..) (, ..). ,
. ( ) , .
! ( ),
, .
Tools^Options (1^) Calculation ()
Options ()
Accept labels in formulas ( ) (. 2.44).
, (..
) , = .
10 (. 2.45).
,
( . 2.46 = ).

2. Excel

153

Cotar

International

Save,

Calculation )

View

Error Checking

| General | Transition | Cu

Cetcutotjon

<~BanuaI
17 . .

:: ;<* automatic
.f*~ Automatic except tables

Workbook options
P Update remote references
:

Save external |nk values

" grecision as displayed


" ISOIfJate system

PMC. 2.44.

=
_

, ..
0.0005485
1 008665
1.0072765
1.007825
11.0093
19.99244
27'.976

. 2.45.

f-J5r ^
0
, a.e.i
:
0;
0.0005485
li
0:
1.008665
~
1
1.0072765
"ll
i!"
1.007825
Ill
5j~
11.0093
20!
10
19.99244
!4
27.9769
28!

J.

ii
"
|
5
1

|6

2
si

. 2.46.

154

I. Excel

(
). , ( , 6). ,
. ,
(), , () ,
. , . . . 2.47, : =.
(
). , . , , , ,
,
(, ) .
.
, . ,
, 10 = . , ,
, (, )
( 6). 10
, , 11, D7.
(. 2.48). D7
(= ).

|_ A..._... ... B_

1 i

, ...

0.0005485
1.006665
1.0072765
1.007825
11.0093
1999244
27.9769

. 2.47.
11

J& =

,.. _ _
" , ...

0.0005485

I
^
1.008665;
1
1.0072765*
1

1
1.007825
^

11.0093;
19.99244

20:
Si
27.97691
j
28;

. 2.48.

2. Excel

155

. , . 2.49
7:7
11:11. 11:11
= , ..,
<Ctrl+Shift+Enter>.
. Excel .
. ,
, , . (. 2.50) 9
=MIN(Macca, ...) (
, , ...). ,
.
11
1
.2
3
4
IP

.
|

\
;

Ne

si

_
, ...

0.0005485:

1
1.008665/
1
1"
1.0072765

7825]
11.0093
'..5[
19.992441
20:
10
27.9769'

i;
ill"

01 -.19.992441

. 2.49.
f, =MIN(Macca,a.e .M.I

D
1 ' , ...

2
0.0005485
PI
:

3 '
1.008665
i"!
0
1

4 \
1.00727651

II
5 \
1.007825

11!
5
11.0093:
" '.

Ne
20:
19.99244
1U
Si
!
28
14
8
27.9769
3
| 0.0005485J
11
11:
10
11:
11
10
20
1999244!
10:
12

___

] F

Puc. 2.50.

, . ,
, 11
(. 2.51).
, , , (
). . 2.52, 9 =.

156

I. Excel

11

1
2
3
4
5

. a.e.Mj
'
0
0
0.0005485!

0
1.008665;
-
1
1
1
1.0072765
'^

1
1
1.007825
5
11

11.0093
Ne
10
19.99244:
7
20
1
;
Si
14
27.9769
8
28
0.0005485

| "cz* 3. -.

."" 19.992447

. 2.51.

2 ;
3 ^
4
'
6
7_1
8

;
, .*.*.

There is more man one eel t*h tobd

Select the cortaln>ig the label to use:

. 2.52.
, Excel, ,
.
Identify Label ( ), Select the cell containing
the label to use ( ) ,
. 4, ,
.


, . , , . Excel . -
Excel. ,
Excel.

2. Excel


, Excel. , , .
. Excel, (
).
, .

.
, . ( ), . , !
. ,
, , .
, , , <11>.
, , ,
( Chartl) . , . . 2.53 ( , <11>).
, , . 2.54.
S3 Miciosoll Excel - My_Chart xls
8

t*

Slew : Insert

Format

loots

Qata ffimdow!

- *

. 2.53. <F11>

158

I. Excel

A/c. 2.54.

. ( , -
),
( ), ( ). .
. Chart Wizard (
),
( ) Insert^Chart (^).
, . 2.55.
, , ( : Step 1 of 4).
. Chart type () Standard Types () , Excel.
,
, .
, Chart sub-type (). . -

2. Excel

159

Press and Hold to View Sample ( ). (


!), , .
. 2.56, , .

( , . 2.53).
Chart Wizard - Step 1 of 4 - Chat Type

iCJustered Column. Compares values across


Categories.

Cress and HcM to gew Sample


Cancel

'

Puc. 2.55-

Chart Wizard - Step 1 of 4 - Chart Type
Standard Types | Custom Types |

flwrttypei

Chart sub-type!

Bar wfth a cylndricet shape.

Press and Hold to gew San^jte


Cancel

Puc. 2.56.

160

I. Excel

Press and Hold to View Sample ( ),


, (. 2.57).

. Press and Hold to View Sample .


, .

( ) ,
Finish () , , . 2.58.
,
Next ().
Custom Types () , (
Standard Types) , -, , , -,
, , . ,
(. 2.59).
.
Press and Hold to View Sample. , . , Select from ( )
, : (
Built-in) ( User-defined).
Next
. Chart Wizard ,
, . 2.60.

Standard Types J Custom Types


Chart type:

Puc. 2.57.

2. Excel

161

hart Ars j

3.74'
2.27
4.84
3.74

i;

....J

. 2.58.

jjj[ Lines on 2 Axes


^X Logarithmic
S7 Outdoor Bars
Pie Explosion
/X Smooth Lines
Stack of Colors

Pc. 2.59. Custom Types


Chart Wizard

162

I. Excel

Chail Wizaid - Step 2 ol 4 - Chat Source Data


Data Range j Series j ,

Qata range:
Series h:

BOM
<*

'

. 2.60. .
Data Range

, , . Data Range
( ), , Data range
(), ,
( , ),
Series in ( ). , ( Columns)
( Rows).
, .
( ),
, ( ) . Excel . ,
.
,
,
. , ,
,
( Excel ). .
Series () . , Series ()
(. 2.61).

2. Excel

163

Chail Wizard - Step 2 of 4 - Chart Source Data


Data Range

* 1. Name;

}=Sheetl!$B$l

Category (X) a>* labels:

<Back

Qrtsh

Pi^c. 2.6/. .
Series

,
, .
- ( ,
),
Remove (). Add ().
Name () ,
, Values ()
, . ,
Category (X) axis labels ( X) ,
.
, .

Finish () ( ), , Next ().
Chart Wizard ( ) , . 2.62.
. .
Titles () Chart title ( )
, Category (X) axis ( X)
. Series (Y) axis ( Y) Value (Z) axis ( 2.)
.
( ) , .

164

I. Excel

IChail Wizaid - Step 3 of * - Chart Options

Gridfnes

legend

Data labels

0ata

Chart Bte:

Cancel

<ack .

Bra*

Puc. 2.62. . Titles

Axes () (. 2.63).
,
. , (.. ,
). , Category (X) axis (
X) . , Excel
, , , .
Category () ( ) Time-scale ()
( ). , , ,
. ( ) . Automatic (), Excel
( , ,
, -).

'' Autaoo
<~ Time-scale
'. :...I* Value CZlaxfc

. 2.63. . Axes

2. Excel

165

Gridlines ( ) (. 2.64). Major gridlines ( ) , ,


Minor gridlines ( ) .
2-D walls and gridlines ( ), .
Legend () (. 2.65) . ,
Show legend ( ).
( Bottom),
( Corner), ( ), ( Right)
( Left).
.
Tides | Axes , 05:]|
Category (x) axis
" gjaior grjdBnes
P Mgw grkSnes
SetasffiaOs

".
Value (Z) axis
P Major gridSnes
,,!""" Wnor.grid8nes
~ -0 wafc end gridfines

6*

Brtsh

Puc. 2.64. .
Gridlines
..! Wi?aid - Step 3 of 4 - Chart Options
Titles

Axe

P Show legend
Placement - <~ Bottom
f Cgmer
<~Tof>

. 2.65. .
Legend

166

I. Excel

Data Labels ( ) (. 2.66) . ,


,
( Value), ( Category name)
( Series name) .
Separator () .
Data Table ( ) (. 2.67) ( ), .
Show data table ( ).
(. 2.68) , .
, (
As new sheet ( ), ) ( As object in), .
Chart Wizaid - Step 3 of 4 - Chart Option
lutes |

Axes I Grcfines | Legsref [ft

;f tabd Contains :::


: T~ Catenary name

''

Sgparatw: ,

EH*

Puc. 2.66. .
Data Labels

!.15..|1.1|51|1

Mes | fixes I Grrtirws I Legend |


"'Show data *
F

Cancel

ba

. 2.67. .
Data Table

2. Excel

167

Chail Wizard - Step 4 oM - Chad Location


Race chart:
<~ As new gust:

[chart!

^ Assert h:
{jack

Puc.2.68. .

Finish () ( !).
! ,
,
, ..
, . , , .


, , , , "". , . ,
Excel, , . , .
,
.
, , .. , Excel . ,
, , .
(. 2.69).
.

\ I
\ \
I

!
i
4 \/
208.9804:
50%

5 ]
207.2
25%
6 j
116.69
12.50%:

12.50%1
112.41'"
8-1

168

I. Excel

. 2.69.

.
(. 2.70).
Excel . ,
, , . 2.71.
. ( ), ..
Microsoft Office.

. 2.70.

;A;_J

'1

3
4
5
6
7
8
9
10

208.9804
50%
207.2
250 j
11869
112.41
200 -

j_

}
]

50

4~-

... 1

" "

100

'

1
14
15'

~2~

. 2.71.

2. Excel

169

, (, 70% 0.7), ,
, ( !). .
-, , , .
, Chart Type ( ) (. 2.72).
J
1
_

L1

^ . . I

.,

'

208.9804
207.2
' 25%
12.50%
"118.69
112'.41
12.50%

\
3 ;
4 *

6 0/we
7 *

., ~ ,

'^

.....:.]

' .".

I
!

8
9
"10 '
"11 '
12

I
inn

.,

'

Fornnal

Data

14;

10Q

| : pi

j-,1

Source Data...
Add Trcndline...

16"

Ctetr

18 :

Series...

- :

4-

J :

20
21 :

. 2.72.

.
.
. ,
(, ),
, Excel , , . . "" ,
.
.

Chart Type (. 2.73).
.
! Apply to selection (
). ,
.

170

I. Excel

. , .
,
.
, Excel .
, ,
. Press and Hold to View Sample
( ) (. 2.74). , .

Standard Types I Custom Types ]


hartcype;

, R {Aggjf gJMtjinl
; formatting^

Chart sub-type:

Pie. Displays the contribution of each value


to a total.

Press and Hold to 8ew Sample"


tas default chart

Puc. 2.73.

Puc. 2.74.

2. Excel

171

, . 2.75.
, , ,
. , ( ).
, , . ,
( ) .
.
. , .
, Chart ().
.
. , Excel. ,
. , . Chart Chart Type
(1^ ), Chart Type
( ) Custom Types () Select from User-defined ( ), Add (). . 2.76 , , .
,
. 2.77, Name () ( My_Chart), Description () ,
.
" ".

;
\
3

. 2.75.

172

I. Excel

lilTllii lilliBiiE
This cSatog aBows you to make the active chart Mo a
type.
:
Enter a text name for the new custom chart type.
Darnel

JMy_chart

Enter a text description for the new custom chart type.


Pescriptbre This chart type is created by me|

Cancel

Puc. 2.76.

. 2.77.

. 2.78 , .
, ,
(.. 4:7). , . 2.78, , .

Custom Types Chart Type, ,
, Delete. ,
( ), Delete . .

. 2.78.
2. Excel

173


.

. . , Excel. , . , .
, ,
.
.

. ,
Excel .

,
. 1 , 1 . , , .
( 2), ,
2 =BESSELJ(A2,0) (. 2.79).
0.1 ( ,
, , ,
). A3 0.1.
=BESSELJ(A3,0),
2 ( , ) (. 2.80).
, : 2: ( ) (. 2.81).
, , . .
10.1 (. 2.82).

f, = BESSELJ(A3.0)
D
'
; ;

=6ESSELJ(A2,0)
i ''
; . 8 _J - 1._1
1 ; (t /

3.

1J

ILL

'

. 2.79.

. 2.80.

[3

105J
.

174

I. Excel

0.11 0.9975021

'

. 2.81.

.j

!
ub.1 1

;hc 11 . >,
neiJctibrUi i series or ; drag (nsfcte to cte

. 2.82.


( 0.1), .
,
(. 2.83)
( Chart Wizard).
Line (), , (. 2.84).
Series () Name () , ,
Category (X) axis labels ( X)
=Sheet1 !$A$2:$A$103.
(..
) . 2.85.
.
, . , , ( )
, .
0

yew

<<

Insert

&

loot

* % --

Qata

Open ajvorkbgdk
V_alloy.xls
Gases, xls
My_chart.xls
Elements, xls
More workbooks
ft D

Blank Workbook

New from cKisting workbook


_'j|

Choose workbook.
General Templates...

) Templates on my Web Sites.


^ Templates on Microsoft.com

Add Web Folder..,


Microsoft Excel Help
Show at startup

. 2.83. Chart Wizard

2. Excel

175

Chart Wizard - Step 1 of 4 Chert Type


Standard Types j Custom Types |
Chart type;

Chart sd^ypei

Puc. 2.84.
Chart Wizard - Step 2 of 4 - Chart Source Data
Osta Range

Series

^
, N . . ....^........_...
. . / ^T^^"":L]
.......^.... ^ '

""'

'

Series
]

_]]

PMC. 2.<S5.

, , ,
Chart title ( ).
. .
Category (X) axis ( X) , ( ), Value (Y) axis ( Y) , ( ()) . 2.86.
Gridlines ( )
( ) . 2.87. Legend ()
(. 2.88).

176

I. Excel

1 Chart Wizard - Step 3 of 4 - Chart Options


TBes

Axes

Gridtnes

legend] Data Labels | Data Table 1


]. <

[
'. "'

Category (X) axis:

I
&**>'"' \

'""'

N*>I

..,,

- . ! , ,

, . ' . - , , , .

'*. tV .i-i.:

"

1^]
o \
o. \
\

1 1 ;;
0

-;-|

JJ

'/" ,

'

tai

:,;

c^

"..^.J

-<w-.ri=n ,*

PMC. 2.S6.

MBS

I Axes

GfkSnes I Legend 1 DaaLaWs I DatalatJe I

Category (X) axis

PMC. 2.S7.

Chan Wizaid - Step 3 of 4 - Chart Optinm


Tttes ] Axes ] SrMnes

Legend | DataLabeh

P Show legend
Placement

Top

Cancel

<Sack

JJext>

PMC. 2.88.

2. Excel

177

, ,
, , . 2.89.
(
).
(. 2.90).
-,
. .
(. 2.91), Format Axis Title ( ).

<

Mew

Insert

fatnA

Tcob

y.j a 977626
0.4 0.960398
a.S 0.93847
0.6 0.912005
0.7 0.881201
0.8 !46287

Chart

Wjndow

. 2.89.

178

I. Excel

gfc

dt

SQew

Insert

Fgrnwt

toots

Chart

y^idow

Pi fi$ "J & "v"

. 2.90.

9 *

serl

!
Value Axis Title
.

FB.

Xoofe

1**

Wbdow

Brvpoja^itonfa:.:.; , .' X

!.' 1 ' "!gaffi c?^


f

- ' , . '

0.1 0.997502
0.2 0.990025'
0.3 0.977626
0.4' 0.960398
0.5 093847
0.6 "0.912005
bT/j 0.881201
0.8I 0.846287
0.9 O.S07524
1 : 0.765198
1.1 0.719622
1.2' 0.671133
1.3 0.620086
1.4 0.566855
'i'.s! 0^511828
1.6t o ! 455402
1. 0.397985
1.8. 0.339986
1.9 0.281819
2 0.223391
0'.1'66607

-0.5

. 2.91.

2. Excel

179

Format Axis Title ( ), Alignment () Orientation


() (. 2.92).
. 2.93. ( ).
(. 2.93) Format Axis ( ).
Formal Axis Title

Puc. 2.92.

>

0.997502
0.990025
0.977626
0.96039S
0.93847
0^912005
0.81201
0,846287
0.807524
0.765198
0.719622
0.613
.20086
0.566855
0.511828
0455402
9795
0339986
0^281819
0.223891
0.166607

Puc. 2.93.
180

I. Excel

Alignment ()
( Automatic
()) (. 2.94).
. ,
(. 2.95).
.

Patterns | State' | Fort


Orientation -

Off**:

. 2.94.

"

Insert

Fsfmat

Ipob

Chart

ctow

Value Axi
i

i :.A__.J i j


0
1
0.1 0.997502
0.2' 0.990025
0.3 0.977626
04 0.960398
O.S: 0.93847
0.6 0.912005
0.7 0.8812011
0.8 0.846287
0.9 0.807524
1 0765198
1.1 0.719622
12 0.671133
1.3 0.620086
1.4 0.566855
5: 0.511828
" 0.455402
17 '!39795
1.8 03399B6
" 1.9 0.281819
2 0.223891
2.1 0.166607
2,2 0.110362,

Ready.

. 2.95.
2. Excel

181

, Scale () Format Axis


( ) , (
1.1).
() 0.25 Major unit ( ). ( ) , ,
( Maximum) (. 2.96).
. ,
.
, .
, ,
Format Plot Area (
) (. 2.97).
Format Plot Area ( )
(. 2.98). : ( Style),
( Color) ( Weight). ,
( Fill Effects).
Fill Effects ( ), (. 2.99). ( , Gradient), ( Pattern), ( Picture).
. 2.99 , ""
( Texture).

Logarithmic
" Values Sri cevwse order
" Category 00 axfc crosses at igaximtJn vat

Puc. 2.96.

182

I. Excel

0. 997502
07990025
0.977626
0.960398
0.93847
0912005
CLB81201
0.846287
b"B07524
0.765198
0719622
0.671133
0.620086
0.566855
0.511828
0.455402
0.397985

Chert,..
Source Data..
Chart Options
Location.

. 2.97.

Pattern! I

f fiutomatic
<~ jjone
^ Custom

Sample

. 2.55.

2. Excel

183

. 2.99. " "


, ,
. ,
(. 2.100). .
S%] ffc

git

$ew

Insert

fytrat

loot:

flart

Smdow

Help

0.223891
0.166607
0.110362
Asheetl^ShMffi /Sheet?

. 2.100.

184

I. Excel

Format Data Series ( ) .


Patterns () Line ()
( Weight) (. 2.101).
. 2.102.

. 2.101.
Bfe Ed* Sew Insert F mat look Qetd SJndow

4i. a a v-, x - -7 -> - <- -, u z - at it ^ - % - - / ! " . '- <

" 0.997502
' ^ 0.2i 0.990025
0.3: 0.977S2B
6,4: 0.960398
. " 0.93847
0.6 0.912005
0.7: 0,831201
0.8" 0.846287
03l 0.807524
l! 0.765193
Tj!'0.719622
\.2 0.671133
1.3; 0.620086
1.4* 0.566855
1.5 0.51182B
1.6 0.455402
1.7 0.397985
1.8! 0.339985

2! 0.223891!
2.1! 0.166607
2.2! 0.110362
.Sbeetl / 3ieet2 /]*3 /
Ready

*si.|}
. 2.102.
2. Excel

185

, Excel. .
, Excel ,
.
.
5. , , ,
Excel VBA.

186

I. Excel

Excel
...

VBA


, Excel. ,
,
Microsoft Excel, Visual Basic for Applications, VBA. Excel VBA , .
, .
.
VBA, VBA , , ,
.


Excel , .
. , " " (Windows),
(
Excel). , . Excel
VBA. .
, Excel ,

, , . , , . , ,
"" .


, 1 :10 1 10, 1. .
1
, Tools^Macro^Record New Macro ( ^
1
^ ). , . 3.1.
:

iRecoid Macro
:
My_Macro
Shortcut !<ey;
arl+SHft+|A

State macro &;


[This Workbook

z!

;
Bescriptron:
This macro generates numbers from 1 to 10

rJ

Cjicd

Puc. 3.1-

Macro Name ( )
( _), Description ()
( This macro generates numbers from 1 to 10 -
). , Shortcut key ( ) . ,
. ,
<Ctrl>, . , <Ctrl+Shift+A>. Store macro in
( ) , . .
.

. .
.
!
Stop Recording ( ).

188

I. Excel

.
1. 1 1, 2 2.
1 :2 (. 3.2).
-

1
2

I
2

# 1
:

. 3.2. 1 2

2. 1 :10 (. 3.3).
3. 1. Excel . 3.4.

. 3.3.
1:10

. 3.4.

4. ,
Stop Recording ( ) (. 3.5).
. 3.5.

. - Stop Recording ( )
(, ), View^Toolbars^Stop Recording (1^ 1^ ).
Tools'^ Macros Macros ( 1^ <=> )
<Alt+F8>. Macro
(), , . 3.6.
( ), Run (). , , , <Ctrl+Shift+A>.
, , : .

3. Excel

189

: JAB Open Workbooks


fnao-o generates nutters from

. .6. Macro


, ,
1:10, . ,
, .
, , . , , .
. , Stop Recording
, (. 3.7).
. 3.7.
, , . ,
. ,
, .
,
, ,
, 1 10, 1.

( ). , .

190

I. Excel

. , . , ,
.
1. Tools^Macro^Record New Macro. Record Macro ( -
__2). (, ,
),
<Ctrl+A> Shortcut key ( ) <> .
. , , 1:10, <Ctrl+Shift+A>, , (
), <Ctrl+A>.
2. Stop Recording ( ) , .
3. 1 1, 2 2,
1 :2 1:10.
4. Stop Recording
Excel .
5. , , 1,
.
6.
Stop Recording. .
, - ,
( ) 1, <Ctrl+>.
. , , .
, , , .
Insert1^ Worksheet ( ).
<Ctrl+A>, , , 1 10,
1. __2
. 3.8. 4.

: - . 3.8.
My_Macro_2
, , ..
3. Excel

191

Excel . ( ).
VBA. ,
, - .


, (.. , ) .
(.. Store macro in Record Macro
This Workbook). ,
, , . Tools^Macro^Macros Macros in
Macro All Open Workbooks (
). Macro .
,
. . , ,
.
. PERSONAL.xls
XLSTART ( , Excel ,
Excel\XLSTART). , Excel
, , .
,
, .

! ,
Window () PERSONAL.xls !

,
Record Macro Store macro in
Personal Macro Workbook ( ).
, , , .
, (
), File<=>Save as (
). ( Save as type)
Microsoft Excel Add-In (*.xla), ,
File name ( ) .

( Addlns).
( , , ).

192

I. Excel

, Tools<=> Addins (1^ ) Add-ins


. . 3.9
, My_Macros.xla.

Wd-Insavafabte:
k Analysis ToolPak
Analysis ToolPak - VBA
Conditional Sum Wizard
" Euro Currency Tools
Internet Assistant VBA
Lookup Wizard
Solver Add-in

Ayjtomatiofi...

. .9. Add-lns

. Excel , , , . Inserts Function ( <=>) (


User Defined Insert Function). , Macro , .
. , Addlns,
Tools'^Add-ins .
Browse () .

YBA
, ,
.
. , , VBA, ,
Excel Microsoft Office. , , , .
,

3. Excel

193

VBA . , , VBA.
. ,
, .

VBA
VBA (
Excel)
(.. " "). , ,
, VBA .
,
Excel.
Tools^Macro^Visual Basic Editor (^^
Visual Basic) <Alt+FH>.
VBA, . 3.10.

::

Bew

Insert

Format

Qebue

luncres (ruNCKtS.XLAJ
U VBAProject (Book!)
S- Microsoft Excel Objects

Sheet]
DisplayPageBreaks False
DisplayfUghtToLeftiFalse
EnableAutoFilter 'False
inableCalculatton True
inableOutlining
False
EnablePtvotTable False
EnableSelection
0 - xINoRestriclions
tame
Sheetl
ScrollArea
5tandardWidth
rtsbe

Puc.3.10. VBA

194

I. Excel

Sim

loob

fijiHre

Mndow

, ,
VBA. VBA
Excel,
VBA. VBA.
, ,
VBA, .
, , . ,
VBA
.
VBA .
. VBA,
Excel. , VBA, ,
Microsoft Office .
.
, VBA
( ). ,
VBA :
Project Explorer, Property Window Code Window ( . 3.10 ). ,
Excel,
VBA ,
. , , ( VBA)
,
VBA.
VBA.
. VBA , , . ,
- (
). , ( ),
, , , , .

File
File () , , , . File () VBA . 3.11.
. ,
VBA Excel, .. , , .

3. Excel

195

loft Visual Basic - Book! - (Sheet! (Code)]

; 9

|*

nsert

fgt

Q- Save Book!

Bebug

&

J21
- S X

lock

Ctrl+S

Import Rle...

Qri+M

-^1 HDeclai otion*)

ill

Ctrl+E

Ctri+P

Sheetl
>splayPageBreaks. Fdse
DisplayRightToleft False
EnableAutoFilter .False
EnableCakulatton True
inableOutlimng ; False

asjtLJ

Puc.3.11. File VBA

, . .
,
,
. File . 3.1.
3.1. File VBA

Save ()

<Ctrl+S>

VBA

Import File (
)

<Ctrl+M>

Export File
( )

<Ctrl+E>

Remove ()

Print ()

<Ctrl+P>

Import File,
,

. Export File

.

Close and Return


(
)

<AIt+Q>

196

I. Excel

VBA
Excel

( , ) . Edit,
File.

Edit
Edit () , ,
. Edit . 3.12.
Edit VBA
. 3.2. , , , ,
.

.- 3 9 fi*l "

Insert

Faro*

Bebug

Qrl+Z

Undo Typhg

en,.l)

UJl.

QrN-X

Ctrl+C

- 63 taste

QrN-V

|
| Clear

Del

*4

Select Al

Ctrl+A

Find..,

ClrkF

Rsplace...

Qrl+H

1
.
^ '

Tab

a*

:-; ausiuonfv r*ip

EIZjL

: _ iS x

3 llDectaiMion)

7]

F3

FindtJext

loots fidd-Ins Widow

i. . -^: t"t.2

' Redo Typing


>',

Sun

Shft+Tab

Outdent

,Ul' ListPropeities/Mrthods CtrW


Alphabetic!
mJliJ ":* List Constants
QH+SNft+J
P*Jfca

- ^Ic
EnableOutj 5
EnableSetection
^Jame
ScrollArea
StandardWidth

Gri+I

Quick Wo

DisplayRiaj ^ Parameter Info


EnableAut!

H+Shft+I
Ctrl+Space

Bookmarks
:

0 - xINoRestrictions
Slieetl
8.43

loggfe Bootjnafk

r* ^ " " ^

^J.: fieviousiJooiia,,,!,.

_J
Zi

2f

'

>:

||!|||1|||!|1|!|!||~

PMC. 3.12. Edit VBA

3. Excel

197

3.2. Edit VBA


Undo ()

<Ctrl+Z>

Redo ()

Cut ()

<Ctrl+X>

()

<Ctrl+C>

Paste ()

<Ctrl+V>

Clear ()

<Del>

Select All
( )

<Ctrl+A>

Find ()

<Ctrl+F>

Find Next (
)

<F3>

Replace
()

<Ctrl+H>

,

, ,
, Undo.
,






, ,
( )
( )

.

Clear, Delete ()



.
, ,
,
( )


.
( )

,

198

I. Excel

. 3.2

Indent ()

<>

Outdent ()

<Shift+Tab>

List Properties/
Methods (
)

<Ctrl+J>

List Constants
( )

<Ctrl+Shift+J>

Quick Info
( )

<Ctrl+I>

Parameter Info
()

<Ctrl+Shift+I>

Complete Word
( )

<Ctrl+Space>

Bookmarks
()













, ,




. ,
, VBA

.
,

(
Toggle Bookmark),
(
Next Bookmark),
( Previous Bookmark)

( Clear All Bookmarks).


(. . 3.12)

3. Excel

199

Edit () , , , .
-,
VBA. ,
.

View
View () ,
VBA, , , . . 3.13.
. 3.4 View ().
Miciotoft Visual Basic - Bookl - ISheetl (Code)!

i'JS

_ S X

Last Position Ctrl+Shlft+F2


Object Browser
Immediete Window

F2
CtH+G

Locals Window
Watch Whdow

alcuiation
alining
nablePivotTabte
nableSefection

[True
False
:False
0 - xWoRestrktions
Sheetl

rollArea

Puc. 3.13. View VBA


3.4. View VBA

Code ()

<F7>

Object ()

<Shift+F7>

200

I. Excel

,
,
Project Explorer

. 3.4

Definition
()

<Shift+F2>

Last Position
(
)
Object Browser
( )

<Ctrl+Shift+F7>

Immediate
Window (
)

^g\

<F2>

fpj

<Ctrl+G>

Locals Window

Watch Window
(
)
Call Stack (
)

<Ctrl+L>

Project Explorer
( )
Properties
Window (
)
Toolbox
(
)
Tab Order
(
)

<Ctrl+R>
<F4>

Object Browser


Immediate Window,
. ,
,
<Enter>

Locals Window,



Watch Window,


Call Stack, ,

Project Explorer

Properties Window


Tab Order,
( <>)

3. Excel

201

. 3.4

Toolbars (
)

Microsoft Excel

<Alt+FH>

,
:
Debug,
Edit,
Standard,
UserForm

Customize
Excel.
VB

,
. , , .

Insert
Insert () , . , . 3.14 . 3.5.
Microsoft Visual Basic - Book! - (Sheetl (Code]]
$ 0e

dft

$ew I Insert
i -

Procedure...

_j3 UserForm

gun

ifo?n?t>

If I
Genei al)

|^^

_^j ||Declaitionl

Module
:= ^ VBAProject (Bo<i iffl flsss Module
S gj Microsoft Excel
f] Sheet2 (Sheet2)
Sheet3 (Sheets)
ThisWorNbook

|Sheetl Worksheet
Sheetl
DisplayPageBreaks False
DisplayRightToLeft False
EnaUeAutoFilter : False
;nableCalculation True
EnableOutlining
False

. 3.14. Insert VBA

202

I. Excel

3.5. Insert VBA


Procedure
()
UserForm (
)
Module ()

,
VBA

[]

Class Module (
)
File ()


. ,
.

Format
Format () ,
.
. 3.15 .
Format () . 3.6. , , .

VBAProject (Boolcl)
6 Microsoft Excel Objects
Sheetl (Sheetl)
!|QSheet2(Sheet2)
', } Sheets (Sheets)
TNsWorkbook

Horizontal Spacing >


Vertical Spacing

Center in Form

>

Arrange Buttons

Sheetl Worksheet
Alphabetic | categorized
>splayPageBreaks False
5isplayRightTpleft 'False
inableAutoFilter I False
^nableCalculation True
;nableOutlming :False

Puc. 3.15. Format VBA

3. Excel

203

. , .
, .
.
, ,
, .
3.6. Format VBA

Align ()

Make Same Size


(

Size to Fit (
)

Size to Grid
( )

Horizontal Spacing
(
)

204

I. Excel

.
:
( Lefts), ( Centers),
( Rights),
( Tops) (
Bottoms) ,
( Middles)
( Grid)
,
( ).
, ( Width),
( Height) ( Both)

,


.
General
Options,
Tools-^Options


. :
Make Equal ( ), Increase (
),
Decrease (

) Remove
(
). -

. 3.6

Vertical Spacing
( )

Center in Form
( )

Arrange Buttons
(
)

Group
()
Ungroup
()
Order ()

,
(
)


.
, ,

( Horizontally) ( Vertically)
:
( Bottom) ( Right)


,
. :
Bring To Front (
), Send To Back
(
), Bring Forward (
)
Send Backward ( )

, , , , . , .
, , .

3. Excel

205

Debug
Debug () .
, ,
. VBA .
Debug ().
. 3.16. . 3.7.
Miclosofl Visual Basic - Book! - (Sheet! (Code)]

? Bte

gew

insert

''*

Po/mat fcebug~|fcjn \I
' if

CompteVBAPtc
Step Into

cm
5-(f VBAProject(Bookl)
S '2S Microsoft Excel Objects
Q Sheet! <SheU)
Sheet2 (Sheet2)
Sheet3 (Sheets)
ThisWorHxiok

S^j |(Declaiations|

- Run To Cursor

Ctrl+F8

add Watch...

EiKWatch...

-i-W

_ Quick Watch...

SNft+F9

loggle Breakpoint
:1 Wortsheet

Clear Al Breakpoints

Afcl . ,,
Sheetl
DisplayPageBreaks false
DisplayRightToLeft False
EnabteAutoFter false
EnableCalculation [True
EnableOutlHing
False

F9
Ctrl+ShlFt+F9

:
!

J.i

Puc, 3.16. Debug VBA


3.7. Debug VBA

Compile
()
Step Into ()

<F8>

Step Over
()

<Shift+F8>

Step Out (
)
Run to Cursor
( )

<Ctrl+Shirf+F8>

206

I. Excel

<Ctrl+F8>

. 3-7

Add Watch (
)

Edit Watch
(
)

<Ctrl+W>

Quick Watch (
)

<Shift+F9>

Toggle Breakpoint
(
)
Clear All Breakpoints
(
)
Set Next Statement
( )

Show Next Statement


(
)

Add Watch,
,

Edit Watch,
,


Quick Watch
()

<F9>

<Ctrl+Shirf+F9>

<Ctrl+F9>

, , (Design mode).
Run^Design Mode (^ ). .

3. Excel 207

Run
Run () (. 3.17). , , . 3.8.

Micmsoft Visual Basic -Bookl - [Sheetl (Codell

U 0e t ;yew:

Insert

* Ia'i s 1

ff

Pff-mai:

i\ <

Debug

*
xi I 1

|_15 fidd-Ins
>

Run Sub/UserForrr

(I

Break

F5

\2) : In I, Coll

+
Ctrl+ .

vj

MDeclarations)

Reset
VBAPro)ect(Bookl)
-t^ Microsoft Excel Objects
] Sheetl (Shwtl)
Sheet2 (Sheet2)
! Sheets (Sheets)
1
Q ThisWorkbook

[Sheetl Worksheet
[categorized)
Sheetl
Dispta/PageBreaks False
DcsphyRightToLeft ^False
inableAutoFilter False
EnableCalculation True
EnableOutlhing
False

c. J.f 7. Run VBA


3.8. Run VBA

Run Sub/UserForm
()
Break
()
Reset ()
Design Mode (
)

<F5>

<Ctrl+Break>





( )

, VBA.
Run () .

208

I. Excel

Tools
Tools () ,
VBA. (
), . . 3.18 , Tools.
Tools () . 3.9.
Microsoft Visual Basic - Bookl - IS heel 1 [Codell
S3 Bie

E*

Be

&Kt

Fspnat

Csbuo

&un j lock [&*Hns

ffiratow

h*.

{Declarations}

VBAProject (Bookl)
3 tJ Microsoft Excel Objects
Q Sheetl (Sheetl)
I
} Sheet2 (Sheet2)

] Sheets (Sheet3)
ThisWorkbook

VBAProJect Properties...
Digital Signature...

| Sheet 1 Worksheet

PageBreaks:False
layRig.htToLeft False
ableAutpFilter False
EnableCalajlation True
EnableOutlining
False

,r

. 3.18. Tools VBA


3.9. Tools VBA

References ()

Additional Controls
(
)

Macros ()

Options ()

References,

, ..,

Object Browser

Additional Controls , Tools
Macros,
, ,
Options (Editor, Editor Format,
General Docking).

3. Excel 209

. 3.9

VBAProject Properties
(
VB )

Digital Signatures
(
)

Project Properties
(General Protection),

, ,
, ..

Digital Signatures,

, Tools
, .
,
, ,
.
. , ,
. ,
Excel.

Add-lns
Add-lns () (. 3.19). Add-In Manager ( ). , VBA.
Micmsott Visual Basic - - [Sheetl (Code)l
*

Insert

Pornat

Efcbug

EM"

Ipob 1 &*Hrej * __
-,^,..^

>: =
jy,

*' t {(Geneial)

^ItPf^LJ

Puc. 3.19. Add-lns VBA

210

I. Excel

Jj

Window
Window () , .
. 3.20. . 3.10.

*
Tie Horizontal
Tie Vertically
Cascade

VBAProject(Boolcl)
S Mkrosoft Excel Objects

~m

1} Sheet2 (Sheet2)
Sheets (Sheets)
TNsWorkbook

Sheeli v
Mphabesc I Categorized
yPageBreaks
/RlghtToLeft
nableAutoFlter
EnableCalculation
nableOutlming

Sheetl
False
False
False
True
False

Puc. 3.20. Window VBA


3.10. Window VBA

Split ()

Tile Horizontally
( )
Tile Vertically
( )
Cascade ()


.
.


Arrange Icons
(
)


, , Word.

3. Excel 21*

Help
Help () ,
VBA. . 3.21.
MiciotoH Visual Basic - Book! - IShectl (Code)]

Fjrmat

.ex

Bebug gun loob ftdd-lns |


G3 Mtaosoft Visual Basic Help

F1

MSDNontheffieb
SPOUt rKJOSCft

VBAProject (Book!)
elf MicrosoFt Excel Objects
] Sheet! <SheI)
|j] 5heet2 (Sheets)
Sheets (Sheets)
ThisWorkboc*.

Sheetl Worksheet
Alphabetic jcategwteedl
iheetl
3isplayPageBreaks False
DtsplayRightToLeft False
inableAutoFilter ^False
EriafaleCalculatron iTrue
EnableOutlining
False

Help VBA
, .
Microsoft Visual Basic Help ( Microsoft Visual Basic) (
. 3.21 ). VBA.
, MSDN on the Web (MSDN Web). ,
About Microsoft Visual Basic (O Microsoft Visual Basic),
VBA .
, , VBA
. .


VBA
. (,
),
ViewoToolbars=>Standard (1^ 1^).
,
( - ) , , (..
VBA), , . 3.22.

. 3.22.
212

I. Excel

. 3.11.
, .
3.11.

Excel

View=> Microsoft Excel

. ,
.
, ,
Insert ( File).
,

Insert^UserForm

Edit^Cut

Edit<=>Find

Edit^Undo

Edit^Redo

Run^Ftun Sub/UserForm

Run^Break

RuiT=>Reset

View=> Project Explorer

View^Properties Window

View=>Object Browser


VBA

View^Toolbox

File^Save

Edit^Copy
Edit^ Paste

Run^Design Mode

Help^Microsoft Visual Basic Help



,
, .
.

3. Excel 213


, . () View=i> Toolbars1^ Edit (<=> ^). . 3.23, , , . 3.12 .

. 3.23.
3.12.

214








(
)
( )


Edit^List Properties/Methods

EditOList Constants
Edit^Quick Info

Edit^ Parameter Info


Edit^>Complete Word
Edit^lndent
Edit^Outdent
Debug^Toggle Breakpoint
Comment Block
( )

Uncomment Block (
)

Edit^Bookmarks^Toggle Bookmark
Edit^Bookmarks^Next Bookmark

Edit^Bookmarks^Previous Bookmark

Edit^Bookmarks^Clear All Bookmarks

I. Excel

.
.
,
, "" -- .
,
, ,
.
.



1
View=>Toolbars *Debug (^ ^). . 3.24, . 3.13 . ,
, .

. 3.24.
3.13.

Debugs Design Mode



,


( )
, ,




Locals Window ( )
,

Immediate Window ( )

Debug^Run Sub/UserForm
Debug^Break
Debug^Reset
Debug^Toggle Breakpoint
Debug^Step Into
Debug^Step Over

Debug^Step Out
View^Locals Window
View=>lmmediate Window

. Excel 215

. 3.13

Watch Window ( ),
Quick Watch ( )
,

View<=>Watch Window

Debug^Quick Watch

View=>Call Stack

VBA . , , .

UserForm
UserForm ( )
, . . 3.25.

. 3.25. UserForm
. 3.14.
3.14. UserForm







.
,
Align Format
.


Center in Form Format

Format^Order^Bring To Front

216 I. Excel

Format^Order^Send To Back
Format^Group
Format^Ungroup

Format^Center in Form^Horizontally

. 3.14

I mo%

71


.

Make Same Size
Format

Format^Make Same Size<=>Width

, .
, :
(, , , ..).
.
VBA.
, , , VBA.


. VBA
, . , , -,
, , , -, , , , .
( )
, . ,
. Simple_Macros.xls.

VBA. ( Simple_Macros.xls),
Tools'^Macro<=>Macros (^)
Macro . , _ ( ) __2
( ).
Macro Edit ().
VBA . . 3.26
_.

3. Excel

217

Bte

&

"

insert

Format

Cebug

J ;

.'.-.) 3--'4S' <Sl.' *" - '

Bun

loots

fidd-Ins

Window

< M

|(Geneial)
Sub My_Hacro[)
($ funcre$4FUNCRES.>
> VBAProject (Simple
fi Microsoft Excel Otf
i
ft
Sheetl (Sheet
! ( Sheet2 (Sheet
! Sheet3 (Sheet!
i 45 ThisWorkbooM
S- SJ Modules

Hy_K&cro Racro
This macro generates nuntoers from 1 to 10
Keyboard Shortcut: Ctrl+Shilt+A
Remqre ("Al") .Selecc
ActiveCell.TormulaRlCl " "1"
Range("A2^J.Select
ActiveCell.FormulaRlCl = "2"
Range("A1:A2").Select
Selection.AutoFill Destination:"Range("A1:A10"), Type:exlF iilDefault
Range("Al:A10").Select
Range("Bl").Select
End Sub

Puc. 3.26.

, , .
. -, .
, , , . -, , (, ),
, . ,
. , ,
. ,
. , .
, ,
, . _ ( ) .
VBA. 3.1.

218

I. Excel

3.1. _()
Sub My_Macro ( )
i

' My_Macro Macro


' This macro generates numbers from 1 to 10
1

Keyboard Shortcut: Ctrl+Shift+A

Range ( "Al " ) . Select


ActiveCell . FormulaRlCl = "1"
Range ( "A2 " ) . Select
ActiveCell. FormulaRlCl = "2"
Range ( "Al : A2 " ) . Select
Selection. AutoFill Destination: =Range ( "A1:A10" ) ,
Type: =xlFillDefault
Range ("A1:A10" ) .Select
Range ( "Bl " ) . Select
Sub,
( _ ). End Sub. , , ,
, .. .
, , ,
Tools^Macro^Record New Macro. ,
, ,
(Keyboard Shortcut: Ctrl+Shif t+A).
.

. , , .

, VBA, , ,
. , , .
, . .
, ,
, . ,
( ). ,
Range ( " Al " ) . Select 1.
Select ,
( ). (.. ) Range ( ) (range ),
( !).
1 . , , :5, Range ( " A3 : 5 " ) .Select.
.
. , 3. Excel

219

, -, , , . ,
, ( ) .
. , . :5 (.. - ).
. , , , .. , . , , _.
- , ,
. ,
, ( ,
).
, , _, , . ,
. -
, ,
, .
. _01. , ! (,
). , ( _01),
( _02) ( _03)
. , ,
. , _ . ,
, _01, _.(_01). ( ). _.(_02) . , , ,
, . , , _.(_03).().
.
. , , ,
. , ActiveCell .FormulaRlCl = "1" (ActiveCell) ( FormulaRlCl) 1 ( , , , ).
. VBA .
, VBA .
, 2
( R a n g e ( " 2 " ) .Select), 2
( ActiveCell .FormulaRlCl = "2"),

220

I. Excel

1:2 ( Range("1:2") .Select). AutoFill, : Destination .


1: 10, xlFillDef ault.
. , (
) .
, , , ,
. (: =), .
.
, ,
, .
, .
Destination, AutoFill
.
,
. . .
xlFillDefault, ( , )
. . , ,
. , , ,
- .
, , , 1,
Range ( " 1 " ) . Select End Sub.
_ ( ) . ,
, , . . ,
, 3.2.
3.2.
Sub My_Macro_New()
Range("Al").FormulaRlCl = 1

Range("A2").FormulaRlCl = 2
Range("A1:A2").AutoFill Range("Al:A10")
Range("Bl").Select
End Sub

, , , , , . , ,
, 1 2

3. Excel

221

1 2, ( Range ( " A l " ) .FormulaRlCl = 1


Range ( "2 " ) .FormulaRlCl = 2). , 1:2
1:10 ( Range ( "Al : A 2 " ) .AutoFill Range
( "Al :A10" ) ). (Range ( "Al : A10 " ) ),
. , .
. ,
. ,
( ),
.
, ,
.
, , .
,
( ). , , ,
. __2 ( ) 3.3.
| 3.3. __2()
Sub My_Macro_2 ( )
' My_Macro_2 Macro
' Macro recorded 8 / 6 / 2 0 0 3 by Alexei V a s i l ' e v
' Keyboard Shortcut: Ctrl+a
ActiveCell . Select
ActiveCell. FormulaRlCl = "1"
ActiveCell . O f f s e t ( 1 , 0 ) . Range ( "Al " ) . Select
ActiveCell. FormulaRlCl = " 2 "
ActiveCell. O f f set (-1, 0) .Range ( "Al :A2" ) .Select
Selection. AutoFill Destination :=ActiveCell .Range ( "Al :A10" ) , Type:= _
xlFillDefault
ActiveCell .Range ( "Al :A10" ) .Select
Range ( " Al " ) . Select

, ,
.
__2 ( ) ActiveCell . Select ( ActiveCell).
( ActiveCell. FormulaRlCl = "1").
Offset, . ,
( ), , ,
222

I. Excel

, , , . ,
.
. . ( ).
, ActiveCell .Of f set (1, 0) , , .
(ActiveCell. O f f s e t (1, 0) . Range ( " A l " ) )
( A c t i v e C e l l . O f f s e t d , 0) . Range ( " A l " ) .Select).
. , , , .
, Excel, .
2
( ActiveCell .FormulaRlCl = "2"). , , (ActiveCell .Offset (-1, 0))
.. . , , (ActiveCell.Offset(-1, 0 ) . R a n g e ( " A l : 2 " ) . S e l e c t ) . (Selection)
AutoFill, , .
.
(_). - .
.
(),
( ActiveCell .Range
( " A l : A 1 0 " ) . Select). , Range ( " A l " ) .Select
1 .
, ( ) , 1, .
, , . , , ..,
, . 3.4 .
| 3.4.
Sub My_Macro_2_New()
ActiveCell.FormulaRlCl = "1"
ActiveCell.Offsetd, 0) .FormulaRlCl = "2"

ActiveCell.Range("A1:A2").AutoFill ActiveCell.Range("A1:A10")

Range("Al").Select
End Sub

. Excel

223

ActiveCell. FormulaRlCl = "1" 1.


ActiveCell. Off set (1, 0) .FormulaRlCl = " 2"
, ( ActiveCell. Off set (1, 0)), 2.
, , ( ActiveCell.Range ( " A l : 2 " ) .AutoFill
ActiveCell. Range ( " A l : A10")). , AutoFill, , ActiveCell. Range ( " A l : 1 0 " ) , . Range ( " A l " ) . Select 1.
.
, , ,
"",
. , , , , . VBA
. .
, ,
. . .


, VBA . , ,
Excel
.
, Excel. , , , ( )
. ,
Excel ,
, . VBA . .

VBA ( <Alt+Fl 1>).


Insert^Module (1^).
. VBA . 3.27.

224

I. Excel

i- Miciosolt Visual Basic Bookl [M odule! (Code)]


He

Ed

View

'

Insert

Fojraat

BSDUJ

^ ' '' ,

gu>

ID

I! fe

.*!

^ j HDeclaiirtions)

^ VBAPraject (Bookl)
Mcrosof t Excel Objects
i fp Sheetl (Sheetl)
Sheet2 (5heel2)
Sheec3 (Sheets)
1
Q ThisWcrkbook
El-(gi Modules

. 3.27. VBA

( ).
.
(,
) VBA. Insert^Procedure (^).
Add Procedure ( ) , . 3.28. , .
, Name ()
( ).
_. , () Function () ( ,
), Scope () Public (),
,
. Add Procedure
, . 3.29.

VBA (Public Function My_Exp ( ) )
(End Function), . 3.30. .

3. Excel

225

Add Procedure
: |My

Type

= Scope

j ^ Pubte
: Private
P fiJ Local variables Statics

41 Local variables as States

. 3.29.
Add Procedure

Public ,
(..
, ). , Function,
(_). ,
(, ),
.

gte

Sew

8>sert

a-

Format ; Qebug

gun

loots fidd-Im

y!l f7
(General)

- ^ VBAProject (Bookl)
H Si Microsoft Excel Objects
! |Q Sheetl (Sheetl)
: SheetZ (Sheeta)
Sheets (Sheet3)
ThisWorkbook
-SS
' Modules

Public Function Hy_Exp()


End Function

Modutel Module

. 3.30.

226

I. Excel

, , , , , , , , .

(, , ).
. fix)
f(x) = ^ct(x-xa)k,
)

ct = f(k>(x0)/k\. ,
, , .
, :
40

() = . , , -

tik\

( , .. = 0, ). (.. ),
.

" jc*

"

, (;) = = \ + -\
..,
&*!
2
\
, .
. .
, : , ( ) ,
(.. ). ,
, (. 3.31).
3.5.
Microsoft Visual Basic. - Fwc.il* - IModulel (Code))
He

t*

^ew

Insert

fynaf

Qeburj

&1

Jpofc

ftM-

JBnOjOH

i X * ill M! " "i >..ii-Bfe;%liS'1S'?'!Cil 1


I llf.cnfial)
VBAPrn ject (MyJHmcjcb)
4S Microsoft Excel Objects
; ] ShMll (Sherti)
:
i (QSheet2(Sheet2)
Sheets (Sheets)
ThisWorkbook
- Modules

Public Function My_Exp(x, n)

s-0

p- 1

For i * 0 To n Step 1
s - s + p

p - p * x /
Next i
Hy_Exp s
End Function

. 331. _ <)

3. Excel

227

3.5. _()
Public Function My_Exp(x, n)
s = 0
= 1
For i = 0 n Step I
s = s +
= * / (i + 1)
Next i
My_Exp = s
End Function
( ) : s 0 ( s = 0) 1
( = 1). ,
.
. For,
- i ( i = 0), ,
, (.. ).
.
Step 1.
. - , . , Step 1 .
, Next i, . s ( s = s + ), ,
(i+l). = * / (i + 1).
, _ = s s
( , , ).
1
"
. 1 +
.. + ,
2
\
, '-
i.
. ,
, . (/ + 1), . ,
( + 1)- , , - . , , ,
, .
. , . , .
, .

228

I. Excel

, .
. ,
, :
( 1 ) ( 5 4).
( , 5) =(),

Excel (. 3.32).
, 6 =_(,4). ,
, Excel. <Enter>
6 (. 3.33).
5

=()

i_ I

'.

I
- '
|
_0

=_(,4)

__

3_:

5
My ExpO I

1]
5
2.7182818281

1!
............ 51
2.71828128
2.7166666671

. 3.33.

. 3.32.

, , . 4 , ,
10, (. 3.34).
, . . , . ,
() .
. , , , (
, , ). . , . ,
.
4

10

= '
^
- I

1 _1

2.718281828
.2.7.18281801..

. 3.34.

3. Excel

229


, , - ,
- . ,
. , , , , .
. ,
.
. ,
, , Excel
. . , _
My_Func .xls, : =My_Func.xls!My_EXP(1,15) (. 3.35).
'*'; "'' -' ' '.'. ~~ jfb My Func xlslMy EXP(1,15)

2
'3

,0

. .

2.718282

. 3.35.

. . , , , Insert1^Function (^).
Insert Function ( ).
- , ( , .. Public ), User Defined ( ).
(. 3.36).
insect Function
Search For a function:
Type a brief description of what you want to do and then
IdickGo
Most Recently Used
Recently used
Financial
Date & Time
AVERAGE
Math 8> Trig
IF
Statistical
HYPERLINK
Lookup & Reference
COUNT
Database
MAX
Text
IN
Logical
SUM(numberl,nun Information
Adds ai the numbers

Heb on frhis function

. 336.

230

I. Excel

. , ,
, (),
, .
,
Insert Function ( )
(. 3.37). . .
(
(. 3.38).
, ,
. , X 1, N 15,
(. 3.39).

Type a brief descrption of what you want to do and then


click Go

Or setett a category; |Usw Defined


Setett ahjncMon:

Puc. 3.37.

. 338. _

3. Excel

231

Xjl
NJI5
Nohdpavafabte.

Formula *

2.718281828

Heio on thts function

Puc. 339.

, ,
- .
.
, , , ( . xla)
XLSTART. Excel ( )
.
.
! File^Save as (^ ),
. : , Excel ,
( ).
. . , , (.. ) . Tools^Add-lns (^),

, , .
(.. Excel
).
, .


.
, . , (
) ,
. Variant.
VBA . 3.15.

232

I. Excel

3.15. VBA

Byte
Boolean

I
2

Currency

Date

Decimal

14

Double

Integer

Long

Object
Single

4
4

String

10
.

0 2 5 5
.
: TRUE FALSE
-92233720368 54 77. 5808
922337203685477.5807. (8 ), 10000.

.

(8 ). (
1 100 31 9999 ), ( 0 : 0 0 : 0 0 23:59:59)
. (12 ),
, 10 .
0 28.
( ) 79228162514264337593543950335,
( ,
.. )
0.0000000000000000000000000001
( )
.

1.79769313486231308
-4 . 94065645841247-324
4 . 94065645841247-324
1.79769313486232308
.
-32768 32767
.
-2147483648 2147483647

.
: -3 .40282338 -1.401298-45 1.401298-45
3 .40282338
.
. ,
, 2"' 2"

3. Excel

233

. 3.15

Variant

16
22

,

,
.
.
,

, ,
. . ,

(, - ), VBA
. , . , .
, , . . Variant.
Dim. , MyAge Dim MyAge.
,
Dim MyAge As Integer.

, . ,
, ,
, , . ,
, .
,
. , As, .
, Function My_Exp2 (x As Double, n As Integer) ,
, .
3.6 ,
:
( ,
). ,
, .

234

I. Excel

3.6.
Public Function My_Exp2(x As Double, n As Integer) As Double
Diih s As Double
Dim p As Double
Dim i As Integer
s = 0
p = 1
For i = 0 To n Step 1
s = s + p
p = p * x / (i + 1)
Next i
My_Exp2 = s
End; Function;_ ,_. ,

.
.
,
,
.
, _.,, ....^..
=
, _2 () , ,
. ,
_ ( ) (. 3.40).
,
, . , _ ( ) _2 ( ) ,
( ), . . 3.41 .
<S| Efe

tdit

Sew

Insert

Format

^5 VBAProject (My_Func.xls)
B-t3 Microsoft Excel Objects
] Sheetl (Sheetl)
SB Sheet2 (Sheet2)
, sheet3 (Sheets)
i l ThisWorkbook
B--S Modules

|Modulel Module
alphabetic (categorized |
SUBlModuiel

Qebug

gun

'

>

loots

, -

|(Geneialt

TJ MDecUidliotn

Public Function Hy_Exp(x, n)


0
I
Fo i e 0 To n Step 1
s + p

p ' x / (i + 1)
Next i
Hy_Exp = s
End Function

Public Function Hy_Exp2(x As Double,


n As Integer) As Double
Dim s As Double
Dim p As Double
Dim i As Integer

s- 0
t - 1
For i = 0 To n Step 1

se s + p

Next i
Hy_Exp2 - s
End Function

Puc. 3.40.

3. Excel

235

=_2(1.8.4)

. 3.41.

........................
....... _
4 .

_(1 ,8)
2 7182787/1
2.71827877!
6 ;MylExp2(1.8) '
" My (1.8.7)
2.71827877;"
]~2(1,8.7)
2.718231526!
"
"'2.718261526
.
'
_10]_2{1 .8.4)1 _ 2.718278771
1:

, ,
( , ), . , , ( ), . ,
. ,
8.7, =_(1,8.7) ,
, .. =_(1,8),
=_2(1,8.7) . , =_(1,9). ,
( _ ( ) ), , . , ( 8.7); , 8. ( _2 ( ) ) ,
( ). 8.7
9. , , 8.4,
8 (. . 3.41, 10:10).
. VBA
( ) . , , , .
,
"", .. . , , .
, ,

, .
, .
,
ByVal. ByRef. ( ).

236 I. Excel


. , . ( )
. , . . 3.16 , VBA.
3.16.

@
#
$
%
&

Single
Currency
Double
String
Integer

Long

,
.


, .. , , .
, Optional. ,
. , ,
, .
.
. ( )
,
. ,
. ,
(-]_)'"2
:3 5 1
: 5(:) = -
=
+
+ .... ,
tf (2i-l)!
3! 5! 7!
. .
,
: , . ,
.
,
, .
. 3. Excel

237


. . (.. , ),
. .
3.7 3.8
.
j 3.7.
Private Function InvFact (k As Integer) As Double
'
If k = 0 Then
InvFact = 1
' 0!=1
Else
InvFact = InvFact (k - 1) / k '
End If

Private ,
, .
. - , Private Public .
.
:
. , If, (k = 0). ,
, Then.
,
( InvFact = 1). ,
.
(.. k = 0 ),
, Else.
(InvFact = InvFact (k - 1) / k), . , k , (k-1), k. (k-1) InvFact (k-1) .
InvFact ( k-2 ) .. ,
. .
End If.
InvFact ( ) , , , .
, , ,
InvFact ( ) , 3.8.

238

I. Excel

3.8.
Public Function My_Sin(x As Double, Optional n)
'
' :
Dim m As Integer
'
Dim i As Integer
'
Dim s As Double
'
s = 0
'
1

' :
If IsMissing(n) Then = 7 Else = n
For i = 1 To Step 2
' 2
' -.

s = s - (-1) ((i+1) / 2 ) * InvFact(i) * i


Next i
' .
My_Sin = s
'
,
n ( ), (, , ). Optional . . , .
, , : m
( ), i, s ,
. .
, , ,
. IsMissing (n) .
VBA IsMissing ( ) , n My_Sin ( ) .
IsMissing () TRUE,
, FALSE .
! IsMissing () Variant.
, , , ,
Integer, . My_Sin ( )
(
Variant).
, .
(.. ) , . ,
, .
, m 7.
My_Sin ( ) . , .
3. Excel

239

. , VBA
. , My_Sin()
, : If Then Else . .
Then Else , .
, :
If Then

Else

End If
End I f.
,
.
1 m ( ) 2. s,
, , (-1) " ( ( i + 1) / 2 ) * InvFact(i) * i.
, .
, . , 2, 1, , . , i
, a InvFact (i) , ,
, . , (-1) ( ( i + 1) / 2) .
. VBA -"" (). ,
, , . 3.17.
3.17. VBA

Mod

a Mod b

240

I. Excel

s
.
, My_Sin () InvFact ( ) , (. 3.42).
. =Pi()/6.
. 0.5.
5 =SIN(B3).
Excel.
4 ,
5,
. , 6
=My_Sin(B3,B4) ( ) =My_Sin(B3) 7.
.
. 3.43.
Micioioft Vitual Basic - Me Sine xl. - [Modulel (Code
Jnsett

''

Format

&un

Io

> II

Private Function InvFaet(k As Integer) As Double


1

If h - 0 Then
InvFact " 1
' :! 01 = 1
Else
InvFact - InvFact(k - 1) / k '
End If
Jnd Function ___

I -Qsheetl (Sheet!
i

Qebug

' r"

i Sheets (Sheet's

8 & Modules

Public Function Hy_Sin(x As Double, Optional n)


1

;
Dim m As Integer
'
Dim i As Integer
'
Dim s As Double
'
3=0
'
' m: fj
It IsHissingtn) Then 7 Else - n
For i - I To Step 2
' 2
1
;

= - (-1) (U + 1) / 2) * InvFact (1) * i


Next i
'
Hy_Sin = s
'
End._ Function

: i

JModulel M o d u t e _
CaegorMd)
Modulel

''

" "

" '

. 3.42. My_Sin () InvFact ()


!

. 3.43.

' =My_Sin(B3)

|
0.523599
1
5;
1 ( )
0.5!
j ( )
0500002^
1 ( ) j
0^51

3. Excel

241

, . ,
-( 5
3
5

+
!).
'
. , ,
. , , ,
.
My_Sin ( ) IsMissing ( ) . ,

. .
My_Sin2 ( ) , 3.9.
\ 3.9. My_Sin2()
Public Function My_Sin2(x As Double, Optional n As Integer = 7)
1

' :
Dim i As Integer
'
Dim s As Double
'
s =
'
For i = 1 n Step 2
' 2
' :

s = s - (-1) i + 1) / 2 ) * InvFact(i) * i
Next i
'
My_Sin2 = s
'
End Function
My_Sin ( ) , n
( ). ,
,
. , , , 7 ( ).
,
. . , ,
My_Sin2 ( ) My_Sin ( ) .
, , ,
, .

242

I. Excel


VBA
, , VBA .
( ,
) . 3.18.
3.18. VBA

Abs

Abs(x)

Atn

Atn(x)

Cos

Cos (x)

Exp

Exp (x)

Fix

Fix(x)

Int

Int (x)

Log
Rnd

Rnd (x) Rnd

Sgn
Sin
Sqr
Tan

Sgn(x)
Sin(x)
Sqr(x)
Tan(x)




( )
.
, ,
.
, ,

.
,
0 1. .
,
,

.



Double
Double
Double

Log(x)

Doubl e

Double

Double
Single

Integer
Double
Double
Double

3. Excel

243

, ,
. ,
, VBA . . -, .
VBA . , , .
Excel ,
VBA. , ,
. ,
VBA Excel. . ,
. ,
, .
. , , . . 3.44.
: 12 =AVERAGE(B2:B11).
. 3.44. . .
-. , VBA
.
VBA . 3.45.
3.10.
3.10. Avr_Tem()
Public Function Avr_Tem(A) As String

Dim t As Single
t = Application.Average(A)
Avr_Tem = "Average temperature is " + Str(t)
End Function
12
A
Day

|
I

29

27! ;

li

24 *

26
27 .8J

Puc. 3.44.

I. Excel

"C"

=AVERAGE(B2:B11)
i

'
D
Temperature ;

9
<
leverage

244

Chr(176)

a Micmsnll Visual Basic - Mf Func2.ls - [Modulel (Code))


fe

gew

insert

Ffflinat

Qebug

Run

loots

Add-lns

Window

- ff X

tjWp

a - i * * il , ' . > %l 1 *S *' 8) i mi


(Geneiat)
\ & VBAProject (My_Func2.xls)
i*3 Microsoft Excel Objects
| ] Sheell (Sheetl)
; (F) ShettZ (5ht2)
: Sheets (Sheet3)
1
THsWorkbook
Si Modules

jj jtT eclai aliens)

Public Function Avr Tem(A) As St cing


Dim t As Single
= Application. Average (A)
Avr Ten = "Average temperature : " + S t r ( t ) + Chr(176J + "C"
End Function

Module 1 Module
Alphabet (categorized)

. 3-45. Avr__Tem ()

, AM r_Tem ( ) , :
. ( ), , , ; . ,
, , As String
. t
.
t = Application. Average (A). Excel (
AVERAGEO). Excel. Application, , : . , , Excel. ()
Excel . ,
> , , ,
.
. , i : .
, ,
, Excel.
. ,
. i "Average temperature is " ( lepamypa). , ; .
( t) Str ( ) . Chr ( ) , . I i 176- , .

3. Excel

245

. , , , . ,
CODEQ, . CODEQ
. .
( ).
. .
, . D1
=Avr_Tem(B2:B11). . 3.46.
D1

=Avr_Tem(B2:B1l)
D
Temperature
.....
l]
29
' .............
28

5:
6j

7
S
91
10

i1
:

; i.

j ftve

rtperature is 27.8

31'
29
27
28
2S
24
25
27.8

. 3.46. Avr_Tem ()

, . VBA . , ,
VBA, . .


, , , .
Windows ,
.
: ,
, (, , ). ,
(, )
, , . VBA .

246

I. Excel


. ,
, .
VBA. Insert1^UserForm (^ ).

( Toolbox), VBA
, . 3.47.
. Properties
(). . 3.48 Project ,
. . , .. .
,
. ,
.
: -
, .

Eg Hte

. ^ew

Insert

Format

QebuQ

>

Rji

'-

VBAprojecneoaklj
B- ^$ Mcrosoft Excel Objects
Sheet! (Sheetl)
IT|5heet2<Sheet2)
5he3 (Sheets)
TrfcWorkbook
3 'Si Forms

userFormi
JackColor
iorderCcJor
PorderStyte

0 SeooboooFe.
300000126.
0 fmBorderSt
UserForml

=ont
=oreCoior
Height
HebContextlD

Puc. 3.47. VBA

3. Excel

247

'M Microsoft Visual Basic - Bookl - [UlerFoml


eebog

srForn)
Run

loote

fldd-Im

WM ,'

^ > tf .*}[? W ?" S

^,t~
DraneufFer
Enabled
Font
=oreColor
height

telpContext

~ .'mCydeANForms
-32000

ilrue ........

SH80000012&

.180. I_
:
0

'eepScrollBarsVisrrble 3 - fmScroKarsBot
Left
0
(Wore)
Mouselcon
Mc<j5*PoM
0 fmMousePointeri
" " . . . . '. '(None)
2 fmPictureAli
PictureAlignment
D
icture5i2eMode
0 - fmPictureSeeMo '
PictureTifing
Fate*
RighlToleft_
- fm5crol6arsNoni
ScrolBars
ScrdHeight
5crol.eft
ScrolTop

. 3.48.

, ( ) UserFormI. ,
. , Caption . ( Properties)
Caption ( ). , .
UserFormI My First Form ( - ). . 3.48 ( , ).
! . Name .
Caption ( ) .
, . :
,
..
(. 3.49).
. , Height Width. ,
, ( , 1/72 ).
,
.

248

I. Excel

\'jt MICIOSO Vnual Basic - Book.1 [UterForail

Irwert

a - \*

Fgfroat

Qetug

; ;"-

R,un

t tie

Forml UserForm
|C*eeortl|
UserForml
'
&H8000000F& ~
wsoooooia. 1
:
0 fmBorderStyteNtl)
My first Fotm
O-fmCydeAIFormsf
^32000
:
True
Tahoma
UHSOOOOOl I
97.5

! 3-fr

0
(None) ~ ~
I
0 fmMousePointerl:;
(None)
2 - fmPictureAlignrm^
0 - fmPictureSzeMo
False
False
0 - FmScroJbarsNoni

Cortd. I

; ||(*' a

:H

":b

il
PMC. 3.49.
- .
,
. , , . , ,
. ,
Toolbox (. 3.50).
.
. -
, View^Toolbox
(1^ ) VBA.
.
. 3.50.

Toolbox
, .
, (..
, , ).
. 3.51.
, , . 3.52.
3. Excel

249

i Microsoft Visual Basic - Bookl - [OteiFoiml (UseiF


Fte

dit

J0

insert

Format

gebug

g>jn

II

loot

M$g

jUserForml
D etHSOOOOOOF&
&H8000001Z&
0 fmBorderStyteNc
My First Form
0 - fmCydeAIIForms
I32000
;True
hfahonM

Cycle
>awBuffer
:nSfecT
=ont
:
oreCpfqr
Height
:97.S
HdpContextlD
;p
KeepScrollBarsVisible;3 - l-'mScroJiarsBotK
Left
_" jp
l^ouselcon
(None)
MousePpinter
iO - fmMousePointerl
Picture
;(None)

."

L,_..

...

Puc. 3.51.

. 3.52.
Label 1. , , Caption, ( Name).
. (Caption Name) .
, ,
, .
,
. .
250

I. Excel

, ,
Caption. .

This is my first form ( Label"!) (. 3.53).
! ,
, ! ( )
- , . , Properties,
( Labell).
, , ,
"".
. Font
, (. . 3.53). ,
14 ( Arial), (. 3.54).
. 3.54 , Toolbox ( ),
, .
, (. 3.55).
, ( Caption).
CormandButtonl (. 3.56).
, ( Font)
Times New Roman 8 . , . . 3.57.
! ' Microsoft Visual Basic - - [UseForml (UseiFormll
Bte

Bft

Sew

Insert

Format

Bsbug

B.un

Ipote

fidd-Ins

IB 3 - ' ? fi *:; ?> U .. ' *r w

[Predates Labell

JLabell Label

_]

fttohabeft |cateeorized|
(Name)
Accelerator
; AutoSize
j SackColw

Labell
:
Wse
] 88<

i BorderColoc
BorderStyie
;? Caption

&H80000006&
0 - fmBorderStyteNone
This is my first form

*|1

""~"""^"""^^^^^^e~~ii

..

'

''l^L^EJOr *

. -.> ,.<. ..': :

liiiiiii

ContrdTipText
: Enabled
True
H =oreCotor
&HS0000012&
^
: Height
;i8
! HdpContexttD 0
f'Left
74~ "_"
i Mouselcon
(None)
, MousePointer 0 - fmMousePointerDef au ^ 1 j

Puc. 3.53.

3. Excel

251

Microsoft Visual Bane - Bookl - [UserForail (UserF


EJe

dit

iew

[nsert

I u3-

Fgrmat

Alphabetic J Categorized J

Debug

-"- -", >

gun

'

::xThlslsmyflrstform

}! (Name)
ILJserForml

;;BackColor
Q &H800000GT& ^
BorderCoior
&H80000012& "
BorderStyle ~ ~_ 0 - frnBorderStyleNc
i Caption
My First Form
Cycle
0 - fmCycleAIIForms
DrawBuffer
32000
Enabled
True

"

.-. . ii ... /. ... _ - - . - .

Control! |

, ForeColor
800000128.
:
i Height
"""(97.5
jiHelpContextID
;0
;
il KeepScrolBarsVisible 3 fmScrollBarsBotf
Hleft
0
Mouselcon
(None)
!
MousePointer
:0 - fmMousePointerl ; '
Picture
'(None)
j

'
5

. 3.54.

gat

Wew

insert

F^mat

Rut

Tools

Add-Ins

: This Is my
'Name)
BacKolor
BorderColor
BorderStyle
Caption
Cycle
DrawBuffer
Enabled
ForeColor
Height
HelpContextID
KeepScroJIBarsVisible
,eft
Mouselcon
MousePointer
Picture

User Form!

&H80C00012&

:0-fmBorder5tyleNc
My First Form
0 fmCycleAIIForms
132000
iTrue
Tahoma
&0000012&
97.5
0

3 - fmScrollBarsBotl0
(None)
p - fmMousePointerl
(None)

. 3.55.

252

I. Excel

| CornmandButtonl
.

Fee

Microsoft Visual Basic - Bookl - [UseiFwml (UterF


Fte

dt

View

Insert

Fa-mat

Debug

un

jCommandButtonl CommandButton

This Is my first form :: :

Alphabetic J Categorized
CommandButtonl
J^""^___]

srator

j<
~

CommancBUttonl

iiH8000000F& '
:1 - fmBackStyleGpaqu'*

CommandButtonl

False
(None)

iselcon

Puc. 3.56.

Microsoft Visual Bask - Bookl - IU<eiFo1


fjte

dft

Jflew

gisfflt

f^m^

B?^^

>

BM^

it

This
'Name)
Accelerator
ftuloSee
3ackColor
Back5tyle
Cancel
Caption
ControlTlpText
Default
Enabled

CommandButtonl

False
weooooooFe.
1 - FmBackStyleOpaqui .
False

lot;
1
[False
;True
1 Times New Roman '. j"^
&H80000012&

CortroU)

BBH.1

=oreColor
Height

HelpContextlD

-eft"
Cocked
Houselcon

aH

he
;0

51
False
(None)

PMC. 3.57.

3. Excel

253


. , , . . , , - .
, , - .
, ? .
: ( ) - ( ). - , ,
( ).
(
), .
,
,
- " " (. 3.58).
( CorranandButtonl_Click())
.
. , -
, ,
(CommandButtonl) , (
, Click). ,
, (. . 3.58). , , ,
Function Sub.
Miciototl Visual Basic - Bookl [UseiFoiml (Code)]
Edit

Sew

* 4' fe#* '

Jisert

Fgrmat

Debug

LJ

Bun

loots flck

t m&M't
j CommandButtonl

Private Sub ConmiandBuctonl Click()


tftme)
Accelerator

SackStyte

jCcmmandButtonl

IF*
__

Caption
ControlTipText
<aJt

oreColor

End Sub

Q &H80COOOOF8.
jl-fmiackStyHeOpaqui
,False
-OK
I
'False
True
Times New Roman
&8000012&
18

r
. 3.58.

254

I. Excel

,
. Hide .
UserForml. Hide. ,
, , Hide ( ) (. 3.59).

Private Sufci COOTnandButtonl_ClicfcO


UserForml.|
End Sub jgi Enabled
E Font
1
ForeColor
? Height
HelpContextID

VBAProject(Bookl)
H S Mcrosoft Excel Objects
| (p Sheetl (Sheetl)
!'-(B Sheets (SheelZ)
J 5heet3 (Sheets)
45 THsWorkbook
H < Forms
13 UserForal

*l

insldeHelght

-i
.J

Times New Roman _.] ^ i

'

Pc. 3.55.

, (.. )
, 3.11.
: 3.11.
Private Sub ComrnandButtonl_Click()
UserForml.Hide
End Sub

,
, , , , .
.
!

. , .

, VBA Insert^Module (^). Insert^Procedure


(1* ). Add Procedure ( ) Name () ( ShowMyForm). ()

3. Excel

255

Sub ( ), Scope () Public () (. 3.60).


(. 3.61).

, UserForml. Show
(. 3.62).

.,H

vnv.-

fO'

, X]
-JJ

( Sheetl (Sheetl)
(Qshe<:t2(Sheet2)
J SheeO (SheeU)
Q ThisWorkbook
forms
UserForml
fS Modules

j(General|

_vj |<Declaiions|

'

H Add Htoceduie

Qg

Cancel

; jShowMyForm
|

-Type

.'

j: : froperty
Scope

f Pu
f~ Private

" Locel veriabtes as Statics


1

1 -

"

Pwc. J.60.
1 J

Microsoft Visual Basic - MyFonub - [Module! (C


E*

view

insert

format

Bebug

gun

jrj JShowMyform

Public Sub ShowMyForm()

] Sheet2 (Sheets)
Sheets (Sheets)
;
%J ThisWorkbook
gi Forms
S UserForml
EKt! Modules
i

End Sub

1 Module 1

. J.61 -

256

I. Excel

Miciotoft Visual Basic - MjiFoim.nl: - Morlulel


Hte

SsSt

Sew

Insert

Format

Qebug

gun

-n KI . , .
| ,| ShowMyfoi m

B] Sheetl (Sheell)
| ST) Shest2 (Sheets)
! (II Sheets (Sheets)
45 ThisWorkbook
--| Forms
i 0B UserForml
-gj Modules

Public Sub ShowMyFormO


UserForml.Show
End Sub

|Modulel Module
Alphabetic I categorized

Puc. 3.62.

3.12 .
| 3.12.
Public Sub ShowMyFormO
UserForml.Show
End Sub
Show.
.
. , Show,
, . ,
Hide , .

ShowMyFormO . ,
.

Customize. Customize Commands
() Categories Macros (),
Commands
Custom Button ( )
( ), . 3.63.

. , , , . , .

,
.
3. Excel

257

Toofears 'Comma-ids I QpSons j


Toaddacommandloatoofcar: select ace
command out of thfe: datog box to a toofca
Custom Menu Km
Custom Button

Open - workbook
My_Func2.xls
My _Sne.xls
My_Func.xls
My_Func.xla
Qgr More wordbooks..,

Web

Control Toofcox

New from existing workbook


Choose workbook...
New from template
General Templates...
i|3 Templates on my Web Sites
<] Templates on Microsoft.corn

ftdd Web Folder...


l?j Microsoft Excel Help
[v-1 Show at startup
'

' MJC

. 3.63.

. , , ,
( ). .

, Assign Macro
( ) (. 3.64).
Assign Macro ( ) . . , , , ShowMyForm (. 3.65).
, , . .
Excel .
My First FoVm (. 3.66).
, . , ,
. , ""
- .

258

I. Excel

My_Sine.xts
My_Func.xls
My.Func.xle
^ More workbooks

Choose workbook,.,
bfneral Templates...
Templates on my Web Sites.
TemplatesonMicrosoft.com

Add Web Folder...


MKfosoft Excel Help
v Show at startup

Puc. 3.64.

To ado a command to a todbari setect a category drag the


command out of (his dialog box to a toofcar.
Cateopries:
Conenands:

Pwc. 3.65.

3. Excel

259

Ecfit

Sew

Iroert

Fsrmet

loofc

[Jata

JSr*tow

"Si. a a 5> * * Eft -to - n /


; - 9 *
fi

ttelp

Open a workbook
My_Func2.xl!
My_Sine.xls
My_Func.Kli

B ; Mor

This Is my First form

New
D Blink Workbook
New from existing workbook
Choose workbook. . .
i New from template
! ] General Templatei...
Templates SVebSftes.
Templates on MoiKoft.com

C3 ftdd Web Folder...


05 Microsoft Excel Help
>, Show at startup

. .. Excel


,
, . ,
- ,
. , VBA . ,
,
. , ,
. .
. VBA Insert^UserForm (1^ ) ,
. 3.67.

260

I. Excel

4 9= *

Insert

Fsyroat

- . '

Qi&bug. gun

',

>

p
& VBAProjecl (MyForm.Kls)
Eh Microsoft Excel Objects
(] Sheetl (Sheet!)
i . (B Sheets (5heet2)
' . -Q Sheets (Sheets)
!
I
- TheWortoook
- -*( Forms
:
,
9 UserFOfmi
j MocUes

BackCokjr
BOfderCotor
derStyte'
Caption
Cycle
awftjffer
Enabled
For*
weColor

*j*

JserForm2
.
UH30000012S
0 - fmeorderStyteNone
User For m2
0 fmCydeAIIFprms
132000
|True
Tahoma
880000012&
;180

lelpContextlD
;o
eepScrcJBarsVisibte : 3 - fmScrolearsBoth

Puc. 3.67.

( UserForm2) My Options. : (
Height) 250 ( Width) 370. , , , .
(, ..).
,
.
. ,
, .

Properties Font.
Arial 10. , . 3.68.
.
Frame (. 3.69).
( ), .

3. Excel

261

Miciosolt Visual Basic - ris - [UsefFoim2 (U.eiForrnll


E*

Sew Insert

^ VBAProject (MyForm.xls)
& ^ Microsoft Excel Objects
iQ5heec2(5heet2)
Sheets (Sheets)
%] TtisWofftook

. 3.68.

. 3.69. Frame Toolbox

, ,
. (. 3.70).
, , . 3.71.
( Caption). Data. , , , ,
( ). ( ) - .
,
TextBox Toolbox (. 3.72).

262

I. Excel

Mrciotoft Visual Basic - , ids (UseiFomZ (UmFom


Efa

6*

Sew

Jrsert

Farm*, Bsbug

uun
II

IP*

ia a
VBAProject (MyFotm.Kls)
S" f^f Microsoft Excel Objects
1
, ( Sheetl (Sheetl)
i : ~ 5heet2 (5heet2)
1
Sheets (Sheets)
i ' -S ThisWorkbook
Srj ei Fornts
UserForml

: -m

- Modules

Jl
UserFormZ UserForm
| categorized)
UserFormZ

' &H8pooqpOf &


1&
.Q fmBorderStyteNone
My Options
0 - fmCydeAllForms
_,
;
32000
1
iTniej

JKeepScrolBarsVislbte 3 - fmScroBBarsSoth
Left
0

ii i

Puc. 5.70.
aur> IOSAS

as&w

... _.
d VBAProjeit (Myf orm.xls)
Q Microsoft Excel Obiects '
i
\ ] Sheet! (Sheet!)
i
Sheets (Sheets)
,
fi
ThisWorkbook
El- ^s Forms
UserForml
;: IV) Modules

Frame 1 Frame

ewoooooi
0 - fmBorderStyteNone
Framel

XI

A <AI
F7

Height
...tlp2
HelpContextID
!0
Keeps croHBarsVisible 3 - ft
Left
6

f 'r!-Q-J

-^ _j s *) a

.a

. .

Puc. 3.71.

3. Excel

263

. 3.72. TextBox

fjte

E*

iew

Cebug

Insert

gun

loofs fidd-Ira

Jeip

4$ VBAProJecffMyForm.*!*)
;~i *,1 Microsoft Excel Objects
] Sheetl (Sheet 1)
- ) Shert2 (SheetZ)
Sheet3 (Sheets)
TheWorkbock
^ Forms
-9 UserForml

Alphabetic | Categorised J
amel
&H3000000F&
&1000012&
0-fmEttrder5tyleNone
Data
0 - fmCycleAlFormj
True
Aria!

'

&81

Cnmrah |

t A ' r t B i
P a ft Q .

102

ContextlD
0
arsVilble 3 - fmScrollBarsBoth

. 3.73.

(. 3.73). . 3.74.
, .
, ,
( ). ,
. ,
( , ).
, .
. 3.75 .
, , , ,
, : Value , , Cell(s) ,
. . 3.76.

264

I. Excel

Micmtoft Visual - MyForm.xls - |UseiForn2 (UiciForni)!


fte

E*

Be

Insert

Fonw*

Beoug

Bun

lods

fekHns

uindow

tjeb

'- 3' *- f?. j?i: r> : > i, mil ssis1 w[#]: oy;

- [51
i-^S VBAProject (MyForm.xls)
b C> Microsoft Excd Objects
] Sheet! (Sbeetl)
:
i
: BQ 5heet2 (Sheet?)
i
Sheets (5beet3)
I
8 ThSWorkbook
Si Forms
UserForml
:

'- UFbrtn2
^^toddes

|TextBoxl
AutoSze
AutoTab
AutoWordSeiect
BackColc
BackStyle
BorderColor
BorderStyle
ControlSource
ControlTipText

False
False
True
D 80000005&
1 - fmBackStyleOpaque
8JH80CI000068.
0 - frrfiorderStyleNone

Cortrak j

!
! ff ft Q

: ^ _j s *i i

p - frrOragBeriaviorDisable
Enabled
True
i
LnterFleldBehavlor 0 - fmEnterFteidBehaviorS ''
EnterKeyBehavior False

i '

. 3.74.
itoft Visual Basic - xl. [UsFotn2 (llteiFinm))
| fjfe

tfen

insert

Format

Cebua

Bun

lods

udd-lns

$& VBAProject (MyForm.xls)


* Microsoft Excel Objects
i : - Sheetl (Sheetl)
i : 5heet2 (5heet2)
'- Sheets (Sheets)
:
.
' ThisWofkbook
<*( Forms
3 UserForml
ES UserFomtf
it! GJ Modules

TcKtBo2 TextBox
Alphabetic | categorized |
AutoSize
AutoTab
AutoWordSetect
BackColor
Backstyle
BorderCdor
Border Style
ControlSource
ControlTipText
DragBehavior
Enabled
EnterFleldBehavio
EnterKeyBehavtor

TextBox2
False
False
True
0 bH80000005&
1 fmBackStyleOpaque
UH80000006&
0 fmBorderStyleNone

Coribote |

\\ A <

0 - fmDraoBehaviorDisaNf
Jrue
0 - frnEnterFieldBehaviorS

ra

False

. 3.75.
3. Excel

265

osofl Visual Basic - MvFom.A [U*eiFmin2 {UjerFotmH

Be

4dd-Ins

3 :

\Jilndow

Sg. VBAProject (MyForm.Kls)


-i '--i Microsoft Excel Objects
I Sheetl (Sheetl)
, (Q Sheet2 (5heet2)
i
SheeO (Sheets)
,
-45 ThiisWotkbook
& Forms
13 UserForml
Uj ModJes

(Narne)
lLabe!2
Accejerator ' i
AutoSze
'False
BackColor
&H8000o6SFJi7 '
BackStyle
1 - fmBackStyleOpaque
BorderColor
&H60000006&
BorderStyte
0 - FmBorderStyleNone

,:=;

' __

ControlTipText
Tr
inabled
: >^
Font
iAriaj
ForeCote
800000128.
hi
18
HdpContextlp ;0

'

Puc. 3.76.

, .
(.. ), ,
. , . 3.77.
, ( )
Cancel. . , . : , Cancel.
,

CommandButton2_Click(),
.
UserForm2 . Hide (. 3.78), UserForm2 ( ).
3.13.

266

I. Excel

VBAPtoject (MyForrn.xls)
& Microsoft Excel Objects
: Sheetl (Sheetl)
Shset2 (5heet2)
ThisWorkbook
Forms
UserForml
UsecFerm2
i Modules

1 - fmeackStyteOpaque
Fake
Cancel

Puc. 3.77.
> Miciotolt Visual Ba<ic Mrfomi.nl. - [UieiFonnJ I
dt

$ev*

' H -r

Insert

Fjymat

; '

= VBAProjcct (MyForm.Kls)
- Microsoft Excel Objects
. -f\ Sheetl (Sheetl)
:
- 5heet2 (5heet2)
Sheets (Sheets)
45 ThsWorkbook
iri" '^V Forms
Fj3 UserForml

Bun

^
Private Sub CommandButton2_Clicfc()
UserForm2.Hide

End Sub

] Modules

CommandButton2 CommandButton
| Categorized |
(Name)
Accelerator
AutoSize
BackCoior
BackStyle
Cancel
ControlTipText
Default
Enabted
Font
ForeColor
Height
HelpContextID

Command8utton2
False
1 - fmrJackStyteOpaque
'Fake
Cancel
False
True
:
Arlal
&H80000012&
24
0

PMC. 3.78. Cancel


3. Excel

267

j 3.13. CommandButton2_Click()
Private Sub CommandButton2_Click( )
UserForm2 . Hide
,
. ,
, TextBox2, , TextBoxl. Value.
3.14 ConimandButtonl_Click ( ) .
( 3.14. CommandButton1_Click()

Private Sub ComrnandButtonl_Click( )


UserForm2 .Hide
Range (TextBox2 .Value) -FormulaRlCl = TextBoxl .Value
End_&ub _ ^ ......... .1:;:^,.. ................... ,_,,.-,. __
, .
(UserForm2 .Hide) , (Range (TextBox2 .Value)
.FormulaRlCl = TextBoxl .Value)
, TextBoxl. ,
(,
CommandButtonl_Click( ) ) . . 3.79 , .
Ireert

Fffroat

Qebug

i. "' '-

^
El

,^tt^

loots

fedd-Ins

-.ex

$ndow

|< immandButtonZ

^j jChck

Privat Sub CornnandButtonl Click()


UserFo rn2.Hide
Range ( extBox2 .Value) .FormulaRlCl TextBoxl .Value

:- ^ VBAProject (MyForm.xl)
E Microsoft Excel Objects
1 Sheet 1 (Sheet 1)
: : ] She>t2 (5heet2)
l
Sheets (Sheets)
ThisWorkbook
< Forms
" 3 UserFofml
El U5erf=ormZ
:*> '1 Modules

I
l
l
l
l
^
^

&un

t , rS1 W "*" F

End Sub
Privac Sub ComandButt;on2 CllckO
UserFo ra2.Hide

End Sub

Z3

Alpnabetic (categorteed 1
Accelerator
AutoSize

BackStyle
Cancel
Caption
ControlTipText
Default
Enabled
Font
=oreCc4or
Height
HelpContextlD

False

1 - fmBackStyleOpeque
False
;OK
False
;True
;Arial
&H80000012&
24
0

j
J
j
i
j

.", '
, ,
^j

*J^L_J' _

. . . .v/..,' ".v, ,--

. 3.79.
268

I. Excel

--.

, ,
. . CommandButtonl_Click ( ) UserForml
UserPorm2 . Show ( 3.15). . 3.80
UserForml . CommandButtonl_Click ( ) .
\ 3.15. UserForml. CommandButton1_Click()
Private Sub CoiranandButtonl_Click ( )
UserForml .Hide
UserForm2 . Show
. , , UserForml,
Project ()
. VBA ( ).
.

t*

Vksre

- .,;,

Insert

Fptnat ftebug gun

BAPtoject (MyForm.xls)
^ Microsoft Excel objects
(] Sheen (Sheetl)
: SheetZ (ShratZ)
] Sheets (Shee[3)

loots

Add-Ins

Htow

tHp

'
Private Sub CornmandButtanl_Click()
UserForml.Hide
UserForm2,Shov
End Sub

UserForm2
*! Si MocUes

CommandButtonl CommandButton

Accelerator
AutoSze
JackCojor
Backstyte
Cancel
Caption
ControlTlpText
DeFaJt
Enabled
Font
Forecoior'
Height
HelpContextID

False

&HeooooppF&
;l-fmeack5tyleOpaque
False

False
True
Times New Roman
1800000128.
118
0

. 3.80. Us erForml. CommandBu ttonl_Click()

. Excel

269

, , ,
.
Excel ,
(.. ) ShowMyForm ( ) .
, ,
My First Form (. 3.81). ,
(. 3.82).
: Value
My Options 13, Cell(s) 2 (. 3.83).

. 3.81. ShowMyForm ()

270

I. Excel

Puc. 3.82.

Puc. 3.83.

3. Excel

271

2 13, (. 3.84).
. 3.84.

13

. ,
. ,
1, 2. 1 .
, Cancel My Options
. . ,
(.. ), ( My Options)
. , . . , Hide,
,
, , , ( Unload). ,
,
UserForml. CommandButtonl_Click (): UserForm2. TextBoxl. Value
= Null UserForm2.TextBox2.Value = Null (. 3.85). , TextBox2 TextBoxl
(Nul 1). 3.16.
3.16.
Private Sub CommandButtonl_Click()
UserForml.Hide
UserForm2.Show
UserForm2.TextBoxl.Value = Null
UserForm2.TextBox2.Value = Null
End Sub

,
- (, , Properties).
( ).

Cell(s) , ( ,
,
). , , Cel)(s)
(, TextBox2).
Frame 1 ( Data) , . Reference (. 3.86).
272

I. Excel

'

'- * x

j ommaiulBiittoit t

|g]

Private Sub ComtnemdButtonl ClickO


UserForml.Hide
UsecForin2 . Show
Usecrorm2.TextBoxl.Value - Null
UserForm2.TexcBoxZ.Value - Null

VBAProjecl (MyFarm.xls)
*> Microsoft Excel Objects
l (Sheetl)
, 5beet2 (5heet2)
Sheets (Sheets)
ThisWotMiook
Forms

End Sub

CornmandButtonl CofnrnandButton

Alphabetic j categorized |
CornmandButtonl
Accelerator
AutoSfce
BackCoior
Back5tyle
Cancel
Caption
ControlTipText
Default
Enabled
=ont
ForeColor
Height
HelpContextID

False
1 - fmBackStyteOpacfje
False

'OK

False
True
Tmes New Roman

16

-;

. 3.85.

{$ VBAFrojcct (MyForm.Kte)
^ Microsoft Excel Objects
B] Sheet! (Sheetl)
} Sheet? (Sheet?)
Sheets (Sheets)
%5 ThisWorMjook
Ir] ^ Forms
: UserForml
UserForuu
. j Modules

; 11(5)

Frame?
&H8000000F&
| &800012&
0 - fmBorderStyleNone
Reference
0 - f mCycleAIIForms
True
Arial
&H80000012&
:
72

:o

(eepScroHBarsVisibte 3 - fmScr oUBarsBoth


Left
;6

j|ortqb j

'
:

P ?r J !
--^ J.

ra '

. 3.86.

3. Excel 273

. OptionButton (. 3.87).
. 3.87. Toolbox

( , ). (OptionButtonl) Absolute ( ), (optionButton2) Relative


( ). , . Value OptionButtonl True (. 3.88).

UserForm2 . CommandButtonl__Click ( ) . , (. 3.89). , . , 3.17,
.
(A Microsoft Visual Basic - MyFoiB xls - |MyFori.li - UsetFwm2 (UwFomj)

Oam

Ei J$ VBAProject (MyForm.xls)
Microsoft Excel Obiects
Sheet! (Sbeetl)

Value

;ce(4

:ted
False
l(Ncra)
Mouselcon
lousePointi
0 - fmMousePointerDefault
;
Picture
(None)
tcturePosition 7 - fmPicturePositionAboveCet
:2 - fmButtonEffectSunken

Puc. 3.88.
274

I. Excel

VBAProjecl (Myfomuels)
E'i ON Microsrft Excel Objects
!
IP Sheetl (Sheet!)
Ij] Sheets (Sheet2)
' Sheets (Sheets)
ThisWorkbook
- j Forms
El UseForml

Private Sub Coim\andButtonl_ClicKO


Dim R As Object
If OptionButtonl.Value - True Then
Set R - Range(TextBox2.Value)
Else
Set R - ActiveCell.Ranee(TextBox2.Value)
End IJ

UsecFotm2.Hide
R.rormulaRlCl - TextBoxl.Value
'Rangi {TextBoxS .Value) . FormulaRiCl TexcBoxl .Value
End__Sub
Private Sub ComnandButton2_ClickO
UserFocru2 .Hide
End Sub

. 3-89. UserForzn2. CommandBut tonl_Click ()

3.17. UserForm2.CommandButton1_Click()
Private Sub CommandBut tonl_Cl ick ()
Dim R As Object
If OptionButtonl .Value = True Then
Set R = Range (TextBox2 .Value)
Else
Set R = ActiveCell .Range (TextBox2 .Value)
End If
UserForm2 .Hide
R.FormulaRlCl = TextBoxl .Value
' Range (TextBox2 .Value) .FormulaRlCl = TextBoxl .Value

B , R
( Dim R As Obj ect) ( ). (
Value). True (.. , , , ), Range (TextBox2 .Value).
R ( , Set). ( ) , . ActiveCell . Range (TextBox2 .Value) . . ,
3. Excel

275

R, ( ) R.FormulaRlCl = TextBoxl. Value.


. , ""
Range(TextBox2.Value).FormulaRlCl = TextBoxl.Value,
,
R.FormulaRlCl = TextBoxl.Value.
, . , , .
My Options (. 3.90).
.
Reference Absolute, ( 12)
1. . 3.91.
.
4. 2,
5 (. 3.92).

Format

loot

tat

SSJndw tt*>

Mil

- 10 - - > S ; * * *
f,
D

Data
Value
Cll(i)

10
, < Reference

Absolute

f Relative

Cancel

> w \sheen / 9*tZ / /


Reedy

Puc. 3.90.

276

I. Excel

JJ

f,
1

. 3.91.

12

J2J
3

"

f-

"\

.i _

i_. ..... <?

Jj

tL._:J

_i

i^a

J<_

G
5

|.

*'

10
11

Value

hi

>

|B2

12
^3

-Reference

|J

Ahsoh It*

19

J
.

!
i

c'

K
:

HI

^^^^
> M\ShMll/5hel2 /S3/

iBBSB

. 3.92.
. 3.93, .
, . , Font (. 3.94).
, , Font ( ),
CheckBox, (. 3.95).
. 3.93.

3. Excel

277

Microsoft Visual Basic - MyForm U - [MyFom-lrii - UlMfomZ (UiwFoimll

4dd-Ins

Be

' ffindow

tielp

- - X

- ^VBAProject(MyForm.xls)
ij- Si Microsoft Excel Objects
' : sbeetl (Sheetl)
i
(Q Sheet? (Sheet2)
:
Sheets (Sheets)
!
ThBWorttiook
! Fo^ns
!- 3 UserForml
Reference - -

- Q McHlules

Frame

: f*~

Absolute

: <~

Relative

Alphabet,
(Name)
BackColor
BorderCdor
BorderStyle
ControlTpText
Cycle
Enabled
=ont

Q
0 - frreotderStyieNone
Font
0 fmCydeAUForms
True
iArial
UH8IM000128!

180
HelpContextID
!0
Keep5croKBarsVtsibfe;3 - fmScrolBarseoth
-eft
:i92

Puc. 3.94.
. 3.95. CheckBox Toolbox

Bold, Italic. ,
, Caption (. 3.96).

SpinButton, (. 3.97).
,
( ).
, Size (. 3.98).
TextBox3
Value .

UserForm2 .CommandButtonl_Click ( ) (. 3.99). 3.18.

278

I. Excel

Microsoft Visual Basic - -xls - fMyFoim.Bts - UimFormZ (UseiFt


fjte

t*

ew

Insert

Fym*

bebug

3- - >i?-.:-

Eun

I*

SiM-Ins

JBntfow

H M -^^'"

3-4$ VBAProject (MyFotm.Kb)


^f Microsoft Excel Objects
' : Sheet) (Sheet!)
i i - Sheet2 (Sheet2)
i ; Sheets (Sheets)

9 UserForml

ie Si Modules

Frame
) Categorized]
Frames
Q 8H8000000F&
0 - fmBorderStyteNone
Fort
ControlTpText
Cycte
;0 - fmCydeAIIForms
Enabled
^True
Font
Aral
:
oreColdf
8^60000012&
Height
'_ J1O 2 .
;
jHdpContextlD
0
icrcJBarsVisbleb - fmScrolBarsBotb

Puc. 3.96. CheckBox


. 3-97. SpinButton Toolbox

I 3.18. UserForm2. CommandRuttonl_Click ( )


Private Sub CommandButtonl_Click()
Dim R As Object
If OptionButtonl.Value = True Then
Set R = Range(TextBox2.Value)
Else
Set R = ActiveCell.Range(TextBox2.Value)

End If
UserForm2.Hide
R.FormulaRlCl = TextBoxl.Value
With R.Font
.Bold = CheckBoxl.Value
.Italic = CheckBox2.Value
.Size = TextBoxS.Value
End With
1
Range(TextBox2.Value).FormulaRlCl = TextBoxl.Value

End Sub

. Excel

279

Microtofl Visual Basic - MyFofm.xU - [.,1. - UietFotnZ (UserFoim)]


' Efe

illt

Insert

Fojma

Csbug

Bun

lools

Add-Ins

3'* H * [ ' !? -'' ^*" ' | i

:*!

Data

^E VBAProject (MyForm.nls)
<3S Microsoft Excel Objects
:
: - ] Sheetl (Sheetl)
: 5heet2 (Stieet2)
5he
- 3 (5heet3)
:
i
%J ThisWorkbook
'iS Forms

Value

Userforml

if f'j Modules

Reference

Relative

SplnButtonl SpMutton

__
SpinButtonl
BackColor
Q &H8000000F8t
ControlSource
CcmtrolTipText 1
True
&H300C10012&
18
0
126
100
0
Mouselcon
!(None)
1ousePointer ;0-fmMousePointerDefault

OK

Cancel

Enabled
ForeColor
Hetght
HelpConCextID
.eft
Max

Cortn* |

fit'
P ff

-^^i

."..

.^

. 3.98.
HjFonuA (Us

^vj jciiek
i VBAProjett (MyForm.Kls)

3 Mcrosoft Excd Objects


:
. -(|3 Sheetl (Sheetl)
;
Sheet2 (5heet2)
: ' Sheets (Sheet3)
I
S ThisWorkbook
t\*S Forms
: UserForml

Privace Sub ConTmandBuT;T;onl_Click()


Dim R Cfcject
If OptionButtonl.Value - True Then
Set R - Range(TextBoxZ.Value)
Else
Set- R - ActiveCell.Range (TextBox2 .Value)

End It

U=erForai2.Hide
R.FormulaRlCl TexcBoxl.Value
W i t h R.Font

3 Modules
PPP^^g^g
CommandButtonl CommandButton
A^iabebc | categorized |
Accelerator
AutoSize
BackColor
BackStyle
Cancel
Caption
ControlTjpText
Default
Enabled
:
ont
ForeColor
Height
HdpContextlD

False
&H8000000F&
1 - fmBackStyleOpaque
False
OK

.Bold - CheckBoxl.Value
.Italic - CheckBoxZ.Value
.Size - TextBoxS.Value
End Kith
1
Range (TextEoxZ .Value) . T'oEKiUlftRlCl = T e x c E o x l .

End Sub_

Private Sub CommandButtan2_Click(J


UserForm2.Hlde

End Sub

False
True
Arial
&80012&
21
0

Puc. 3.99. UserFormS . CommandButtonl_Click()

280

I. Excel

, With ( W i t h
End With).
( R. Font with)
, Bold ( ), Italic () Size (),
.
. ,
Bold Italic . , True, (..
) , False . , Value CheckBox True, ,
False . .
UserForm2. CommandButtonl_Click () . -, () TextBox3, .
Value Properties 12 (
12- ) (. 3.100).
, SpinButtonl
TextBox3,
(. 3.101). SpinButtonl_SpinDown()
( , ) SpinButtonl_SpinUp ( ) ( , ). , 3.19 3.20, .
I MiciosoU Visual Basic - MyFoim xls - [MyFoim.xls - UieiFo
Insert

FQfrftat

Bebuo

Run

loois

fidd-Ins

Jgmdow

Help

- ^ VOAProfccl ()
R *j Microsoft Excel Objects
Sheet! (Sheetl)
5heel2 (5heet2)
5 Sheets (Sheets)
^] ThisWorkbook
tS Forms
.
^ [3 UserForml
E| Usefform2
f. ~i Modules

TentBon3 TextBox
Alphabetic |cateaori2ed |

Puc. 3.100.

3. Excel

281

0e

E*

Sew

Insert

FfjiMt

Qebug; R.gn

. a ;*.$- < >

J |S|iFnUp

1 [(_
12 & VBAProject (MyForm-xIs)
3-S Microsoft Excel Objects
J Sheetl (Shntl)
L Sheet2 (5heet2)
;- Ijp Sheets (Sheet3)
'- %j TNsWorkbook
- & Forms
9 UsetFnml
it; S3 ModJes

I Set H - ActiveCell.Rancre(TextBox2.Value)

End If

UserForm2.Hide
R.FormulaRlCl - TextBoxl.Value
Dith R.font
.Bold - CheckBoxl.Value
.Italic - CheckBoxZ.Value
.Size - TextBoxS.Value
End Kith
' R a n g e ' . V a l u e ) . F o r a r u l a R l C l = TextB

End 3ub

Private Sub ComnandButton2 C l i c k f )


Userrorm2.Hide

End Sub

Private Sub SpinButtonl_SpinDown()


Uith TextBoxS
.Value - .Value - 1
End Hith
End Sub
Private Sub SpinButtonl SpinUpO
Vith TextBoxS
.Value - .Value + 1
End With
End Sub

.3.101.
SpinButtonl
3.19. SpinButtonl SpinDown()
Private Sub SpinButtonl_SpinDown()
With TextBoxS
.Value = .Value - 1
End With
End Sub
3.20. SpinButtonl SpinUp()
Private Sub SpinButtonl_SpinUp()
With TextBox3
.Value = .Value + 1
End With
End Sub
With, Value TextBoxB, , .
, ( ). , .
My Options, Value Text (

282

I. Excel

, ), Bold
Italic, 11 (. 3.102). . 3.103.
,
.
ComboBox (. 3.104),
, , , .
, . 3.105. Font Type.
( Value) Time New Roman (
. 3.105). , , . RowSource
2:4 .
Sheet2 ! 2 : 4 (. . 3.105).
] Be

Bew

tocrt

%*

loot Qrfa

Bimto

adp

S? % , '. - ' - -> - . .,

Daw

Value

Reference
<v Absolut
f

Relative

OK

Cancel

Puc. 3-102.
2

. 3.103.

3. Excel

283

,xj

. 3.1 04. CornboBox Toolbox

Conuds |

; it ;
f: ffifi ! _J
-^ I" zl jComboBo f

ra*

fjm Micioioll Visual Basic - MyFom A - [MfFonLlb - UseiFwmZ (UieiFaim)]


rW-a

JK

jg

un 'loofe &W-Ir

'". - ' '

5 ,

--:

* * 'X

1*1 Mr Option
*

:- [OJ

; ^ VBAProjecl (MyForm.Kk)
Microsoft Excel Objects
Sheetl (Sheetl)
!
-O Sheet2 (Sheet2)
;
- 5heet3 (Sheets)
i
-fi ThisWorkbook
EH UserForml
Userf^ntZ
.? Modules

ComboBoxl CornboBox

W Fowl

; ; - Value

AjptubeEic jcategodrftd |
lousePonter

Data

-j

8 p Bold'

','.'.(

size; l 1 12
-4 : * ; ; j
> . , . ' , ' , . .,.. .^ ^1 '.'.

'\

Reference -

Of

' ft | tfw

* ' ' ' P' ' fl Times New Roman j^ju ! : ;;

' . : ...,.

i' i ^%, '. ^^^1^^^^^^^^^;:; i.;i

0 - fmMousePomtefDejJ

OK

|;:;

Dmcel |: ;;:: : ; ; ; : ; ; ; : ; ; ; ; ^ ; ; ; ; ; ; ; ; ;: :

SelectionMargin ^ =True
ShowDropButtonWhen 2 - fmShowDrop6uttor < -.
SpecialEffect
2 fmSpeciaCffectSur. /
Style
'0 - fmStyfeOropDownC",,'":

:5
Tab5top
.True

Tag
Text
TextAlign
TextColumn
Top
Toplndex

-Times New Roman


'
1 1 - FmTextAlignLeft |
1-1
;138
Sheet2! A2:A4
^j '

PMC. ^. 105. CornboBox


'{ 3.21.
i UserForm2.CommandButton1_Click()
Private Sub CommandButtonl_Click()
Dim R As Object
If OptionButtonl.Value = True Then
Set R = Range(TextBox2.Value)
Else
Set R = ActiveCell.Range(TextBox2.Value)
End If

UserForm2.Hide
R.FormulaRlCl = TextBoxl.Value
With R.Font
.Bold = CheckBoxl.Value
.Italic = CheckBox2.Value
.Size = TextBoxB.Value
.Name = ComboBoxl.Value

284

...%..' ^ !*

Absolute

I. Excel

End With
'Range(TextBox2.Value).FormulaRlCl = TextBoxl.Value
'Unload UserForm2
End Sub

. . 3.106 , 3.21, Unload Form.


.
,
, 2:4 (
Sheet2) , . 3.107. . 3.108.
. 3.109 (
1 ).
{ Microsoft Visual Basic - MyFonn.ids - (UseiFoim2 (Code)]
<*$&

<&

Insert

Format

Q^ug

&un. 'look

*=.
Add-Ins

u fe :7^ J ! 3'uii5.aw
CommendB.mon1

Hi [Oj

'^

Click

Private Sub CorcmandButt-onl C l i c k ( )


Dim R As Object
If OptionButtonl, Value True Then
Set R ~ Range (TextBoxE .Value)
Else
Sec R ActiveCell. Range (TextBox2 .Value)
End It
UserForm2 .Hide
R. FormulaRlCl ~ TexCBoxl .Value
Kith R.Font
.Bold - CheckBoxl. Value
.Italic - CheckBox2. Value

.-; $ VBAProject (MyForm.Kb)


Er fS| Hicfosoft Excel Objects
:
: lj Sheetl (Sheetl)
'= . 5heet2 (Sheet2)
; | lp Sheets (5heet3)
i ' -%J ThisWorkbook
E; ^ Forms
UserForrnl
UserForm2
Eij- S3 Modules

* "X

Bndow .Jjdp

,^

.Name - ComboBoxl .Value


Alphabet*) Categorized!
l(Name)
CommandButtonl

[Accelerator
|Auto5ize
False
&H80DOOOOF&
VJ
BackStyle
1 - FmBackStyleOpaque
Cancel
False
Caption
OK
.,- ; :
ControlTipText
i default
False
!
Enabled
True
=ont
Anal
ForeColor
| &H80000012&
Height
24
HelpContextID
0
^j
w\
.

....

~~~^

' Raivge (Text.box2 . V a l u e } .Formula 11 = T e x t E o x l . V a l ' A e


1
Unload UaejrFfcrta2
End 5ub
Private Sub CommandButronS Cllck()
UsecForm2 .Hide
End Sub
PC ivate Sub SpinButtonl SpinDown ()
With TextBox3
.Value - .Value - 1
End Hith
End Sub

'

i^LJ.,

Puc. 3.106. Us erForm2. CommandBu ttonl_Click()

CA

i_

1 :
2,jArial
3 1 Courier New
4 JTimes New Roman

Puc. 3.107.

5 '
H

\ Sheetl \Sheet2 /ShO /

3. Excel

285

gle . E*

fiS.B%

>

l"*"t

Formal:

loob

Bale

'Ui !?.:; X 4*
10 .-.' ^r

. 3.108.
. 3.109.

, , ,
, .
, . . ,
.
,
(, , ).

, , , .
Toolbox Image (. 3.110).
. , , Picture
Properties Imagel ( ), Load Picture (
). .

286

I. Excel

, . .
PictureSizeMode f mPictureSizeModeZoom (
), (. 3.111).
, ,
, (. 3.112).
. . 3.113. , , , .
Puc. 3.110. Image Toolbox
'
~~
{

^**|

"
};-;i7: <?'. fi QfJ

--ij_j Mm

j 1 mage

i^J g EO* Sfcw JKert po/mat. 6bug Eon" lads edc* Hefe
"1 q'j?at>. fw i; - _

H
!

E ^ VBAProject (MyForm.xls)
^J Microsoft Excel Objects
) Sheetl (Sheetl)
i ; 5heM2 (5heet2)
\
Sheets (Sheets)
:
^J ThisWorkbook
- -^ Forms
;
. El UserForml

Data

::; Value

: :: Ceii^sj

Font
]

;;

; Bold

:;.: ; Halle

13 OserFormZ
. '.'j Modules

IK^i
_:..!

[image 1 [mage
:JWblfc|cl90rt2ecii:,,,,

JEnabted
True
Irleight
30
Left
;330
JMouselcon
(None)

JMousePointer
0 - f mMousePointerDefauft
Jpicture
(Bitmap)
jPictureAlignffient 2 fmPictureAtignmentCentf
^^|8 - fmPictureSijeModeZo^j
SpecialEffect
Teg
Top
Visible
Width

. . Relative

OK

Cancel

I
'".'.'. .... . , . ";'. L$^4-^4*P

:o - ffflSpecialEffectFlat
192
:True
30

"

. 3.111.

3. Excel

287

Puc. 3.112.
. 3.113.
. 12
_

12

, My Options ,
(
Cancel ). , ,
, "" . .
, , .
Unload Form.
(
), , .
. Cancel . .

288

I. Excel

, . , , ,
VBA. , ,
, VBA,
. , , , , , . , .

3. Excel

289

II


...

Excel Maple

'

...

/ Excel . ,
.
.
( ), , Excel
. ,
, Excel , , . ,
, VBA,
(. 6). , , Excel
Excel .
Excel,
. .
, Excel .
.
, . Excel.
.

, . , , , .
, , , .

.
, , . ,
Excel , , .
.


,
. . .

.
, . ,
= b/. , ,
.
( , ) . 4.1.
,
4. , .. , 5.
=4/. = 2 b = 3,
4.1, 1.5, .
. ,
0. ,
5 (. 4.2).
, , , ,
.
5

* =B4/B3

D
.
; -

. 4.1.

4.

293

=4/

0,^1_

1,

J =

by Zero Error
Help on tNs error
Show Calculation Steps...
ignore Error
Edit in Formula Bar
Error Checking Options.,.
Show Formula Auditing Toofcar

Puc. 4.2.

.
, , 0, .
IFQ. 3=0. ,
, ..
0. ( , ). ,
5, ,
" ". IF().
. , .
!
, ,
.
4/. . 4.3. ,
, , 0.

. 5 ,
.

,
, (. 4.4).
, , , ..
, .
5 =IF(B3=0,IF(B4=0," "," "),4/) (. 4.5).
i

5
A

'

fr =IF(B3=0. " ",4/)


J

i
D

1 =
4

3
-| ]
1
i

ti

. 4.3.

294

II.

. =1(=0," ",4/)

i ax=b
b-

*=c

. 4.4. ,

5

f, =IF(B3O,IF(B4=0," ".' "),4/)

CIA!.:

"

'

'~

1 j =

=|6 !

. 4.5.

3=0.
, IF() ( ), ,
, 4,
, " ". " ". , , . 3=0 , 4/.
. ,
, ( )
<Alt+Enter>. <Alt>.
VBA. , ,
, , , , , , .
,
( ). ,
VBA Insert^UserForm.
, . 4.6.
.
Caption.
Finding Solution(s). , ,
. ,
( Caption Label"!
=). ( TextAlign
2-fmTextAlignCenter). , .
, , Font.
14 .
. 4.7.

4.

295

Mic.osofl Visual Basic - Equation ,02 xls (design! - lUtefForm


Me

Edit

ew

Insert

Format

- >

Cebug

E>un i'loob

Sdrf-I

> ii ?

- funcres ( F U N C R E S . X L A )
- j$ VBAProject (Equation_02.xls
-gS Microsoft Excel Objects
Sheet! (Sheet 1)
i |- (1} Sheet2 (Sheets)
Sheets (Sheets)

(Name)
:UserForml
ID SH8000000
BorderColor
waoooooiZEt
0 - ffnBorderStyleN
Borderayte
Caption
UserForml
Cycle
0-fmCycleAIIForm!
DrawBuffer
32pqo
!
Enabled
frue
Font
Tahoma
&H80000012&
ForeCotor
Height
ISO

0
KeepScrdlBarsVisibleS - fmScrolBarsBot

1%;
17 ff pi

^ _j: s )' i
:

!J

c. 4.6.
MiciosoK Visual Basic - Equation 02 Is [design) - lllseiroiml (UserFotinll
Efa

tctt

Se

Insert

Bun

Famw*

loote

dd-Ins

Finding Solutmn(s)
i
:

t VBAProject (Equation_02.Hl)
IS 13 Microsoft Excel Objects
Sheetl (Sheetl)
: i esheet2(Sheet2)
;-(} Sheets (Sheets)
ThisWorkbook
F; fe> Forms

Jlabdl Label
u. 1-^.^- jI Categorized ij
*nabetlc
| &H80000012&

e
:extID q

66
Icon
lousePointer
Jure
:turePosition
SpecialEffect
'ablndex
'abStop

(None)
0 - fmMousePointerDefault
(None)
7 - frnPicturePositionAbove
0 - FmSpeciaEffectFlat
;0
False

>_g
2 - fmTextAlignCenter *V
-i

Puc. 4.7.

296

II.

SBndow

( ), Parameters.
( = b = ),
, .
10
( TextAlign -fmTextAlignRight). 6, ( ).
. 4.8.
. 4.9, , .
, Cancel. .
, .
. , ,
, , ,
. ,
Control Toolbox ( ).
View ^Toolbars^Control Toolbox (1^ ^ ).
Command Button,
(. 4.10).
- Equation 02 xls [design] - {UteiFoiml (UserFoim)]
EN

Edit

MOW

Insert

Fgrmat

Qebug

x]

ID j(5]

loote

tW*

Bfindow

Help

Finding SolulKm s

ax=b

t J VBAProject (EquaMon_OZ.xts)
%& Microsoft Excel Objects
1 |Q Sheetl (Sheetl)
i 13 Sheel2 (Sheel2)
B] Sheets (Sheets)
45 ThisWortoook
E-t*'S Forms
FS UsarForml
ZJ
-

(Labett Labd
Alphabetic | Categorized |
ForeColor
_
Height
18
-telpContexHD 0
Left
12
Mouselcon
(None)
MousePointer 0 - frnMousePolnterDefault

Picture

'
17 ff H Q

-^_J S U

;(None)

^icturePosition 7 - FmPlcturePosltionAbove
SpecialEffect 0 - fmSpecialEffectFlat
Tablndex
1
:
TabStop
False
Tag
hnn

Puc. 4.8.

4.

297

Micmsoft Visual Basic - Equation OZxIs (design) - [Equation _02.xls - liscrl oiml (UseiFotro)l
E*e

Edit

J0m

insert

Fa-met

QAug

Run

Tools

Add-Ins

- ff X

vgndow

: I'..! ..'".".
^5 VBAProject (Equlon_02j<ls) _
.; .5 Microsoft Excel Objects
(3 Sheetl (Sheetl)
; Sheet2 (3heet2)
^ B ] Sheets (Sheets)
TNsWorkbook
El 'f-f Forms
ilusorftwil
JSl

JGonlmandButtonZ CommandButton
alphabetic (categorized)
(Name)
Accelerator
AutoSize
Backcoior
BackStyle

XommandButton2
^alse
Q "awoooowrs
; 1 - fmBackStyleOpaque \
'False
; Cancel

. 4.9.

E MicfomR Excel - Equation_02.xls


.

|] Sle

tft .;; Vjew

Jnsert

Fw-mat

loote

Qata

i^ndow

^ Vy;

_ ff X

; D:S
CommandBut... -^

; f

^r ~EMBED("Forms.CommandButton.1"."")

1 ; =
3

find soluttoiHs)

I
jjfi

141
161

I?]
18";""
_19l
M <' > \Sheetl/Sheet2/Sheet3y
Ready

. 4.10.

298

II.

' H

,
( Control Toolbox Design Mode , ) . ,
. :
Private Sub CommandButtonl_Click()
End Sub

(Load UserForml) (UserForml. Show).
, . 4.11.
. Load UserForml . UserForml. Show, (
) , .
,
. Show.
, Caption : Find solution(s)
( ).

<ffl Be

Sew

insert

Eebug

Fojmat

'>

un

Xods

&dd-Ins

^ndow

' ^.4 **? '"

CommandButtonl
^ Microsoft Excel Objects
} Sheetl {aetl)
Sheec2 (Sheet2)
;- Sheets (Sheets)
Q TNsWorkbook
El S Forms
31 UserForml

<

_ r5 X

Ln4,Col8 ' .

] j Click

Private Suto ComnandButtonl Click()


Load UserForml
UserForml. Show
End Sub

~*[]

|CommandButtonl CommandButton

j !

jy

A^habetfc [categorized )
(Name)
Accelerator
; Autoload
ftutoSize
; SackColor
iS BackStyle
Caption
Enabled

CommandButton 1

False
False
&H80QOOOOF&
:
1 - frt^ackStyleOpaque
:Findsolution(s)
;
True

3ffiHBBIAr^'

: ForeColor
i Height
Left
: Locksd
Mm KfiTrnn

_*_

&30000012&
;18.75
~ 26.25^'J
True
fNnnft)

^J

i^J_J

..

:,.

. 4.11. ,

4. 299

, ,
, .
( ) (
Design Mode Control Toolbox).
, . 4.12.
, , ,
(
) .
, . ( Cancel ).
,
.
Cancel. VBA
.
. Cancel , . ,
,
UserForml .Hide,
(. 4.13).

_J

i.

_1...

1 : ax=b

3 :

~"

find solutiorM*)

I, \Sheet l/She2/Sheets/
Ready

. 4.12.

300

II.

in

I>m Miciotolt Visual Basic - Equation 02 Is - ILIserf oiml (Code)]


fjfe

Edit

gj /;.

View

Insert
@ $\

Run

Format

Tools

5dd-Ins

WSndov

>

ii 6.: rJ W ;'* i-J Ln is, cd i

jCommoiidButton?

G : Q
- ^ VBAProject (Equation_02.xls) "jjj
S-13 Microsoft Excel Objects
I Sheetl (Sheetl)
: 512(512)
:Sheet3 (Sheets)
!
Q ThisWorkbook
Pzi Forms

Clich

Private Sub CoHimandButconi CliclcO


Range("A7").FormulaRlCl "a "
Range("A8").FormulaRlCl = "b ="
rt e
Range t "A9") . FormulaRlCl = x "
Range("") .FormulaRlCl = UserFocml .TextBoxl Value
Range("B8").FormulaRlCl * UserForml.TextBox2 Value
Range ("69") . FormulaRlCl = __
LinEq(UserForml.TextBoxl.Value, __
UserForml .TextBox2.Value}
End Sub
Private Sub CommandButton2_Click()
UaerForml.Hide
End Sub

*j

. 4.13.
. 4.13 , . 4.1 .
4.1.
Private Sub CommandButtonl_Click()
Range("A7").FormulaRlCl = "a ="
Range("A8").FormulaRlCl = "b ="
Range("A9").FormulaRlCl = "x ="
= UserForml.TextBoxl.Value
Range( "B7").FormulaRlCl
11
Range I B8") .FormulaRlCl = UserForml .TextBox2 .Value
Range("B9").FormulaRlCl = _
LinEq(UserForml.TextBoxl.Value, _
UserForml.TextBox2.Value)
End Sub

7:9 , , , , . 7 8
( UserForml.TextBoxl
.Value UserForml .TextBox2 .Value),
. , 9,
,
LinEq ( ) . . (
, ). -

4.

301

, . , , : VBA
1
Insert^Procedure ( *).
(.. LinEq) Name,
Function () . . . . 4.14.
a Microsoft Visual Basic - Equation O2.h (design) - il jerFoiml
. } ete

E*

Bew

Jisert

F&mat

jools

fldd-lns

ffindow

False
1 - fmBackStyleOpaque ^
False

OK

Valse
.True
Tahoma
&80000012&
24
0

LinEq

Private Sub CommandButton2_Click(J


UsecForml.Hide
End Sub__

'
CommandButton 1
!

jrj

Private Sub ComtnandBuctonl ClicK{)


Range("AT").Fo mulaRlCl "a ="
Range("A8").Fo
Range("A9"J .Fo
Range("7").Fo
UserForml.TextBoxl.Value
Range("B8") .Fo mulaRlCl
UserForml.TextEox2.Value
Range("B9") .Fo mulaRlCl
LinEq(UserForml.TextBoxl.Value,
UserForml.TextBox2.Value)
End Sub

I VBAProject (Equation.
-rjji Microsoft Excel Object
8|3 Sheetl (Sheetl)
-|T|Sheet2(Sheet2)
] Sheet3 (5heet3)
) ThisWorkbook

SackStyle
Cancel
Caption
ControlTipText
Default
Enabled
=ont
ForeColor
Height
-telpContextID

Bun

eneial)

a a .J5j

' ;
(Name)
Accelerator
AutoSize

Eebug

' > is |B[]'3st ef ' ' ;? (3

IS'tM-H

v|

Public Function L i n E q ( a As Single, b As Single)


Select Case a
Case is - 0
If b - 0 Then
LinEq = "Any number"
1
LinEq * "No solutions"
End If
Case Else
LinEq *= b / a
';! End
,d Select
"I End
id Function

aajLLJ

Puc. 4.14.
4.2.
4.2. LinEqQ
Public Function LinEq(a As Single, b As Single)
Select Case a
Case Is = 0
If b = 0 Then
LinEq = "Any number"
Else
LinEq = "No solutions"
End If

Case Else
LinEq = b / a
End Select
End Function

302

II.

Select Case.
(.. ).
, ,
( As Single). , ( Is = 0), If Then Else.

( b = 0). , "Any number" ( LinEq = "Any number"). "No solutions" ( LinEq =
"No solutions"). .
Case Else LinEq = b / . , .
.
.
Find solution (s)
. 2 3 ,
, , . 4.15.
. . 4.16 , ,
0 3.
. 4.17 ,
. .
, ,
.
Rte gat

& .

- L - J?
I
...: \
1 =

_i _ AJ.

' _L :

' ; '

_J

3 .

FiKi J.u4utiorKi "

BE
9 =

7=

1.5'

10
11

12"

| < > \Shet*l/SwttXSheets


Ready,

. 4.15.

4. 303

__J

j.B

.;

1 ax=b

.H

I.. ;

| 3

IM < > H \Sheet 1 / SheeK / Sheets /

. 4./.
] te

E*

few

Jmert

Farnrt

I(

& 14 '

~-S x

_j A i ^ j ....... i

1 ax=b

. 4.17.

-, ,
. Cancel. ,
. ,
(, !).
, ,
() UserForml. Hide.
-, ( , )
Excel , .. , ( ). ,
304

II.


(, ).
, , , , , , . LinEg () Select Case.
.

Excel
Excel
. , , .
4.^^ -5 + 6 =
, 2
3. . . 4.18 Excel, .
4

* =2-5*-

1.

\- ..... ; ; ...
2-6+60
x
I

1
2[

. 4.18.

4 =2-5*+6. ,
4 , . , ,
, 4
. , .
.
Excel. , . ,
. . 4.18 1.
, , 2.
Tools^Goal Seek (^ ).
(. 4.19).
Set cell ( ) , .
4. , , , , .
value () (
0), . ,
By changing cell ( ) ,
( ). . . 4.20.

4.

305

. Goal Seek,
.
.
, . Goal Seek Status
(. . 4.20). .
, , .
.
, 4,
. . 4.21.
A

-j:

.; t. : ' '"

: .- 2-+6

. 4.19. Goal Seek


4

f, =-2-5*+6

IL_J

..D

i *2-5+6=0
- 1.999961

I 3.91 -05

J6J
7

Goal SeeWng MthCrttM


found a solution.

";
9

'

Target value:

Current value: . 3.9080JE-05

12

!
ill
Puc. 4.20.
, f, =B32-6*B3-t6
........

_:

.......

.D

. jj 2-5+=0

........ ........

. 4.21.

306

II.

E,

'-:

, .
. , . , , .
, , . , , Excel. , , ,
.

.
.
, ,
: () - () = atg(;c).
.
. 4.22 = 0,5.
,
[75
76

3 -

I
<N

04

a> *-

. 4.22.

, ,
.
, , . , , = 71/2 + ,
( ). ,

4.

307

, . Excel (.. ,
), ,
,
. (),
. , ,
, ( ),
( ) . .
-, () = Q,5lg(x) ( 0,5).

() =. . 4.23.
, F2 . , 0.5. , ,
F2, ,
, .
, , .
2 =$F$2*TAN($A2). , . , F2
, , . ,
, , , (, , ). , .
f, =IFI2*TAN($A2)
8 |
i 0
i '" " '1(|
01
,3_; 0.1570 0.079192
"' 0.31415 0.16246
1 0.471239 0.254763 : 0.62831 0!363271 I
7 : 0.785398
0.5
\
I 8 0.942478 0.688191
"9 i 1.099557 0.981306
W 1.256637 1.538842
11 1.413717 3.156876
12 1570796 8.16+15:
13' 1.727876 -3.15688:
14' 1.884956 -1.53884
15 2.042035 -0.98131
- 2199115 -0.68819
17 2.356194
-0.5
'
\
18 " 2.513274 -0.36327
"; 2 670354 -0.25476
20 ' 2.827433 -6.16246;
2

. 4.23.

308 II.

f; i ?.._.

'

, ,
, ( 2).
(.. A3) =2+1()/20 (. 4.24). 2:
2:72, , 0 ,
( 0,15708). ,
,
(.. , ).
. 4.24.

. , , . ,
. ,
2:72, ,
,
, .
, , , , D (. 4.25).
.

. 4.25. , D

4.

309

. 0 /2 ( ). ,
. . ,
2:12 , 13:72 .
( , )
71/2 /2. 13:32,
( 2:12 :72).
, D33:D52
/2 5/2, 53:72
, 5/2 7/2. , . 4.26.
! ,
. . .
. , Excel ,
. , , . , , , , ,
(. 4.27).

. 4.26.

310

II.

Me

<*

View

Insert

;;

Fo/mat

Jffob

Date

Window

Help

:*. a a^a a c - s <? -- ;


fan! - . 1 0 ...;

./

*3?

',0.15708
1.413717
1,57079
1,727876
i.884956
'4.5553
4.712389
.4.869469
5.026548
7.66902
7.853982
8.011061
8.168141
10.83843
10.99557

1 Vw\Sheetl/Sheet2,/Sheets /
Ready , :

"'' '

m^^dmmms

MJM

' f:"

!& iSmF

Puc. 4.27.
,
, , , , .. ( , ). , Tools'^Options (1* ) Options Chart () (. 4.28).

Cotor j International j 5ave j Error Checttng } Spefing | Securfty


View | CafcJatton j j General j Transition | CustomUsts
Chart
Active chart
Hot empty : < * plotted (leave gaps)

:ChartMps

Puc. 4.28. Chart Options

4.

31'

, Plot visible cells only


( ). ,
Active chart ( , ) Plot empty cells as ( ) Not plotted (leave gaps) (He ) (. . 4.28).
. , ,
Not plotted (leave gaps),
( ). ,
Zero () ( ) Interpolated () ( ).
, ,
, .
.
, ,
, Format Axis (
). Scale
()
, , 10, , , -1 (. 4.29).
.
.
( ), , .. ,
.

Patterns ] j f=ont | Number | Jtfgnment i


Vak(Y) axis ate
Auto
" 4:
" Ma^fnum:

__
j-1

[15-

I? Major ur*:

|0.4
Category (X) axis
Crosses at: p]

~ XogarRhmic scale
~ Values in reverse order
* Category (X) e*& crosses at gjaximum value

Puc. 4.29.

312

II.

. ( 2 Sheet2)
=Sheet1 !$F$2*TAN(Sheet2!B1 )-Sheet2!B1. 1 ( 1.4), Goal Seek
, 0 /2 (. 4.30).
, , , , 7,8, /2 5/2,

, , (. 4.31). - , , .
; =Sheet1!JFJ2*TAN(Sheet2!B1)-Sheet2!B1
2
I
A
g

I
)
"- 1.1551
j2J '11)-=.41-05|
3 i

-5J

S3
7

10'
11
14 > H\5heetl X*heet2 / Sheets /

Puc. 4.30.
Goal Seek
2

yb =Sheet1!$F$2*TAI\l(Sheet2IB1)-Sheet2!B1

. i
:.. |
' "-1 -05
'1() * =1 5.09-06

.2]
3
4

1.

< f n\Shertl \SheetZ / Sheets /"

'

' "il

~ '"!

"1<l

. 4.31.

:
, . Excel ,
. , . , , ,
, . ,
,
4.

313

( ). ,
Excel.
, .
[4.4.

LwXH*-_jLM..mHHW*_MMMi

, 0 /2. ,
() = () = cos(;t).
/(). cos(*) - x, , ( ) .
. 4.32.

P^c. 4.52.

.
, , . ,
f(x),
, ,
x=f(x)
*,>i =. -- jcw , . ( ). ,
(

314

II.

),
. ,
Tools<=>Options,
Calculation (),
Iteration () (. 4.33).

li; Cotar. /:] IntematiQRd j


Save
j EnorOwd*tQ ] 2^ j Securfty
, View
Calculation | ;| General j TransSon | Custom Usts 1 1 Chart

f Automatic except tables

17 ;-.-.

"""""".'
""""
Cakgwet

Pperatfofv!
:

Maximum ftgratioas; J 100

WorifboOk Options

Maximum : jo.0'?l

:;

P ,tftxtete reraote references

& Save extetnallNi values

" grectaon as dsptayed

1 Accet^ wfeds formulas

f" 1904 dsfte system

^^^ 1
Puc. 4.33-

.
Maximum iterations ( ),
100. , Excel
. Maximum change ( ) 0.001. . ,
.
, ( / ). , .
.
Iteration (), . , . , Excel,
, . , , ,
.
, "" "".
=COS(B3). <Enter>, . . 4.34 ,
.

4.

315

, , 4
=COS(B3).
, , . . 4.35
.
, , ,
. ,
4 . , ,
. , . 4.35,
. .
<F9> ( . 4.36).
. 4.35 . 4.36, , ,
4 . 4.25,
. 4.36. . , ,
. , 4.
<9> 4 "" .
<F9> , , 4 .
. 4.37.
B4

=05()

J [__ __ J , :
;

x=cos(x)
'
.......
3j

0.73370321

x-l
COSX-

Puc. 434.

=COS(B3)

1 j x=cos(x)
3
-'
4 | ()-|

'

07391844''
073901B262I

. 436.

q, =cos(B3)

t j x=cos(x)

""2
x -""
cos|x) -I

0738937757
073918441

. 4.35.
4

=COS(B3)

| x=cos(x)
"- : "
cos(xl-l

0739085133'
07390851331

. 437.

, , . ,
( ). -
. ()
.

316

II.



.
Excel .
,
, = 6,, ~ ,

i'
: , i ( ) 1
N (.. ), N, , xf .
= , X .
, , X = ~',
1
" , . , "' , ~' = , (
, ). . .
+ z = 6, 2- + z = 3

Excel ,
: (.. ),
( ).
. 4.38.
J

11
A

-r

f,
1 ..

E_ J

.F

1 i
"2 ;

4
"
_,..,

7
"8

1
2'

1
-1
*

1
1

-i

1 '

'

'"* '

~9 "
10?

111
13
14

3
2

! ...
;

. 438.

, . . ,
,
, .
-, , , -,
, .

4,

317

B5:D7, .. ,
, ( ). , ,
<Enter> (. 4.39).
.
10:12 (. 4.40).
.
G5:I7, =MINVERSE(A) (. 4.41).
j

> -

F '

. 4.39.
( )
1, , i

Bj [

i; -' i

. 4.40.

=MINVERSE(A,)|
1 :

. 4.41.
318

II.

,
<Ctrl+Shift+Enter>. ,
,
MINVERSEQ (. 4.42).
( 1).
iA ,
. G10:G12
=MMULT(iA,B). , ,
<Ctrl+Shift+Enter> (. 4.43).
(. 4.44) ,
G10:G12 ( G10), ( G11) z ( G12).
, . . , = ,
xt *; = /,
() , , , ,, , i-
.
, .
f, (=MINVERSE(A))

.... i[ ... j_ ___ :L ....

.,; L

'

;
i
Ill III II
2

"

-1

'-

. 4.42.
MMULT

..:.' X
:^
.

6, =MMULT(iA,B)
J_ _..

:jxE^J,.v.J:>i.;

1 !

&~ !

3
4

6
7
8

1
2
" =

1
-

1
' 1

"

}
i
'(-1).
!

10

6
3
2

0:
0.5
0.5
-T(iA,B) J

0.2
-0.4
0.2.

i
!.

0.2
0.1
' -0.3

..

'(-1)-

13

. 4.43.

4. 319

G10
A

/1 j=MMULT(iA,B)}

i
D

1 ' e

1
2

1
-1
1

1
1
-1

0
0.5i
0.5-

02
-0.4:
0.2:
j
I

l
0.2
D.I
-0.3

[ :

i A(-1J-1

6
-

AM-DB-v

3
2

Puc. 4.44.


( , ). , , (
=MDETERM(A)). . 4.45 .
, , ,
. .
. , , ,
(
10:12),
( ,
C5:D7). . 15:17 = (. 4.46).
<Ctrl+Shift+Enter>
, . . 15:017
=C5:D7. , ,
(. 4.47).
G6

_j

A ,

=MDETERM(A)

!.- D
F .E

G....J

1 PeiueHk

i
5
6~]
7_

'

2::!:
::::::
,
-1
1
3

-1

'

81
_
10
11

6
-

3
2

13 i

. 4.45.

320

I I .

MMU.T

_ ,

X V =
J ^ _:

D__.i_

L_

1 :

I
:
I
!
I

10

. 4.46.
X V f- =05-07

"

1
-1
1

1
1
-1

'

18

. 4.47.
15:017
, .
G7 =MDETERM(B15:D17)/G6 (. 4.48).
MDETERMQ
( B15:D17).
G6, . , .

4.

321

.

, , .
, , .. , ,
(
). , , . 4.49.
. 4.50.
GS
_.

I._B;,:

'ft =MDETERM(B15:D17)/G6
L_C
| D ,j
E , I

1-

. 4.48.

X *J ft =DE .07

WMU.T
!

p.

11

1 '
2 ;
3 :

4
5 :

7
8

2
3

9 :

TV
J2J
13
UJ
15'
16
17 I
18
20
21 1
22'

1
1
-1

-1
1

2 =

10

- :

'

"

-1:

1
-1

6 =P5:D7

D- :

ill

6
3
2

"""}

1 -

' '

1
1

Puc. 4.49.

322

II.

G12

f, =MDETERM(G15:I17)/G6

. 4.50.

. -,
Excel , , , ,
. -,

. ,
. ,
() . , , , .

.
, .. ,
Excel . .
Excel ,
, . Excel
.
Excel, ( )
. ,
, , , Excel.

4.

323



Solver Add-in. Goal Seek ( ), . Solver
, .
, .
, , , , ..
. Excel Solver.
, , , . Tools'^Add-lns (^).
Add-lns (). Solver Add-in, (. 4.51).

<

v Analysis ToolPak
Analysis ToolPak - VBA
Conditional Sum Wizard
H Euro Currency Tools
Internet Assistant VBA
Lookup Wizard

Puc. 4.51.
Add-lns

Cancel
grawse...

pr

Automation,..

J
' -Solver Add*
Toot for optimization and equation solving

Tools^Solver
(^), . . .

, , ,
. . ,
. ,
0, 2 4. ,
3
2
- + 8 ( - 2)( - 4).

324

II.

4 =*(-2)*(-4), 1
( , ). , , (. 4.52).
Tools^Solver (^),
Solver Parameters ( ), . 4.53.
=*(-2)*(-4)

1 Solver

j ; ........ ; ....... !

3 ^
4 [

. 4.52. ,

1 Solver Paiamete
Sgt Target rf:

|$$4

EquafTo;
$gax
; 8y Changing Cefc: ~

C~

1$B$3

ij" "

*" Je

**' '

g*L I

il fiuess ]
Options

Sb^Ject to the Constraints:

1 ,

Add

jj
'
,I

'

Change I
J
:
Qetete ' 1 .

Ret Al 1
... .'"""""
U

Puc. 4.53. Solver Parameters

: , , . Equal To (), .
,
Value of () ,
, Set Target Cell (
). ,
. By Changing Cells
( ) , . ( ). Solve ()
. . 4.54.
. Solver Results ( ) ,
, : Keep Solver Solution ( ) Restore Original Values ( ). , , , .
, , .
4.

325

='(-2)'(-4)

1 i Solver

vj

Solver FcHffld a solution.


i contlttons are satisfied.

5
i
,'
6

i:;
11
i
i;

Reports
nswer
Sensitivity
Lmvts

I
!

* Restore Original Values


Cancel

SaveScenarte,

PMC. 4.54. Solver


2. , ,
(,
1). Solver , .
, 1, (). . 4.55, . . 4.56 .
. 4.55.

=*(-2)*(-4)

fe'...: I ..;.. D .j
1 Solver
:

_2.".

3
^ |
._:

'

'

'

;:'* =*(-2)*(-4)

.:

'

-V
-151

8 |

. D ^

j .

F . i

1 ^ Solver
2,!

3 8.16-08
4 | 1 .53-07

7
8
9

i
i

75

Solver Results
Soiver f oiffxJ a sdutiwi, Al CMi^r^nti and optimafty
| condaAjrts aresatisNed,

. .:_

j&eports - Answer

" |eep Stiver Sc^Sonj

Limits

^ Restore & Vabes

<

,'

(
11 |

12

13!

<'':

Cnod

'.'ferveScenafto.-

./.

. 4.56.
. Solver Results (. . 4.56) Reports (), : Answer
(), Sensitivity () Limits ().
. , ,
,
.
, Reports . -

326

II.

Answer ( ), .
Sensitivity , .
, Limits ( ) . , , , .
,
Solver Options ( ),
, Solver Parameters
Options (. 4.57).
BJOZ!
Iterations:

|ioo

gredston:

|o.000001

Load Model...

Toferance:

|s

Save Model...

Convergence:

jo.0001

U*

Assume linear HO**


f~ Use Automatic Scaling
;" Assume Non-Negative
, .Show Iteration Results
rEstmates
Derivatives
iSeardi
t~entral

Conjugate

Puc. 4.57. Solver Options


, ,
,
. , Max Time ( ) , . ( ) , .
Iterations () ,
, Precision () , . ,
,
. , , ,
.
Tolerance ()
, .
.
, Convergence () .
, ,
. ,
, . 4.1.

4.

327

4.1. Solver Options

Assume Linear Model


( )

(.. ,
). , , .
, ,
The conditions for Assume Linear Model are not satisfied ( ).
,
,

Assume NonNegative
(
)
Use Automatic Scaling
(

)
Show Iteration Results
(
)

. , ,


,

, Solver Solver Options: Estimates


(), Derivatives () Search (),
. (Estimates), .
Derivatives
, Search . . 4.2.

4.2. Solver Options

Estimates ()

Tangent ()

Quadratic ()
Derivatives
()

Forward ()
Central ()

Search ()

Newton ()
Conjugate ()

328 II.

,
Save Model ( ) Load Model ( ), . , .
Goal Seek ( ), Solver , , , .
, , - . , , , (0, 2
4). , 3
(, 4).
. -: , ,
3. . Add () Solver Parameters ( ),
Add Constraint (. 4.58) Cell Reference (
) ( !),
. , Constraint ( 3). . Add ()
, Add Constraint
. , .
Subject to the Constraints
(. 4.59). , Delete ().
Change ().
. 4.58.

Cel Reference!
|$Bt3

Solve! Parameters
Set Target Cd:
EqualTo:
Max
gy Changing Cefc:

MQ

-5)( t the Constraints:

>- 3

. 4.59.

4.

329

. 4.60 . ,
, .
. Solver ,
, 7.8 ( ), (.. /2
5/2). Solver Goal Seek. , .
, Solver
, . .
j

=*(-2)*(-4)
1 '1:-:4. ". j
.

..

1 Solver
' "

. 4.60.

,
, (
). ,
- ( ). (. ). .
Excel , 4 (. 4.61).
5
_j...

'
|

f, =4+44-2-2**4-42
j
. " ;
~ JZi

1 ;
2
3
5
. V : - 2_
6 :

"

'

. 4.61.

330

II.

5 =B3M+B4M-B3A2-2*B3*B4-B4A2,
( 4).
Tools'^Solver (^) (. 4.62) ( Set Target Cell)
5, ( By Changing Cells)
:4, Equal Min (
).
. . 4.62
, . , .
Solve ().
(.. ),
(. 4.63).
5
_i

j.j.

-'* = -4+4-2-2*4-42
" }

\ JF
1 _;, ~

G ;

J, .,!,_

1 i
.2J
"3 '
4

-^

5'

2:

gTwgetC*

*S^ Ufx,y) -~ "592J


6

qUdlo:

<~
Changing Cells:

'

": : ::' nil


$B$3i$B$4
Id
\ : 1 1iybject
to the Constraints: -;
1

11

^j

SUMS

<Jnge

jv;

-l

"is"
In

close

Qytons

12
13

171

- value rf: I

'

j
-

Reset At 1
1

Pwc. 4.62.

;- ' '"

f. =4+44-2-2*-4-42

2
3
- 0.999999
4
1
5 I U(x.y)-|
-2I
i
7.;^
''
8
I '

13.

. ;

i .
i

;;: Sdvw has converged to the current soJuUm, Al


constraints are satisfied.

in

-^

H .
i

p^^
tefwty

i Restore Qriginat Values


1

OK

Cancel'"/

J
j

-3
_J

Save Scenario...

: :'

| ,

"is!
Puc. 4.63.

4.

331

!
. - ,
,
.. 4 . (, ,
) . , , . , , , . Excel, ,
, , (
- , ). , , ,
,
. , , .
, , ,
= -1 = -1 . , .
, , , = -5, = -2.
. , ,
, (.. ).
. .

^1^^^^^

, . , Excel. ,
, , , .
, Excel
Solver.
, ( 4), =2+42, . 5 (. 4.64).
6

f, =B3+2*B4

; | . (
1 _

'-I Ufx.y)6 | !

. 4.64.

..1 11. ~_j ::::i!

10

332

II.

,
6 =+2*4,
. .
Tools^Solver
Solver Parameters (. 4.65). , , (5), ( :4),. ,
( Equal To Min).
, . ,
6 ( ) .
. . 4.66.

=*2+4 2

1_
2
3~

_J U(x.y)6
7
8
9 1

Sgt Target CeH:


EqualTo:

&-Changing Cefc:

St&ject to the Constants:


$B$6 - 1

J,

Puc. 4.65.

: =2+42
ft.

| :

. , ]

1
_,
-;
v=
\'B

0.2!
0.4
0.2l
ScAvef found a solution.
condSJons are s

Eepwts
Answer
Sensitivity

^" Restore ^-i^naJ 1


::.rOK

| .

Caned

iX:5avB5MMrto...

. 4.66.

4.

333

, .

. , , , .
. , .

, . ,
, F(x, , z) = 0, z(x, ) ,
. .
4.9. z(x, ), :
+ 2 + z - 2 + + 2 - 4z - 10 =

,
(.. , ).
. 4.67 , .
6

''

, f, =2+42+52-2*+2*4-4*5-10

D
i

!
F

1 :
3

4,

=;

...5 j
*
6 j ^
7J

'

. 4.67. -'
.

, , 4 5 , z ( 1, 2 3). 6 =2+42+52-2*+2*4-4*5-10,
. , Solver. .
5 ( z !). ,
:5. ,
(.. 5), .
, , . Subject to the Constraints ()
Solver Parameters (. 4.68).
. 4.69.
. Equal To, . 4.70.

334

II.

f- 3

;.

,_

1 |

Solver Pdiemeteu
Set *

: 6':>,1

|$5

J!

EquatTo;

jyy

MIQ.

i |$:$$5

guess

:'13) (the ConstraWs: ';

Options

.........

. 4.68.

) = 2+42+5 2-2*+2*4.4*5-10

6_J

V !

'

'

6 \ !

44E07I

^ ^

!.J

-|

1:

- "-0.99509] "

,
9

_J^_ '

71X11

> Sdww has consrged to the atr* solution. Al


^ :5 satisfied.

Reports. ; ' - ; . ,
Answer
5 sitivity

. i f* feep Solver Scfewii


**

:..

1 .."...._.._!

~*

'

Jj

f
16

OK

Cancel

a* _j

Save Scenario..

>

. 4.69.
f, 3

;
0
1
2
'
|
X-.
1
;

./ .. ,

_. . .

_ ; i.

J*

i.

^|ft |(|114

-I

~6
7

10
11
12
13
"4
|5

16
17

19

3J S Targeted:

-6

j$B$5

Equal To:
Max ' - f |
;^fiy Changing Ceb : "~ : |$B$3:$B$5
1

-(

::;:::":"]
::: ::::::;. :;;: .

------

'

iJ

rSiAject to the Constraints!

|rtaje-o

I
<" Value of:

1
SJMS

g^^

uirjons

iot*e

Cherrae

!
Eeset A l l

. | ^^j

Puc. 4.70.

4.

335

. 4.71.
, Solver Results (
) , ,
, , . (. . 4.71).
(. 4.72).
,
.
,
= 1, - -1 z =6 =\, = \ = -2. Excel. , z (= 1 ; = -1),
. , , ( , 4 = 1, = -1 = 2), , .
, ,
.

| " 1. 0__]
1

";
"3 '
X"

=
1
V - "-0-957

"

4 4^-7

jj

L_F

16
17!

J
|

: : mtsm

Solver Results
1 , geports
- 1 Answer
Sensitivity
. Limits

^jpe^sSverSoli^
f Restore Original Values
' r__II__1
' '
1
QIC
J
Cancel

:
.'
15

'

10

11
"12
_,

j _

Solver has converged to the current solution, Ai


; constraints are satisfied.

9"

|aveSouHo...

. 4.71.
5

-* -1.99999858511924

\ ', -s . | . ;......J?.

6 ; 4.44-07

336

II.

. 4.72.



, Excel, (
) .
. (.. ) . , . VBA . , ,
.
. ,

. , . VBA
, .
,
VBA ( ), , . , .



, . ,
, , , . .
, (..
, ), , . ,
. , , .
.
.
. : ,
(,
, ). , , . - + 18 = 0 ,
Excel.

4.

337

, : = 2 = 9,
, , ( - 2)( - 9). ( , ).
. 4.73.

!1

D2

" f, =(2-2(2-9)

'
! 1 2.5 '

F '


; '

[=1=1

-3.25

-10

. 4. 73.

2 1 , . ,
2 4.
. , 2
=(2+2)/2. , D2 =(2-2)*(2-9).
2 F2.
D2
, 2 , , ,
F2 . . .
. 7.74.
A3

3
4

* =IF(D2'$E2>=0,$B2.A2)
j
_ ]_

G_

i
:

i
:
',

1 | 2^5

-3.25

-10

. 7.74.

, ( ). , A3 =IF(D2*$E2>=0,$B2,A2).
() D2*$E2>=0. ,
. ( , ), . . (, ) ,

338

II.

, ()
(.. , ). , , .
, A3 . . 4.75.

=IF(F2"$E2>=O.SB2,C2)

D
;


!
! *
;

-10

-3.25

. 4.75.

( 2) =(+)/2.
,
(. 4.76).
, ,
, , Excel .
. .
, A3 ,
. Excel .
, . .

.
,
Ignore Error ( ).

=(+)/2

;.;-|

;.

! i
!
1
\ ! n P aeafl i : : 1
;
| ; ^^ | ^^ ,

'

5
_..
~7 "\
.,
__

551

"if,
J2]
13

':

2.5

-3.25 \
1
|
I

Inconsistent Fortouta
Copy Formula from Left

""" ' 4
1
j

-10

""

"

1-.
i

i
"

') fcjdp on this error


Ignore Error
. \- Edfc in Formula Bar
it* Error Checking Options...
1 Show Formula AufStff>g Toobar

-1

! -

. 4.76.

4.

339


D2:F2 D3:F3. (. 4.77).
, , .
. , ,
A3:F3 (. 4.78).
, ,
. , . , . 4.79 (, , , ,
).
D2
A

i
i

1
1

25
1.75

=(2-2) (2-9)

,:: D

~~ :

I

;

": . ;

4
2.5

i 4
5

. 4.77. D3:F3

;
;
,

2~ :

6
. 4.78.

.
'


B

-3.25

2.03125
1.98437S
1 984375 [2.007813
1 98375 [1.964
996094
1.996094
1.999023
1.999023
1.999756
1.999756

. 4.79.
340

II.

1.8125
-0.859375
0.4414063
-0.217773
0.1096191
-0.054626
0.027359
-0.013668
00068369
-0.003418
0.001709
-0.000854
0.0004272
-0.000214

-10
" -3.25
-3.25
-0.859375
0.859375
-0.2177734
-0.2177734
-0.0546265
-0.0546265
-0.013661
-0.0136681
-0.0034177
-0.0034177
-0.0008545
-0.0008545

, ,
. ,
.
. 4.80 ,
.
(.. , ) (
, ).
,
.
, . 4.81.
2

1
JLJ

-13
-5
-1

3
4~;
5 !

~6 ' :

2
2
2
2
2
2
2
2
2
2
2

7 '
8~

10
11
12
13
14
15
16
17

-13
'

D
1
i
F
i

:
I

330
96
-6
-5
_...
-1
" "

-6

30
_|
2

6
i
- :
0
0
2
2
0
2

2"
0
2
2
0
0
2
2

0
2
2
0
0
2
] ""2
0

2
2

'.
2
! ' 2
0
2
0
:
2

b
2
2
0
0
0
2

; 2

""6

rii:;. :

'[;;;; "; ::;i

. 4.80.

2
. ' A

1
_

. i j :1_ F
i

I
11
8
18
6
-12
11
8
-12
18
11
8
-12
18
6
"
-12
ii

11
8
-12
6
"is

"'~ i 11
-12
^g
11
8
-12
18

6
11
8
"-12
18
I
6
8
1
6
11
-12
18
11
8
-12
6
18
11
8
-12
6
18
8
Hill] 11
i"i
8 "
-12
18
6
11
18
8
-12

11
18
8

-12 _]

__,

7
8
9
10
11
12
13
14
15
16
17

"

1
1
1
1
1
"\
1

Ill

. 4.81.

4.

341


, .. ,
.
. , ,
,
, . ,
() , ,
( ) ,
( !).
(, , ) , .


.
. .
, (x,,J{xt)) (*27/(*,)),
, 2 , , , , ) = 0. 3 = (xj(x2) - x./(x^)/(J(x2) -*,)).
, , ,
. . 4.82.

f(X2)

f(x4)
f(x3)
f(xi)
. 4.82.

342

II.

, ,
. Excel
, . , ,
, (
). . , 2 =(A2*F2C2*D2)/(F2-D2), . , A3 . , , ,
. , ( ), , , . ,
A3 =IF(D2*$E2>0,$B2,A2), =IF(F2*$E2>0,$B2,C2). ,
, (. 4.83).
! 1 () 1 (
) !
. , , - .
:
3 ( )
. , ,
. . 4.84
2 -11*+18 = 0 .
, ,
, ..
.
. . 4.84 , ( ),
, . , . . , ( F,
, ) .
. 4.85 ,
( ), , . ,
.

4.

343

2
:

ft =(A2*F2-C2-D2)/(F2-02)

'8

-...

! ;
1 ;
;
;
'
J]
1
2.3333331
4
8
: -2.22222

1
2043478*2.333333:

' -0.30246

-10
-2.22222;

. 4.83.
\

1
1
1

;
8
; -2.22222
2.333333

8
-0.30246
"2.043478 2.333333
'2.005464 2.043478
8
i-0.03822
2.QQ0684 2.005464
8
-000478
:
8
-0.0006
2.000085 2.000684
8
-7.5-05
:
8
-93-06
8
-1.2-06

I -1 5-07
8
-1 8-08
8
-2 -09
8
' -29-10
8
-3 6-11
8
-4.5-12
8
'-5.6-13

-10
-2.22222 ;
:
-0.30246
-0.03822
0.00478"'
-0.0006
7.5-05 j
-9.3-06 i
-1.2-06
-1.5-07
-1.-08
-2.3-09
-2.9-10 '
-3.6-11
-4.5-12

. 4.84.
A3

/ 1 =IF(D2*IE2>D,JB2 2)

"

L. 6

I
;
;

4
2 2 "
2
0
0
-10
3 | 2
4
0
2
0
-10
J
4
0
0
-10 :
4.1
2

0
2
\
-10
1
4
2
" ' 0
-10
4
0
-10

.2 I ;
'4

".ID
4
0
0
2
-10
4
0
2
i

-10 :
4
7
0
-10
0
"2 "" ' " 4
-ID I

4
2 ' "!
0
0
-10 L
-10
2
;
4

2 "1
4
-10
0
" 0
4
"_ 2
1

"

"

'!

. 4.85. /i

344

II.

, . .
, . . 4.86.

' 1
-7

; #DIV/0!
#oiv/of

DIV/0!
7
DIV/0!
#OIV/0!
9
DIV/0!
10 #DIV/0!
11 DIV/0!
12 *OIV/0!
13 DIV/0!
14 '#OIV/D!"
15 DIV/D!
1 DIV/0!

;
i =IF(F2*SE2>0,$B2 C2)
;
F
.
E
D

-7
8
144
1
11'
DIV/O! | ~ I 144
#
144
#0!!
*OIV/0!
DIV/0! ' DIV/0! ' #DIV/D!
*1!
SOIV/0!
#OIW)!
DIV/D!
DIV/D!
SDIVffl!
DMO!
DIV/0!
#DIV/0!
#OIV/0!
DIV/OI
DIV/D!
*DIV!
DIV/0!
DIV/0!
#DIV/0!
SDIV/0! :
DIV/D!
DIV/D!
#OW/0!
IIVAD!
DIV/0!
DIV/0!
DIV/0!
#OIV/0!
SDIV/0!
OIV/0!
DIV/D!
WDIV/0!
#OIV/0!
!
DIV/0!
#OIVA3!
tfOIV/0! #OIVjO!
DIV/0!
*Div/0!
DIV/D!
#DIV/0!
DIV'/O!
DIV/0!
*DIV/0!
DIV/0!
DIV/0!
*OIV/0!
ADIV/0!
#DIVA1!
#OIV!
DIV/0!
DIV/of *DIV/0!
#OMO!
DIV/0!
#DIV/D!
#OIV/0!
DIV/0!
#OIVA3!
#DIV/0!
CIV/0!
SDIV/0! 1
DIV/0!

__^

17

18'

Puc. 4.86.

, ,
, , ( !).
(, , )
. , ,
.


, . ) = 0 . ( *).
=J(x). .
..
. 4.87.
( + 1)- +1 =xri-J{xn)/f(xn), /() ).

, (, ,
), , , ,
Excel .

4.

345

f(x0)
f(xi)
f(x2)
f(x)
. 4.87.

,
, f(x), ,
. , , ( )
. .
,
.
, Excel,
: ,
( ),
. ,
, .
. , . 4.88 .

..:

1
/

.. _

ft =B32-4-B3+3

i s n

1 D,_,

f(x) ()

. 4.88.

346

II.

4 + 3 = 0, : = 1 = 3. 4 (

= 2-4*+3) , , . . , .
, f(x) = 2x-4.
5. =2*-4.
. Excel
. , , .
, .
=-4/5 (. 4.89).

! ,
Iteration Calculation Options.
, Tools'^Options.

. 4.89, (
4), . , , , . <9>, (. 4.90).
, 5.

=-4/5

71
3' |
:
4
1(| - .29-08
5 ! () -2
I
7

"

. 4.89-

5

=2*-4

1 |
3

*=
4

f(x) 5 | (| -[

6
1'

. 4.90. <F9>

4.

347

, , , . Excel. ,
, , ,
. .
, , ( ).
, .. , , . , /'(*) = Km

, f'(x) -

. -

.
, . 4.91.
5

=(4-4)/6

' .... ..

xdx j

j
-j
I
f(x) I () =

dx =

. 4.91.

4 . =2-4*+3. =2*-4 5. .
.
, 6 ( . 4.91 0.001), . =+6, .
=2-4*+3 4.
4. 5.
=(4-4)/6. , ,
, =-4/5. ,
5, 5, . . 4.92.
5 ( ) 5
( ), ,
. , ( 6), . 4.93.

348

II.

6 =-4/5

.;_^:1

i; ... 8

1 C

b-LJL__

f(x) =
()
dx =

-2
0.001;

x+dx
1.001:
-0.002
-1.999;

. 4.92.

^
5

=(4-4)/6
; _
1

1 [
2J
_! '
3J
=
1
1
f(xl- 8.98-08
""| () -2
fj
dx=; 0.00001
!
7

, ,
, ,
, ( -
).
, , , . ,
. ,
Excel (.. ) . . ,
.

. ,
.

. , , , = >(), (;)
, ( ) . = - *,
, 0 . ,
, +
= ( + 0) - 0. , ( + ) - ,
( ), Excel .
JE! ,
, 0,
.. , .

4.

349

. , <(;) = -f(x)lf(x), ,
( ),

+ ~ + xa)/f(y + ) - 0. , , , , .
. . 4.94 . , 4

=(+6) 2-4*(+6)+3. ,
6 (
0). 5 =2*(+6)-4 . 7 =+6 . , , ( ) ( 6). , =+6-4/5-6
( =-4/5). , , . 4.95.
, ( )
=\. ,
. . , . 4.96 ,
6 (.. ), 5.
4

=(+)*2-(+)+

14

:.i



f(y*xb) -|
5J
*) ~
=
7^1
"|

:q
31
-*i

Oi

. 4.94.

7j
,
6
7 ;
BJ

-1 0.999999954]

f(yxO)- 9.29223-08

(*) - -2.000000
=

x-j 0.999999954J

. 4.95.

350

II.

=2*(+6>4

1 [

'

'


y.~i.
;
4
f(y+xO|
5 1
()-^
6 -....
71
=^

. 4.96. 66 5
, . 4.97.
, , - 3.
,
. 6. , ( ). , ,
, . , <F9> ( ). ,
. 4.98.
, = 3 ( 7)
( 4), , .
7

''ft =+6

,
1 {
!

" 1
4]
iili
6
7 |

. .

D ,

" '

-2

f(y*xO)- 9.31321E-10

f(y*xO) - 2.000000001
5

-1
3

8 }

. 4.97. 6, 5
*'* =+

j
1 ypat

. ' !

3D
3 }

.'

:. -: r.-?i i

4
ffyxO)-;
5
*)-.;
6 \ 1 =
7 ]

8 i

0;

2i

: ;

. 4.98.

4.

351

,
( ), (, ) .
, , . . 4.99
,
.

4 =4 2-4*4+3.
, 4. . 4 =2*4-4
.
5 =4-4/4.
( 4),
( 4) ( 4) (. 4.100).
5 5 , 4 4. ,
, (. 4.101).
. 5:5 () . , (. 4.102).
,
( !), 4. . 4.103 5, ,
, .

S, =42-4*4+3

C5
0

1 |
"_

2
3

-4':

31

=4-4/4

i
!
3

'

&

~4~\

] .
[

0.75J

. 4.99.

. 4.100. 5
9
I

"

FJ

' [

3 ,

5 |

0.5625I

-4;
-2.51

0
0-75

6
7 I

. 4.101. 5 5

352

;.

.4

'.

f, =2'C5-4

fi =

II.


3'
-4:
!
0.5625!
-2.5
0.75i

1 0.05025!
""-2.05" 0.975
] 000060981 :2.0G0609756 0.999695*
' 9.292-08 -2.00000093
1

-2"

10

. 4.102.

f. 5

'

. 4.103. -

'

3.333333333 .
2.266666667'3.133333

1
2.015686275 3.007843

2.000061036" 3.000031;
2.000000001!

" 3!

, .
,
, .


, . .
Excel ,
. Excel
, .
.
, ( ) .
. ,
,,..., ) = 0, i 1 , .,
, .
, , /.(). x = (xt,...,xa), . - /(*) = (/, (),,/(*)),
/(*) =
( -). ,
, (k + l)-e
+1) , k-e "', "+" = xw - ~'(3))/(*>) - '\) (3), f.(x)
. , atj(x)
a l j ( x ) = d f l ( x ) / d x j . Excel
. ,
.

4.

353

tJ^^^

,
2
2
: . : /,(*, ) = 4 + + 2 - - 2 f2(x, ) =
2
2
= 2: + + - 3. ,
,

(,) =

2 + 2-1
+ 2

. 4.104 .
= 0,4 = 0,9. 0.4 4, 5

0.9 . 4 =4*4 2+5 2+


2*4*5-5-2 .

5 =2*4 2+5 2+3*4*5-3.


G4:H5 ,
. , G4
=8*4+2*5, 4 =2*5+2*4-1,
G5 =4*4+3*5, , , 5
=3*4+2*5. , G4:H5
, . -
4:5, 4:5.
.
6:7. : =C4:C5-MMULT(MINVERSE(G4:H5),
4:5)(.4.105).
=2*42+52+3'4'5-3

i__i__J

1
2
3 ;
5!

F .

'.....,..!

"

-:

0.4

-;

fKx.vlf2(x,vl -I

-0.73
-0.79

7'!


5
1.6
-!
4.3 ^
3
i

!
i

:
;

Puc. 4.104.

(=C4:C5-MMULT(MINVERSE(G4.H5),E4:E5)}

\___ J
D
;_
\ . .. LL-Sbb-JLiJ.

3
4

-!

0.4

-' 0,51 4039


-|_
- 6.999877

f1(x,y)Rfx.yH

-0.73
-079

Puc. 4.105.

354

II.

tt_..l

5;

A-

4.3!

1.6!

3:

!i_

, ,
<Ctrl+Shift+Enter>.
, ( MINVERSE(G4:H5)). MMULTQ. - ( 4:5).
-. (
, Excel ) ( 4:5). , .
. 06:17. . 04:15
06:17. . 4.106.
. , Excel , ,
. .
6:17
. (-, , , ) . . 4.107.
7

>

'

* =3'+2*7

i
D
:

1
2"
3

4 ;

=
0.4 f1(x.y)-i
-0.73
"-.
0.9 2(,)-" -0.79
5J

- 0.514039
- 0.999877

I
8

4.3

-'""

f1(x,y|- O.OB4775
R(x.y)- 0.070155

1.6
3.

6.112069 2.027S33
A -r 5.0557881 3.541872J

. 4.106. D6;I7

{=C6:C7-MMULT(MINVERSE(G6:H7).E6:E7))

_1 , i C.-.---I X.
1
jp
3 :

4
5
6

JJ

_
1
2

IL

j _ JUT"

___4jji|

i
0.4 f1(x,y)=
-0.73
S1.6
'!
0.9 (,) -'
=^"
4.3* ":
-0.79
! 0.514039 (,)= 0.084775
: 6.112069: 2.027833
V : 0.999877 f2(x.y)-'o!070155
-'5.055788 '3.541 872
| 0,500175 f1(x,y)- 0.000769
6.001119: 2.00007
-' 5.000281 3.500245
, 0.99986 R(x.y)- 0.000385
[_____J____J__________J____J____J____J

. 4.107.

4.

355

,
. . 4.108
( ).
, . ,
, . ( 4 5),
(. 4.109).
, "" ,
(. 4.110).
, ( ) , .

Puc. 4.108.

Puc. 4.109.

356

II.

=2-5+2*4-1

tjj

(.)-

' MUM! ' MUM! i

gfr.y)- MUM!
f1(x,y)- SWUM!
r
O(x.Y)- MUM!
MUM!
(.) -* MUM!

"'- ! ! ;'
' MUM!
A-* #NUM! '
' MUM! '
A-7 MUM! "*

MUM!
MUMI
MUM!
MUM!

. 4.110.
, .
. . .
: , .

, . . , /() = 0.
(3) = fT(x)Cf(x), (
; , -
- ). ( Ctj = ,,) ( ,
1 > 0). , , (3) (
) /() = 0. . : ,
( ).
(k+ 1)-
x(t+1) = ( * ) -,(" > ), V = (,,...,) ,
, ,

Xt ( ).
, , , . Xt
(3(4) -((")) ( X). , "kk = (<*) -( ( *>)).



\\
-^ = 0. , () -

, ( )

4.

357

. (..
). , .
, , : , , ,
. . , .
. , , 4 =
( ) , ,
, ^() = /.(*)/<,.

(5) = 2AT(x)Cf(x).
,
.
. ,
(
). ,
.
,
(), , . .
4.12. 4 + + 2 --2 = 02 + + -3 = 0

, . ,
-.
, (.. ) . , . ,
. .
(
). .
, , .
( ). , -

358

II.

X t =

r~^; -

,
() = 2()/().
, , . 4.111.
L5 ( ) J4:J5 ().
, . . 4.3 , ( L5 J4:J5
).

. 4.111.
4.3.

5
4
5
4
5
G4
G5
4
5

0
0.4

0.9
=4*42+52+2*4*5-5-2
=2*C4A2+C5*2+3*C4*C5-3
^8*4+2*5
=4*4+3*5
=2*4+2*5-1
=3*4+2*5

J4:J5 =2*MMULT(TRANSPOSE(G4:H5),
4:5). ( )-
(, 2 MMULT()) ( TRANSPOSE(G4:H5))
- ( 4:5). =MMULT
(TRANSPOSE(Vect01),Vect01)/MMULT(TRANSPOSE(Vect02),Vect02)/2 L5
,
. , ,
, VectOI
Vect02. . L5
Insert^Name^Define (^^). Define Name Names in workbook -

4.

359

( VectOI !),
Refers to ( ) . VectOI =MMULT (TRANSPOSE(Sheet1!G4:H5),Sheet1!E4:E5)(pHc.4.H2).

( TRANSPOSE(Sheet1 !G4:H5) Excel
) - ( Sheet1!E4:E5).
, , MMULTQ.
! .
,
.
,
<F4>, . ,
Refers to ( )
, .
(
Define Name Vect02 Insert^Name^Define), Add () (
VectOI ,
Define Name ).
Vect02
=MMULT(Sheet1!G4:H5, VectOI )(. 4.113).

Refers to:
-MMULT(TRAN5PO5E(Sheetl!G4:H5),5heeU!E't:E5)

Puc. 4.112. VectOI

|=MMULT(Shc!etl!G4:H5,Vect01)

. 4.113. Vect02

, , VectOI, . Vect02 ,
( Sheet1!G4:H5) ( VectOI).

( L5!). .
, L5
(, =MMULT(TRANSPOSE(Vect01),VectOI )/MMULT
(TRANSPOSE(Vect02),Vect02)/2). 360

II.

(..
, ) : VectOI
Vect02. MMULT(TRANSPOSE(Vect01),Vect01) VectOI. ,

. (
Excel, , ),
(- -) , ..
, .
MMULT() TRANSPOSE(VectOI) (..
VectOI). (
MMULT(TRANSPOSE(Vect02),Vect02)).
! L5 , , ..
<Ctrl+Shift+Enter>. ,
.
, ,
.
. . .
, ,
SUMSQ().
,
. 6:7, =C4:C5-L5*J4:J5 (. 4.114).
: ( 4:5) ( J4:J5),
( L5).
D6:L7 D4:L5. , ,
D4:L5
D4:L7. 7, , .
. 4.115.
. 6:1_7 . . 4.116 ( ).

. 4.114.

4.

361

. 4.115.

. ^./.

, ,
. , , ,
.
, .
, ,
,
. , .
1 4.13. : 2 + - 5 =
, = 1 = 3.
, , . = 2 = 2. ,
. ( 4 5),
- : 4
=2*4+5-5, 5 =4*4-3*5+5. .

362

II.

. .
,
,
. ,
, .
.
, , .
! ,
, , .. : G4
=2, G5 =4, 4 =1, 5 =-3. (.. ),
,
.
, ( ), . , .
. 4.117
.
,
,
( ) .
, .

. 4.117.

4.

363


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


, .
( ) ;) a priori , {.} {_} ( / = 1..).
, fix) =/.
ft . , , f, = (fM - f)l(xin - ).
.
(. 4.118).
, ,
, . .
, , , ,
(.. ). , , , .
364

II.

. 4.118.

. . , , ( ), :
,
, . , , , - . ( ), .
, ( ), (
). . 4.119.

f.= (/;-/_,)/(*,.-*,-_,). ,
, , , ( , , ),
.
,
. /,. = (/+,- /,^)/( - *).
,
( , ) (. 4.120).

4.

365

Xi-1
. 4.119.

Xi-1
. 4.120.

366

II.

XH-I

, , ,
, . , , , . ..
. , ,
. , , ,
, . , , . , .
.
. ) = 1/(1 +) 0 5.
. 4.121 ,
, .
.
5

=(D2-B2)/(D1-B1)

F
G |
!

[....-
,|

I D
1 . =
0
0.5
1
1.5
2
2.5
1
066667
0.28571
i
0.5:
0.4 0.33333:
2 f(x) =

-0.2! -0.1333 -0.0952 -0.0714


3 () - -0.6867 -0.3333:

-0.6667 -.:
4 {) =
-0.2 -0.1333 -0.0952;
(
5 { () =
o.sl -0.2667^ -0.1667 -0.1143 -0.0833!;

-1 . 4444
. 16 -0.1111 -0.0816
6 ; ()
-0.25

74

1
3
3.5!
0.25 0.22222

5
4
4.5
0,16667
0.2 0.18182

-0.0556

-0.0444

-0.0364

-0.0303 003233

-0.0714

-0.0556

-0.0444

-0.0364

-0.0303;

-0.05! -0.0404

-0.0333

0.0404

. 04

-0.0331

-0.0278

-0.0635
-0.0625

.0494

>

. 4.121.

B1:L1 ( , ), 0 0.5.
. 1:1_1 0
1 0.5 1,
1:1_1.
. 2
=1/(1+1),
B2:L2. B6:L6. f(x) - -1/(1 + x f , 6 =-1/(1+1)2
( )
.
B3:L3 ,
. =(22)/(1-1),
B3:L3. , ( L3),
, . ,
, . , 4.

367

L3 .
. , .
(. . 4.121).
4 =(2-2)/(1-1). C4:L4. ,
4, .
, =(D2-B2)/(D1-B1) 5. C5:L5. ,
. , , .
. 4.121,
. , ,
. 0,5 0,1, .. ,
. 4.122.
,
, , :
,
. , ,
, ,
. , .
,
, .
, .
4

j=(C2-B2)/(C1-B1)

1 ~ D

0.1;
0.2
0.3
.rl.jApiyKHTKj f(x)
1' 0.90909.! 0.83333 0.7923;
(
jpaiHQCTMf(x)- |JI9091j -0.7576; :0:64lj J;5495j

-0.90911 -0.7576! -0.641
|) fjx)
I
I 5 ()-. -0.6993 -0.5952!
[
6 ()
-II -0.8264! .6944 -0.5917

0.4
0.5!
071429; OJ6667;
;0:4762

II.

I
0,5!

-0.26321

-0.5495 -0.4762; -0.4167! -0.367 -0.32681 -0.2924! -0.2632


-0.5128! -0.4464! -0.3922 -0.3472! -0.3096! -0.2778
.5102

.4444! .3906

. 4.122.

368

0.6
0.7
0.8
0.9
:
0.625 O.S8S24! 0.55556 0.52632!

-0.346

-0.3086

.0.277!

.0.25!

. , , () = y(t) = x(t).
' = y'(t)/x'(t) = x(t). .
4.14.

,
, , .
, ( )
, . , ,
t + 2 = 1.

: 3:1_3 ( )
( ) 0.1 1 ( L3). 4 =SIN(PI()*B3/2), 5
=COS(PI()*B3/2). 4:5 ,
B4:L5. . 4.123.
, 5:1_5 , , Insert^Chart (1^).
(. 4.124).
4

~~J ~

>
L

ft =SIN(PIO*C3/2)
,| D

__B

3 | 14 [ - ;
5 -

""

gj

[,

' _6. J

J_ _ J j

"

0.4
0.7
0.1
0.2
0.3
0.5
0.6
0.8
0.9
0156431 0.30902 0.45399 0.58779 0.70711 0.80902 089101 0.95106 098769
0.70711
0.58779
0.95106
0.89101
0.80902
0.45399
0.30902
0,15643
0.93769*

1;

1!

6.1 1-17;

Puc. 4.123.

. 4.124.

4.

369

Name () ="(*)").
Category (X) axis labels ( X)
4:1_4 ( ). ( ). . 4.125.
Chart title (
) Titles () .
Category (X) axis ( X) ( ), Value (Y) axis ( Y) . . 4.126.

_J
Add

yaluei:

' J-Sbeetl!$BJS:tL*5

I Bemove j.

Categor, (X) axtt labels:

"; j-Sheetl!$BJ4:$L$<

iJ

31

. 4.125.
Chair Wi^rrt - Step 3 nl 4 - Thai! Qplinnt
**M;

Grt*f

legend

Data labels

Chart :'.
______
-
. Category (X)a*is:

Puc. 4.126.

370

II.

Data Table j

, ,
Gridlines ( )
Major gridlines ( ) Category (X) axis ( X).
Value (Y) axis ( Y) (. 4.127).
.
(.. ) . 4.128.

. ,

.
Chart Wizard - Step 3 of 4 - Chart Options
| Axes

aWnes | legend | DataLabete { DataTabte |

CategoryOO axis 17 jgjajpr qrSlinesj

Value (Y)axB I? Ma&r gridnes

. 4.127.

L5

A =COS(PI()*L3/2)

. |

D_..j

F~~T'_ G

3 !- i
4 S |

I
i
i
I
I

__d_J

~r~r

K-;;l

'

0.8:
0.9:
11
Q
0.1!
0.2
0.3:
0.4:
0.5!
0.6;
0.7
1
1
Q 0.15643 0.30902 0.45399 0.58779; 0.70711 0.80902 0.89101 0.95106: 0.98769
r
i 0.98769- 0.95106' 0.8910V 0.80902 0.70711 j o!58779; 0.45399 0.30902 0.15643 6.1E-17I

I
I

1.2-1

*- < -

':

I
i

0.31

0.59

0.81

' I
1
I * y^l
,

0.95

L
'.

zm

j.
!

i_

-Vi' '.

'

16

17
18
19
20
21
22:

- -1
i

Puc. 4.128.

4.

371

. , . , , ,
,
.

. 6
=(D5-B5)/(D4-B4) . 7 =-SIN(PI()*C3/2)/COS(PI()*C3/2),
, .
. x(i) = sin(m/2) y(t) = cos(ro/2), '(t) = (7i/2)cos(ro/2)
y'(t) = (-7i/2)sin(ra/2).
' = '(i)lx'(r) = -sin(m/2)/cos(ra/2).

. , ,
t
( ).
, . , , Excel .
6:7
6:7 ( ).
. 4.129.
, , . ,
, (
).
( ).
.
,
, .
7

'

"'* =-SIN(PIO*C3/2)/COS(PIO*C3/2)
\
D |

.:;.

3 t | X
5

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9!

1!

0.15643 0.30902 0.45399: 0.58779 0.70711 0.80902 0.89101 0.95106 0.98769


1!
0.98769 095106 0 89101: 080902, 070711 0.58779 0.45399 0:3090?, 015643 61-1
:

-0.1584

-0.3249! -0.5095: -0.7265

-1

-1.374

-1 .9626

-3.0777

-6.31381

-0.1584

.3249

-1 -1.3764

-1.9626

-3.0777

.6.3138

~|
!

.5095

-0.7265

. 4.129-

. . , , , (.. ), , , -

372

II.

. .
,
.
,
, , .
. . ,
.


( ) , , , . , fix)

b ( \f(x)dx ), ,
) .
, f(x),
( ). . , .
.
. -, (
)
( , ). .
, ,
.
(, ) , , + 1
. (i = ..) h = ( - )/, , ,
, = + ih. , .) ~ft.
. , , , ,
, ,
. , ( ). , , ,
. , .

4.

373

,
. , ,
, .

, , , .
. ( ), (
). . 4.130 - 4.131.
/ =

xi -*M)/.

-x!)fi . h, I =

/ ]/. .

. , , ,
. , , . , (. 4.132).

f(x)

fi-1
fi
frfl

' 1""4*v4->"NS~^^-,

fn

X
X

i-l xi

. 4.130.

374

II.

Xn

ft

f(x)

fi-1
fi
fi+1

N^

fn

k>x

sVi
:, "^>-^_
X
Xn

Pwc. 4.131-

f(x)

fo

fi-1
fi

frH
fn
X0

Xn

PMC. 4. 52.

4.

375

,
, / = ]](*,-*,_,) "=*[.
V

/=i

h-jh,

)
(+)

,-<

/ =2_,(, + )=^ +",!


2
2

, , . . .
, , . ,
.

4.15. \sin(x)dx
. , ,
sin(x)dx = cos(O) - cos(n) = 2. .
, : ( ) ( ), ( ), ( ),
( ) ,
, ( ).
4 0 . 4 =SIN(A4) . , () . ,
4 =(5-4)*5, D4
=(5-4)*4, 4 =(54)*(5+4)/2 (. 4.133).
5 =4+1()/10, ( PIQ/10). 5
4 ( ) (. 4.134).
4

>

:'

=(5-4)-5

SiEl^Si

1
=2

__J

^
-

V

0
0
0
!
0
1
0

I
. 4.133.

376

II.

Ji =4+10/10

0-3141592651 0.309017


; 0.04854028
0.097080552

. 4.134. 5 5

5 6:14 ( ). 4:14
, 4.
(..
14:14 ). ,
4:4 4:13 (. 4.135).
15

=SUM(E4:E13)

'

"I


0.04854028
0.097080552 0.14086937
0.184658183 0.21940918
0.254160185
0.2764717
0^298783216 0.30647124
0.314159265 0.30647124
0.298783216
0.2764717
"25415 0.21940918
0.184658183 0.14086937
0.097080552 004854028

. 4.135.

, D . 15 =SUM(C4:C13).
. ,
( ).
15 =SUM(C4:C14). 14 ,
.
, D15 =SUM(D4:D13), 15
=SUM(E4:E13). . 4.135. , (
15 ).

4.

377

. :
-, , -,
.
( , ) .
, Excel , , .
.
4.16. ( ,), () -
^*) =
, , . 4.136.

1.2

0.6-

. 4.136. ,

378

II.
I

, [\dxdy = [ dx\dy = f (x - x2)dx

2 3 6
. . -, , (..
() = () = 2) = 0 = 1.
= 2. , 0 1.
2
. .

Excel : , , 0,05 .
( )
.
. 4.137.
i

4
A

- =IF(AND(BJ3>=$A42,B$3<=$A4),1.0)
! 8 j C ; D i E i F ; G i H
M J l k l L -

1 ;

M I N

P ' Q R : S

2 '
3 ix

~ 5 > 5
6 1
8.1
7 | 0.15
02
'9 i 0.25
10 1
0.3
Tl ' 035
12 j 0.4
13 j 8.45
14 i 0.5
Tsl 055
'ill 0.6
?! '' 8.65
18]
0.7
19 1 . 0.75
,
21 I 0.85
22"'
0.9
23 i 0.95
24
1
26 '
\

1
0
0
0
0'

00.05 0.10.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0:
0:

*
OI

0
0

0
0

0
0

0
01

0
0

01
01

0
0

0
0

0:
Ol

0
0

0
0

Oi

1
1

0
;
1

0
0

1
0

1
1

11

i:

0
0:

0
0

0
0

0
0

1
0

1
1

1
1

1;
ii

0
0

0
0

0; Oi Oi Ol 0
0
V 1
0
0
Oi
0
0
Oi
0
1i
0
0
0
0
0
0
; b ! O l

Ol

0
0

0
0

0
0

oi

1
1
11

0'

oi

Oi

Q:
0

0
01!

1
1
11

0:
oi

oi
oi

Ol

o*

Oi
0

o o
0
1
1

.
;
0

0;

0
0

0
0
1

;
0:

1
11

o o

bi
1
1

i ii
ii ii

'

bi
!

bl

0!

0:

Ol

0
0

Q
Ol

0
0

0
0

0
0
O:

0:
0
!
0;

0
0
0;1

0
0
0

Oi
Ol
0

0
Q
0

0|

01

o:
o.
o!

b
oi1
o'

o
o;
bl

bi

0
0

ii

bl

bi

b'

0
0
0

0
0
Oi

o' ol
0' 0' Q oi 01 0:
Oi oi oi bi b;

Ol 0
bl 0; 01 0, bl Oi
0
11 0
0
0 1 01 01 O i 01 0 1

0
0:
0

o'
o.

0
bi

01

01 01
0! bi
Oi 0:

bi bi . b!" oi bi br "6! ~o\


0' oi o: oi oi bi bl b1

Ii
1 1
1
0
Ol

11
1
V
1
0

Oi
1
1
1
1

Oi

bl oi: ' !
b' o d o

0
1
1

O:
0
^\

0
0
0

0'
0
1
O

r i ii bl oi bl
b] bi ii ii "bi If

Oi

0.

Oi

11

1
1
1

Oi

01

Oi Oi
0
:
0
Oj
Ol 01
r
Ol ~0

Oi
0

Oi
0

0
0

bi

b:

Oi

b:

11

0.19

. 4.137.

B3:V3 ,
4:24 .
. , , 0,
=+0.05.
B3:V3. 4:24.
. 4.137 , B4:V24
. ,
, . -

4.

379

. ,
, . 4 =IF(AND(B$3>=$A4A2,B$3<=$A4),1,0). , , (
ANDQ) : ( ) .,
( 4), . 1, . 4
4:24. ,
, B4:V24.
4 ,
.
. , ,
() ,
( ) . ,
4: V24. , . 0.052, V25 =0.05A2*SUM(B4:V24), . . 4.137, .
, .
. B4:V24 . 4.137 , .
, Formats
Conditional Formatting (1^ ).
( ) ( ). ,
.
, . 4.137 ,
, , .
.
, . Excel .

, ,
. ,
, , ,
.
, Excel. , , .
380

II.

. ,
. .



. '() =f(x, y(x))
(0) = 0.
() = + \ f ( t , ya(t))dt. () n- *

. ,

, , , .
^^
, () = (-/2). 0 1. B5:L5 , 0.1, , .
,

. , 6 =(-1*5 2/2),
B6:L6 (. 4.138).
, . , 7:1_7 =$$3, ( , , ). 8:1_8 -(). ,
. 8
=-$5*7. 9 =($5-$5)*(8+8)/2. . 9:9. L9 =SUM(B9:K9) ( ) (. 4.139).

:..: f, = (-1*05*2/2)

' i'--: I ... ,| .; L

1'"-" i
|()-|

1
0 . 1 ;
0.2!
:
110.99501! 0,902

0.3!
0.4i
0.956^0.92312'

0.5!
0.6!
0,8825' 0.83527!

0.7:
' 0.8! "
0.9;
1
:
0.7827:0.72615 0.66698 0.60653

. 4.138.

4.

381

(C$5-B$5)*(C8+B8)/2

"

.j3 j

_! E .

!
l yO = ]

0,5: 0.6

1 -..
j () , ().
i -

/1

0.8825' 0.83527
1
1
1
0;
-0.1:
-0.2:
-.
-0.4
-0.0051"'-0.0151" -0.025: -0.035
-0.0451

-0.5'
-O.S
-0.055. -0.065

.;

._!

0.7827 6.72615: 0.66698 0.60653


1
1
-07
-
-0.9
-0.07S: -0,0851 .[| Q9S
0.5

. 4.139.

( )
B10:L10. 11:1_12 B8:L9.
10, , =7 ( =$$3),
=$B$3+SUM($B9:B9). . ,
( ) $9:9 , , , . , . D10:L10. . 4.140.
A10:L12. . 4.141
( ).
, , . .
,
. ,
Excel.

T:>V*: =$B$3+SUM($S9:B9)

iSiZiJ

1 '

~;

3 J =

. ' .

_:

~ r

,,4J
I
!
0
0.1 i
0.2
0.4
0.6
.:
0.5
1
0.7
0.8
as
JU "
i 0.99501' 0.9802 0.956 0.92312 0.8825 0.83527 0.7827 ;' 072615 0.66698 ~Q.60B53'~
6 ! () 1
1
1
1
1
1
1
7_j ()1
1
1
1
:
3 J 0
-o.r
-0.3:
-0.4
-0.2
-0.5
-0.6
-0.7
-0.9
-0.8
-1
;
-0.005
-0.035!
9
-0.015' -0.025
-0.045
-0.055
-0.065
-0.075
-0.085
-0.095
-0.5
1
10 [ () 0.995 0.98
0.955
0.92
O.B2
0.875
0.755
0.68
0.595
0.5
11 - 0 -0.0995* -0.196 -0.2665; -0.368 -0.4375
-0.492 -0.5265
-0.544 -0.5355
05
12
-0.00498 -0.01478 "'-0.02413 -0.03273* -0.04028 '-004648 -0.05103 0.05363 -0.05398 -0.00178 "0.32375

u'i

Puc. 4.140.

382

II.

f. =($5-15(20+20)/2

21

: . . ;

1 ' icpepei

1
! -

=
i () =
7 () *
8 j - :
10 \ () =
11 1 - =
12 '
[3 j () 14 j - =
! :
16 ; () =
1
17 - *
1 :
19 ' () 211 : - =
1
225
:

i'
i

0
-0.005
i
0
-000498
1
0
-0.00498
0
-0 00493
1
0
-000498
.

&

F'

i
I

''

0.99501
1
-0.1
-0.015
0.995
-0.0995
-0.01478
0.99503
-0.0995
-0.01478
0.99502
-0.0995
-0.01478
0.99502
-0.0995
-0.01478
:

0.9802
1

.'

as'i

0.4

0.956: 092312
1
1
-0.4
-0.2; -.:
-0.025: -0.035
-0.045
0.9S
0.955
0.92
:
-0.196 -0.2865
-0.368
-0.02413' -0.03273' -004028
0.96025 0.95613 0.9234
-019605 -0.28684 : -0 36936
-0 02414! -0!03281' -004055
0.98025 0.9561 0.92329
0.19605! -0.28683: -036932
-0.02414-0.03281 -004053
0.98025
0.9561 0,9233
-0.19605-0.28683! -036932
-0!0241 4 -0.03281 -004053
:
;
:

0.8825! 0 83527
1
1
-0.5
-0.6
-0.055! -0.065
0.875
0.82
-0.4375
-0.492
-0'04648 -005103
0.88313 0.83665
-0.44156 -050199
-0.04718! "-00526
0.88275 0.83557
-0.44137 -0.50134
-0.04714 -0.05247
0.88276 0.83563
-0.44138 -050138
-0.04714 -005248
:
i

0.7
0! 7827
1
-0.7
-0.075
0.755
-0.5285
-0.05363
0.78563
-0.54994
-0.05678
0.78297
-0.54808
-0.05645
0.78315
-0.54821
-0.05648
:

olr

'.1

it
;

0.72615: 0.66698: .60653


1
1
1
-0.8;
-.!
-1 1
-0.085!
-0.5
0.68
0.595
0.5
-0.544 -0.5355
0.5
-0.05398 0.00178" -0.32375
0.732 0.67803 0.67625
-05856; -0.61022: ;P.33613
!
-0.05979" -0.04742 ).381
0.7262 0.6664 0.61899
-0.58096 0.59976 0.2093:
:
-0.05904 -0.01952' ^351865
0.7267 0.66767 0.64814
-0.58136! -0.6009! -0 135W
-0.05911 -0.03683' 4.3628
:
;
;

. 4.141.


, , , , .
y'(x) = f(x,y(x)) (0) =
X

^() = + \f(t,yn(t))dt. "

.
,
,
, .

.J^^

>'(0) ~

, , . , z(x) = '(). z'(x) = () '() - z(x)


,(0) = 0 (0) = 1.
( ). ,
() = sh(x). , z(x) = ch(jc). . 4.142 0 1
() z(x).

4.

383

.* =COSH(B6)

L_I_d 9... ; D
. i F 1..^^_:.,11_1^_1_,.1^.1_^
1 j
;
:
2~
'"
j
!
\
!
j
i

3J =

;
4
zfl 5 ' =
6 y(xj 7 | z(x) = I
8 i
I

!
:

'

1
0
0.1
0.2
0.3
0.4
0.5:
0.6
07
0.8
03
0 0.10017 0.20134) 0.30452 0.41075 0.5211: 0.63665 0.75858; 0.88811 1.02652 1.1752
100502 1.02034 1.04673 ^ 1.08555' \. 13887 1.2096' 1.30179' 1.42098' 1.57479 1 .77378
:

'

'

Puc. 4.142.

B8:L8 B9:L9
( -, , , ).
=$$3,
=$$4 (
). ( ).
z(x) (). 10 =9, 11
=8. , , .
. ( , ) 10:1_10
12:12, 13:13 11:1_11 .
12:12 =($5-$5)*(10+10)/2,
12. 13:13 =($5-$5)*(11+11)/2,
13. L12 L13 - =SUM(B12:K12) =SUM(B13:K13) (. 4.143).
-

13

=(CI5-BJ5)-(C11+B11)/2
I i
0 i

1 1

2~

" 6 ' () =
7 [ 7|) =
8 I {| -

i ;

:::1

' 0.8 ;

0.1
02!
0.3
0.4
0.6
0.6
0.9 !
0 0.10017 0.20134 0.30452 0.41075 0.5211 063665 0.75858 0.88811 1 .02652 1.1752
:
:
:
1 1 00502 1.02034 1 .04673 1 08555 1 13887 1.2096 1 30179 1. 42098 1 57479 1.77378
:
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1:
1
1;
:
"
0

0:

0
0

01'
0.1
0.1
0.1
.
0.1:
0.1

'
"

*
!
"
]
0

*I=
"
(1
[_

"

;
4)

. 4.143.


(. 4.144). 14 =$$3, 15 =$$4. , 14
=$B$3+SUM($B12:B12), 15- , =$B$4+SUM($B13:B13).
,
.
384

II.

, (
14:1_15). ( 16:1_19) 10:L13. , , . 4.144.
14:1_19
.
. 4.145 .
, .
15

u =JBJ4+SUM(JB13:B13)
'
0


4
zO =
;
5 =
6 () = :
7 z(x| 3 () =
9 z(x) 10 z 11 :
12
13
14 : ()
15 j z(x)"
16 z =
17 =
18
19 :
3

!
i

0
0.1
0.3
0.2
0.4
0.5
0.6
07
1
0.9
oej
0 0.10017 0.20134 0.30452 0.41075: 0.5211 0.63665 0.7585 0.88811 1 .02652
1 1 .00502 1.02034 1 .04673 1.08555 1.13887 1 .2096 1.301 79 1.42098 1.57479 1.77378
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1;
11
1
1
0
0
0:

0:
0
0
0
D:
0!
0
01
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
1
0
0
0
0
0
0
0
0
0
0
0
0.3
0.4
0
0.1
0.2
0.6
0.8
1
0.5
0.7
0.9
1
1
1
1
1
1
1
1
1
1
1
1
1
1:
1
1
1
1:
1
1;
0
0.1
0.3
1
0.2
0.4:
0.5
0.6
0.7:
0.8
0.9:
0.1
0.1
0.1
0.1
0.1:
O.ll
0.1
0.1 i
0.1!
01
1
!
0.035
0.005
0.015
0025
0.045
0.055
0.065
0.075
0.085
0.095
0.5

1.1752:

'.

20;

. 4.144.
L50

' .. '

=$B$3+SUM($B4B:K48)
j

i
D
(

\: G; ]

2
5 0
0
6 () 1
7 z(x) =
8 () =
0
;
1
9 z(x) 1
10 z 11 : =
0
12
0.1
13
0
14 () 0
1
15 1 z(x) "
1
16 z =
17 0
18
0.1
19
0.005
60 1 ((0
1
51 z(x(1
52 ' z 53 0
54 0.10025
55 0.00501
561

0.1
0.3
0.2
!
0.10017 0.20134 0.30452
1 .00502 1 .02034 1 .04673
0
0
0
1
1
1
1
1
1.
0
0
0
0.1
0.1
0.1
0
0
0
0.3
0.1
0.2
1
1
1
1
1
1
0.3
0.1
02
0.1
0.1
0.1
0.025
0.035
0.015
0.10025 0.20151 0.30478
1.00501 1.0201 1.04541
1 .00501 1.0201 1.04541
010025 0.20151 0.30478
0.10126 0.10328 0.10633
0.01509 0.02531 0.03579

0.4
0.5
041075 0.5211
1 08555 1.13887
0
0
1
1
1:
1.
0
0
0.1
0
0.4
0.5
1
1
1!
1
0.5
0.1
0.1
0.045
0.055
0.41111 0.52157
1.08121 1.12784
1.08121 1.12784
041111 052157
0,11045 0.11568
0.04663 0.05794
'
0.1:
0:

0.4:

'

;<

0.6
0.7
08
0.63665 075858 0.88811
1.2096 1.30179 1.42096
0
0
0
1
1
1
1
1
1:
0
0!
0.1
0.1!
0
0
0
0.6
0.7
0.8
1
1
1
1
1!
1
0.6
0.7
0.8
!
0.1
0.1
0.1
0.065
0.085
0.075
0.63725 0.75932
0.889
1.18578 1.2551 1.33802
1.18578 1 .2551 1.33802!
0.889
0.63725 0.75932
0.12207 0.12968 0.13859
0.06983 008242 0.09583
0:

0.1

0.9
1 .02552
1 .57479
0
1
1
0
0.1
0
0.9
1
1
0.9
0.1
0095
1.027591
1.43384
1.43384
1 .02759
0.14889
0.1102

'

1:

1.1752
1 .77378
0
1
1!
0

1
1
1;
1!
1
0.5
1.176491
1.54403
1.54403
1.17649
1.17649
0.54406

. 4. /45.

4.

385

, ( ).
( , , ). , .
, .
, , ,
. .


(.. , ), . , .
. ,
*
, y(x) = f ( x ) + X\K(x,t)y(t)dt.
() , , ,
(, t) . ( , f(x)).
,

, ^() = f ( x ) + X\K(x,t)yn(t)dt,
0() =*).
Excel.
4.19. y(x) = l + jxt~y(t)dt
, , ) = 1, , = 1 (, t) =xf, 0 1. VBA. , , VBA ( Tools^Macro^Visual Basic Editor
<Alt+Fll>). (
Insert 1 ^Module) (. 4.146).
, 4.3 4.4.
1 4.3. ()
Public Function K(x, t)
= * t " 2
End Function

386

II.

Microsoft Visual Basic - lnt_Eq xls - (Module! (Code)l


gte

ffSt

i'il-B

Vtew

Insert

Format

[jebgg

Run

Tods

ftdd-Ins

Wndow

* v: ** ''' ' ' ' > . *?!?'


a
:

VBAProject (Int_Eq.xlj)
5 Si Microsoft Excel Objects
[- ] Sheetl (Sheetl)
SheetZ (Sheec2)
: ] 5heet3 (SheeO)
Q ThisWorkbook
-iS Modules

- _ ' X

Public Function K ( x , t)

- x * t 2
End Function
Public Function Integr(y, c, x)
Pirn 3 As Double
Dim N As Integer
N - t. Count (|
S - 0

For i - 1 To N - 1
3 = 3 + (K(x, t ( i ) ) * y(i) + _
K ( x , t(i + 1 * y(i + 1)) ( t ( i 4- 1) - t ( i / 2
Next i
Integr = 3
End Function

_
. 4.146. VBA
. . ( t)
x * t 2.
Integr ( ) . .
, ,
() . t, . , .
\ 4.4. IntegrQ
Public Function Integr(, t, x)
Dim S As Double
Dim N As Integer
N = t.Count
S = 0
For i = 1 To N - 1
S = S + (K(x, t(i)) * y(i)
K(x, t(i + 1)) * y(i + D)

( t ( i + 1) - t ( i )

/ 2

Next i
Integr = S
End Function

4. 387

: S
N t.
, . ( t) t. Count ( ) , N. S . ( For i = 1. N - 1
Next i), - 1
, N (.. N-1). S , t (i + 1) t (i)
( t ( i ) i- t).
, ( , t ( i ) ) * y ( i ) + K ( x , t ( i + l ) ) * y(i + 1 ) ) * ( t ( i + 1)
- t ( i ) ) / 2. (i) i- .
, , , t . , S .
, . ,
. 4.147 ,
.
8

.t

A.__j

,,

/1 =$4 HntegrfJC 7 $M7,$CJ3:SM$3,C$3)


D
i
E i
F
G

JL J

" "-

*-

61
0
()= _
1
()- [

-()-

:()-

13j

- i
()-

()-

0.2
1

0.1
1

1j

1!

1335
1* 1.04196
; i 04409
1.04453:
1 1 04477
1 1.04444

1.067
1.08392^
1.08819
1.08927
1.08954:
1.08889

ill 005
1.12588
1.13228
1.1339
1.13431
1.13333

' 1J

0.3
1

0.4
1

ilisi1
1.16784
1.176381
1.17854
1.17908
1.17778

0.5
1

1
1.1675
1 .20979
1.22047;
1.22317
1.22385.
1.22222

; 1 .. 1

';

' j

0.6
1

0.7
1

1:

1:

1.25175
1 .26457
1 .2678
1.25862:
126667

1 .2345
1.29371
1.30866'
1.31244
1.31339
1.31111

'1.20!;

0.8
1

0.9
1

1
1
1

1.268 1.3015
il335l
1. 33567 : 1 37763 1.41959
1.35276 1.39685' 1.44095
1.35707 1.4017: 1.44634
1.3581 6! 1 40293 ' 1.4477
1.35556
1.4 1.44444

Puc. 4.147.

. , 13:13
( () = 1 + 4/9).
D13:M13 ( ) =1+4/9*
13. .
8 =C$4+lntegr($C7:$M7,$C$3:$M$3,C$3).
8.
8:8.

. Integr ( ) . ( ) , Integr ( ) .

388

II.

, Excel . , . , , . .

4.

389

...




, , .
( ).
,
.
, .
,
,
,
( ).
, -
. ,
.
, , .
Excel.
. -

.
, Excel , , ,
. , Excel .


. .


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

. , ,
. .
()
,
- , , , . , .
. , . , ^ , t ( )
/>( = - F(x)
, ^
392

II.

. F(jc) ), . ( ) .

, {} = |./), M{} = 'xkP(Z, = xk) . k

, 2
D{} =M{(t,- M {,})'} =/{^ } -{}2. ,
. , k {^}, k /{(!;-{})*}.
, , . ,
(^). ,
: /{(^)}= \q>(x)f(x)dx

, . .
5.1. (.. )
. 5.1.
(*)=(-) ^
5.1.

-2

0,1

0,2

0,4

0,2

, ,
Excel (. 5.1).
. , , , =(1), B3:F3 ( )
(. 5.2).
* ' g f* 0.2
A
i
/1
1
-2
2 j ()
0.1
3 :
!

i
F2

1
0.2:

0
0.4

1
0.1

0.21

. 5.1.

5.

393

>

, =(1)

__

\j

1
2 ^ {)
3 1 ()

'

|
-2
0.1

,1
-"
0.2

1 0 1353351 0.367679:

'
j . E
<
_J

0.4
0.1

F:

!. G
.
0.2

1, 2.718282 7.389056

. 5.2.

,
.

.
, , , .
, , ,
5

{()} = ^( = . ) ( : ) , /=|
B2:F2, (()} B3:F3.
{*,.} ,
, , 1 :F1.
4
=SUMPRODUCT(B2:F2,B3:F3) (. 5.3).
/ t =SUMPRODUCT(B2.F2,B3.F3)
' ; . ; ; : ' . F
;
, . , | " j
1

2
-1
04
2 { ()
0.1
0.2
0.1
0.2
1 2.718282 7.389056
3_ ()
0.135335 0.367879
4
i . .

jT]M.iT.

1 2 23S749I

: '

4.!

. 5.3.

SUMPRODUCT()
B2:F2
B3:F3 (.. 2 , 2 , ..), .
4 . , (. . 5.4).
D{y(x)} = {2} - {}2.

{-} =

= .)(.)2 . -

SUMPRODUCT(B2:F2,B3:F3,B3:F3),
B3:F3 SUMPRODUCT() ,
-,
. , {} ,
(),
4 . 5
A
=SUMPRODUCT(B2:F2,B3:F3,B3:F3)-B4 2. . 5.4.

394

II.

f* =SUMPRODUCT(B2:F2,B3;F3.B3;F3)-B4->2

.
D
E
F
:
1^
-2
-1
(
2
~ P(x)
6.4
0.1
a?
; y(x)
1 : 2.718282 7.389056;
0.135335 0.367879:
Mai.
; 223S749_
:
1
1 7 084389 1
|
5

'

.ii
f.:::" =

. 5.4.

, () . , ( ) =SUMPRODUCT(B2:F2,EXP(B1 :F1)),
(. 5.5).
, () ,
, ,
( ) . . ,

(1:1) 2 , B1:F1 (.. ()) .


4

=SUMPRODUCT(B2:F2,EXP(B1 :F1 ) 2)- 2 (. 5.6).


( ) Excel
.
. ,
, . (, )
f(x) = \l(b - ). , , .
/ , =SUMPRODUCT(B2:F2,EXP(B1:F1))
Q
!

I
D
i
E
1
2
i
0
i
2j ()
0.1
0.2;
0.4;
0.1 i
3 JMaT.
1 2.236749

B3

i.' .6 .....

2
0.2.

Puc. 5.5.
;
4
'
f , =(2;2,(1;1)2)-2
!
.' |

\
D
;

[
' i
I
A
1

1
1
2 j ))
0.1
0.2
O'."4l
0.1
3 ;.
2236749
1 7 0843B9I
1
4 )

S!

' :

, .. . G
2
0.2

. 5.6.

5.

395


, , , . ,
. , , . ( ), . , ( ),
. . ,
, =(-/{!;})/{},
. , { ,} = 0 D{ ,} = 1.
. " ", : ,
, . ( !) . STANDARDIZED
, (, |) 4 \ (,|) = /{} = {(-/{})(1-/(|})//>{1;}>{1}}.
. , ( )
.
! . ,
, ( ).
.
, , ,
.
5.2. !
k - 5,
Ua = 5 = 0,1 (.. 10%). U(f) ( / ),
U(t) = f/o + 8U(t), 8U(t) 396

II.

. M{Sf/(f)} =0
= nU0 . , /,() , /,(/) = &((/ + 5/(r)) + &V(i), dV(t) .
, ( ) , .. M{5V(t)} =0, ( ) ^JD{8V(t)} = V0 .
, ( /,(?), U(t)). p(,,r\) = (M{1r\}-M{,}M{r\})/^D{,}D{r\} ,
,
. , , { + ^} = + /{^}
D{a+ }=>{}. , ) ,
D{^, + t]} = D{^,} + D{r\].
, .
{ U(i) } = [/.
{ /,(')} = kU0.
M{U(t)U{(t)\ = k(\ + if)Ul .
D{U(t)} = n~Ul .
2

D{Ul(t)] = k n Ul + V 0 .
! ,
, , .
, p = knU0/^k2n2U^ + V2 . , (.. V0 = 0),
, ( ). Excel
. 5.7.
13

f, =(B10-B9*B8)/SQRT(B11*B12)


^ k
:
UO ()
;;!
() VO ()
:\ nUO
i MfiJO}
:{ MfiJ1)
MJUOU1}
DfiJty
>$}
^

5
5
0.1
0.5
5
25
^26.25
0-25
\

0.7071067811

. 5.1. Excel

5.

397

. ,
5 , 4 5
/ , 0.1 5
, V0, , 6 ( 2.5).
. 7 =5*4,
()
. . 8 =4
. =*4 9. 10
( ), =*(1 +52)*42.
, , .
11.
=52*42. 12 =2*52*42+62
. ,
=(10-B9*B8)/SQRT(B11 *12). 13.
,
6,
. ( ) ( 5).
, ,
. Excel
. Excel . .
5.3. .
, . ,
, , , .
0,4 ( ).
,
. , .
0,5 ( ).
, 0,25
( ).
, . ,
: 0 1,
. ( 0,6 , , 0,4). -

398

II.

. = 0, 0 1 (.. 0,5).
, =1, 0 0,75 1 0,25. Excel (. 5.8).

=1/4

3 .- . j

'.

) |

0.4

0.6

'
4
6
-

:
1

-0) (-1>

0.5
0.5

0
1

075
0.25

. 5.8.

, ,
. , .
(. 5.9).

1
2
3|
4 ;
',
6
7

=2*6

0
0.6

0
1

Pv(x=0)

05
0.5

0.4
?(-1)

075
0.25

'^

9 |i\,0
!.|

0
03
0.3

1
0.3
0.1

11

. 5.9.

() () (\) , ..
() = ()(\). (\) ,
, . , , ,
( = 0) (
0.6 2) ( = 0\ = 0) = 0 ,
= 0 ( 0.5 5). 9, , =2*5 (. . 5.9). 9 =2*5, 10
=2*6, =2*6.

5.

399

. ()
. =SUM(B9:C10*A9:A10*B8:C8),
F9 (. 5.10).
!
<Ctrl+Shift+Enter>, . ,
SUM()
(9:10*9:10*8:8). ( !) , . , , ,
,
, -.
-. .
, . . , . F2 =SUMPRODUCT(B1 :C1 ,2:2) (. 5.11).

. 5.10.

Puc. 5.11.

400

II.

. ,

{]

= yl \x = xk)P(xt) , . Excel F5
=SUM(B2:C2*B5:C6*A5:A6). <Ctrl+Shift+Enter>. . 5.12.
,
. D{x}, A
, F3 =SUM((B1 :C1 -F2) 2*B2:C2) (. 5.13).
. (),
,
. , .
D{y] . , F6 =SUM((A5:A6A
F5) 2*B5:C6*B2:C2) (. 5.14).
! ,
,
<Ctrl+Shift+Enter>.
F5

jS(=SUM(B2:C2*B5.C6*A5:AB)}

( ' :
Y' x
_
?

0.6

2
3
4 *
5]

6 :

-?

0.4

0.4 ;

*) Pyfr-1)

0.5
0.5

0
1

0
0.3
0.3

_D_

~"' ^

075
0.25

7 :
Nv

':~ *x.

>

9 i
10 i

11

1
0.3
01

**}-

0.1;

. 5.12.

F3

"1 ~
2 '

0.6

^\

(-0)

0
1

1
0.4

0.5
0.5

(-1)

,.

{}-

0
1

|
024J

'-4;

0
0.3
0.3

1
0.3
0.1
;

0.4

(!

0.75
0.25

iv _X.,

9
,
11.'

Mrt-..-J

4 ;
S ;
}
7..'
'

jb(=SUM((B1:C1-F2)"2*B2:C2))

..,. . :
0

{}-

0.1

. 5.13.
5. 401

, =(F9-F2*F5)/SQRT(F3*F6),
F10 (. 5.15).
, . ,
.
F6

0.6

0.4

{}
0.24^

(->

(-11

0.5

075

0.5

0.25

II j

0.3

. 5.14.

A Jy
5
7 "I

PN,
8 !"
9
10)

Ptfx-0)

05
0.5

0
1

0
0.3
0.3

Pyfx-1)

0.75
0.26

1
0.3
0.1

Pwc. 5.15.


, . .
.
, Excel
, . .
, : ,
.

402

II.


. , ,
, .
, , , .


Excel , , . ,
.
, , {:} (.. ,
). i
{;,.} 1 N, N .
,
1 "
=^,.
.
: ?
, .
,
(..
). , , ,

, . ( ), ,
.

1 "
=](*,.-)2. ,
/V (=1


(N - l)/N. , ,
, s~ =

^(jc(~je)2.

. N
( ) .

5.

403

Excel
Excel
.
AVERAGEQ. ,
( ). , , , . , ,
.
. AVERAGEQ,
AVERAGEAQ , _ . , 0. TRUE 1, FALSE
0.
, ,
Excel , . , , , .
-
, AVERAGEA(), .. , (
TRUE) ( FALSE), .
()
VAR(). VARPQ. , ,
, . , . ,
.
, STDEV(). STDEVPQ .
.
, , .
, ,
( , VARAQ, VARPAQ, STDEVA()
STDEVPAQ),
, AVERAGEAQ.

. ,
. .

404

II.


. , {,,}),
{..} ( i = 1.Jt ).
, . .
.
, . ,
{,},
(,
). , . , , .
, {A.J.
. k,
1 "
{*,}, p,t =]* . , ,
= , - ^ .

,
() .
( )
( )
. f(x, {,,}), {;}, L({X,},{x}) = J~[/(x,,{X,.}). s=l

(, {.,}), L({A.J,{*.}) = J~[P(jc j ,{A i }). ,


=|

( , , ) .
,
{,},{;})/; =0 (/ = !&); .
. , ,
, .

5.

405

, . -
( Excel), , , , , .
, : .
5.4. . 5.2 , [, ]. ,
, .
2
J , s ,
,

5.2.

0,716
0,894
0,899
0,009
0,207
0,255
0,422
0,350
0,697
0,445

3
4
5
6
',
8
9
10

. . ,
. ,
Excel, .
Excel.

(. 5.16).
0.445
11
.
|
!

1
!

-. , 1
2
0.716
2
3
0694
4
3
0.899
.
4
5
0009
12 6
0.207:

0.255:
. 7
S
0.422:
Average () (. 5.17).

0.35:
10

. 5.16.

406

II.

10

,12 i

9
IOJ

0.697
0.4451

Bew

Insert

Fo

Window

tielp

>.!&:(.><;'>

_ S x

B12

:
1
0.71"
;
2;
0.894

0.899
4;
0.009
5!
0.207'
!"
0.255;
7J
0.422
3;
0.35:
!
:
10! "
9'
0.697
11
10
0.445

121

13:
\Sheptl / Sheet2 / /
Ready

PMC. 5.17.
, ..
AVERAGEQ, 2:11. ,
12 =AVERAGE(B2:B11). . 5.18.
. 13
=VAR(B2:B11). , VARQ, VARP(), . , , , ,
VARPQ,
, .
:

f, =AVERAGE(B2:B11)

0.716^
0.8940.899:
0.009:
0.207
0.255
0.422'
0.35
0.697

. 5.18.

5.

407

. ,
.
.
. , ,
,
. .
, , , ,
"", , , ,
, , , . , .
. , , , . ,
, .
(, ).
. 5.19.
=VAR(B2:B11)

13

0.716
0/894:
0899
0.009
0.207;
0.255"
0.422'
0.35!'
.97
0.445;

10
:
12 i
0.4894
'\3\ I 0090815821

u;

. 5.19.


, .. ,
. . Excel, ,
.
( ) , f(x) = \l(b - ).
,
. , 408

II.

xdx
b + a _.
, , , = \ x f ( x ) d x = \ - = - . ,
,~
2
2

x'dx b + ab +
m, = \x~f(x)dx=\ -
= - .

b~
3
, {*,}. ,
1 '
( ) ., = ^. .
( ) , = ^xf . 10 1
, :

b+a

1A

, , - - V3o2 b = + / ,

>

x=mt[xl} =}*,, 2 ,
>

10

1 v

-,

/ I

\2

10

1 V"1

" = U-, ~ = / ~ -\ >

iotr ' Uotr 'J

Excel, 2 =SUM(B2:B11 )/10


( , ), =SUM(B2:B112)/10 (. 5.20).
ft{=SUM(B2:B11A2)/10)

j _;
!

1 Oin.ii

11

\
|:
i;
if"

4 ,
5 '

8 |

0.716

;:

,'
1
3
10

12
13 "'
14'

0.4894
1 0.321247)

0899;
0.009;
0.207:
0.255
0.422
0.697
0.445:

0.4894
009081582

. 5.20.

5.

409

! =SUM(B2:B11A2)/10
<Ctrl+Shift+Enter>, 2:112.
, 2:11. SUM()
,
. , , ,
SUMSQQ .
.
6:7 ( ) . , 6 -1 , 7
2.
8 =(6+7)/2-2, ( ).

=(62+6*7+72)/3-, 9 (. 5.21).
, 6 7 ( ), 8 9 (
).
(.. ) , , . F6 =E2-SQRT(3*(E3-E2A2)),
F7 =E2+SQRT(3*(E3-E2A2)). , , , Excel.

! F6 F7
.

. 5.22 .
9

1 .
2
"3"
4
5
6
7
"".
"

: ;

& =(62+6*7+72)/3-

~ !

1
0.7161
2
0.894*
~
0.899
4'!
0.009
5
0.207
61
0.25571
0.422;

"81
0.35!
9:
0.697
"\\
0.445;
i
12 '[ l
0.4894;
13 ' 009081582
14

II.

:..

.F

'

[
0.4894
; 6.321247.

. 521.

410



-1

2

0.0106
(/ 0.678753

9 |

10
11

-;

F7

f. =E2+SQRT(3-(E3-E2*2))

0.4894
0.321247

'

-1

b
2

0.0106
0.678753
9
10

!
I 12
113
14

0.48941
0.09081582

. 5.22.

, 6 ( ) 7 (
), , F6 F7 .
Excel, , Solver. Tools<=>Solver
(^), Solver Parameters
( ), . 5.23.

Puc. 5.23. Solver Parameters

! Tools^Solver (^)
, (. 4).

Set Target Cell ( ) , ,


Value Of. , (8 9). . Set Target Cell ( )
8, Value of () .
9 ,
Subject to the Constraints () 9=0. , By Changing Cells
( ), 6:7.

5.

411

. Solver Parameters . 5.23


. ,

.
Solve (),
, . 5.24.
8

i ~

& =(6+7)/2-2

;L

il
0.716:
2
0.894:

3
0.899
4.
0.009
5
0.207
6'
0.255
7
0.422

0.35:

9
;
10

0.697:
0.445.

1 _

'

J. _ 6

0.4894
0.321 247

*1


-0.00578 -0.00578
b 0.984578 0.984579

0

-5.7-07

I
12 [
0.4894
' 0.09081582

"!

. 5.24.

, ,
, , , .
. , , 0 1. , 0 1 .
, 10 ( ), .
,
. ,
, .
,
/{^) = !/( - ), , [, ]. . , . , ,
a<x<b
b-a
. , 0, <, >
, :

412

I I .

,,{1})= "

, VJ:jc.6[o,b]
, 3; :, g [a,L

, , {:}
[, }, l/(b - ). {jc;} [, ], .
. , ,
. ,
[, ] . , , . ,
, \/( - ). , , {*,.}.
, , .
, . .
, . , , 1/( - )10. ,
, , , . , , , ,
{.} [, ]. ,

{.}, {*,}.
, = mini*.} = {,}. . Excel.
12.
=1/POWER(E14-E13,10).
. POWER()
, , .
13 14,
( -1) ( 2) (. 5.25).

5.

413

F13 F14
. , F13
=MIN(B2:B11), 2:11, F14 =(2:11) (. 5.26).
12

ft =1/POWER(E14-E13,10)

'.
\

0.4894
0.3212466:


I

0.005777748 -0.00578

0.984577748 0.984579;
:

5.72652-07

.
1.69351-05

. 5.25.
F14

=(2:11)
, '-:
J

0.4894;
1
0.7161
-.
0.894
; ~ 0.321246
0.899

0.009

0.207

-0.005777748 -000578
0.255'

0.984577748 0.984579:
0.4221


!
0.35
-5.72652-07
0.697!

{
0.4894!
1.69351-05 :
\ 12}

-1
0.09081582;

"QIC '
2

0899!
:

. 5.26.

,
, Solver. Solver Parameters
( ) . 5.27. (, Tools'^Solver.)
, 12,
.
13:14, . 5.27. , 2:11 .

414

II.

,
. 2:11>=13 ( ' )
2:11<=14 ( ). Solve
() , . 5.28.

Sst Target * ... ; |$$12

f ialusof;

EqualTo:
<? "
gy Changing Cafe: "
' |$Etl3i$E$14
: Sgbject lo the Constraints:
$B$2:$B$11 >- $E$13

Puc. 5.27.

F13

1 ;6
__j
"Sj
T"i

5 i

6 :
*7 i
;
9'"

] ' ' ""I


.' !1
12
J4 ;

V1'jb =MIN(B2:B11)

j _._ 3i~

1 :

0.716!

27
34
5'
6!
7]
8J
9

0.894:
0.899
L Lll/i
0.207:
0.255:
0.422
0.35*
0697

0.4894:
'. 0.09081582'

.
!

0.4894
0.3212466!


-0.005777748 -0.00578

0.984577748 0.984579!

0
-5.72652-07

;; IZIL_IIIIZt~~

3.20700719 [ ,
0.0091
0009{

. 5.25.

, , . 0 ( ) 1 ( ),
,
, . , , : , ,
(.. ).

5.

415


, . ,
. , , , , , . (), {-} ( , .. , )
{>>,.} ,
{..}, /= 1... , , , {:}, {*,.}, (). , ()
, , ( ),
.
.
.
, , ,
, . . , , . -
. Excel .


= + . , ,
b {,} {*,.}. , , ,
, , F(a,b) = ^(fi-yif . / = ,. +
= .. ,
,..
F(a, b) , ,
( )
dF(a,b)/da = 0 dF(a,b)/db = Q.

416

II.

a^xf + b^jxi = \11 ] ;, + nb = ^..


;=i

i=i

i=i
2

, = (--)/( -") = (- --)/( -~),


1

: * =]/.*,, = ^ , * = ^, =^.,..
;=1

1 /=1

/=1

, .
, () = + b . , ,
, .
, (.. ), ,
.
Excel ,
, . .
, , , LINESTQ, TRENDQ, FORECASTQ STEXYQ. .
LINESTO .
. {.} ( )
. ( ), ( )
.
(, , ).
, TRUE FALSE.
. TRUE 1, 0 FALSE.
FALSE, (.. )
. TRUE, , .
, FALSE,
: ,
, ,
() , F-, , . TRUE (, , ).

5.

417

, (
).
1. (.. ) ,
.
2. , ,
.
3. (),
. .
4. , .
. LINEST() ,
. <Ctrl+Shift+Enter>. , ,
, , . ,
, , ..
.
.
. () . F- , .
TRENDQ . , LINEST(),
. , .

. (
) . ,
. , , TRUE FALSE (1 ). TRUE,
.
TREND(), FORECASTQ ,
. FORECASTQ
:
( ), ;

418

I I .

,
. .
.
SLOPE(). (
), , .
, , , ( ) . (
). STEYX().
, , .. .
,
f_

~i

S = ^(, - /)" /(-2) sail ;=i


/
. ,
, ( )
.


,
. , Excel LOGEST0, . ,
() = b- .
, .
, XHZ (, z) = b " *, ..
. .
, = b-d
( ) ln(y) = ln(b) + jtln(a). . .
, .
LOGEST() LINEST(),
. , LOGESTQ
. ,
() ( ). , LINESTQ, . LINESTQ . LOGESTQ LINEST()

5.

419

, : , .
Excel TRENDQ,
. GROWTHQ.

, , .
, , GROWTHQ ,
TREND(), . ,
.

. ,
,
, .


. z . 5.3.
5.3.

0,13
0,51
0,95
1,34
1,77
2,05
2,58
2,87
3,32
3,81

3
5
7
9
11
13
15
17
19

100
120
140
160
180
200
220
240
260
280

(. 5.29).
280

11


13
0.51
0.95
1.34

177

2.05
2.58
2.87
3.32
81

100
120
140

'180
200
220
240
260,
280

12

. 5.29.

420

II.

B14:D14 =LINEST(A2:A11,B2:C11)
( <Ctrl+Shift+Enter>), , (. 5.30).
i=LINEST(A2:A11 ,B2:C11

14

0.13
0.51
0.95
134
"1,77
2.05
2.58
287
3"32
3.81

100
....._

140
)
180
200
220
240
260
280

:
| -00351563 O.SS274432 3.0852441
'14 [

. 5.30.

2:11 ( ).
2:11. , .
, 2:11 ,
2:11 . , (, ,
,* + 2 + ) . ,
, 2:11,
14, , 2:11, 14. ,
D14
(. . 5.30).
( ) ( ), , , TREND(). , .
: ,
,
, .
, ( D2) =(2+)/2.
D2:E10. D11 11 , ,
(. 5.31).

5.

421

TRENDQ, , F2:F11
=TREND(A2:A11,B2:C11,D2:E11),
(. 5.32).
,
. G2 =$C$14*D2+
+$B$14*E2+$D$14, G3:G11. , ,

.. (. 5.33).
D2
- '
S =(2+)/2
D

__j
_..__

-kJL-ii.


z
V [!
( 2

1
100
2
110
0.13
4
130
3
120
3 '
0.51
140
___
150
:
0.95
5
7
160
8
170
5
1.34
180
9
10;
190

177
1
11
200
12
210
13
220
14
230
240
15
16:
250
1!
270
17
260
280
2Q:
290
19

'
[tjpeepeccuu
] :.351563! 0.55274432_ 3.08524432-

. 5.31.

ft {=TREND(A2:A11 ,2:11 2:11)

\ -0.0351563:0.55274432:3.08524432

. 5.32.

422

II.

G2

.-:,,

^-
'.

1 >

_
Tlj

ft

=JCJ14*D2-(-JBl14*E2+$Dl14

I
3
5
7
9
11
13
15
17
19

2.05

2.58
3.81

!3

14

__

100
"~ 120
140
160
180
200
220
240
260
280 "

D;_; !

z
2
110
4
130

150
8
, 170
10
190
12":
210
;
14
230
1!
250
18
270
20
290

1

0.32354545
0.72590909
1.12827273
t 53063636

0.32354545
0.72590909
1.12827273
1.53063636

1.933

1.933

2.33536364
2.73772727
3.14009091
3.54245455
3.94481818

2,33536364
2.73772727
3J4009091
3^54245455
3.94481818

-0.03515630.55274432:3.08524432.

. 5.33.

, , , . ,

. , , (
): , ,
LINESTQ LOGEST(), TREND()
GROWTH(). , B14:D14 =LOGEST(A2:A11 ,2:11), F2:F11 =GROWTH(A2:A11 ,2:11 ,D2:E11). , , G2:G11 (
, ). G2
=POWER($C$14,D2)*POWER($B$14,E2)*$D$14,
. . 5.34.
G2
'
_j

... 13

11'
12
13

381


14

"15"

'* =POWER($C$14,D2)*POWER($BJ14,E2r$D$14

z

/
1
110 0.40475801 040475801
100
2
4
3
120
130 055187082 0.55187082
140
6
isd 0.75245306 0.75245306
5
7
160
8
170 1.02593865 1.02593865
180
9
10
190 1.39882496 1 .39882496
11
200
12
210 1.90724003 1.90724003
14
13
220
230 2.60044296 2:60044296
16
240
250 3.54559652 3.54559652
15
17
260
18
270 4.83427435 4^83427435
19
"280
20
290 6.59133331 659133331

al

0.9910137 1.21418711 ! 0.42192487

'' '

'

. 5.34.

5.

423

, , a priori
, . Excel, , , - .

, Excel . .



Data Analysis ToolPak. ,
Tools^Data Analysis (^ ),
Data Analysis ( ), . 5.35.

. 5.35. Data Analysis

! Tools
Data Analysis,
( ).
Analysis ToolPak Add-lns (),
Tools<=>Add-lns.
.
,
. . Data Analysis ToolPak.
, ( )
, .


, Data Analysis ( ) Analysis Tools
( ) Random Number Generation (
). ,
. 5.36.
424

II.

Number of Sariabtes:
Number of Random Numbers!
CJstrtoubon:
Parameters -

Puc. 5.36. Random Number Generation


, ,
, ( ).
,
.
Number of Variables ( ) , . Number of Random
Numbers ( ).
, , Output Range ( ) Output
options ( ). , : New Worksheet Ply ( ) New Workbook ( ).
New Worksheet Ply ( ) ,

. , , . , New Workbook ( ). ,
1, , Number of Variables ( )
Number of Random Numbers ( ) (
).
Distribution
(), ,
.
Distribution () Parameters (), (, ). . 5.4 Distribution (), , Parameters ().

5.

425

5.4. Distribution

Bernoulli
()

.
0 1 ( )
.
.
Number of of trials
( ) ,
(

)


( 1),

Value ( )
(
Value ( )) (
Number of trials)

Binomial
()

Discrete
()

Normal
()

Patterned
( )

Poisson
()

.
. , , ,

426 I I .

Value and
Probability Input Range (
) , ,

.
Mean () , Standard deviation
( )
From...to...in steps of
(...... )


,
(..
). ,
repeating each number (
) ,
repeating the sequence
( )

Lambda ,

. 5.4

Uniform
( )

Between...and (...)

,

, ,
. ,

. Random Seed () ,
.
, ( Discrete)
( Patterned).

0 1. ,
, .
Number of
Variables ( ) Random Number Generation
( ) 1, Number of
Random Numbers ( ) 10 (. 5.37).
Random Number Generation
Number of Variables:
Number of Random Numbers:
(uniform
Parameters -Between

jo

ftnd

[T

aandomSeed;
Output options
^ UJtput Range: ,

' 1j*A$l:$A$10

; New Worksheet 9y:


Hew gorkbook

Puc. 5.37.
, 0 1. Distribution ()
Uniform (), ,
, Parameters 0 1. 1 :10
5.

427

, Output Range
. , ( 13, . . 5.37). , . 5.38.
..

2
3
4
5
6
7
8
9

0.002472
0.499771
0,735374
0.62099J
0.362316
0.917875
0.490097
:Q.S23969
0.869564
14951?

f, 0.00247199926755577

D
I
E

'

'

i
I

|
!

Puc.5.38.

,

, .


. , , ,
Excel.
, , , "" , ,
, .
0 2. , 1 =1 +0.5*1 +1, 1:10.
. 5.39.

L
2
3
<f
5~
6_
7"
6
9 :
10
11

C1
*
5: =1-0.5' B1+A1

A
j ....
D
!l| 1 002472
0.002472:
2499771
0.499771
4 3735374
0.735374:
0.620991
6 4.620991
8 5.362316
0.362316
0.917875
fb 6,917875
0.490097:
12 7.490097
14 6.823969
0.623969
0.869564
1 9.869564
Irt
0.495102
10.4951

. 5.39.

428

II.

, , () = 1 +
+ /2 + 5, 8 0 1.
, , 1:10, . 2,
.
, , Values Only
( ), , (. 5.40).
""
2:11 (. 5.41).
G

^ Stjrce Formatting
EJatch Destination Formatting

Values and Mumber f


Valyes and Source Formatting
Keep Source Column &kftns
Formatting Only
Link eels

Puc. 5.40.

Point! X

Function ;
"
2472:
2 2.49977111!
4:
3735374
6 4.62099063:
8 5.36231574
10: 6.91787469;
12: 7.4909674:
14: 8.2396924
16 9.8956389'
1BI 104951018J

. 5.41.

5.

429

. (
) , , -, ,
, , -, , .. .
Data Analysis ( ) Regression ().
, . 5.42.

Output options
1

<~ Output Rige:


<? New Worksheet Ely:

i: fNewffiarkbook

; ~ Standartteed Residuals

PuneHt Plots

rNormalProbebity
ProbaMty Plots

Puc. 5.42. Regression

.
Regression ().
Input () , . , Input Y Range ( Y) , Input X Range
( X) ,
. Input . ,
,
Labels (). , Constant is Zero ( ). ,
.
Confidence Level ( ),
( 95 %).
.
, , , ,
.
, (.. ). ,
430

II.

- .
, ( ) .
,
. ,
(.. ), .
95 %. , , .
Output Options ( ) , (
). Output Range
( ),
, .
New Worksheet Ply ( )
, (
). ,
New Workbook ( ), .
Residuals () ,
. 5.5.
5.5. Residuals

Residuals ()
Standardized Residuals
(
)
Residual Plots (
)
Line Fit Plots (
)




(.. )

Normal Probability (
), Normal Probability Plots
( ). ,
.
Regression (),
, .
.
1. Input Y Range 1 :11, .
2. ( ) 1 :11, Input X Range.
3. ,
Labels.

5.

431

4. ,
Confidence Level 99 (%). .
5. , Output
Options New Worksheet Ply,
Regression Report.

6. , Residuals, Standardized Residuals,


Residual Plots Line Fit Plots.
Regression . 5.43.

. , . ,
( , .. ), (. 5.44).

jlnput

1 \\\ J

: JnputJRange:

Uf? Labels

" Constant is Zero

F Confidence Level:
. Output options
! " Output Range:
> f New Worksheet gy:

[ 9 9 %
^^
I

i
l

(Regression Report

<~ NewKorkbook
< Residuab
;;pReslduels
;,;P Standardized Residuals

P 1

j; Normal ProbaMty
^ ! P Normal Probably Plots

Puc. 5.43. Regression


, ,
, , . , 5 Regression Statistics ( ) .
.
->

/\Oi_j

R2
coj

-''

___

R- = - = 1 -- , : RSS = 2^(/ ~ )~ / JtJ

( regression sum of squares), ESS = (; -/)2


/=i
( error sum of squares)
TSS = RSS + ESS = ^(y, - y)~ ( total sum of

432

II.

squares). , ESS -\
, ^=1
,
TSS --1
.
! ,

. ,
. , .

0.569735497285286

SUMMARY OUTPUT
ffegression Statistics
jMultiple R
; 0.99719007
|R Square
[99438804
rtedR Square 0.99368655
^Standard E r r o r ; 0.2523996
8 Observations
U)

90.30439658 90.304397; 1417,52772


6^509644476 0.0637056'
90.81404106'

2.71827E-10:

Coefficients Standard Error t Siai : P-value


Lower96% ! Upper 95% Lower 99.0% Upper 99.0%
1,37371469: 0.148348829 9.2600305 1.5023E-05 1.031621451 i 1.7158079; 0.8759479' 1.87148147;'
'D.52311537 D.01389414 37650069: 2.7183E-1Q! 0491075399 0.55S15531 0.476495241 056973551

Puc. 5.44.
4 .
, 6 ,
7 , , , 5 = ^ESS/(n - 2) . , 8 , .. , .
ANOVA (
analysis of variance, ). , , . 5.6.
5.6. ANOVA

1 2

1 3

5.

433

. 5.6

14


.
TSS = RSS + ESS = (;,. - )-

817
818
17


b
.

ESS
%*'
^

1 "
{xj , =^ .
18

F17

95 %
95 %

95 %

95 %
99 %
99 %

99 %

99 %

F18
G17
G18
17
18
117
118

, ,
.
,
. , ,
, .
RESIDUAL OUTPUT (
) (. 5.45).

434

II.

21

RESIDUAL OUTPUT

"!

Observation

Predicted Function Y Residuals Standard Residuals ;


1
1.373714685 -0.371242686
-1.560075082'
2
2.419945418 79825693
0.33545192B;
3;
3.466176151 0.269197853
1.131251548
4'
4.512406884' 0108583747
0.456362048
5;
5.55863717: -0.196321872
-0.825004431 '
If
6160486835; "0313006341
1.315348187
7!
7.651099083 -0.11002339
-0.67658097V
8!
8.697329815; 0.126639422
0.532177506:
gl
9.743560548; o"i26003342
0.529504505
10;
10.78979128; -0^294689502
-1.238375236

35
36
< i HN'ShMH. \Re5reHion Report /Sheet2. /Sheets /

__'[

'_

. 5.45.

, ( 25:34),
25:34 , 25:34
. , D25:D34 ,

, . , . 5.46
, , .
, . 5.47,
(.. ).

Points X Line Fit Plot

10

15

Points X
. 5.46.

5,

435

Points X Residual Plot


0.4
0.3 -
0.2 0.1 -0.1 U
-0.2 -0.3 -
::
-0.4
-0.5 -

10

15

Points X
. 5.47.
,
. , . .

Descriptive Statistics
,
Descriptive Statistics ( ).
Data Analysis . , . 5.48.
Descriptive Statistics
; Jnput Ransei
Grouped By:

<~ R

^Output options
<? New Worksheet gy:

Smwnoy staSstfcs

i " Cc^dwiceLevd for Mean:

. 5.48. Descriptive Statistics

436

II.

,
.
, . ,
Input Range ( ) 1:11, , Grouped By () Columns (). Labels in first row ( ), .
. Grouped By Rows
(), Labels in first column (
).
Output options ( )
. . .
Summary statistics ( ) , , ..
, Confidence Level for Mean ( ),
. . ,
Kth Largest ( /t-e) Kth Smallest ( k-e),
, .
. 5.49.
, ..
. . 5.7.

Points X

F
Function Y

; Standard Error
Median
:
Mpde
.Standard Deviation
Sample Variance
Kurtosis
Skewness
Range
Minimum
Maximum
Sum
} Count
:
Largest(1)
Smallest(1)
Confidence LevelQ5.0%)

9 i Mean
6.0B1753:
; 1.914854'Standard Error
1.004512
9 Median
'6 140095'
' M/A
Mode
/
6.055301 Standard Deviation
3.176547
36.66667 Sample Variance
10.09045:
i
-1.2 Kurtosis
-1.09915:
0} Skewness
-0.1261':
18 Range
9.49263
0 Minimum
1502472
10.4951
18 Maximum
90'Sum
60.817531
10 Count
10.
18 Largest(1)
10.4951 [
0 Smallest(1)
1 002472
:
4.331704 Confidence Level(9S.O%) 2.272366

Points X Function Y
0; .2471999!
1
2.49977111V
4 : 3.735374004:
r
8 4.620990631*
8. 5.362315744
10 6.917874691:'
12 7.490096744:
14' 8^823969237
16 '"9.86956389
18! 10.49510178'

Puc. 5.49.

5.

437

5.7.

Mean ()
Standard Error
( )

. AVERAGE()
, {yt}, I

I
2

SE = ^"^(, ~ ) /(-1)
Median (
)

Mode ( )
Standard Deviation
( )
Sample Variance
( )
Kurtosis
( )
Skewness
()
Range ()
Minimum ()
Maximum ()
Sum ()
Count ()

Largest(k)
( -)
Smallest(k)
( -)
Confidence Level
(
)

. ,
, , . MEDIANO
. MODE()
. STDEV()

.
VARQ
( ). KURT()

.
SKEW()
.

.
MIN()
. MAXQ
. SUM()
, .. .

COUNTO
k .
LARGEQ
k .
SMALLQ

, . 5.49
Median ,
.

438

II.


, .
. Data Analysis ( ) Histogram (), . . 5.50.

; Output5;-

Output Range:
<* New Worksheet 0y:
; f NewSorkbook
" /eto (sorted Nstogr am)
' " CuffiMiaove Percentage

Puc. 5.50. Histogram

Input Range ( ) ,
. Bin Range ( )
, , .
. .
, . . ,
, Bin Range ,
.
.
,
Labels. . , ,
Output options.

. , .

, Histogram ()
. ,
( ), Pareto (sorted histogram) ( ).
, .

5.

439

, Cumulative Percentage (
), . ,
. . ,
Chart Output ( ).
, , , . , Histogram . 1 :22.
Input Range. ,
, 0,1. 1:12. Bin Range.
, Output Range
1 ( )
Chart Output (. 5.51).
, ( )
. 5.52. , , . 5.53.
,
. , , . , .
, , (
, ,
). . , . 5.54 ( ).

. 5.51.

440

II.

... EL i

D
SIN(X) ! Intervals
* 0!
0
0!
0.15708 0.156434
0.1 ;
4 0.314159 0.309017!
0.2;
5 0.471239' 0.45399:
".
;
6 0.628319. 0.587785
0.4
7 i 0785398; 0707107*
0.5
0.6:
"". 0.942478! 0.809017
0.7
9 1099557; 0.891007:
;
1.256637: 0.951 057
0.8
1.413717 0.9B7688,
;
0^9
if
1.57D79B
1[_
1727376: 0.987688!
1.884956 0.951057';
:
IS] 2.042035 ^ OB91007
16 2.199115! 0.809017:
1' 2.356194 0.707107!
18 2.513274 0^587785*
2.670354: 0.45399
2.827433: 6.309017
2.984513" "0.156434
j
3.141593 1.23E-16I

:
E
.
F .,.;Lj::G ;;.
1
! Intervals Frequency
1;
0!

"B

Tf

IffilZ

2!
0
2
2i
2
0

0.3

0.4!
0.5;

o.6;
0.7:

0.8

:More

0.9

2!
4:
il
!

~ \

. 5.52.
Histogram

6
5

I Frequency I
1 -
1" I'Mt

^-t

t-H

f i

Intervals
. 5.53.
Histogram
12
10 -

[Frequency!

4 -
2
(

0.3

0.6
1
Intervals

More

. 5.54.

5.

441

. Excel FREQUENCYQ,
, , . , , , .
.
<Ctrl+Shift+Enter>.
, . ,
, .
,
. Excel .

Moving Average
Data Analysis
Moving Average ( ), ,
. 5.55.
I Moving A vet age
Input Input ;

iJ:

j f~ Wbefeftfirst Row
; Interval:
I Output optionsi Qjtput Rangej

Chart Output

. 5.55. Moving Average

Input Range , . , Labels in First Row ( ).


. .
Interval () ( , ), ( 3).
, Output Range
( ).
. , , Output Range (
). ,
.

442

II.

, Moving Average . Chart Output ( ) , .


,
Standard Errors ( ).
. 5.56
Moving Average ( )
.
A
X

1
2 :
3

0
0.15

092
1.01

iq
11 .

0.75

12

0.96

1.47;

0.99:

arm

i
1

PtabefchFstRo

.. .- ... . . . .

- Output options. . fijjtpi* Range:

1
-

|$c$2

' & Chart Output

' 1
I

|?

ilk

|.

J
-.- 1
^J ; ' '

|$B$1:$B$12

' j Irjtwvat:

\
f

-Input' : JripUt Range;

0.95:

1 32

1 Moving Average

O.B8;

1.16

\ '

0.59;

0.61 1

;
]

0^
0.16
0.33.

p.31 :

Ysm

'

" gandard Errors

|20;

Puc. 5.56. Moving Average


, 1 :12 ( 1 ). , 2. , .
. 5.57 ( ).

1
2 ';
4

14
15'

;
0

Ysni
/

.15;

0.16: / ;

0.31
046:
0.61:
077
0 92
101
1.16
1.32
1.47

0.33' *WA |
2 *
0.59.
0.3
0.72
0.444
0 75 ' 0 562
0.88'
0.672
0.95"
0.778

0.96
0.852;
0.99
0.906'

~t
17
18
ifl

.. i

-J ,.,'' , .

Moving Average
1.2 -

1
)

x*~"'J^Jit ***

08

1 0.6 J
>n .
0.4 -

'jF

Actual

v'"
* '"

\^, : .
'

0.2 -

11

- Forecast
-

Data Point
;

. 5.57.

5. 443

1 :12
( 1). ,
( ). , , . ,
, . ,
, , Moving Average ( ).
,
. 5.57. ,
. , , , , , ,
. , . . -.
.



Exponential Smoothing ( )
Data Analysis ( ). , ,
. 5.58.
Exponential Smoothing
.Input
Input Range:
Qarnping factor:

Output options
Output Range:

f~ Chart Output

gandat) Errors

Puc. 5.58. Exponential Smoothing

,
, , , Damping factor.
. / f . = (1 - k)y. + &_,, k , yt , /_, .
, . ,
Exponential Smoothing, . 5.59.

444

II.

PMC. 5.55*.
, ,
0.25. . 5.60.

. 5.60.
, , . , , , .
, ,
.
, , . , , .

, ,
. .
.

5.

445


, , {*} {*,.} (). () ,
(.. () =>>,.). , , . .
. . . , , .
, , - ,
. , , . , , , ,
. ( ) , , , .
.
, , , . . ,
,
, ( ).
Excel , , .
. , , , ,
.
( ),
, , ,
.
Excel .
, , , , , , .


( ) . , . , . 5.61.
446

II.

it

1_

0,16';"

0.31;
0.46:
0.61 i
077!

LIB.
1.32'

"'1,47'

""

0.42
0.5!
0.72"
0.75
0.88
0.95

.;

0.99

...........

1.2
1
0.8
Y0.6
0.4
0.2

I! 1

0.9

1.4

. 5.61.

, . 5.61, , .. . . Add Trendline (


) (. 5.62).

. 5.62.

Add Trendline (
), . - ()
. (Linear), (Logarithmic), (Polynomial), (Power), (Exponential) (Moving Average). He ,
, , (. 5.63).

5.

447

Type

I Options j

Trend/Regression type

Coving Average
Based on series:

PMC. 5.63.

, . , . ,
. .
Order () . . 5.63 5.
Options (). . 5.64.
Add Tiendline
Type

Options

"Trentfinename .....
j (^ automatic P
<" Custom:
: Forecast

j
'

Eorward:

Setjntercwt
P Display equation on chart

. 5.64. Options Add Trendline

Display equation on chart


( ) ,
Display R-squared value on chart ( ) . , . 5.65.

448

II.

Trend Line
1.2

i 0.8 0.6 0.4 -

= 0.2108X5 - 0.9388X4 + 1.327X3 - 0.962X2


1.2164x- 0.0007

02 -

R2 = 0.9951

0.4

0.9

1 -1

. 5.65.

, ,
( ). , , , ,
, ,
. ( 5)
( 11), ,
. , , . , .
. 5.66,
.
, ,
. , Excel . .
Trend Line

i?
!

0.8 -

Y0.6 J

0.4

0.2 -

-0.1

0.4

0.9

I -I

. 5.66.

5. 449

, .
, . ( ),
. , , , .
,
, (
). . ,
, 1 (. 5.67).
. Regression
() . 5.68 , .

. 5.67. ,

input
: InputJRange:
i InputuRange:

53
P Constant is ero

/Output options
' <~ QutptA Range:
! <? New Worksheet jy:
rResiduais, .......
~ Restduafe
: Standardized Residual!

Residual Pbts
F Plots

: Normal Probability
! tjormatProbabifty Plots

Puc. 5.68. Regression

450

II.

1 :12 , 1 :12 .
, Labels ().
Line Fit Plots ( ) . ( ),
, , ( ).
, , ( ). . 5.69
.
;

6 jAdjusted R Square
7 ; Standard Error
8 iObservations
9
10 !ANOVA
:
11
12 Regression
13 Residual
14 Total
15
16
17 Intercept

19 XQ

.?1 "4
22 ,";
71 <6
24lX7

'
?o '<'-<
27 :X"10

28;

65535
:
JT]

ss

eff
10
010
Coefficients
-B.62174E-06
30.92124916
-560.9306711
4235.922683
-17151.4773
4149140051
-62768.07895
5843.58401
-34901.93178
: 113183803
-1580.383907

MS
1.17643862 0.117644
1.59259E-05
65535
1.176454545

tStat

Standard Error

0
0
0
0
0
0
0
0
0
0
0

65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535

Puc. 5.69.

, , , . , ()
. , , . 5.70.
, . , .
-,
, .
.
( , , ).
. .

5.

451

X Line Fit Plot

.0.2 41*

. 5.70.


Excel . VBA
( ).
.

.(;)= Y[ (x-xt)

*) = >,<?,(*),

(*,. - xt ) , kfi

. . ( ).
. 5.71 , .
.

)&{=PRODUCT(A2-A7:A16)/PRODUCT(A6-A7:A16)}

|
D . ,

;
)

0.25
2
3
4
5 '
PhM
0
78951
6
7
0.15
0.16
0.31
0.33:
8
0.46
0^42:
9
0.61
0.59
10
:
11'
0.77
072
12
092
0.75
1.01
.8
13
14
U6
0.95;
15
1.32
0.96!
1.47
16
0.99i

".:::::!:;:::: :J:::.::::::tiiii.L: '.::..:

. 5.71,

452

II.

6:16 , 6:16 . 2
, .
2. 6:16, , 2.
6:16 ( 2).
6:16 : , . ,
6 =PRODUCT(A2-A7:A16)/PRODUCT(A6-A7:A16), . ,
, 6:16,
, .. <Ctrl+Shift+Enter>. , PRODUCT()
.
7:15. 7

=PRODUCT($A$2-$A$6:A6,$A$2-A8:$A$16)/PRODUCT(A7-$A$6:A6,A78:$$16)(. 5.72).
,
, 6 16
, 2 , ( ), . . , , .
7 , 15 (. 5.73).
A(=PRODUCT(iA$2-tAtE:AE,tAt2-AB:tA$16)/PRODUCT(A7:SA$e:/^,A7-AB:$At16))

_ _

G-


-O.OD6789B5

. 5.72. 7

5.

453

7
j4=PRODUCT($A$2-tAA6^AS2-AS:$A$16)/PRODUCT(A7-$A$6:AS.A7-A8:$A$16>)

; : F j G ,
J
2 _
^
1 '
)
"f
025
I
:
:
\

;_. H; j-JiJLTIi

JL

;:,:.::

6 Y

)
0-0.00678985
0.1 16274101

0.15

!
9
10
11
12
13

~
151

0.46
0.61
0.77
0.92
1.01

lie
132

0.42 -1,1 1011803


059 117767635
0.721 -.162888
' 0.751 1.21204879
0.88 2

0.95

0.96 -0.02138319
0.99!
[g|

. 5.73.
, 16 =PRODUCT(A2-A6:A15)/
PRODUCT(A16-A6:A15). . 5.74.

. 6 16
6:16 , .

.
2 =SUMPRODUCT(B6:B16,C6:C16).
, .. <Enter>.
. 5.75.
- ,
2. 2 .
. 5.76 , .

. 5.74.

454

II.

;'

& =SUMPRODUCT(B6'B16,C6:C16)
8
|

D
<
)
0.25J 0.2266340991
i

2
3,
.'.
5

0
i
0.15

0.31
;(
0.46
!0
0.61

0.77
12
' 0:92
.__.
13
14
1.16
15
1.32
If
1 47

Pfii(x)
0. -0.00678985
0.16 0.16274101
0.33: 1.36163391
0.42: -1.11011603
0.59 1.17767635:
0.72. -1.16502888:
0.75: 'V212CM679;'
0:88-0.75940092
0.95 0.14680492.
0.96 -0.02138319
0.99, 0.00181589:

! 1'

. 5.75.

'

;.

....,,

}
.
0.59:
:

0.46

( Phi(x)
PJ
.~16 "
0.33
42;

077
0.92
1.01;
1.16
1.32
1.47]

-5?;
0.727
0.75;
0.88:
0.95
Q -,
099

0.15

.1;

. 5.76.
, ,
, , , .
.
, ,
. ,
. ,
, , .
, , ,

, Excel , ,
( - ). Excel
.

5.

455


Excel Maple
...
Maple Excel Add-In
Maple
Maple Excel
Maple Excel
Maple Excel

11 Excel
, ,
. Excel
.
Excel . , Excel ,
. , Excel . ,
, . ,
. MathCAD
Mathematica,
, , Maple (
). , Maple, , .
, , ,
, Maple
. , Maple,
, , ..
. , . . , : , . , -

, ,
. , , Maple , . ,
Excel.
, Excel , Maple,
Excel Microsoft Office, , , Windows (
Maple, ). ,
Excel, Microsoft Office, Word PowerPoint. , . , Maple ( )
Excel. , .
, Maple, , , Excel, , Excel Maple,
.
.
, , Excel Maple, . , Maple,
. , Excel,
Maple. ,
Maple . , , ,
Maple. , Maple,
. , Maple ( , ) .
Maple Excel Add-In.


Maple Excel Add-In
, Maple Excel
( , , )
Maple .
.
! Maple , Microsoft Office ( Excel).
.

458

II.

, Maple
( Maple Excel Add-In),
Excel Maple. , .
, Excel 2000. . Excel 2002 ( Microsoft Office XP), ( Maple
Maple ).
, Excel: Excel Tools^Add-lns (^). , (
WMIMPLEX.xla) Excel, Add-lns available
Add-lns . . , , ,
Excel Maple. Browse () . Maple Excel Add-in ,
(. 6.1).
. 6.1. Add-lns

Add-lfsavabble:
^Analysis ToolPak
~ Analysis ToolPak - VBA
~~" Conditional Sum Wizard
Euro Currency Tools
' Internet Assistant VBA
'lookup Wizard
' ^1:1^
' Solver Add-in

Automation.,.

_
Maple Excel Add-in
Add Mapte functionary to ) 2000

Excel
, . 6.2 ( , View^Toolbars^Maple).
. 6.1.
. 6.2. Maple

6. Excel Maple

459

6.1. Maple


Excel Maple

Maple ( Maple
) Excel.
Maple , Excel
Maple Excel.
Maple Excel Options
( Maple),
Maple Function Browser
( Maple), Maple
Maple ( , ) Excel

Maple, Excel , . , , , , Maple,


,
.

Maple
Maple, , . Maple (
, Excel) . 6.3.
Fte d* View insert Format ; , , : : - : , . .-:

Whdow

| I": I - J |

0.4s : Bites .06 ]

. 6.. Maple
460

II.

AvUbte789M

Maple
. , Microsoft Office, , , ,
.
Maple.
Maple . ( . 6.3) (
). <Enter> , , , ,
. . , . , , , ,
. , .

Maple
Maple, , , ,
. , . . 6.2 ,
Maple.
6.2. Maple

. : +
. : -
. : *
. : /
. ,
Maple (.. * *).
: ^

(.. ).
Maple , ,
. , Maple , ,
( : =). , , , .

3 + xlb - 2x + n. ,

Maple, :=* 3+ 2/-2*+1,


. 6.4.

6. Excel Maple

461

Maple 8

[Untilled(l) |Seiver1)|

Tine; 1.7s i Bytes: 3.06M

Available; 806M

Puc. 6.4. Maple


6.4, Pi. ,
Maple. . 6.3 .
6.3. Maple

Catalan

V_LJ1_ , 0,9159655942

false

""

FAIL

gamma

" "

= 0,5772156649 ( V | 1 _ \() |)

() , -1

infinity

Pi
true

= 3,141592654
""

, ,
( ) ,
<Enter>. , . 6.5 , , .

462

II.

Maple 8 - [Untilled (1) - (Seivei 11]


Fte Edit View Insert Fame!

:;. ;-A ..,: Window

2/b-2*x+Pi;

> P;

lime: 1.7s ; Bytes: . i

Available: 803M

PMC. 6.5.
, . , , ,
. : =1, 1,
(. 6.6).
D Maple 8 -lUntitledllJ-[Se>v 1]]

> P;

ar. + - 2 JT +

> P;

-2+

[>|
Time: 17

Bytes. 3.06M

Pwc. 6.6.
. . Maple ,
. , Excel Maple
Maple.
6. Excel Maple

463

( , ),
, .

Maple
Maple , ' . . 6.4 ( ).
6.4. Maple

arccos (x)

arcsin(x)

arc tan ()

arcsec(x)

arccsc ()

arccot(x)

arcsinh ()

arccosh ()

tanh ()

arcsech ()
arccsch ()
arccoth ()

arctan ( / )

z=x+I*y (I )
arctan(,x)=-I*ln(z/|z|)

sin(x)

cos

( )

tan(x)

sec(x)

s ()

cot ()

s inh ()

cosh ()

tanh ()

sech ()
csch ()
coth ()

464

II.

. 6.4

In ()

log[b] ()
loglO(x)
()
sqrt(x)

. z=x+l *.
In ( z ) =ln (abs ( ) ) +1 *argument ( z ) , abs ( z ) z, a argument ( z )
.
log[b](x)=ln(x)/ln(b)
loglO () = log [10] ()
( )

. 6.4 . Maple ( ). .
, .. Excel Maple - ,
, . , . .


Maple d i f f ().

, . ,
? + sin(bt) t dif f (a*t' 4 2 + sin(b*t) , t ) .
. 6.7 ( ).
' 8 [Untilled (1 ) [eivec 1 j

Time-. 1 7s

! Bytes: 3.06M

AvAibte'. 79

Puc. 6.7.

6. Excel Maple 465

,
. , ,
. d i f f ( a * t " 2 + sin(b*t) , a ) , a
. 6.8.
Maple 8 - [Unlitled (11 - [Seivei I ]]
& f.fc

diff(a*t 2+sinCb*t>,
diff(a*t*2+sin(b*t),

Time: 17

; Bj*tes; . >

AvaWAr. ?S9M

PMC. 6.5.

d i f f () Maple, , , . .


Maple int ( ) .
,
. ,
. , . , ( ).
, , .
: , , , ,
, . , at2 + sin(bt), int (a*t' 4 2+sin(b*t) , t ) . . 0 1,
d i f f ( a * t / 4 2 + s i n ( b * t ) , t = 0 . .1).
. 6.9.

466

II.

ID Maple 8 [Unlilleddl |Serverl|]


Fte E* View insert Fqmal

> int(a*t'2+sln(b*t),t);

at

cos(bt)

3
> i n t ( a * t ' 2 + s i n ( b * t ) , t = 0 , .1) ,

1 ab- 3cos(c) + 3
b

'Time: 1.7s <Byte:3.06M !

Puc. 6.9.

, , ,
. int ( )
, Excel (
Maple) .


,
, . Excel ,
Maple
. Maple Excel,
, .
solve ( ) .
(.. ),
, .
.
, ,
. . (
, ). , 2 +
+ + = 0 solve (* 2+*+=0, ) .
. 6.10.
. (,
).
f solve ( ) . , ,
, , , . , . ,

6. Excel Maple

467

f solve (x=tan(x) ,x=7) (. 6.11). - tg(x) = 1. - .


, ( )
. , 0,0bt = sin(;c) . ,
, . fsolve(0 . 01*x=sin(x) ,x=4*Pi. .*Pi), .. , .
. 6.11.
QMaple 8 - [Unfitted (1) - [Seivet 1]]
Window

solve(a*x

2a

> 1

{ Time: 1.3s S8jt:3.ffiM i

. 6.10.

* View |mt Fqmat

> solve (a*x''2+b*x+c=0 , x) ;

- + /i - 4 a c -4- b -Aac
,x-7>,
7.725251837
> f solve ( 0 , 0 1 * x = s i n ( x ) ,x-4*Pi. . 6 * P i ) ,
15.55181134

Puc. 6.11.

468

II.

AvaSabte 79!

. ( , ). ,
Maple .
dsolve { ) .
,
( ),
, . dsolve ( )
"() + () = 0. ,
. . Maple dif f ( () , $2) + () =0,
dsolveO. ( ) ,
.
. dif f ( () , $2) () . $ . , $2 ,.
dif f ( )
,
(.. , ..).
, , .
, , . 6.12 ( ).
I Maple 8 - lUnhtlcd (I) - [Seivei 1]]
S t* V* t"rt Fqmat

l^|a|ai f^

> dsolve(dlff(y(x),x$2)+y(x)-Q,(x));

y(x) = _CV an(jO + _C2cos(;0


dsolve((diff ( y ( x ) , x $ 2 > + y ( x ) = 0 , y ( 0 ) - 2 , D ( y )

I Time: 1.3s

! Bytes: .06 j

Avatabte 786M

PMC. 6.12.

6. Excel Maple

469

(. . 6.12)
, .
, , . dsolve () ,
( ). ( Maple ). ,
, (0) = 2 (0) = 1,
dsolve ({diff ( () ,$2) +() =0, (0) =2,D(y) (0)=!} ,() ).
. 6.12.
. D () ( 0 ) =1.
D. , dif f ( ) ,
, . .

. ,
( , ..
), dif f ( ) , .
Maple. ,
, , - Maple ,
.
,
(, ,
, , ).
,
restart. , Maple .
( , ). Maple .
.

Maple
Excel
,
Maple Excel. .


, :
Maple =1(). , , 2

470

II.

- acos(jc),
A
=Maple("diff(b*x 2-a*cos(x),x)"). . 6.13.
, Maple .
2

V 1 .

1
2 2*b*x+a'sinfx) 1
3
_

fr =Maple("diff(b*x 2-a*cos(x) .x)-)


B
C
D
E
'

. 6.13. Excel
A

=Maple( diffb x 2-a*cos(x).x);int(%.b=0..1) I

2/|2*b*x+a*sin(x)ax+3*sin(xl I

. 6.14.
, . 6.14, , .
. int ( )
%.
. , , .
. ,
.
,
(. 6.15).

. 6.15.

( ), , ( ),
. ,
Format^Cells (^).
Format Cells ( ) Alignment () -

6. Excel Maple

471

Wrap text ( ).
, () .
2 (. . 6.14) . 6.16.
*'2--(),):11(%.=0,.1)")

...P.

. .

. 6.16.

, Maple .


,
, . , Maple . , , , . ,
,
&#, & , # , Maple
, .
, , .
. ,
, . ,
Excel.

! Excel. .

- .
( ). .
4 =!("*2+*+"), , , (. 6.17).
f. =1("*2-|-*+")

.1

!_j
:
2
.,;
.
3
4 |a'x"2+b*x+c

. 6.17. ,

472

II.

. , , , , . , (.. ). ,
solve ( ) . , , ,
. .
4 ,
. =1("") (. 6.18).
=Maple("x")

1 |
| 3 [
"1*"2+*+

Jx
.1

. 6.18. ,

, . Maple solve ( ) , 4 ( ), 4 (,
). 4, , =Maple("solve(&1 ,&2)",A4,B4).
Maple ( solve(&1 ,&2))
: 4 4. 4 , 4 .
( 4) solve ( ) &1,
( 4) &2. . 6.19 ( 4 ).
, .
Maple Excel . ,
4, ,
. , 4
=Maple("b") ( ). . 6.20.

. 6.19.

6. Excel Maple

473

84
-
=Maple("b")
|
j
A
~i

j
..
j
3
^*2+*+

HI

^
|b

:
|-(*"2+)/

. 6.20. ,
.
, ,
. D4, 4 F4.
A
4 =Maple("&1*x 2+&2*x+&3",D4,E4,F4).
. 6.21 ( 4
=1("")).
4

/-

/ =1("&1**2+&2*x+83",D4,E4,F4)
J

:.:--

1 I
J2J

:,. P. ! j F ;
_J

4 |"?45'+6
Jx
5 '

-2.-3

b
1

Puc. 6.21.

D4:F4, . . ,
4 F4, , .
D4 . , , ,
"".
, ("" "")
, Maple . , .
. ,
(. 6.22). Excel , Maple ,
.

(-5)

_B

L::,: \c...

~:3,2

.:

1 l

''2-5*6

IX

I J;

. 6.22.

474

II.

,
. , 4
A
=Maple("&1*x 2+(&2*x)+(&3)",D4,E4,F4). , .
, , . ,
(. 6.23).
;

=Maple("solve(&1,&2)".A4.B4)

1 ;

' '

"'...

3 .

jfj*"244*x+1 J*I.
!
5

' III II

I...L.ir.[I

_
1-2+3*41/21. -2-3-/211 Ti

4!

. 6.23. ,

. 6.23 ,
( ). ,
solve ( ) f solve ( ) .
4 =Maple("fsolve(&1,&2)",A4,B4), (. 6.24).
4

_J:.:P:J. I...!. F G

_aj . : ....................... \ ..... 1 1 .


3

3732050808. - 279491921

. 6.24.

, .. f solve ( ) , .


Maple
. Excel.
Maple, ,
, plot ( ) .
, ,
, ( , ,
-10 10). plot ( ) Excel.
.
=Maple("plot(BesselJ(0,x),x=0..20)"). Excel (. 6.25).

6. Excel Maple

475

=Maple("plot(BesseU(0,x).x=0..20)")

1 j

[Maple Plot

. 6.25-

. , , ,
plot (BesselJ(0, ) ,=0 . . 2 0 ) .
plot ( ) BesselJ (0, ) (
, , ).
plot ( )
, .. =0 . .20.
, .. .
, .
.
, , .
plot ( ) . , =Maple("plot(BesselJ(0,x),x=0..20,title=""Bessel
Function"",titlefont=[TIMESIBOLD,15],labels=[""x"",""JO(x)""])"), ,
. 6.26.
title, . .
Maple ,
Maple . Excel
Maple, (.. , ).
, (
titlefont). (
), (TIMES),
(BOLD) (15) . labels,
, ( )
.

476

II.

_B

=Maple("plot(BesselJ(0.x),x=0..20,title=""Bessel Function"
; titlefont=[TIMES.BOLD,15],labels=["-x"","-JQ(x)""])")

1 _ i
' iMaple Plot"]

Bencl Fenction

/,

20

Puc. 6.26. pi ot ()
.
, <Alt+Enter>, (. . 6.26).
plot ( ) . . 6.5
.
Maple.
6.5. plotQ

adaptive

axes

axes font

color

( true, )
,
, . adaptive false,
: FRAME (
), BOXED ( ), NORMAL ( , , ) NONE ( )
. (TIMES, COURIER,
HELVETICA SYMBOL), (, BOLD
(), ITALIC () BOLDITALIC (
)),
.
: aquamarine (-), black (), blue
(), navy (-), coral (-), cyan
(), brown (), gold (-), green
(), grey (), khaki (), magenta ( ),

6. Excel Maple

477

. 6.5

color

maroon (-), orange (), pink (),


plum (-), red (), sienna (), tan
(-), turquoise (), violet (),
wheat (-), white () yellow ()

coords

, ,
(cartesian). ,
(elliptic), (hyperbolic),
(logarithmic), (parabolic) (polar)

discont

( true)
. f a l s e ..

filled

true
. f a l s e

font

.
,

labels

.
,

labeldirections

,
HORIZONTAL (
) VERTICAL ( )

labelfont

legend

. , , ,

. 1 4 , , : SOLID (),
DOT (), DASH () DASHDOT
( )

linestyle

numpoints

(
50)

resolution


( 200)

sample

scaling

. :
CONSTRAINED () UNCONSTRAINED ().
UNCONSTRAINED

style

. LINE (), POINT (),


PATCH () PATCHNOGRID ( ). LINE

478

II.

. 6.5

symbol

symbolsize

. : BOX (), CROSS (), CIRCLE (), POINT


() DIAMOND ()
.
10

thickness

.
0 15.

tickmarks

, ( )
. ,

title

. .
.
, \

titlefont

view

, ,
.

xtickmarks
tickmarks

, .
Maple ,
, .. .
, f(x) = exp(a;c)cos(fcc) d. a,b,cKd .
4:7
(. 6.27): D3 =Maple("plot(exp(&1*x)*
cos(&2*x),x=&3..&4)",B4,B5,B6,B7). (.. ) . 6.27 ( ).
, . , . 6.28 ,
, .
Maple
, ,
, , , .

6. Excel Maple

479

ft =1("11((&5(&2*),=&3..8,4)",4,5.6,7)

. 6.27.
Excel

... ......... I : ..... ::..

1 \

Maple Plot

,-.

. 6.28.
, , . p l o t 3 d ( ) . ( ), , .
plotSd ( ) . 6.29.

480

II.

=Maple("plot3d(sin(x)*sin(y).x=O..Pi.y=O..Pi)")

. 6.29.
fix, ) = sin
.
. 6.29, , , ,
, . ,
, . . 6.30.
, , :
=Maple("plot3d(sin(x)*sin(y),x=O..Pi,y=O..Pi,axes=FRAME,title=""3D Plot"",titlefont=|TIMES,
BOLD,20],font=[TIMES, ROMAN, 15])").
, , . , p l o t 3 d ( ) .
. 6.6.

=Maple("plol3d(sin(x)*sin(y),x=O..Pi,y=O..Pi,ai<es=FRAME.
] title="3D Plot"",titlefont=[TIMES,BOLD,20|,font=[TIMES.ROMAN,15])")

3D Plot

i ...

4-

Puc. 6.30. plot3d()

6. Excel Maple

481

6.6. plotSdQ

ambient light

[r,g,b], ( 0 1)
(), () ()

axes

.
BOXED, NORMAL, FRAME NONE

axes font

color

contours

, 10

coords

filled

(
true). f a l s e

font

grid

gridstyle

rectangular ( ) triangular ( )

labeldirections

. . , ,
HORIZONTAL ( , ) VERTICAL ( )

label font

labels

light

.
. .
0 1, ,
, ,

lightmodel

. : (
), lightl, Iight2, lights Iight4

lines tyle

. : SOLID (), DOT


(), DASH (), DASHDOT ().
1 4

numpoints

( 625),

orientation

.

,

482

II.

. 6.6

projection

0 1,
, .
FISHEYE (), NORMAL () ORTHOGONAL
(), 0, 0. 5 1

scaling

. , : UNCONSTRAINED CONSTRAINED

shading

. : X Y Z ,
XY, Z, ZGRAYSCALE, ZHUE NONE

style

. :
POINT (), HIDDEN (), PATCH (,
), WIREFRAME (), CONTOUR
(), PATCHNOGRID ( ),
PATCHCONTOUR ( )
LINE ()

symbol

: BOX (), CROSS


(), CIRCLE (), POINT () DIAMOND ()

symbolsize

( 10)

thickness

. 0 ( ) 3

tickmarks

title

titlefont

view

.
, .

,

, , plot3d ( ) .

Maple
Excel
Maple Excel Add-in, Excel
Maple, ,
. ,
,
Maple . .

. Excel Maple

483


, ( ) Maple Excel Add-in.
Maple Excel Options ( Maple)
Maple Options ( Maple), . 6.31.
Maple Option
Packages j injiafization aid User Packages

Meqafe

Cancel CalaHafen Dialog


* Enabled
Calculation Tme Lim
Enabled
or Message Options

f~ Message

^ None

e Output Format
Mapde f^eciston:

f"1 Mapte F orm at

10

cB^s of computitai

^Excelformat

Restart Maple

Accept

Puc. 6.31. Maple Options Maple Excel Options

Maple . Maple Excel Options .


Cancel Calculation Dialog ( ) Enabled (). , ,
,
, .
( ), ,
Displayed After ( ).
, . Calculation Time Limit ( )
Enabled (),
.
( , , ,
Maple ) . , Warning/Error Message Options
( ) : Sound () , Message () None () .
, ,
, Numeric Output Format ( ). Maple Precision ( Maple) , ( 10). ,

484

II.

. Maple Format,
Maple. Excel .
, . Excel Format,
Excel.
, Accept
(). Cancel
(). Maple Restart Maple ( Maple).
Maple, ,
. Maple w i t h ( ) , .
Excel Packages
() Maple Excel Options ( Maple).
. 6.32.
Maple Excel Options
Packages ] MMiation and User Packages | MapteC
Integral Transforms
addtable
fourier
fouriercos
fouriersin
hankel
hilbert

1
d

: Packages Included:

AcWSetected Package To List...


Reimve Setecied Package From List...

Accept

Puc. 632. Packages Maple Excel Options

.
.
, Add Selected
Package To List ( ).
Packages Included ( ).
Remove Selected
Package From List ( ). Accept ().
, Initialization and User Packages (
)
. . 6.33.

6. Excel Maple

485

Maple Excel Options


Packages

InBafeattan and User Packages Maple Options I

Mapie Initialization Fie:

Packages Included (Maple directories)

Add Package To...


Remove Selected Package From List..

Accept

Puc. 6.33. Initialization and User Packages


Maple Excel Options
Maple Initialization File ( ), Browse
(). Packages Included
(Maple .lib directories) ( ),
Add Package To List ( ) .
Remove Selected Package From List (
).


Maple,
, , . , . , , . Maple Excel Add-in , .
Maple ( ). Maple Function Browser ( Maple). . .
,
Maple. , . 6.34
f ourier ( ) . ,
( ).

.
Next () ,
(. 6.35).

486

II.

. , , . . ,

( ( - 2 ) ), t ,
(), W (q) (. 6.36).
I Maple Function Biawset

Programming

Algebra
Basic Mathematics""

Differential Calculus
icitdiff

Differential Equatic||
Evaluation
Finding Roots, FacJT
Number Theory
Numbers
j-J

invfoutiet
invlaplace
laplace

Puc. 634. Maple


M aple Function Wizard: inttiamllawier]
Sequence;

1 inrtrans['fourier'K expr, t, w. option )

''Function Description . ' the Fourier transform


' Parameter Descriptions
, 1 '; expr : 'an algebraic expression
\. t : the variedethett | is befrig transformed wihcespeci to
1 w .: .fhft rMtrmvifsr. nf tnwwirnn .
..,.... ;. . . . ' . ......
Required Parameters:

exp.'

Optional Parameter

Puc. 6.35.
Maple Function Wizard mttianiHaunetl
Cefiing Sequence,
j inttrans['fourier'K expr, t, w, option)
'
: Function Description
; the Fourier transform
i: v Par aroeter Descriptions
i expr; an algebraic expression
> t : the variable thai expr is bemg transformed svfth respect io
' Required Parameters:

W |q~

C^jtionat Parameter

Puc. 6.36.
. Excel Maple

487

(. 6.37).
. .
. ,
, ,
.
1

A
i |"rti; )*exp(-1/4V2)
2 ,

=Maple( inttrans(Tourier']( (-2). . q );")

- B^i :

E '

i'

i
;

. 6.37.

, Maple , . . ,
, .. ,
Maple.


, Maple Excel Add-in.

Maple ( ). , . 6.38.
.
,
Help Topic ( ) ,
. Browse
(). Maple Help Browser
( Maple), , (. 6.39).
' ,
Display Topic ( ). . 6.40.
, Maple Help ( Maple)
.
f ourier ( ) . , Description ()
( ), Usage
() .
Maple Help ( Maple)
. Using Maple in Excel (
Maple Excel),
.

488

II.

Help Topic:
f

Description

Usage

Using Mapte in Exce)

Puc. 6.38.

. 6.39. Maple Help Browser

Hefc Topic; 1 trrttr ans ,foui


r - Desci^Flion

; inttcans[CouE.ier3 " Fourier transform


1 description
I - The fourier function applies the Fourier transformation to expc vith
f'j.'"respect to t, using the definition
infinity

j - Usage --

,-"

i Calling Sequence

fourier(expr, t,

Parameters
expr - expression, equation, or set of ecpaations and/or expressions to
I be transformed
Usmg Mapte in Excel

c. 6.40.

6. Excel Maple 4


Maple Excel
Maple Excel, Maple
,
.
, . , Excel,
Maple Excel Add-in. ,
.

Excel
Excel, , ,
. , Maple
. . , ,
1 :2. ,
Maple (. 6.41).
. 6.41.
1

Maple
( Edit^Paste, ). . 6.42.
Maple, , ,
. ,
( <Enter>). ,
, (. 6.43).
,
Maple. ,
Maple Insert^Spreadsheet (<=> ) (. 6.44).
. 6.45.
, Excel, , , . , , .
, Excel. ,
- Maple ( 2) , (. 6.46).

490

II.

Maple - (Unfilled (1)-fS


f d View Insert Foimal

[> Matrix (1 . 2 , 1

.]

2, {

, (1,2) -2, (2,1)=3, ( 2 , 2 ) - 4 } > ,-

Time: 1.2s . Bytes: 3.08M ;

AvaSabte: 6

Puc. 6.42. Maple

ID Maple 8 |Unlilled(l) |Seiver1|]


fc Ed Vjew Insert Fojmal

Window

Matrix (1. , 2 , 1 . . 2 , ( (:t, 1) = 1, ( 1 , 2 ) 2, ( 2 , 1 ) = 3 , ( 2 , 2) = 4 ) )

4j

i Time: 1.2s ' Bytes: 3.06M

Avalabte: 61

PMC. 6.43.
p-|a|x;
u.:lalx;

Maple 8 - [Unfilled (1 ] - [Seive, 1


; < , Imeil Fottnai
Standard Math
OikR
Mente Input

Standard Math Input

t^l / \i
Matrix (I

2)=2,(2,1)=3,(2,

r Execution Stoup

'

"

Insert a new spreadsheet

Puc. 6.44. Maple

6. Excel Maple

491

Maple H - (Unfilled (l)-ISeivet 1


File d View Insert FomMt

UDlxl

Spreadsheet

Wndow

Hdp

[Hi

Matrix (1 . 2 , 1 , 2 , { (1,1)-1, (1,2) =2, ( 2 , 1 ) =3 , ( 2 , 2 ) =4 ,

Tine: 1.2s

; Bytes: 3.0SM i

Avaiable:634M

. 6.45. Maple
ID Maple 8 - Illntilled (1) - ISeivet 111
; Je < Viei

"

{ntert FotiMt Sfeatteheet

Matrix (1. . 2 , 1 , . 2 , { <1,1)-1, (1,2) =2, (2,1)=3, ( 2 , 2) = 4 1 ) ,-

,. 3

I
A

2]

''.f

,
j

.. ..1

4
5

<l

; Tin: 1.2s Bytes: 3.06M ;

Available: 694M

Puc. 6.46.

,
Excel. , ,
, .

Maple
, Maple ,
Excel
.
Maple Excel. (. 6.47).
Excel , , Maple (. 6.48).
Excel (. 6.49).

492

II.

te tft View Insert

Fnmat

il ] 1-11 ] Hl
,1)=1,(1,2)=2,<2,l)-3,(2,2)=4}),

'

1.2s

IBtfes-.. l

Available: 634M

. 6.47. Maple
. 6.48.

. 6.49. Maple
Excel

'

( ) , , ,
. .


, Excel Maple Excel Add-in.
Maple
( ), .


, , .

6. Excel Maple

493

. fix) =

- ^
C; 0 )". ,
\
.
Maple , , Maple Excel Add-in, . .
6.1. fix) = /(2+ )
0 = 0
. 6.50.
6

=Maple("laylof(&1,x=&2,&3)",C3.C4.C5)

1 ; "'

......
3 [
[ ]

f(x)=
-

(+1)/(2+2)

N
4^
L(x)- lseries(1/2+1/2*x-1/4'x2-1/4*x3+0(xM).x.4H'

. 6.50.
Maple taylor ( ) ,
, .
,
(), . ,
(
), . . 6.7 , .
, .
6.7.

4
5
6

494

,

( )

II.


=1("(1+)/(2+2)")

=Maple("taylor(&1,x=&2,&3)",C3,C4,C5)

. 6.50,
series. . , , ( ), .
,
4 5. 6 .


Maple , , , .
. Maple Excel Add-in
, .
.
6.2. , ]
x(t) - 1/(1 + ) y(t) = ~t/(l + t)2, t
________
.
_^

() y(t) . ,
, f(i) = y '(t)/x'(t).
Excel . 6.51.
=1("(1)")

1
"
3_j
_4_j
5 !

.......

! ;= proc (t) options operator, arrow; 1/(1 +t) end proc ;


:~ proc (t) options operator, arrow; -t/(1+t)A2 end proc
f :- proc (t) options operator, arrow; simpljfy(diff(y(t),tydiff(x(t),t)) end proc

^
_J x(t)
L/il+tL
IjH yf()
-t/(1 +t)"2
I { dy/dx -(-1 +t)/(1 +t)

IS,

Maple Plot

<

Puc. 6.51.

6. Excel Maple

495


, , , , , .
, ,
, . 6.8.
6.8.

83

=Maple("x:=t->1/(1+t)")

84

=Maple("y:=t->-t/(1+t) 2")

85


(,
)

=Maple("f:=t>simplify(diff(y(t),t)/diff(x(t),t))")

88

=1("(1)")

89

=Maple("y(t)")

10

=Maple("f(t)")

12

=Maple("plot([[x(t),y(t),t=0..infinity],[x(t),f(t),t
=0..infinity]],linestyle=[1,2],legend=[""y(x)"",
'"""])")

. ,
x : = t - > l / ( l + t ) Maple , ,
( t) , ,
(.. 1/ (1 + t) ).
(, f ( t ) ,
, , ( t ) ) simplify ( ) . , .
, .
, , , , ( t ) ( ,
, ).
. :5 . , , ,
. , Maple.
496

II.

, plot ( ) , , . , , . . , [ [ x ( t ) , y ( t ) ,t=0. .infinity] .


( (t) ), ( ( t ) ). ,
(.. t=0. .infinity).
.
plot ( ) , , .



. ,
Maple .
6.3. , )
n

, .Pe?eJia:L

, . , , . Maple
. , ,

( ). . 6.52.

ft =Maple("value(Lineint(1,8.1 ,&2,1=&3))",,4,5)

I
x(t)
(1)

t
]

sin
cos
0.. 1/2*Pi
|1/2*Pi

. 6.52.

. 6.9. , Student Calculus.


.
. , , ,
Lineint ( )
.

6. Excel Maple

497

6.9.

83

=Maple("t->sin(t)")

84

=Maple("t->cos(t)")

85

=Maple("O..Pi/2")

86

( )

=Maple("value(Lineint(1 ,&1 ,&2,t=&3))",


,4,5)

, 6. ,
Lineint { ) Student Calculus. , 1 (
). , .

, (, , ( t ) ( t ) ).
,
.
. 4 . Maple . , t->sin(t) , t
s i n ( t ) . ( ) . (.. ), , , . Lineint ( ) , , ,
.
, , Lineint ( ) ,
- ( ).
. ,
,
.
, .
Lineint ( ) , , , . Excel Maple, , .
. Maple . , , , .
, , (Dif f () ) (Int ( ) ).
. ,
Lineint ( ) .

498

II.

value ( ) . .
.
. 6.52 , ,
. , , Excel.
. .

.
, Maple Excel Add-in . ( , )
, .
6.4.
, , ,
. 6.10; ,
.
,
, , . . 6.53.

. 6.53.

6. Excel Maple

499

6.10.

83

84

D3

-1

D4

F3

F4

85

11:J6

=TRANSPOSE(A3:F4) (

<Ctrl+Shift+Enter>)

86

=Maple("interp(&1,&2,&3)",B3:F3,B4:F4,B5)

=Maple("plot([&1,&2],&3=&4..&5,style=[p
oint,line],symbol=box,symbolsize=18)",l2:
J6,B6,B5,B3,F3)


interp().

. , , Maple .
Curve Fitting.

( Maple
Excel) .
B3:F3. (
B4:F4). , (
5). ,
( 6).
. , .

(
I2:J6 =TRANSPOSE(A3:F4)).
A3:F4 I1:J6 .
I2:J6. ,
plot ( ) ,

500

II.

.
Maple
( ), ,
. ,
, , .
. Curve Fitting
.
, .
, .
plot ( ) .
, .
I2:J6, . .
6,
(). ,
, , , . ,
, ( !) ( point style).
,
style= [point, line] (.. ).
, &3=&4 . . &5,
: 5 (..
),
(, ) F3
( ).
.
, . ,
, . Maple, interp ( ) spline ( ) .
, ,
spline ()
( 3).
: 6 3 ,
7
=Maple("spline(&1,&2,&3,&4)",B3:F3,B4:F4,B5,B6).
9
. :
=Maple("plot([&1,&2],&3=&4..&5,style=[point,line],symbol=box,symbolsize=18)",l2:J6,B
7,B5,B3,F3). . 6.54.
-, .. .
PIECEWISEQ, ,

. Excel Maple

501

, , , .
. . 6.54 , (, ) ,
. Excel, .

Puc. 6.54.

, . , ,
.
, , . ,
. .

, , .
, ,
, . Maple Excel Add-in

.

502

II.

6.5. = 4 / = 5
. F = 25 ,
,
. -

,
. , : , , ,
( ), ,
, (
).
g, ,
. . ( + ) = F - g(km + sM). ,
F-g(km + sM)

. . ,

, :
. , . , Ma = T-gsM. T=M(a+gs).
. Maple.

Excel. . 6.55.
4:9 .
, . 6.11.
,
11:12, .
.
11

-- ::

' f, =1-8(&3*&4+*&6)(4+&6)",8.9,6.4,7,85)
. . - , ., ; ; . ,
.
I
,

J~~J

1 !
.._,

]>
4 :
4

5 I

>' ; ]
6
*'"
7
0.2
8
25

,"' ^
9 '
9.8
/"2
!
g
10
,,
^ '.,
(F-q'(k*m*s'M)).'(m*M) 0.382222222
1 | / 2
M'lF-g'k'm^s'g'mytm+M) 11.71111111

!
2 ' =

QJ!; .

..:== =

. 6.55.

6. Excel Maple

503

6.11.

()

()

()

()


()


()

0.3


()


()

0.2

()

()

25


()


()

9.8

11

()

=Maple("(&1&2*(&3*&4+&5*&6))/(&4+&6)",8,9,
6,4,7,5)

11

()

=Maple("(&1&2*(&3*&4+&5*&6))/(&4+&6)",8,9,
6,4,7,5)

12

()

=Maple("simplify(&1*(&2+&3*&4))",B5,
11,7,9)

12

()

=Maple("simplify(&1*(&2+&3*&4))",C5,
11,7,9)

. ,
11 =1("(&1-&2*(&3*&4+&5*&6))/(&4+&6)",8>9,6,
4,7,5). , , ,
. . , , . ,
, .
, , ,
( !),
.

504

II.

! Maple
, , . Excel. Maple
, Excel,
. ,
<Enter>. , Excel
, Maple. .
, 11, 11
, 11. Excel ,
, ( ).
=Maple("simplify(&1*(&2+
&3*&4))",5,11,7,9), 12.
( 11).
,
. , s i m p l i f y ! ) .
12 12.
, , Maple Excel, .
Maple , , , . . , Excel.
,
( , ). , Maple Excel , .

6. Excel Maple

505


Excel

ABS

ABS

CODE

ABSREF

COLUMNS

ACCRINT

COMBIN

ACCRINTM

COMBINATION

ACOS

ACOS

COMPLEX

ACOSH

ACOSH

CONCATENATE

ALERT

CONFIDENCE

AMORDEGRC

CONVERT

AMORLINC
AND

CORREL

COS

COS

ASC

ASC

COSH

COSH

ASIN

ASIN

COUNT

ASINH

ASINH

COUNTA

ATAN

ATAN

COUNTBLANK

ATAN2

ATAN2

COUNTIF

ATANH

ATANH

COUPDAYBS

AUTO.OUTLINE

COUPDAYS

AVEDEV

COUPDAYSNC

AVERAGE

COUPNCD

AVERAGEA

COUPNUM

BESSELI

COUPPCD

BESSELJ

COVAR

BESSELK

CRITBINOM

BESSELY

CUMIPMT

BETADIST

CUMPRINC

BETAINV

BIN2DEC

..

DATA.SER1ES
DATE

BIN2HEX

..

DATEDIF

BIN2OCT

..

DATESTRING

BINOMDIST

DATEVALUE

BREAK

DAVERAGE

CALCULATE.NOW

DAY

CALCULATION

DAYS360

360

CAtL

DCOUNT

CEILING

DCOUNTA

CHAR

DDB

CHIDIST

DEC2BIN

..

CHIINV

DEC2HEX

..

CHITEST

DEC2OCT

..

CLEAN

DEGREES

DELTA

FTEST

DEREF

FV

DEVSQ

FVSCHEDULE

DGET

FWRITE

DIRECT

FWRITELN

DISC

GAMMADIST

DMAX

GAMMAINV

DMIN

GAMMALN

DOLLAR

GCD

DOLLARDE

GEOMEAN

DOLLARFR

GESTEP

DPRODUCT

GOAL.SEEK

DSTDEV

GROWTH

DSTDEVP

HARMEAN

DSUM

HEX2BIN

. .

DURATION

HEX2DEC

..

DVAR

..

DVARP

HLOOKUP

ECHO

HOUR

EDATE

HYPGEOMDIST

EFFECT

IF

IMABS

.5

ELSE

ELSE.IF

IMAGINARY

END.IF

IMARGUMENT

EOMONTH

IMCONJUGATE

ERF

IMCOS

ERFC

IMDIV

EVALUATE

IMEXP

EVEN

IMLN

MHHM.LN

EXACT

IMLOG10

MHHM.LOG10

EXP

IMLOG2

MHHM.LOG2

EXPONDIST

IMPOWER

FACT

IMPRODUCT

FACTDOUBLE

IMREAL

FALSE

IMSIN

.
SIN

FCLOSE

IMSQRT

FDIST

IMSUB

FINDS

IMSUM

FINV

INDEX

FISHER

INDIRECT

FISHERINV

INFO

FIXED

INITIATE

FLOOR

INT

FOPEN

INTERCEPT

FORECAST

INTRATE

FORMAT.AUTO

IPMT

FPOS

IRR

FREAD

ISBLANK

FREADLN

ISERR

FREQUENCY

ISERROR

FSIZE

ISEVEN

507

1SLOGICAL

NORMSDIST

ISNA

NORMSINV

ISNONTEXT

NOT

ISNUMBER

NOW

ISODD

NPER

ISPMT

NPV

ISREF

NUMBERSTRING

ISTEXT

OCT2BIN

..

KURT

OCT2DEC

..

LARGE

OCT2HEX

..

LCM

ODD

LEFT

ODDFPRICE

LEFTB

ODDFYIELD

LEN

ODDLPRICE

LENB

ODDLYIELD

LINEST

OFFSET

LN

LN

OR

LOG

LOG

PARSE

LOG 10
LOGEST

LOG 10

PEARSON

PERCENTILE

LOGINV

PERCENTRANK

LOGNORMDIST

PERMUT

LOWER

PI

MATCH

PMT

MAX

POISSON

POWER

MDETERM

PPMT

MDURATION

PRECISION

MEDIAN

PRICE

MID

PRICEDISC

MIDB

PRICEMAT

MIN

PROB

MINA

MINA

PRODUCT

MINUTE

PROPER

MINVERSE

PV

MIPR

QUARTILE

MMULT

QUOTIENT

MOD

RADIANS

MODE

RAND

MONTH

RANDBETWEEN

MROUND

RANK

MULTINOMIAL

RATE

REFTEXT

NA

RELREF

NAMES

REPLACEB

NEGBINOMDIST

RESTART

NETWORKDAYS

RIGHT

NEXT

RIGHTS

NOMINAL

ROMAN

NORM 0 1ST

ROUND

NORMINV

ROUNDDOWN

508

ROUNDUP

TAN

TAN

ROWS

TANH

TANH

RSQ

TBILLEQ

SEARCH

TBILLPRICE

SEARCHB

TBILLYIELD

SECOND

TDIST

SIGN

TEXTREF

SIN

SIN

TIME

SINH

SINH

TIME VALUE

SLN

AMP

TINV

SLOPE

TODAY

SMALL

TRANSPOSE

SOLVER.ADD

..

TREND

SOLVER.CHANGE

..

TRIM

SOLVER.DELETE

..

TRIMMEAN

SOLVER.FINISH

..

TRUE

SOLVER.GET

..

TRUNC

SOLVER.LOAD

TTEST

SOLVER.OK

..

TYPE

SOLVER.OPTIONS

..

UPPER

SOLVER.RESET

..

USDOLLAR

SOLVER.SAVE

VALUE

SOLVER.SOLVE

..

VAR

SPLIT

VARA

SORT

VARP

SQRTPI

VARPA

STANDARDIZE

VDB

STDEV

VLINE

STDEVA

VLOOKUP

STDEVP

VPAGE

STDEVPA

VSCROLL

STEP

WAIT

STEYX

WEEKDAY

SUBSTITUTE

WEEKNUM

SUBTOTAL

WEIBULL

SUM

WORKDAY

SUMIF

XIRR

SUMPRODUCT

XNPV

SUMSQ

YEAR

SUMX2MY2

YEARFRAC

SUMX2PY2

YIELD

SUMXMY2

YIELDDISC

SYD

YIELDMAT

ZTEST

ZTECT

TABLE

509


, Excel
( , ,
), , , ,
, .. , ,
, Excel Maple . , Excel
. , . ,
Maple. , , ,
Excel,
Maple. , ,
. , Excel. , ,
, , () .
, , , , .

, , .


1. .., .. . .:
, 1973.
2. .. .
. . . -. .: , 1969.
3.

. . .:
, 1979.

4. .., .. / . .. . 5- ., .
.: , 2001.
5. ., .. . 2. .: , 1962.
6. .. Excel. M.: "", 2002.
7. A. Maple 6: . BHV, 2001.
8. A. Maple 8. . , 2003.


, 18; 23; 24; 111
, 26
, 22; 49

, 392
, 408; 415
, 408

, 408

, 24; 136
, 393
, 403
, 431

, 219
, 432
, 396

, 187
, 393
, 317
, 319
, 319

Add-Ins, 270
Chart, 21
Data, 21; 40
Debug, 206
Edit, 27; 30; 797
File, 2 7; 2S; 195
Format, 21; 36; 88; 203
Help, 27; 42; 272
Insert, 21; 35; 202
Run, 208
Tools, 21; 38; 209
View, 21; 33; 200
Window, 21; 41; 211
, 219
, 405; 408
,
405; 412
, 476
, 393
, 393
, 405

, 20; 44; 47
, 2 79
,403
, 403
, 403

, 476
, 419

, 20; 44; 97
Debug, 275
Edit, 274
Formatting, 27; 46
Standard, 2 7; 44; 2 72
UserForm, 276
, 20; 26; 102
P

, 23

, 219:247
, 4ft?

, 772
, 720
, 75?
, 755
, 94; 112
, 776
, 314; 346
, 404

, 20
! , 20; 24
, 20; 50

, 431
, 437

Accounting, 58
Currency, 58
Custom, 63
Date, 59
Fraction, 67
General, 56
Number, 57
Percentage, 60
Scientific, 62
Special, 62
Text, 62
Time, 60
-, 718
, 52; 86; 109
, 727
AND0.3SO
AVEDEVQ, 747
AVERAGEQ, 747;244; 404; 407
AVERAGEAQ, 404
BESSELJO, 774

CODE(), 246
COMPLEXQ, 745
CONVERTQ, 143
diff(), 465
dsolve(), 469
EXP(), 229; 381; 393
FORECAST0.47S
fourierO, 4S6
FREQUENCYO. 442
fsolve(), 467; 475
GROWTHQ, 420; 423
), 294; 380
IMABSQ, 746
IMDIVQ, 745
IMPRODUCTQ, 745
IMSUMQ, 746
int(), 466
interp(),500
LineintQ, 497
LINEST(),477;427
LOGESTO,479;423
MAX(),474
MDETERM0.320
MIN(), 756; 474
MINVERSEO,37S;355
MMULTO,379;355;359
Pi(),247
plot(), 475; 497; 500
plot3d(), 450
POWER0.473
PRODUCTO, 453
simplifyQ, 496; 505
SIN(),247
SLOPE(),479
solve(), 467; 47?
splineO, 507
SQRTQ, 747
STANDARDIZE0.396
STDEVQ, 404
STDEVP(),404
STEYX(),479
SUM(), 136; 752; 377; 400
SUMPRODUCT(),394; 454
taylor(), 494
TRANSPOSE(),359
TREND(),47S;422
value(), 499
VAR(),404;407
VARP(), 404
withO, 4S5
, 405; 473
, 392

, 330
, 334
, 332


Microsoft Excel

..
..
..
.. ,
..

""
101509, . , . , . 43, . 1
. . 090230 23.06.99

26.02.2004.
70 100'/ 16 - Times. .
. . . 41,28. .-. . 31,50.
3 000 . 69.
- 6.
191144, -, . , 10.
271-35-42.

Microsoft Excel


Excel


.

.


Excel,
,




VBA.


.


.


,

,

,


.

ISBN



Excel
Maple

.


,

.
,



,
,

,
,

.

Excel


.




.

..



-
,


.
1997
, 1999


.
"Maple 8. "
(- , 2003),

, .
:
,
, ,

,
.

5-8459-0573-7

0401

9 "785845"905734"

www.dialektika.com

Вам также может понравиться