logo

Crowdly

Browser

Add to Chrome

Informatica an_3 P-2333

Looking for Informatica an_3 P-2333 test answers and solutions? Browse our comprehensive collection of verified answers for Informatica an_3 P-2333 at moodle1.ceiti.md.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Puneti semnul corespunzator pentru metoda injumatatirii:

bn-an=((b-a)/2) Ответ Вопрос 1 e

unde n-numarul de injumatatiri

View this question

Puneti semnul corespunzator pentru metoda injumatatirii:

bn-an=((b-a)/2) Răspuns 22 întrebare e

unde n-numarul de injumatatiri

View this question

In programul de mai jos se ia o functie la tema Metoda coardelor. Scrieti instructiunea ce lipseste:

#include<iostream.h>

#include<math.h>

#define eps 0.00000000001

#define iter 200

double f(double x)

{

return x*x*x-2*x*x*cos(x)+x-3;

}

void main()

{

unsigned char i;

double x,x0,x1,a,b,y;

cout<<"a=";cin>>a;cout<<"b=";cin>>b;

i=0;x0=a;x1=b;x=x0;y=f(x);

if (

Answer Question 24

)

{

while ( (i<=iter) && ((y<-eps) || (y>eps)) )

{

x=x0-f(x0)*(x1-x0)/(f(x1)-f(x0));

y=f(x);

if (f(x0)*y<0) x1=x;

else x0=x;

cout<<"\n\nf("<<x<<")="<<f(x)<<" la iteratia "<<(int)i;

i++;

}

if (i>iter) cout<<"problema nu se poate rezolva in nr.maxim de iteratii";

} else cout<<"interval invalid";

}

View this question

Puneti semnul corespunzator pentru metoda injumatatirii:

bn-an=((b-a)/2) Răspuns 18 întrebare e

unde n-numarul de injumatatiri

View this question

Programul dat este la metoda injumatatirii intrervalului:

Scrieti instructiunile ce lipsesc:

#include<iostream.h>

#include<math.h>

#define eps 0.00000000001

#define iter 200

double f(double x)

{

return x*x*x-2*x*x*cos(x)+x-3;

}

void main()

{

unsigned char i;

double x,x0,x1,a,b,y;

cout<<"a=";cin>>a;cout<<"b=";cin>>b;

i=0;x0=a;x1=b;x=x0;y=f(x);

if (

Răspuns 15 întrebare

)

{

while ( (i<=iter) && ((y<-eps) || (y>eps)) )

{

x=(x0+x1)/2 ;

y=f(x);

if (f(x0)*y<0) x1=x; else x0=x;

cout<<"\n\nf("<<x<<")="<<f(x)<<" la iteratia "<<(int)i;

i++;

}

if (i>iter) cout<<"problema nu se poate rezolva in nr.maxim de iteratii";

} else cout<<"interval invalid";

}

View this question

Metoda coardelor de rezolvare a ecuaţiilor algebrice şi transcendente se bazează pe divizarea intervalului pe care este căutată soluţia ecuaţiei în părţi:

100%
0%
0%
0%
View this question

In programul de mai jos se ia o functie la tema Metoda coardelor. Scrieti instructiunea ce lipseste:

#include<iostream.h>

#include<math.h>

#define eps 0.00000000001

#define iter 200

double f(double x)

{

return x*x*x-2*x*x*cos(x)+x-3;

}

void main()

{

unsigned char i;

double x,x0,x1,a,b,y;

cout<<"a=";cin>>a;cout<<"b=";cin>>b;

i=0;x0=a;x1=b;x=x0;y=f(x);

if (

Răspuns 24 întrebare

)

{

while ( (i<=iter) && ((y<-eps) || (y>eps)) )

{

x=x0-f(x0)*(x1-x0)/(f(x1)-f(x0));

y=f(x);

if (f(x0)*y<0) x1=x;

else x0=x;

cout<<"\n\nf("<<x<<")="<<f(x)<<" la iteratia "<<(int)i;

i++;

}

if (i>iter) cout<<"problema nu se poate rezolva in nr.maxim de iteratii";

} else cout<<"interval invalid";

}

View this question

Potriviti raspunsurile:

View this question

In programul de mai jos se ia o functie la tema Metoda coardelor. Scrieti instructiunea ce lipseste:

#include<iostream.h>

#include<math.h>

#define eps 0.00000000001

#define iter 200

double f(double x)

{

return x*x*x-2*x*x*cos(x)+x-3;

}

void main()

{

unsigned char i;

double x,x0,x1,a,b,y;

cout<<"a=";cin>>a;cout<<"b=";cin>>b;

i=0;x0=a;x1=b;x=x0;y=f(x);

if (

Răspuns 18 întrebare

)

{

while ( (i<=iter) && ((y<-eps) || (y>eps)) )

{

x=x0-f(x0)*(x1-x0)/(f(x1)-f(x0));

y=f(x);

if (f(x0)*y<0) x1=x;

else x0=x;

cout<<"\n\nf("<<x<<")="<<f(x)<<" la iteratia "<<(int)i;

i++;

}

if (i>iter) cout<<"problema nu se poate rezolva in nr.maxim de iteratii";

} else cout<<"interval invalid";

}

View this question

Puneti semnul corespunzator pentru metoda injumatatirii:

bn-an=((b-a)/2) Answer Question 7 e

unde n-numarul de injumatatiri

View this question

Want instant access to all verified answers on moodle1.ceiti.md?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome