Question: Requesting Feedback On A Procedure

Thanks to all the wonderful and timely help I received concerning my previous troubles with the LegendreP function. It was all helpful. I think I'm very bad at procedures, but I struggled in an effort to gain more personal knowledge, in addition to solving this problem and came up with a very simple and rudimentary procedure. It is called P[legend](l,m), where l and m are the two arguments received in that order. Can anyone look at this procedure and suggest improvements for efficiency, aesthetics (more elegant simpler methods), possible bugs, etc. Your critiques on my effort would be greatly appreciated. thanks, v/r, (Focus on the procedure written at the beginning of the worksheet). Download 285_associatedlegendrefunction.mws
View file details
Please Wait...