please do question 32 Using the following function prototype which statement abo
ID: 3843166 • Letter: P
Question
please do question 32
Using the following function prototype which statement about the argument passed to parameter A is true void F(const int A[], int Cnt); The argument is modified when changes are made to parameter A in function F. The argument passed to parameter A must always have the same number of elements, every time function F is invoked. Changes can not be made to parameter A in function F. Every element of the argument passed to parameter A must be initialized prior to invoking function F Given the declaration char Sentence[15]; and that the data entered from the keyboard is: The game is today what is the value stored into sentence by the statement: cin >> Sentence; The The game is The game is today None of the above. The Newton-Raphson method algorithm for locating the root of a function is guaranteed to locate a root in a known number of iterations. TRUE FALSE A better approximation of the area under a curve is by decreasing the trapezoid number used. TRUE FALSE Which of the following is a disadvantage of the Newton-Raphson method? It converges more rapidly than many other methods. It requires you to be able to determine the derivative of the function which may not be easy to do. It may diverge if the guess is not close enough to the root of the equation You have to guess many times to get a single root. If a subscript in a C++ program is outside of the declared range for that array an error message specifying that the subscript is out of range will always be generated. True False Assuming the declaration statement char sentence[] = "Breath deeply"; the statement coutExplanation / Answer
Ans 32.
one of the disadvantages can be finding out the derivative of the function which may not be easy to determine,one must have to find out the derivative to find out the roots, also if the initial guess is very close to the root then it may diverges(root jumping).
so answer will be (b) only.
advantages:
it requires only one guess.
it converges more rapidly(fastest) than others.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.