I can not get your answers for test4 and test5. I checked using symbolic and obtained different answers from yours after passing tests 1-3 (my volume equation is correct).
Hi David, can you publish your solution, please? Thanks.
Project Euler: Problem 9, Pythagorean numbers
Sum of diagonals elements of a matrix
Longest Collatz Sequence
Easy Sequences 33: Web Trapped Ant
Easy Sequences 17: Mu Variant Function
Easy Sequences 13: Average Speed of Spaceship
Easy Sequences 38: Prime Number Delta
Easy Sequences 12: 50th Prime
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