combine by dragging (1)

introduction
Another way to combine graphs and equations is a dragging exercise. Each equation has to be dragged to an answering rectangle under the according graph. A control button resets each wrong positioned equation to its initial position. A reset button resets all.
How it is done?
The control is based on the position of the lowerleft corners of the yellow and the white rectangles. [br]If AAA = AA the yellow rectangle is dragged to the proper position and the combination is right. If not, you made a wrong combination. [br]Set he point capture style must be fixed to grid to avoid rounding.
[list][*][b]4 points[/b]: Create 4 points an posotion them according to the dimensions of your screen.[/*][*][b]3 vectors[/b]: create the vectors a to define the dimensions of the rectangles and the width of the pictures.[/*][*][b]4 pictures[/b]: [br]- Define 4 functions and export the graphs as a picture.[br]- Insert the picture of the first graph.[br]- Define as the [code]lowerleft corner = AA + w [/code]and as the [code]lowerright corner = AA + u+w[/code][br]- Do likewise for the other pictures.[/*][*][b]4 white rectangles[/b]: [br]- Define the white rectangle under the first graph as [code]Polygon(AA, AA + u, AA + u + v, AA + v)[/code][br]- Do likewise for the other three.[/*][*][b]4 yellow rectangles[/b]:[br]- Define the points AAA, BBB, CCC and DDD[br]- Define the yellow rectangle [code]Polygon(AAA, AAA + u, AAA + u + v, AAA + v)[/code][br]- Do likewise for the points BBB, CCC and DDD[br]- Create four texts with the equations and attach them to AAA, BBB, CCC and D.[br]- Now: Ensure in the Properties that the only objects you can select are these four yellow rectangles.[/*][*][b]contol button[/b]: A button checks the answers with following script:[br][code]SetValue[AAA,If[AA!=AAA,(-12,-7),AA]][br]SetValue[BBB,If[BB!=BBB,(-5,-7),BB]][br]SetValue[CCC,If[CC!=CCC,(2,-7),CC]][br]SetValue[DDD,If[DD!=DDD,(9,-7),DD]][/code][/*][*][b]reset button[/b]: A button resets AAA, BBB, CCC and DDD to their initial position[br][code]SetValue[AAA,(-12,-7)][br]SetValue[BBB,(-5,-7)][br]SetValue[CCC,(2,-7)][br]SetValue[DDD,(9,-7)][/code][br][/*][/list]

Information: combine by dragging (1)