Jwiseknows

10 Reputation

One Badge

4 years, 265 days

MaplePrimes Activity


These are questions asked by Jwiseknows

How do I calculate the first 5 values of the bisection method using the starting values of 4 and 5 of the function f(x) = (5 - x) * (e^x)-5

 

a := 4;
b := 5;
nStep := 5;
                               4
                               5
                               5
 

To solve this, I got this far but am not sure where to go next?

 

f2 := x^2 - 3;
f2d := diff(f2, x);
                              2    
                             x  - 3
                              2 x

set value for x0, number precision

x0 := 3;
eps := 0.1*10^(-5);
                               3
                            0.000001
 

Page 1 of 1