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.
Number of Circles in a Number
07 - Common functions and indexing 6
Area of an Isoceles Triangle
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