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

Re: How to write a loop

  • To: mathgroup at
  • Subject: [mg2553] Re: How to write a loop
  • From: ianc (Ian Collier)
  • Date: Mon, 20 Nov 1995 01:14:02 -0500
  • Organization: Wolfram Research, Inc.

In article <48h4dh$rd5 at>, "Enrico C. Walker"
<ewalke1 at> wrote:

>  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
>          begin
>               x = x * 245 ^ 2
>          end
>      PRINT X
> Can I do such programming in MATHEMATICA? Please advise.
> -RICO-

There is no need to resort to loops.

Any copy of Mathematica should be able to evaluate


without significant problems. It takes a matter of seconds on 
the Macintosh Quadra 700 on my desk.

I hope this helps.


Mathematica Training
Wolfram Research, Inc.
tel:(217)-398-0700   fax:(217)-398-0747    training at
Wolfram Research Home Page:   

  • Prev by Date: Dashing?
  • Next by Date: Re: Logic Problems
  • Previous by thread: Re: How to write a loop
  • Next by thread: Re: How to write a loop