EEE 306 LAB 10 : Closed roots in Matlab

October 29, 2017
By shp

Problem #1
write a matlab script to find the root of an equation in the for ax^2+bx+c using bisection method

Problem #2
write a matlab script to find the root of an equation in the for ax^2+bx+c using false position method

inputs:
a,b,c, no of iteration, es, initial guesses

sample input
a=-0.6
b=2.4
c=5.5
xu=10
xl=5
es=0.0000001
iter=100

Leave a Reply