Register to reply 
Matlab:Chapra , ROOTS [ Bracketing Method] Help needed. 
Share this thread: 
#1
Feb2708, 03:22 PM

P: 54

Hello guys can anyone help me solve this in matlab please ?



#2
Feb2908, 09:42 AM

P: 212

What are you having trouble with? Understanding the algorithm or implementing in Matlab?



#3
Feb2908, 03:30 PM

P: 54

Thanks for your reply. Im having trouble implementing the code into matlab and getting correct answers. May you guide me through please ?



#4
Feb2908, 04:48 PM

P: 212

Matlab:Chapra , ROOTS [ Bracketing Method] Help needed.
If I had to find a zero of a simple function, say, x^23, using bisection, this is what I would write.



#5
Mar108, 02:42 AM

P: 54

Thanx a lot.
2 questions: Q1) How do i input the equation ? Wherever it says "y = x^23" i replace it with the equation in the problem ? Q2) how do i get an error<0.00005 


#6
Mar108, 10:00 AM

P: 212




#7
Oct710, 11:13 AM

P: 2

(1) Use a centered difference approximation O(h2) to estimate the second derivative of the function .
(a) Perform the evaluation at x = 2 using step sizes of h = 0.2 and 0.1. Compare your estimates with the true value of the second derivative. Interpret your results on the basis of the remainder term of the Taylor series expansion. (b) Write a Matlab program that evaluates the second derivative of the function (using a centered difference approximation O(h2)) on the interval [4 , 4] with a step sizes of h = 0.2 and 0.1. Plot the second derivative of the function obtained by the centered difference method along with a graph obtained from a theoretical calculation. Submit the solution of part (a) as a hard copy. For part (b), submit a fully functional program to the blackboard, and submit a copy of the program and accompanying figures as a hardcopy. 


#8
Oct710, 11:16 AM

P: 2

(1) Use a centered difference approximation O(h2) to estimate the second derivative of the function .
(a) Perform the evaluation at x = 2 using step sizes of h = 0.2 and 0.1. Compare your estimates with the true value of the second derivative. Interpret your results on the basis of the remainder term of the Taylor series expansion. (b) Write a Matlab program that evaluates the second derivative of the function (using a centered difference approximation O(h2)) on the interval [4 , 4] with a step sizes of h = 0.2 and 0.1. Plot the second derivative of the function obtained by the centered difference method along with a graph obtained from a theoretical calculation. Submit the solution of part (a) as a hard copy. For part (b), submit a fully functional program to the blackboard, and submit a copy of the program and accompanying figures as a hardcopy. 


Register to reply 
Related Discussions  
Finite Difference Method using Matlab  Math & Science Software  28  
Matlab:Chapra , Help needed.  Math & Science Software  1  
The Method of Frobenius  Find roots of indicial EQ and 1st terms of series solution  Calculus & Beyond Homework  1  
A method to compute roots other than sqrt.  General Math  4  
Help needed fast :S Characteristics of the power method and the inverse power method  Calculus & Beyond Homework  1 