Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

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

1154 correct solutions 1193 incorrect solutions
Last solution submitted on Oct 03, 2015

Problem Comments

Solution Comments