Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to write a loop

  • To: mathgroup at
  • Subject: [mg2538] How to write a loop
  • From: "Enrico C. Walker" <ewalke1 at>
  • Date: Fri, 17 Nov 1995 00:19:50 -0500
  • Organization: University of Maryland, Baltimore County

 I need to raise a number to some large exponent - i.e. 245 ^ 500.
I know that I may run into a problem by plugging it directly. so I'd like to find the result 
by using some sort of programming loop such.
     DO 250 times

              x = x * 245 ^ 2

     PRINT X

Can I do such programming in MATHEMATICA? Please advise.


  • Prev by Date: Re: help
  • Next by Date: Re: Q:BarChart, MultipleListPlot
  • Previous by thread: How to write a loop
  • Next by thread: Re: How to write a loop