.


:




:

































 

 

 

 


 

-

17

 

1 2 3 4
       

 

 

:

14-22

.

:

..

 

2012

:

1. 1..3-5

2. 26-10

3. 3.11-14

4. 4.15-17

 


 

1

1. :

if , . , f1 (x,y), f2 (x,y). . x y .

 

 

X
 
 
 
-3
  y + x = 4
 
 
y

 

 


2. .

P AAAAZHJzL2Rvd25yZXYueG1sTI/BTsMwDIbvSLxDZCRuLCWDFUrTCRAFoZ0YCK5ZY9pqiVM12Vbe HiMOcLT96ff3l8vJO7HHMfaBNJzPMhBITbA9tRreXuuzKxAxGbLGBUINXxhhWR0flaaw4UAvuF+n VnAIxcJo6FIaCilj06E3cRYGJL59htGbxOPYSjuaA4d7J1WWLaQ3PfGHzgx432GzXe+8huwpzB9d XZvt+/PdZfqglV095Fqfnky3NyASTukPhh99VoeKnTZhRzYKp2Geq2tGNVzkCgQDv4sNk0otQFal /F+h+gYAAP//AwBQSwECLQAUAAYACAAAACEAtoM4kv4AAADhAQAAEwAAAAAAAAAAAAAAAAAAAAAA W0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQA4/SH/1gAAAJQBAAALAAAAAAAAAAAA AAAAAC8BAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQDF3tgG/wEAAAYEAAAOAAAAAAAAAAAA AAAAAC4CAABkcnMvZTJvRG9jLnhtbFBLAQItABQABgAIAAAAIQA4bQZT3QAAAAoBAAAPAAAAAAAA AAAAAAAAAFkEAABkcnMvZG93bnJldi54bWxQSwUGAAAAAAQABADzAAAAYwUAAAAA " strokecolor="black [3040]" strokeweight="1.5pt">

x, y
x, y, f

 


 
x, y

 

 

------------[ ((x<=3&&y<=3&&x>=0&&y>=0)

||(x<=0&&x>=-3&&y>=0&&y<=3)

||(x>=0&&y<=0&&(x*x+y*y)<=4))

f=sin(x)*sin(x)+log(fabs(y))
f=(x+sin(y))/cos(x*y)

 

 

f=, f

 


 


 

 

3. .

#include<iostream>

#include<math.h>

using namespace std;

void main ()

{

setlocale(LC_ALL,"rus_rus.1251");

float x,y,f;

cout<<" x,y"<<endl;

cin>>x>>y;

if ((x<=3 && y<=3 && x>=0 && y>=0)

|| (x<=0 && x>=-3 && y>=0 && y<=3)

|| (x>=0 && y<=0 && (x*x+y*y)<=4))

{

f=sin(x)*sin(x)+log(fabs(y));

cout<<""<<endl;

}

else

{

f=(x+sin(y))/cos(x*y);

cout<<" "<<endl;

}

cout<<"f="<<f;

 

}

4. :

x, y

f= 1,92543

 

 


 

2

 

1. :

for y. if . m n . i j , .

a)

 

n>=2

)

 

2. .

)

s,a,p, pi=3.1415, n,k,i  
n
n>2,n
T sXBwJBF4b/uYIOraxF5lMvtxHlGYSYq4u7bVISmUxRMZKZUdTR+dev9M+/u/5uoHAAAA//8DAFBL AwQUAAYACAAAACEAn/smId4AAAALAQAADwAAAGRycy9kb3ducmV2LnhtbEyPTU7DMBCF90jcwRok NojaNBA1IU4FRcAGkNpyACcekoh4HMVuGm7PIBawnDef3k+xnl0vJhxD50nD1UKBQKq97ajR8L5/ vFyBCNGQNb0n1PCFAdbl6UlhcuuPtMVpFxvBJhRyo6GNccilDHWLzoSFH5D49+FHZyKfYyPtaI5s 7nq5VCqVznTECa0ZcNNi/bk7OA3bZHJv1UudJa/Jhcs2D8/3T5a0Pj+b725BRJzjHww/9bk6lNyp 8geyQfQarpdpxqiGm0TxKCZ+lYqVLFUgy0L+31B+AwAA//8DAFBLAQItABQABgAIAAAAIQC2gziS /gAAAOEBAAATAAAAAAAAAAAAAAAAAAAAAABbQ29udGVudF9UeXBlc10ueG1sUEsBAi0AFAAGAAgA AAAhADj9If/WAAAAlAEAAAsAAAAAAAAAAAAAAAAALwEAAF9yZWxzLy5yZWxzUEsBAi0AFAAGAAgA AAAhAL0xAGAYAgAA4gMAAA4AAAAAAAAAAAAAAAAALgIAAGRycy9lMm9Eb2MueG1sUEsBAi0AFAAG AAgAAAAhAJ/7JiHeAAAACwEAAA8AAAAAAAAAAAAAAAAAcgQAAGRycy9kb3ducmV2LnhtbFBLBQYA AAAABAAEAPMAAAB9BQAAAAA= " strokeweight="1.5pt">
 

