pizza. He finally decides to make chord-like cuts in the pizza. Find the maximum number of pieces he can make to the pizza.
Utsav wants to throw a mini party for his school friends. However he doesn't have enough money so he buys
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We'll make f i r s t cut in the pizza and we'll get 2 pieces.Now, we'll make our s e c o n d cut intersecting the f i r s t cut. We'll se that we have a total of 4 pieces, 2 in addition to the 2 pieces we got after our first cut. Similarly, we'll make another cut intersecting the previous 2 cuts made earlier and get 3 more pieces to get a total of 7 pieces and so on.. As a result, after 8 cuts we will get 3 7 pieces.
There is an alternate formula for calculating the no. of pieces and it is as follows: 2 n 2 + n + 2 where n are the no. of cuts made.