1. f (x).
2. F (x) f (x) .
3. , x.
3.1. , .
3.2. a b, . .
4. g (x) . ( simplify).
5. g (x) f (x) . . [ a, b ].
6. f (x) [ a, b ] :
6.1. f (x).
6.2. -, .
6.3. , .
7. 4. . 4. .
7.1. 1. .
7.2. 2. .
7.3. . , :
;
;
.
f (x) | f (x) | f (x) | |||
1. | 6. | 11. | |||
2. | 7. | 12. | |||
3. | 8. | 13. | |||
4. | 9. | 14. | |||
5. | 10. | 15. |
III. MATLAB
MATLAB
1. (. 44) :
;
;
CurrentFolder. . !
Home Environment Layout. ( Default) :
. 44.
CurrentFolder . , , . .
Workspace ;
CommandWindow ;
CommandHistory . Layout CommandHistory Docked.
Home Environment Preferences Fonts.
2. CommandWindow . , >>. . {Enter}, {Ctrl + C} {Ctrl+Break}.
2.1.
|
|
;
, ;
;
, !
, .
2.2. = . a 5. | >> a=5 a= 5 |
2.3. .
who .
whos : , , .
>> whosa | |||
Name | Size | Bytes | Class |
1 x 1 | 8 | double array |
2.4. . a , double- 11.
: , MATLAB, .
( 7 ).
2.5. format <> Home Environment Preferences Command Window Numeric format. short . :
short, long 4 15 ;
short e, long e 4 15 ;
short g, long g .
:
, () . ;
.
2.6. ; . | >> a=5; >> |
2.7. , ; | >> a=5,b=7,c=1 >> a=5;b=7;c=1; |
2.8. disp . | >> disp(a) >> a |
2.9. clear .
clear< > .
clc Command Window.
2.10. ans , , . . | >> 3+a ans = 8 |
2.11. ... ( ) , , , ., . | >> f=d*a +c*b... /a |
2.12. % , .
2.13. .
2.14. :
, | ||
π | pi | 3.14159265 |
i, j | ||
Inf | exp(1000) | |
Not-a-Number | NaN | InfInf |
eps |
3. MATLAB (>1000) . . 36. .
MATLAB | ||
, , | cot(x), asin(x), acos(x) | |
, | sinh(x), cosh(x) | |
, , | log(x), log2(x), log10(x) log(x)/log(a) | |
, , | sqrt(x), nthroot(x, n), x^a | |
, , | exp(x), pow2(x), a^x | |
, , | , , [ x ] | abs(x), sign(x), round(x) |
. nthroot(x, n) ( ). , n .
|
|
4. .
, Enter, . Enter.
, , , , . CommandHistory, .
5. M -. , m (M-), . . -. NewScript Home M-. , , F9 (EvaluateSelection) CommandWindow , . M-:
.
;
: , , ;
F9 ;
M- , .