Donate SIGN UP

Maths Challenge!!!

Avatar Image
newtron | 18:14 Wed 08th Feb 2006 | Science
6 Answers

This program that I am working with generates a 1-D radial grid by defining radial increments that increase from one to the next by the same factor :


ΔR(n+1) = f * R(n)


The user provides NLOG (number of interface radii desired), RLOG (desired radius of the last (largest) of these radii), and DR (the reference radial increment : the first ΔR generated will be equal to f * DR). So my question is: How is f calculated?

Gravatar

Answers

1 to 6 of 6rss feed

Best Answer

No best answer has yet been selected by newtron. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Question Author

Oops, the I forgot a delta. The equation should be:


ΔR(n+1) = f * ΔR(n)


I believe this can be written as the following series:


RLOG = DR * (f + f ^2 + f ^3 + ...+f ^NLOG)


I don't know where to go from there. It's been a long time since I've worked with series. Is there an easier way?


I guess it doesn't matter. The program does it. I was just curious.

f = Δr(n+1)/Δr(n)


Question Author
mibn2cweus, the equation that you just rearranged is only useful if f is a known constant. f needs to be calculated as a function of the variables provided by the user.
no idea
Coinsidentaly, me niether.
Question Author
Come on. Surely there is a way to solve the above finite series for f, which is the only unknown.

1 to 6 of 6rss feed

Do you know the answer?

Maths Challenge!!!

Answer Question >>