I can solve the simpler test cases, but how do you handle the eps stuff without too much error or crashing the program?
any suggestions for handling my error?
I see what you are trying to do, but there is an analytical solution for L. It seems you only have a problem with L, not p (as far as the test cases).
I'll take another look
Octogenarian, Shmoctogenarian! Hope that one didn't keep you up too late, Roger. :-)
I feel like there should be an analytical solution for L, but it's too late at night to do any non-computational numerical analysis of this sequence.
Add two numbers
Valid Chess Moves
Longest run of consecutive numbers
Return the Fibonacci Sequence
What are the odds?
Circle and Quadratic
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office