MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

103 correct solutions
206 incorrect solutions

Last solution submitted on Feb 18, 2015

1 Comment

CC
on 3 Jun 2012

If a is the hole diameter and b is the outermost diameter, how can a>b in the test cases?

9 Comments