View Single Post
Old Jul 25th, 2005, 8:59 PM   #9
EverLearning
Hobbyist Programmer
 
EverLearning's Avatar
 
Join Date: May 2005
Location: Indiana
Posts: 130
Rep Power: 4 EverLearning is on a distinguished road
Quote:
Well actually I have seen higher level math. I've been taking Calculus and Grade 13 Probability for the past year. However my education has been purely general, so my coverage is very limited.
*chuckle-chuckle* nevermind *chuckle* solving for unknown variables is 7th grade algebra, but that's besides the point...

Quote:
With your equation, oddly enough from a set of x values, keeping a, b, and r consistent doesn't change the y value. I'm sure there is nothing wrong with my program. But it's very strange...
No it does not make sense, because x is changing, you cannot get the same value unless it's an equation of a horizontal line, which it is not. I don't know the language you are using or whatever, but I know in C <math.h> it does not account for negative values, i.e. it is always single absolute value. In addition it depends on the data types you are using, int truncates decimals and if you take x(i) very close to each other, y will not appear to change.

Quote:
I'd show you the program and output, but it's on my laptop.
copy-paste maybe? or at least input-output? if you are interested enough, that is. And perhaps describe precisely what is given, seemingly unrelated information may happen to be useful.
__________________
got math? yumm...

"All men by nature desire to know" -Aristotle, Metaphysics
EverLearning is offline   Reply With Quote