<p dir="ltr">Hi Douglas, I just worked through this problem myself over the weekend. are you doing this course by chance?<a href="http://interactivepython.org/runestone/static/pythonds/index.html"> http://interactivepython.org/runestone/static/pythonds/index.html</a></p>
<p dir="ltr">Anyway, could you share a link to your code? Hard to make suggestions without seeing it.</p>
<p dir="ltr">-Aziz</p>
<div class="gmail_quot<blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Chicago mailing list submissions to<br>
        <a href="mailto:chicago@python.org">chicago@python.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mail.python.org/mailman/listinfo/chicago" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/chicago</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:chicago-request@python.org">chicago-request@python.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:chicago-owner@python.org">chicago-owner@python.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Chicago digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Question about using Sympy. (Joshua Herman)<br>
   2. Problems with Merge Sort??? (Lewit, Douglas)<br>
   3. Not exactly a solution, but.... (Lewit, Douglas)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 14 Jun 2015 19:38:03 -0500<br>
From: Joshua Herman <<a href="mailto:zitterbewegung@gmail.com">zitterbewegung@gmail.com</a>><br>
To: The Chicago Python Users Group <<a href="mailto:chicago@python.org">chicago@python.org</a>><br>
Subject: Re: [Chicago] Question about using Sympy.<br>
Message-ID:<br>
        <<a href="mailto:CAB3V1zmkq_Lj_nitb1PkZk%2Bm6PtrH0Dq824zBVPBgWf7NbszxQ@mail.gmail.com">CAB3V1zmkq_Lj_nitb1PkZk+m6PtrH0Dq824zBVPBgWf7NbszxQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
>From the documentation<br>
<a href="http://docs.sympy.org/dev/modules/solvers/solvers.html#module-sympy.solvers.recurr" rel="noreferrer" target="_blank">http://docs.sympy.org/dev/modules/solvers/solvers.html#module-sympy.solvers.recurr</a><br>
<br>
On Thu, Jun 11, 2015 at 10:45 PM, Lewit, Douglas <<a href="mailto:d-lewit@neiu.edu">d-lewit@neiu.edu</a>> wrote:<br>
<br>
> Hi there Chipy Folks,<br>
><br>
> Just wondering if the sympy module has a builtin routine for solving<br>
> recurrence relations.  If you know, please enlighten me.  I know that Maple<br>
> and Mathematica have such routines--and they are pretty impressive.  Just<br>
> wondering if the sympy module has something equivalent.<br>
><br>
> Thanks and I hope everyone in the group has a fun weekend.  I'm looking<br>
> forward to Wednesday evening's meeting at Pumping Station One.  I'll be<br>
> arriving right after my second Algorithms exam, so there's a chance I won't<br>
> be in a very happy mood!  That course is just brutal.  The prof got his<br>
> undergrad degree at Harvard and his PhD. at the University of Chicago.  A<br>
> real genius.... and also extremely demanding!  So wish me luck on that<br>
> exam!   :-)<br>
><br>
> Warm regards,<br>
><br>
> Douglas.<br>
><br>
> _______________________________________________<br>
> Chicago mailing list<br>
> <a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/chicago" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/chicago</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/chicago/attachments/20150614/bc7b713b/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/pipermail/chicago/attachments/20150614/bc7b713b/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 14 Jun 2015 23:31:24 -0500<br>
From: "Lewit, Douglas" <<a href="mailto:d-lewit@neiu.edu">d-lewit@neiu.edu</a>><br>
To: The Chicago Python Users Group <<a href="mailto:chicago@python.org">chicago@python.org</a>><br>
Subject: [Chicago] Problems with Merge Sort???<br>
Message-ID:<br>
        <<a href="mailto:CAPdZZGz%2BU4FMwQZsvDbyWwmLp-t-pzWEK4GJwgO8q6aUsqD_xQ@mail.gmail.com">CAPdZZGz+U4FMwQZsvDbyWwmLp-t-pzWEK4GJwgO8q6aUsqD_xQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hey guys,<br>
<br>
I'm trying to master the merge sort algorithm and definitely experiencing<br>
some failure.  My merge program works great.  It takes two arrays, and<br>
assuming that they are already sorted, the two sorted arrays get merged<br>
together into one unified sorted array.  So that's not the problem.<br>
<br>
The problem is my mergeSort program.  I inserted a couple of print<br>
statements to print out the intermediate results of the recursion, and it<br>
appears that all my program does is break the array down into pieces and<br>
then rebuilds the pieces.... into the original array!  (Could be worse I<br>
guess.  No error messages!  But the output is totally useless.)  I'm<br>
honestly at a loss.  I know I'm really close to the right solution, but<br>
there is something that I'm missing and I can't figure it out.  I've been<br>
struggling with this for a couple days now, and I'm ready to give up.  Can<br>
someone please enlighten me?<br>
<br>
Thanks!!!<br>
<br>
Best,<br>
<br>
Douglas.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/chicago/attachments/20150614/c21eafaf/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/pipermail/chicago/attachments/20150614/c21eafaf/attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Merge.py<br>
Type: text/x-python-script<br>
Size: 1293 bytes<br>
Desc: not available<br>
URL: <<a href="http://mail.python.org/pipermail/chicago/attachments/20150614/c21eafaf/attachment-0001.bin" rel="noreferrer" target="_blank">http://mail.python.org/pipermail/chicago/attachments/20150614/c21eafaf/attachment-0001.bin</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 15 Jun 2015 02:29:32 -0500<br>
From: "Lewit, Douglas" <<a href="mailto:d-lewit@neiu.edu">d-lewit@neiu.edu</a>><br>
To: The Chicago Python Users Group <<a href="mailto:chicago@python.org">chicago@python.org</a>><br>
Subject: [Chicago] Not exactly a solution, but....<br>
Message-ID:<br>
        <<a href="mailto:CAPdZZGw4CTKHdZYAuoL-dii9_Y4UExKsV1jYhO_st3Gm7xW_0Q@mail.gmail.com">CAPdZZGw4CTKHdZYAuoL-dii9_Y4UExKsV1jYhO_st3Gm7xW_0Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I sort of got my mergeSort program to work, but the problem is that the<br>
algorithm isn't really mergeSort at all!  It uses merge, but my algorithm<br>
is iterative rather than recursive, so it's not really a mergeSort.  It's a<br>
merge-something, but not true mergeSort.  Oh well.  Any suggestions?<br>
Thanks!<br>
<br>
Best,<br>
<br>
Douglas.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/chicago/attachments/20150615/3ad294b5/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/pipermail/chicago/attachments/20150615/3ad294b5/attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Merge.py<br>
Type: text/x-python-script<br>
Size: 1287 bytes<br>
Desc: not available<br>
URL: <<a href="http://mail.python.org/pipermail/chicago/attachments/20150615/3ad294b5/attachment-0001.bin" rel="noreferrer" target="_blank">http://mail.python.org/pipermail/chicago/attachments/20150615/3ad294b5/attachment-0001.bin</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Chicago mailing list<br>
<a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/chicago" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/chicago</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Chicago Digest, Vol 118, Issue 11<br>
****************************************<br>
</div>