A pizza order by phone in diameter d1, pizza will be make only in diameter d2. Return the pizza pieces p should be make.(pizza can be cut into quarter)
- for example:
- di = 2, d2 = 1, p = 4
- di = 1, d2 = 2, p = 0.25
- di = 5, d2 = 7, p = 0.75
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers32
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2822 Solvers
-
Is my wife right? Now with even more wrong husband
1348 Solvers
-
Remove the two elements next to NaN value
714 Solvers
-
Duplicate each element of a vector.
639 Solvers
-
937 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!