0% found this document useful (0 votes)
27 views1 page

Bisectionmethod 127

The document discusses solving algebraic and transcendental equations using bisection, Newton-Raphson, and secant methods. It provides an example of using the bisection method to find the real root of x^3-5x+1=0 between 0 and 1, performing 5 iterations to get an approximation of 0.21875.

Uploaded by

Shokeen Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Bisectionmethod 127

The document discusses solving algebraic and transcendental equations using bisection, Newton-Raphson, and secant methods. It provides an example of using the bisection method to find the real root of x^3-5x+1=0 between 0 and 1, performing 5 iterations to get an approximation of 0.21875.

Uploaded by

Shokeen Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Name : MD Shokeen Khan

Roll no: 12710102819


Class : ECE2 4th sem
Date : 16 April 2021
#Practical : solution of Algebraic & Transcendental equation
(1) Bisection method
(2)Newton Raphson method
(3)Secant method & regula false

(1) Bisection method :


Q1. Find the real root of the equation x^3-5x+1=0 in (0,1)using
bisection method. Perform 5 iterations.

In[41]:= a0 = 0;(* starting value of root containing interval *)


b0 = 1;
n = 5;(* no.of iteration *)
f[x_] := x ^ 3 - 5 x + 1;
Print ["The number of required iteraion is = ", n];
a = N[a0 ]; b = N[b0 ];
For [i = 1, i ≤ n, i ++ ,
c = (a + b) / 2;
If [Sign [f[a]] == Sign [f[c]], a = c, b = c];
Print [i, "th iteration approximation root is = ",
c , "and it's function value is = ", f[c]];
]

The number of required iteraion is = 5

1th iteration approximation root is = 0.5 and it's function value is =- 1.375

2th iteration approximation root is = 0.25 and it's function value is =- 0.234375

3th iteration approximation root is = 0.125 and it's function value is = 0.376953

4th iteration approximation root is = 0.1875 and it's function value is = 0.0690918

5th iteration approximation root is = 0.21875 and it's function value is =- 0.0832825

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy