Expressing loops etc. in math.
Well I'm still working on that universal equation thing. I have a series of equations, all related - like a series of steps to take - one follows the other. I calculate the value of a variable, r, based on x. If r is equal to 1, then I finish up the calculation because I know everything is set up right. If not, then I want to increase d by 1, and then repeat the calculation. Is there a standard mathematical way of expressing this?
And one more question: In multivariable-differential calculus, if your calculating dy/dx as x->0, couldn't you just add one to the exponent of each x in the equation of change in y/change in x? It seems to work and is a lot simpler than waht my book says.
Re: Expressing loops etc. in math.
Quote:
Originally posted by Sean
Well I'm still working on that universal equation thing. I have a series of equations, all related - like a series of steps to take - one follows the other. I calculate the value of a variable, r, based on x. If r is equal to 1, then I finish up the calculation because I know everything is set up right. If not, then I want to increase d by 1, and then repeat the calculation. Is there a standard mathematical way of expressing this?
And one more question: In multivariable-differential calculus, if your calculating dy/dx as x->0, couldn't you just add one to the exponent of each x in the equation of change in y/change in x? It seems to work and is a lot simpler than waht my book says.
I dont know the answer to the first question, but the second one sounds familiar, what section is it under, so I can take a look, I may be able to help out a little more.
Re: Expressing loops etc. in math.
Quote:
Originally posted by Sean
Well I'm still working on that universal equation thing. I have a series of equations, all related - like a series of steps to take - one follows the other. I calculate the value of a variable, r, based on x. If r is equal to 1, then I finish up the calculation because I know everything is set up right. If not, then I want to increase d by 1, and then repeat the calculation. Is there a standard mathematical way of expressing this?
And one more question: In multivariable-differential calculus, if your calculating dy/dx as x->0, couldn't you just add one to the exponent of each x in the equation of change in y/change in x? It seems to work and is a lot simpler than waht my book says.
that's a hectic thing to follow. I should take back my words I said when I was in pain. first I do believe anything, but limited, expressed in programming can be translated into mathematical terms. however, making formulas can be quite fustrating at times. since I do not exactly know how the calculations are, I can try with the series and a function and play around with it and add other terms if necessary. maybe I can start by making the function control how the series goes (all those complex algorithms). I might as well not continue with the stuff I do not understand that I am saying.
anyway, with the limts that u were talking about, the values get closer and closer to a value (for when very precise values are needed). I forget but Dalton might be one of the first to start the idea with limits or something. the book is a reference telling you exactly how the thing works. shortcuts? I think there are plenty for this but sometimes they don't work for certain problems.
I think I need to rest before I continue (this is what vacation does to people). :(
reference I suggest:
http://mathworld.wolfram.com/
also, these guys (professionals) might help out at :
http://www.mathforum.org/dr.math/