.


:




:

































 

 

 

 


.

MATLAB

- , . , .

 

.

 

1. .

 

2. , .

 

3. , , 5.

 

4. , 5, .

 

5. , .

 

6. , 2.

 

7. , 5.

 

8. n .

 

9. , .

 

10. , [a,b].

 

11. , .

 

12. , .

 

13. 5- .

14. .

 

15. , .

 

16. .

 

17. .

18. .

19. , .

 

20. . .

 

21. . .

 

22. . .

 

23.. . .

 

24. . .

 

25.. . .

 

26. , 5, .

 

27. n .

 

28. , .

.

(plotyy). . .

:

 

1 2 a b h
  y1 = sin(x) y2 = exp(x+3)/5000 1 -2π π/20
  y1 = cos(x) y2 = 0.00025e3x 0.6 -2π π/20
  y1 = |tg(x)| + 0.1 y2 = (1+x)6 -2π π/20
  y1 = (x21)/15 y2 = 1+sin(x) -2π π/20
  y1 = (x32)/15 y2 = 5cos(x) -2π π/20
  y1 = x2 10 y2 = 0.025exp(1.2x) -5   0,2
  y1 = 3sin(x) y2=0.015x3 -5   0,2
  y1 = 4sin(x) y2 = 0.05x2     0,2
  y1 = 6sin(x) y2 = 0.01x3 -10   0,1
  y1 = 2+cos(x) y2 = 0.05(x2 + 10cos(x)) -8   0,1
  y1 = sin2(x/3) y2 = 0.01(x2 40sin(x)) -8   0,1
  y1 = cos3(x) y2 = sin(x) + sin(2x) π π/8
  y1 = 0.5x + cos2(x) y2 = sin2(x) + cos(x) π π/8
  y1 = sin(x) + cos2(2x) y2 = x(0.5 + x)exp(0.1x) π π/8
  y1 = |sin(x)|*exp(x/2) y2 = 5x sin(x)     0.1
  y1 = sin(x) y2 = 5cos3(x)   0,1
  y1 = sin(x) y2 = 10cos(x)   0,1
  y1 = exp(x) cos(10x) y2 = exp(x) sin(10x)   0.03
  y2 = exp(x) sin(10x)     0.03
      0.03
      0.03
      0.03
    0.03
    0.01
    0.01
    0.01
    0.01
  y1 = cos3(x) y2 = sin(x) + sin(2x) π π/8

:

 

a) , plot3 (X,Y,Z);

b) , mesh (X,Y,Z);

c) , meshc (X,Y,Z);

d) , surf (X,Y,Z).

, . colorbar . .

:

x,y
  z=sin(x)*cos(y) [-2π; 2π] π/8
  z=sin(x/2)*cos(y) [-2π; 2π] π/8
  z=sin(2*x)*cos(y) [-2π; 2π] π/10
  z = sin(x)*cos(y/2) [-2π; 2π] π/10
  z = sin(x/2)*cos(2y) [-2π; 2π] π/10
6 z = sin(2*x)*cos(2y) [-2π; 2π] π/8
7 z = (1+sin(x))*(sin(y)) [-2π; 2π] π/10
  z = (sin(x))*cos(y) [-2π; 2π] π/8
  z = (sin(x))*|cos(y)| [-2π; 2π] π/10
  z = (sin(x))*y [-2π; 2π] π/12
  z = (sin(x))*|y| [-2π; 2π] π/10
  z = (sin(x))*sin(y) [-2π; 2π] π/16
  z = (sin(x))*|sin(y)| [-2π; 2π] π/12
  z = (sin(x))*(1+y) [-2π; 2π] π/8
  z = (sin(x))*|y+0.5| [-2π; 2π] π/10

.

1. Mat f 2(x) f 3(x) = f 1(x) - f 2(x).

2. f 1(x) f 2(x) XY . , f 1(x) f 2(x). , .

3. , fzero f3(x). . .

4. .

:

3- ai
a 3 a 2 a 1 a 0
    -1   -1
      -2 -15
        -1
      -8 -70
    -4    
    -5    
    -3    
    -6    
    -9    
    -7    
  -1 -4    
  -2 -6 -7  
  -3 -9 -8  
  -4     -75
  -5     -1

 

 

 

 

 

:

.

 

:

 

, 2012

 



<== | ==>
| 2. .
:


: 2016-11-12; !; : 345 |


:

:

,
==> ...

1618 - | 1607 -


© 2015-2024 lektsii.org - -

: 0.026 .