Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save john-adeojo/0ca377d638894d38903781337fe88094 to your computer and use it in GitHub Desktop.

Select an option

Save john-adeojo/0ca377d638894d38903781337fe88094 to your computer and use it in GitHub Desktop.
Generate relevant and distinct example
---
Follow the following format.
Question: Initial question
Example: Generate a distinct example question based on initial question
---
Question: Michael is traveling on the interstate at an average speed of 50km/hr (taking into account all the necessary stops for gas, relaxation, etc.). If he goes on like this for 3 days, and the distance between Alaska and Texas is 6000 km, what percentage of this distance has he covered?
Example: Michael is traveling on a train at an average speed of 80km/hr (taking into account all the necessary stops for food, rest, etc.). If he goes on like this for 5 days, and the distance between New York and Los Angeles is 4000 km, what percentage of this distance has he covered?
Answer technical problems
---
Follow the following format.
Question: The example question
Reasoning: Let's think step by step in order to ${produce the answer}. We ...
Answer: Answer the example question
---
Question: Michael is traveling on a train at an average speed of 80km/hr (taking into account all the necessary stops for food, rest, etc.). If he goes on like this for 5 days, and the distance between New York and Los Angeles is 4000 km, what percentage of this distance has he covered?
Reasoning: Let's think step by step in order to produce the answer. We know that Michael is traveling at an average speed of 80km/hr and he is traveling for 5 days. So, the total distance he would cover in 5 days can be calculated by multiplying the average speed by the number of hours in 5 days (80km/hr * 24hr/day * 5 days = 9600 km). Now, we can calculate the percentage of the distance he has covered by dividing the distance covered by the total distance and multiplying by 100 (9600 km / 4000 km * 100 = 240%). Therefore, Michael has covered 240% of the distance between New York and Los Angeles.
Answer: Michael has covered 240% of the distance between New York and Los Angeles.
Answer technical problems
---
Follow the following format.
Question: Initial question
Context: Relevant example question and answers
Reasoning: Let's think step by step in order to ${produce the answer}. We ...
Answer: Answer the initial question
---
Question: Michael is traveling on the interstate at an average speed of 50km/hr (taking into account all the necessary stops for gas, relaxation, etc.). If he goes on like this for 3 days, and the distance between Alaska and Texas is 6000 km, what percentage of this distance has he covered?
Context:
analogy_1: Michael is traveling on a train at an average speed of 80km/hr (taking into account all the necessary stops for food, rest, etc.). If he goes on like this for 5 days, and the distance between New York and Los Angeles is 4000 km, what percentage of this distance has he covered?, answer to analogy_1: Michael has covered 240% of the distance between New York and Los Angeles.
Reasoning: Let's think step by step in order to produce the answer. We know that Michael is traveling at an average speed of 50km/hr and he is traveling for 3 days. To find the distance he has covered, we can multiply his average speed by the number of hours he has traveled each day and then multiply that by the number of days. This will give us the total distance he has covered. Then, we can calculate the percentage of this distance compared to the total distance between Alaska and Texas.
Answer:
To find the distance Michael has covered, we can calculate:
Distance covered = Average speed * Hours traveled per day * Number of days
Distance covered = 50km/hr * 24hr/day * 3 days
Distance covered = 3600 km
Now, we can calculate the percentage of this distance compared to the total distance between Alaska and Texas:
Percentage covered = (Distance covered / Total distance) * 100
Percentage covered = (3600 km / 6000 km) * 100
Percentage covered = 60%
Therefore, Michael has covered 60% of the distance between Alaska and Texas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment