Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 1663. Pizza value using expression with parentheses

Created by

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per unit area) given the diameter and cost. Use parentheses to make the order of operations clear; do not rely on operator precedence. Area of a circle is pi * radius * radius.


Problem Group

Solution Statistics

1363 correct solutions 1331 incorrect solutions
Last solution submitted on Jul 30, 2016

Problem Comments

Solution Comments