.


:




:

































 

 

 

 


1. deff function




2. fsolve, .

3. , disp.

4. . , . plot. y=0 , , , .

deff('y=F(x)', 'y=sin(x)-cos(x.^2)-sin(2*x)')root=fsolve(1,F)disp(root)x=0.5:0.01:2.5 plot (x,F(x),'-b',root,F(root),'xr',x,0,'-k')   1.1695683

3.5

 

3.5

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

 

3. ,

. . .

1. ( poly)

2. roots.

3. , disp.

4. . , . plot. y=0 , , , .

v=[2 0 4 -6 -3]R=roots(v)disp(R)root=R(3)x=0.5:0.01:2y=2*x.^4+4*x.^2-6*x-3F_root=2*root^4+4*root^2-6*root-3plot(x,y,'-b',root,F_root,'xr',x,0,'-k')   - 0.4129576 + 1.7282075i - 0.4129576 - 1.7282075i 1.2164706 - 0.3905555

3.6.

 

3.6

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

 

4.

. .

1.

2. .

3. , , ( ).

4. , disp.

 

A=[3 1 1;-3 5 6;1 -4 -2]; B=[-4;36;-19]; X=inv(A)*B disp(X) - 3. 3. 2.  

3.7.

 

 

3.7

1. 2.
3. 4.
5. 6.
7. 8.
9. 10.
11. 12.
13. 14.
15. 16.

 





:


: 2017-02-28; !; : 680 |


:

:

,
==> ...

1727 - | 1593 -


© 2015-2024 lektsii.org - -

: 0.015 .