Skip to content

Instantly share code, notes, and snippets.

@sushiljainam
Created February 21, 2017 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sushiljainam/cdc7b6e0b6104b075dc220329ea4ab6b to your computer and use it in GitHub Desktop.
Save sushiljainam/cdc7b6e0b6104b075dc220329ea4ab6b to your computer and use it in GitHub Desktop.
There were 200 fishes in an aquarium, 99% of which were red. How many red fishes must be removed to make the percentage of red fishes 98%?
Solve this one!
Q. There were 200 fishes in an aquarium, 99% of which were red.
How many red fishes must be removed to make
the percentage of red fishes 98%?
Solution:
Initially
total: 200, red: 198, percent:99%
If we remove 1 red fish -
total: 199, red: 197, percent:98.9949749%
If we remove 1 more -
total: 198, red: 196, percent:98.989898989%
so on...
If we remove 100 fish -
total: 100, red: 98, percent:98%
so answer is "remove 100 red fish".
-------------
my next question for you is:
Q. There were 200 fishes in an aquarium, 99% of which were red.
How many red fishes must be removed to make
the percentage of red fishes 96%?
@sushiljainam
Copy link
Author

and what if,
How many red fishes must be removed to make
the percentage of red fishes 95%?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment