.


:




:

































 

 

 

 


,




 

#include "stdafx.h"

#include <conio.h>

#include <stdlib.h>

#include <stdio.h>

#define _USE_MATH_DEFINES

#include <math.h>

#include <iostream>

#include <cmath>

using namespace std;

/* */

inline double INTEGR(double x){

return x/(x*x+1); }

double integral(double left, double right, double h)

{

float sum=0;

float runner;

for(runner=left+h;runner<right;runner+=h)

sum+=INTEGR(runner);

sum=(sum+0.5*(INTEGR(left)+INTEGR(right)))*h;

 

return sum;

}

 

int main(){

 

setlocale(LC_ALL,"rus_rus.1251");

cout.setf(ios::fixed);

cout.precision(23);

float a, b;

float h;

double n=1;

double x;

 

Z: cout<<" : "<<endl;

cin>>a;

if(!cin.good()){

cout<<"! ! .\n";

cin.clear();

_flushall();

_getch();

goto Z;

}

Q: cout<<" : "<<endl;

cin>>b;

if(!cin.good() || b<=a){

cout<<"! ! .\n";

cin.clear();

_flushall();

_getch();

goto Q;

}

 

x=(b-a)/2;

for(int i=1;i<=23;i++){

h = x/n;

n = n*2;

printf("%.20lf",integral(a,b,h)); printf("\n");}

_getch();

return 0;

}

 

 

, : , . y= y=x/(x^2+1) x=0 x=2 ( lgn):

:

 

 

:

 

 

 

3.1. . lg n, , , .

 

. 3.1.

 

 

3.2. . z, . lg n, , , ,

 

. 3.2.

 

3.3. : lg|zn-zn*|, lg|zn*-zn**| ..

 

 

. 3.3

:

1. y=x/(x^2+1).

2. .

3. .

, y=x/(x^2+1) =0 x=2 .

 

2.

 

 

 

1. ., .., .. . -.: , 2004. -636 .

2. .. . -
.: , 2000.-316:

3. .. .
-XI: 2000.-208

4. . . . .
. / . . , . . .-2-
., ..-.: , 2005.-320 ;

5. .., .., ..
. . I, II. -.: , 1987. -600 .

6. ..
: ..-.:
, 2001.-256.

7. . .
: / . . ,
. . , . . ; : , . .
-., 2005.-224 .

8. .. :
- : , 2006.-50 .

 

 

 





:


: 2016-10-22; !; : 498 |


:

:

: , , , , .
==> ...

1738 - | 1581 -


© 2015-2024 lektsii.org - -

: 0.01 .