Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1)How many integration methods were explained in class? A)4 2 1 3 2)Which numeri

ID: 3865271 • Letter: 1

Question

1)How many integration methods were explained in class?

A)4

2

1

3

2)Which numerical method was implemented in class?

Trapezoidal rule

Secant

Regula falsi

Simpson rule

3)What is required in order to find the root of a function by numerical methods?

The function value at the start of the interval and the function value at the end of the interval must be of opposite signs

The function value at the start of the interval and the function value at the end of the interval must be of the same sign

The number of iterations must be very large

D)The epsilon value must be very small

4)Which method is NOT used to find th root of an equation?

A)Bisection

Regula falsi

Trapezoidal rule

D)Secant

5)Consider the class inheritance.

class B{
public:
B();
B(int nn);
void f();
void g();
private:
int n;
};

class D: public B
{
public:
D(int nn, float dd);
  void h();
private:
double d;
};

How many private members does an object of class D have?

4

1

2

0

A)4

B)

2

C)

1

D)

3

Explanation / Answer

1)

                There are 6 ways to solve integration problems

I don’t all these topics are covered or not in your class

2)

                Mostly in every class Trapezoidal rule and Simpson rule.

                But I don’t which one implemented in your class

3) A

                In order to find the root of a function by numerical methods, the function value at the start interval and the function value at the end of the interval must be of opposite signs.

                4) C

                                Finding roots for non-linear equation using following methods:

                                Bisection

                                Newton – Raphson

                                Secant

                                False Position

                                Therefor Trapezoidal rule is not used.

                5) C

                                Class D also contains the variable of Class B

                                In class D – one private member

                                In class B – one private member

                                Totally 2