Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cubsfan334
  • Content: Threads
  • Order by date
  1. cubsfan334

    Recursion?

    Hi, I have one more question: How would I make a recursive function? For example I could have these equations: a1 = (x1 - x2) * t a2 = (y1 - y2) * t x1f = 5 * a1 y1f = 5 * a2 I need a do loop that will calculate x1f and y1f when t=1, then plug in the previously generated xf1 for x1 and yf1...
  2. cubsfan334

    Do Loops -- Real Step Size

    Hi, I'm new to Fortran and I'm running into trouble with do loops. I keep getting the error that the step size can only be an integer. I'd like to use a step size of .01 or .001. Why is this, and is there a way around it? Thanks, cubsfan

Part and Inventory Search

Back
Top