We can look up and down at the numbers and can compare them more easily. To start, make a number line that starts at 0 and goes to the highest number you need to include. You'll see why in a minute. Label the number line so you remember it represents hours. And write what information the graph will have at the top.
Now we can easily see which planet has the longest day, the shortest day, and everything in between. But what do we do about Mercury and Venus? Their days are thousands of hours long. How do we make a graph for those? We make a number line, but instead of numbers 1, 2, 3… we will use 1,, 2,, 3,…. Make a number line that goes all the way up to 6, Along the bottom, write Mercury and Venus.
Above Mercury, mark a dot a little less than halfway between 1, and 2, Now make a dot a little under 6, for Venus. Their dots would be so close to 0 it would be hard to tell the difference between them.
Graphs work best when the numbers are similar in size, usually with the same number of digits. Now that you know how to make a graph, you can show all kinds of information this way. You can graph the time it takes to get to school each day, the number of pieces of pizza your friends can eat, and how many people like the color blue or green. Go on and get graphing! The Short Answer:.
The longest day among those planets is 25 hours. That means our number line will go up to Along the bottom, write the names of the planets. Make a dot above the name of the planet next to the number of hours its day takes.
I wonder whether that's a coincidence Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How many minutes in 1 day? Ask Question. Asked 8 years, 8 months ago. Active 6 years, 7 months ago. Viewed 48k times. Each of these can be rotated 4 ways, by 0,1,2 or 3 places.
For example : In which case only 1 and 2 are valid 24 hour times. This is not a homework question. Cris Stringfellow. Cris Stringfellow Cris Stringfellow 1 1 gold badge 6 6 silver badges 22 22 bronze badges. Oh wait, you might be thinking of this as digits instead?
Add a comment. Active Oldest Votes. That is SO weird. Awesome answer joriki! I ran your code but have no looked at it in detail -- could you possibly briefly describe the code idea and it gives as you say.
The code loops over all times, creates a four-digit string for each, loops over the four possible rotated strings, counts the number of rotated strings that represent valid times, and remembers all strings seen so far. For each time it checks whether the corresponding string has already been seen as a rotated string for another time; if not, it increases the generator count.
0コメント