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.

108 correct solutions
217 incorrect solutions

Last solution submitted on Aug 24, 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