I haven't quite figured out what problem 8 is supposed to do. I am getting a large number of real solutions, mostly 0.0 or 0.0001. I used unique() to reduce the solution to four values. These values are all correct except that they include 0.0.
Hi William, I missed to write "0.0000" in the solution set of test #8. Sorry for that. Corrected it.
Please rate the problem. Thanks.
For problem 8 I see only three real solutions--none that give R=0.0000.
I see now--you want to round off R before testing for an imaginary part.
Sorted highest to lowest?
Factorial: Unlimited Size : java.math
Numbers in extended form
Fibonacci-Sum of Squares
Find similar sequences
Easy Sequences 50: Blocked Gaussian Integers
Easy Sequences 63: Base-63 Arithmetic Functions
Easy Sequences 58: Curious Prime-Rational Functions
Easy Sequences 37: Natural Factorable Polynomials
Easy Sequences 52: Non-squarable Rectangles
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