Buying Watermelons Intelligently

Millions of tons of watermelons are consumed each summer worldwide. People eat only the sweet red core of a watermelon. Stores set different prices depending on the size of the melons. How do you buy them intelligently? This Demonstration calculates core volume and shows the most economical solution for consumers.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Snapshot 1: shows that buying big melon (2) is more economical than buying small melon (1).
Snapshot 2: shows that buying small melon (1) is more economical than buying big melon (2).
Snapshot 3: shows that buying small melon (1) is almost the same as buying big melon (2).
There is an interesting true story that comes from a Chinese mathematician, Wang Yuan. One summer afternoon, he and his wife went to buy watermelons. The watermelon salesman classified the melons into two groups, big and small, selling the big melons for 15 yuan each and the small melons for 5 yuan each. Mr. Wang and his wife looked at both groups of melons.
Mr. Wang said, "Let's buy a big one."
Mrs. Wang said, "That is three times the price of the smaller one. If we buy one big one, we could also buy three small ones."
Wang thinks, "The big one is a better value. Look, we eat the core of the melon. The volume is proportional to the cube of the radius."
Mrs. Wang nodded and said, "However, the big one has more shell."
Mr. Wang said, "The small ones also have shells; let's calculate the volume of each shell."
Mrs. Wang smiled and said, "Oh, I have a headache. I quit. Okay, we buy a big one."
They bought two big watermelons and went home happily, leaving the salesman still thinking.
For more details, see Chapter 2 of F. Wu, Manipulate@Mathematica, Beijing, Tsinghua, 2010.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Related Curriculum Standards

US Common Core State Standards, Mathematics

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+