Write a program using Bisection method and method of false position.

AI Thread Summary
To complete the assignment on finding the root of an equation using the Bisection method and the method of false position, start by outlining the algorithms in pseudo code. Clarify the programming language required for implementation, as this will guide the coding process. Incorporate the specific polynomial equation f(x) into your program as it is essential for the calculations. Focus on understanding the logic behind both methods before coding. This structured approach will help alleviate confusion and lead to a successful assignment completion.
DaisyShafi
Messages
2
Reaction score
0
Hello everyone.
I'm new here and I'm not not a computer science student.
But, I have to take programming to complete my degree.
So, now I'm in a great depression about this assignment.
My lecturer ask me to write a program to find root of an equation f(x)=0 for specific f. Both methods are need to be in my assignment.
So, where should I start?
 
Physics news on Phys.org
Hello DaisyShafi,

First, write your two methods using pseudo code.

What language do you need to use?

J.
 
What language ? English.
Can you show me the step?
Do I need to include the f(x) polynomial equation into the coding?
 
What computer language?

Pseudo code is writing something like:

Code:
for the integer n given as an argument:
while n > 0 do
     n <- n -1
 

Similar threads

Replies
1
Views
2K
Replies
6
Views
3K
Replies
16
Views
3K
Replies
4
Views
4K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
13
Views
5K
Back
Top