Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'kernel local has exited' topicStudent Support Forum > General > Archives > "kernel local has exited"

Next Comment >Help | Reply To Topic
Author Comment/Response
Shawn Legrand
04/01/07 7:11pm

I have just started using the Student version of Mathematica 5.2 and set up the following recursive 'Super' exponent function notebook:

In[1]:=
$RecursionLimit = 50000

Out[1]=
50000

In[2]:=
superexp[{levels_,
base_}] := base^superexp[{levels-1, base}];superexp[{1, base_}] := base

In[3]:=
superexp[{16, 1.1}]

Out[3]=
1.111782

In[4]:=
superexp[{36, 1.3}]

Out[4]=
1.470989

In[5]:=
superexp[{622, 1.444}]

Out[5]=
2.5874703

In[6]:=
superexp[{46598, 1.4446678}]

As you can see all works well until I execute the last function call. The kernel then exits without solving the function. Could someone please explain why this occurs?

Attachment: superexp.nb, URL: ,

Subject (listing for 'kernel local has exited')
Author Date Posted
kernel local has exited Shawn Legrand 04/01/07 7:11pm
Re: kernel local has exited yehuda ben-s... 04/03/07 3:25pm
Next Comment >Help | Reply To Topic