K=2; k<=n; k++
i=1;i<=(k-1); i++
a=sin(pi*i/k)
s+=p
p*=a
s=0

 

 


p=1
s=, s

 

 


)

s+=exp(cos(pi*i/8*m))
s,pi=3.1415 I,n,m    
n>2, m
n,m
i=2; i<=m*n; i++
s=,s
s=0

3. .

)

#include<iostream>

#include<math.h>

using namespace std;

void main()

{

setlocale(LC_ALL,"rus_rus.1251");

float s,a,p,pi=3.1415;

int n,k,i;

cout<<" n > 2"<<endl;

cin>>n;

s=0;

for(k=2; k<=n;k++)

{

p=1;

for(i=1; i<=(k-1); i++)

{

a=sin(pi*i/k);

p*=a;

}

s+=p;

}

cout<<"s="<<s;

}

)

#include<iostream>

#include<math.h>

using namespace std;

void main()

{

setlocale(LC_ALL,"rus_rus.1251");

float s,pi=3.1415;

int i,n,m;

cout<<" n>2 m "<<endl;

cin>>n>>m;

s=0;

for(i=2; i<=m*n; i++)

{

s+=exp(cos(pi*i/8*m));

}

cout<<"s="<<s;

}

4. .

)

n > 2

S= 2.25004

)

n>2 m

2 3

s=3.35391


 

3

1. :

: 10 ; . pow() ! , .. D(n) . x .

: (

:

:

: 0.1 x 1

 

2. D(n)

D= = =

3. :

s,b,x,n,y,d,a

 


0.1<=x<=1

 
x


s=0 y=1
n=1;n<=10;n++


-----------[d=((n*n+1)*x)/(2*n*((n-1)*(n-1)+1))]
 

 

y*=d
s+=y
" ",n, " ",d


 

 
=, b
= , a
b=fabs(a-s)
a=(x*x/4+x/2+1)*exp(x/2)


------------[" = ",s]  

4. .

#include<iostream>

#include<math.h>

using namespace std;

void main()

{

setlocale(LC_ALL,"rus_rus.1251");

int n;

float d,a,x,s,b,y;

cout<<" 0.1<=x<=1"<<endl;

cin>>x;

s=1;

y=1;

for(n=1;n<=10;n++)

{

d=((n*n+1)*x)/(2*n*((n-1)*(n-1)+1));

y*=d;

s+=y;

cout<<" "<<n<<" "<<d<<endl;

}

a= (x*x/4+x/2+1)*exp(x/2);

b=fabs(a-s);

cout<<" = "<<a<<endl;

cout<<" = "<<b<<endl;

cout<<" = "<<s<<endl;

}

5. .

0.1<= x<=1

0.66

1 0.66

2 0.4125

3 0.22

4 0.14025

5 0.100941

6 0.0782692

7 0.0637066

8 0.0503625

9 0.0462564

10 0.0406463

= 2,00146

= 0

= 2.00146


 

4

 

1. :

, , .

 

2. :

 
max=0; min=100; xmax=0; ymin=0;
i=1;i<6; i++
j=1; j<6; j++
a[i][j]=rand()%89+10
a[i][j],
 
 
-------------[max,min,xmin,xmax,ymin,ymax, i,j,a[6][6]]

 

 
j=1; j<6; j++
i=1; i<6; i++
a[i][j]>max
ymax=j
max=a[i][j]
xmax=i
a[i][j]<min
 
 
 

 


 



min=a[i][j]
xmin=i
ymin=j
 
 
--------[" = ",min," = "xmin," = ",ymin]
------[ =,max," = ",xmax," = "<<ymax]

3. .

#include<iostream>

#include <math.h>

using namespace std;

void main ()

{

setlocale(LC_ALL,"rus_rus.1251");

int max,min,xmin,xmax,ymin,ymax,i,j,a[6][6];

max=0;

min=100;

xmax=0;

ymin=0;

for (i=1;i<6;i++)

{

for (j=1;j<6;j++)

{

a[i][j]=rand()%89+10;

cout<<a[i][j]<<" ";

}

cout<<endl;

}

cout<<endl;

for (i=1;i<6;i++)

for (j=1;j<6;j++)

{

if (a[i][j]>max)

{

max=a[i][j];

xmax=i;

ymax=j;

}

if (a[i][j]<min)

{

min=a[i][j];

xmin=i;

ymin=j;

}

}

cout<<" = "<<max<<endl<<" = "<<xmax<<endl<<" = "<<ymax<<endl;

cout<<" = "<<min<<endl<<" = "<<xmin<<endl<<" = "<<ymin<<endl;

}

4. .

51 54 25 77 44

70 96 87 94 88

19 31 62 16 92

56 68 26 31 17

94 18 85 74 35

= 96

= 2

= 2

= 16

= 3

= 4



<== | ==>
|
:


: 2016-12-18; !; : 431 |


:

:

, .
==> ...

1679 - | 1457 -


© 2015-2024 lektsii.org - -

: 0.092 .