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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

This is a simplified version of the **xkcd comic** by the same name.

Simply return the angle (in degrees) of the 'black' sector of the pie chart that would make the graph description accurate.

**Details:**

Assume that the pie chart circle covers 36% of the total image area, and that the text, textbox lines, image frame, and outer circumference of the pie (anything painted in black except the pie chart 'black' sector) add up to 6.4% of the total image area.

Return the angle in degrees rounded to 4 decimals.

*("detail oriented" players may also assume that the portion of the textbox line which is white (overlapping the pie chart 'black' sector) has already been discounted twice from the 6.4% value above)*

25 correct solutions
16 incorrect solutions

Last solution submitted on Feb 11, 2015

3 players like this problem

1 Comment

J.R.! Menzinger
on 24 Jul 2014

;-)

3 players like this solution

3 Comments

Alfonso Nieto-Castanon
on 21 Jul 2014

Ha! I did not think of that, congrats! That gave me an idea for a potentially "unpeakable" .p code. I will create a new problem for that later tonight

rifat ahmed
on 23 Jul 2014

wow...

J.R.! Menzinger
on 24 Jul 2014

Respect!! ;-)

3 Comments