-
28
: | : |
. C-21 | . |
.. | .. |
2012
. 1
1.Mathcad. . . 2
1.1.Mathcad. . 2
1.1.1.Mathcad 2001. 2
1.1.2. . 2
1.2. . 3
1.2. . 4
2.VBA: TEXT BOX.. 6
2.1.Textbox. 6
2.2. Textbox. 6
2.3. Textbox. 7
3. . 8
3.1. . 8
3.2. . 8
3.3. . 9
3.3.1. , , , . 10
3.3.2. () 10
3.3.3. ( ). 15
3.4. . 16
3.4.1. , , , . 16
3.4.2 () 16
3.4.3. ( ). 20
3.5. ( ). 21
. 24
: 25
, , , , , , , .
Visual Basic for Application (VBA) - - , Office. VBA Office , Office .
Ms Word Excel . , , Office, : VB, ++ .
- Microsoft Power Point, .
: - Visual Basic, MS Excel. Windows. Windows: . . .
|
|
1.Mathcad. .
1.1.Mathcad.
Mathcad , , .Mathcad (MIT), Mathsoft, 2006 PTC (Parametric Technology Corporation).Mathcad . , . Mathcad ( 13.1 ) Maple (MKM, Maple Kernel Mathsoft). 14 MuPAD. , , . - WYSIWYG (What You See Is What You Get , ). , -, Mathcad , , . Mathcad , .Mathcad , . .NET XML Mathcad - . (e-Book). 1.8 .
Mathcad 2001
Mathcad 2001 Windows XP, , Mathcad- , , .
1. , , , Mathcad , . Mathcad 2001i ;
2. DAQ- National Instruments;
3. , , : , , ;
|
|
4. MathML, , , -, ;
5., Radau . , ;
6. . Mathcad , , Mathcad .
1.2.
, Given :
- ( :=).
- Given.
- .
- .
- Find, Minerr, Maximize, Minimize.
. . , . expr_left=expr_right = ( Ctrl+= ). , .
:
- Find(v1,v2,,vn) - ;
- Minerr(v1,v2,,vn) - .
. , , . .
(. 1.1.) :
1.1.
Minerr . , . .
1.2.
MathCAD Minerr, Minimize Maximize. , Find . .
. . f(x), . (-2,5). , , , ( ).
MathCAD . ( ), (), , () , . , .
|
|
, , .
- Minimize (f, xi,...,) - , f ;
- Maximize (f, xi,...,) - , f .
2.VBA: TEXT BOX
2.1.Textbox
(TextBox) (. . 1.2).
1.2. ( TextBox)
:
1. - , (, , ..);
2. ( , Excel ..);
3. , ( ).
2.2. Textbox
Value ( Text, ) , . , , .
AutoSize , . , .
ControlSource . , , Excel, Recordset .. , ControlSource.
ControlTipText , , . ( ).
Enabled False, ( , , ). ( ), , - .
Locked , , . , ..
MaxLength , . AutoTab .
MultiLine . , , InputBox.
PasswordChar , "" . , , .
ScrollBars ( ). , .
WordWrap , MultiLine True. .
|
|
, .
Change ( ). (, , ..)
2.3. Textbox
AppendText- . ( TextBoxBase.)
BeginChange- . ( TextBoxBase.)
Clear- .
Copy- , , Clipboard. ( TextBoxBase.)
Cut- Clipboard. ( TextBoxBase.)
Endchange- . ( TextBoxBase.)
Select- .
Undo- . , .( TextBoxBase.)
Findname- . ( FrameworkElement.)
Paste- , . ( TextBoxBase.)
3. 3.1. 3.2. |
3.3.
, , ,
: Label, CommandButton, TextBox, Spinbutton.
Label () , , .
TextBox () .
CommandButton () , , , . .
Spinbutton .