y-correct is incorrect.
Surface area is 2*pi*r*h+pi*r^2.
The solution claims pi*r*h+pi*r^2.
Please correct. 6/05/12
Whew...I thought I was being stupid and getting the formula wrong.
I went ahead and fixed the test. Thanks for the comments.
This Problem may as well be deleted. There is only one case in the Test Suite, and the required formula is given both in the Comments and within the Test Suite itself. There is no challenge when Players can simply copy-and-paste to 'solve' the Problem.
Return the 3n+1 sequence for n
Close MATLAB with keyboard
length of a vector
Matlab Basics - Rounding I
Find the treasures in MATLAB Central and discover how the community can help you!
Select a Web Site
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
How to Get Best Site Performance
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