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.
Inner product of two vectors
Back to basics 4 - Search Path
Back to basics 13 - Input variables
Create a square matrix of multiples
Create a vector
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