# Creating an aplication N900

• Hello I just received a N900 and have been playing with it and wanted to learn how to make application for it so my first project I tough I could make a simple program that can find the root of an equation using the Bisection method.
I Should contain a friendly user interface,
Consisting of a text box where the user enter the equation
Two more where the user enter two points
an additional one where the the user indicate the number of repetition to do.

The method is base in replacing the 'x' in the equation with the first point given and obtaining the result, them repeat with the secound point and finally It necessary to find a third point and obtain a result.

Example
Solve
F(x)=x-2
equation
a=0
Initial point
b=5
second point
c=(b-a)/2=2.5
Third point

Solve for
F(a)=0-2=-2
then
F(b)=5-2=3
Then
F(c)=2.5-2=.5

Then compare sign of solution
F(a) is negative
F(b) is positive
If there are different that means that theirs at least one solution in between them
and if any of them is equal to zero them that is the solution (F(x)=0).

Then it necessary to obtain f( c) sign.(positive)
comparing to F(a) and F(b) it necessary to determine which has the same kind of sign and replace there value with c

Example
F(b) and F( C) are both positive then b is replace with c
b=c

and repeat until F(x)=0 or the amount of repetitions said by the user.
And then give the user that is the answer.

I think it a good challenge, has anyone have some advise on ho to tackle the problem?
I will appreciated any help