Choose a Function:
Incredible Shrinking Target Mode


Controls

Instructions

Shown above is the graph of a function. Below the graph, a ball moves back and forth over a paddle (whose left and right ends you can move with the mouse). Hit the "Fire" button to launch the ball upwards towards the graph of the function. When the ball hits the graph, it will bounce off towards a target to the right of the graph. Your goal is to hit that target! Bored of the current target? Hit the "Randomize Target" button to pick a new one, or try the Incredible Shrinking Target Mode!

Incredible Shrinking Target Mode

What's Going On?

We finally selected the final landing site and the commands were prepared for Rosetta to launch Philae.

The way this works is that Rosetta has to be at the right point in space and aiming towards the comet, because the lander is passive. The lander is then pushed out and moves towards the comet.

...

Now, the landing duration of the whole trajectory was seven hours. Now do a simple calculation: if the velocity of Rosetta is off by one centimeter per second, seven hours is 25,000 seconds. That means 252 meters wrong on the comet. So we had to know the velocity of Rosetta much better than one centimeter per second, and its location in space better than 100 meters at 500 million kilometers from Earth. That's no mean feat.

-Fred Jansen, How to Land on a Comet

Engineers very frequently find themselves in situations where there is one variable they want to measure or control, but they can't do so directly. Instead they must use other related variables that they can measure or control, and use a model of how these variables are related to each other. In the example of landing on a comet above, engineers wanted to control the landing position of the Philae lander. But what they had control over was the initial velocity of the Philae lander, and only to a certain level of precision.

With variables engineers want to control, they don't say that they would like the variable to be some specific value, they say that they need the variable to be within a specific range. This range may be really really tiny or relatively large, but the goal is that nothing should go wrong if the variable is within this safe range. In the example of the comet, engineers had used pictures taken by Rosetta to find a circular area on the comet with a 250 meter radius that seemed relatively safe to land in.

Engineers also don't have perfect control over the variables they do have control over. They can (roughly speaking) ensure that the variable falls into a certain range, and by using more precise instruments, they can make that range smaller until it is as small as necessary.

With variables engineers want to measure, it's not a matter of getting every single decimal digit. The true value will certainly have infinitely many decimal digits, and where would we write them all? The goal is to find a small range that the engineers know that the true value falls into. Typically this is reported as some number of decimal digits. Saying that pi begins with 3.14... is the same as saying that pi is somewhere between 3.14 and 3.15.

We can summarize the effectiveness of engineering as follows:

In order to achieve an approximate task, we only need approximate knowledge of the system and approximate control over the input parameters.

In this interactive,

You have some range of y-values that you would like to get the output of the function into, and hopefully it occurred to you to "cheat", that is, narrow down the range of x-values so that the y-value always winds up in the desired range.

For each function, we have two questions:
If we have a particular target interval of y-values in mind, how small are we going to have to make the interval of x-values to always land on the target?
Thinking about these particular subquestions may provide some insight:
  1. When are particular target intervals of y-values harder to hit (either require a smaller range of x-values or quicker reflexes)?
  2. Are there particular target intervals of y-values which cannot be hit at all?
  3. When the target interval of y-values shrinks by a factor of 2, what do you have to do to the range of x-values to compensate?
  4. For the linear functions (10x, x, and x/10), what's the ratio of the size of the target interval of y-values to the size of the interval of x-values?
  5. For the cannon function, there are generally two ways of hitting a particular target: launching at a shallow angle or launching at a very steep angle. Which is harder (either requiring a smaller range of x-values or quicker reflexes) to use to hit a target?
And, secondly:
Is it always possible to "cheat" (narrow down the range of x-values so that the y-value always winds up in the desired range)?
Try out the following for various functions:
  1. Activate the Incredible Shrinking Target Mode
  2. Enter the x-coordinate 0