EEE 306 Lab 6 : Bracketing methods for finding roots

EEE 306 Lab 6 : Bracketing methods for finding roots

Task #1

Write a program to find root of an equation in the form ax^2+bx+c, where a,b,c, will be taken as input. You have to take input the number of iteration and the termination criterion.

Use bisection method to find the root where the upper limit and lower limit will be taken as input.

 

Task #2

Write a program to find root of an equation in the form ax^2+bx+c, where a,b,c, will be taken as input. You have to take input the number of iteration and the termination criterion.

Use False Position method to find the root where the upper limit and lower limit will be taken as input.

 

Leave a Reply

Your email address will not be published. Required fields are marked *