Check for Mistakes in this Word Problem: target-leap

Directions: Write a function which takes in the target’s x-coordinate and makes a player leap by returning an x-coordinate that is double the original x-coordinate.

Contract and Purpose Statement

Every contract has three parts ...

;target-leap:number→number

; Takes the x-coordinate and returns a new one, multiplied by 2

Examples

Write some examples, then circle and label what changes ...

(EXAMPLE (target-leap100)(200)

(EXAMPLE (target-leap40)(200)

Definition

Write the definition, giving variable names to all your input values ...

(define (leapx-coor)(* x 5))