Problem 2944. Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round each area
x= [2 2 4 4]
area = 8
x=[3 4 5]
area = 6
Solution Stats
Problem Comments
-
1 Comment
Gergely Patay
on 5 Feb 2015
Mind reading required.
Solution Comments
Show commentsProblem Recent Solvers79
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3168 Solvers
-
Sum of first n positive integers
581 Solvers
-
600 Solvers
-
1402 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
331 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!