From: Richard F. <fa...@be...> - 2014-04-23 19:26:49
|
On 4/23/2014 12:09 PM, Scott Hughes wrote: > > An example... > > a: 50000000; > > b: 60000000; > > c: 40000000; > > round ((6^a-2^b-3^b)/(6^(a-7)-4^b-5^b)); > The result of the calculation, before rounding, is appx -1.815603675821045b-3030638 this is easily computed using 2.0b0 etc instead of 2 etc. That is, it has over 3 million digits . Before computing and displaying them, it may make sense to ask.... what do you plan to do with them? > *From:*Gunter Königsmann [mailto:gu...@pe...] > *Sent:* April-23-14 2:58 PM > *To:* fa...@be...; Scott Hughes; > <max...@li...> > *Subject:* Re: [Maxima-discuss] Maxima (lisp on Mac) - heap exhausted > > Another question: > How do you calculate the powers? I get a different error message, if I > Try. > > On 23. April 2014 20:11:26 MESZ, Richard Fateman <fa...@be... > <mailto:fa...@be...>> wrote: > > what do you plan to do with a number raised to the power 60,000,000? > > If you are computing it in order to then reduce it modulo some other > number, > then there is a better way to do it. > > > > On 4/23/2014 6:34 AM, Scott Hughes wrote: > > Firstly, I’m not a programmer and only recently started to use > Maxima (command line). I don’t know anything about lisp. I’m > running Maxima on a Mac but also on a PC through Windows. Both are > the command line version. > > I only need to use Maxima for a few basic operations, primarily > small numbers raised to large (at least 8) exponents. Aside from > that, I’m using the round and asksign commands. > > I’m encountering “heap exhausted” errors once my exponents get > beyond about 60 000 000 and have looked in manual and forums for > help. There is reference to changing heap size but I didn’t > understand the command or even how to enter it. Can anyone help me > with very explicit instructions ? I’m not concerned with the > length of time the calculations take, just don’t want them to > crash before they complete. > > ------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > ------------------------------------------------------------------------ > Maxima-discuss mailing list > Max...@li... <mailto:Max...@li...> > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > > > -- > Diese Nachricht wurde von meinem Mobiltelefon mit Kaiten Mail gesendet. > |