
Factoring app
I have no code for this, but I've been trying to think about how to start. I tried to do some loops, but couldn't grasp the basic task at hand. I'm not asking you to do this for me since I am only doing it for the fun of doing it. I'm just stuck. I don't know how to make "x" a symbol for a variable (in the console input). I only want it to factor REALLY basic things such as x^24. I was thinking if I can get the basic principle down, I can add on from there. Back on topic, well I just need to know how to get it started. Is there a header for things like this? Is this a more advanced area (meaning out of my league)? I want to push myself, but don't want to be too overzealous. Well, all help is appreciated.

Factoring is obviously plays a big part in the world of mathematics. It's fairly straight forward if you are only considering *easy* problems.
Code:
x^2 4 = (x+2)(x2)
It's possible to write a program which mimics the way a human would go about solving this. However, it is quite involved (i.e you have to parse the equation and then perhaps then sort it using a binary tree). Generally, this is regarded this best way to tackle this problem.
However, if you wish to use iterative methods to solve this take a look at all the root finding algo's, namely, Newton's method, the bisection method yada yada yada....
Good luck
:confused:

Thanks for all your help. I'll look into some of those methods. Once again, thanks for your help.