# 11 Desmos Challenges: Restrictions (#7)

Expand your control over the coordinate plane by learning how to apply restrictions on the domain and range of expressions, functions, and relations.

### Basic

Goal: Use eight expression lines to graph the rectangle (four points, four line segments) shown below.

Note: Be sure to add restrictions (domain or range) to limit the segments.

Goal: Use six expression lines to graph the triangle (three movable points, three line segments) shown below.

Hint: Use some “min” and “max” magic on your domain restrictions so that the line segments remain visible regardless of where you drag the movable points.

### Legendary

Goal: Use four expression lines to create purple rain (and green grass).

Hint: I used a list, a linear function with a sinusoidal domain restriction, a slider (the rain needs to fall from the sky, after all), and an absolute-value heavy sinusoid (for the grass).

Note: Don’t worry about matching the image perfectly on this one. Just make it rain!

Get ’em here.

### You Create

Use what you’ve learned about restrictions to create your own amazing graph. Share it here.

(Need some help with how to share a graph? Check out 11 Challenges: Saving and Sharing (#9).)