Hey every one ,
well i was writing program which inputs "Statistical data for example
x 1 2 3 4 5
y 1 4 9 16 25
and analysing the data my program must suggest a suitable algebraic equations like looking at this one it should tell me the equation ins y = x square
"
Well wat i have done is i have written different cases like
y = x square
y = log x and so on
but i guess its a very bad style of programming . i would be glad if you guys help me out in suggesting ingenious ways in doing it .
note: "well i know u guys will be a little skeptical about it . but honestly its not my school work or any thing similar to that .