.


:




:

































 

 

 

 


. , solve




, solve. . , .

solve({eq1,eq2,},{x1,x2,})

, solve - name. assign(name). .

, , . implicitplot3d.

:

implicitplot3d(expr1,x=a..b,y=c..d,z=p..q,<options>);

implicitplot3d(f,a..b,c..d,p..q,<options>);

 

f, expr1 , ;

a,b,c,d,p,q ;

options , .

solve . :

> solve({x+y>=2,x-2*y<=1,x-y>=0,x-2*y>=1},{x,y});

 

1

sin(x),sin(x)/x, sin(x3/100) .

> plot([sin(x),sin(x)/x, sin(x^3/100)],
x=10..10,color=[black,blue,red],style=[line,line,point]);

5.2.

 

.5.2

2

h2 .

> plot3d(h^2,a=-Pi..Pi,h=-5..5, coords=cylindrical, style=patch, color=sin(h));

5.3

.5.3

3

2*sin(x*y), x^2+y^2-10, -x^2-y^2+10

> smartplot3d(2*sin(x*y),x^2+y^2-10,-x^2-y^2+10);

5.4.

.5.4 ,

4

y=2x2+1.25x-3.2. e = 10-5.

Maple:

> restart;

> fn:=2*x^2+1.25*x-3.2; #

> plot(fn,x=-4..4,y=-5..15);#

 

 

> ans:=evalf(solve(fn,x),5);# P ans

 

 

> x1=ans[1]; #

 

> x2:=ans[2]; #

 

> subs(x=ans[1],fn););#

 

> subs(x=ans[2],fn););#

 

5

y=sin(x2)+cos(x2). [-5..5] .

 

Maple:

> restart;

> fn:=sin(x^2)+cos(x^2); #

 

> plot(fn,x=-5..5); #

 

 

> ans:=solve(fn,x); #P ans

> _EnvAllSolutions:=true;#

> ans:=solve(fn,x);

> x1:=ans[1]; #

> x2:=ans[2]; #

> x1*x2; #

 

6

(ij) (Y) (, , ) (xij). 5.1.

 

5.1.

- - , . .
     
  0,1 0,3 0,2  
  0,2 0,2 0,3  
  0,1 0,1 0,4  

 

,

X AX = Y, (5.1)

;

Y ;

.

ij i- j- .

ij i- j- .

, (5.1)

= Y (5.2)

( )X = Y. (5.3)

 

(5.3) :

X1, X2, , Xn

 

= ( )-1Y; (5.4)

 

Y1, Y2, , Yn X1, X2, , Xn

 

Y = (E A)X. (5.5)

 

5.1 :

 

X1 = 0.1X1 + 0.3X2 + 0.2X3 + 36

X2 = 0.2X1 + 0.2X2 + 0.3X3 + 11

X3 = 0.1X1 + 0.1X2 + 0.47X3 + 8

 

, :

 

X1 - 0.1X1 - 0.3X2 - 0.2X3 = 36

X2 - 0.2X1 - 0.2X2 - 0.3X3 = 11

X3 - 0.1X1 - 0.1X2 - 0.4X3 = 8

 

 

0.9X1 - 0.3X2 - 0.2X3 = 36

- 0.2X1 + 0.8X2 - 0.3X3 = 11

- 0.1X1 - 0.1X2 + 0.6X3 = 8

 

.

solve Maple.

 

Maple:

> sys:={0.9*x1-0.3*x2-0.2*x3=36,-0.2*x1+0.8*x2-0.3*x3=11,-0.1*x1-0.1*x2+0.6*x3=8}; #

 

> ans:=solve(sys,{x1,x2,x3}); # ans

 

> subs(ans={x1,x2,x3},sys); #

 

, X1, X2, X3 60, 40 30 . . .

 

1. (. 5.2). , e = 10-4.

 

5.2

   
   
   
   
   
   
   
   
   
   

 

2. (. 5.3).

 

5.3

   
   
   
  9
5  

3. .

 

(ij) (Y) (, , ) (xij).

, (Y1), .

 

1

, aij Y, .. Y1, %
           
  0,1 0,3 0,4   +20
  0,2 0,2 0,5    
  0,2 0,2 0,1    

 

2

, aij Y, .. Y1, %
           
  0,2 0,2 0,1    
  0,5 0,3 0,2   +10
  0,2 0,1 0,4    

3

, aij Y, .. Y1, %
           
  0,3 0,4 0,2    
  0,2 0,1 0,3   +25
  0,1 0,5 0,2    

 

4

, aij Y, .. Y1, %
           
  0,2 0,4 0,4    
  0,1 0,5 0,2    
  0,1 0,2 0,1   +10

5

, aij Y, .. Y1, %
           
  0,1 0,4 0,5   -5
  0,1 0,5 0,4    
  0,2 0,2 0,1    

 

6

, aij Y, .. Y1, %
           
  0,1 0,3 0,4   +10
  0,2 0,2 0,5    
  0,2 0,2 0,1    

7

, aij Y, .. Y1, %
           
  0,3 0,1 0,1    
  0,4 0,3 0,5   +5
  0,5 0,2 0,1    

 

8

, aij Y, .. Y1, %
           
  0,2 0,3 0,3    
  0,1 0,1 0,1    
  0,4 0,5 0,4   +15

 

9

, aij Y, .. Y1, %
           
  0,1 0,5 0,4    
  0,2 0,2 0,1   -10
  0,2 0,4 0,4    

 

10

, aij Y, .. Y1, %
           
  0,2 0,2 0,1   -15
  0,5 0,3 0,2    
  0,2 0,4 0,3    

 

4. (. 5.4).

 

5.4.
   
   
   
   
   

 

5. (. 5.5):

 

5.5

  f = 2∙sin(xy), x=-Pi..Pi, y=-Pi..Pi   f = Sin(x2+(y 1)2) x=-2..2, y=-1..3
  f = cos(x+y)-1 x=-4..4, y=-4..4   f=(exy)xy x=-1..1,y=-1..1
  f = Cos(tx) ∙sin(ty) x=-Pi..Pi, y=-Pi..Pi, t=1..4   f = sin((x+2)t) x=-10..10, t=1..20,n=1..50
  f = Sin(xy) x=-Pi..Pi, y=-Pi..Pi   f=sin(x)×cos(x)×tan(x×y) x=-4..4, y=-4..4
  f= x = -10..10, y = =-Pi..Pi, t=1..4   f = x=-4..4, y=-4..4

 





:


: 2016-09-03; !; : 430 |


:

:

,
==> ...

1976 - | 1889 -


© 2015-2024 lektsii.org - -

: 0.048 .