Apple Grapher: Referencing Previous Equations in Later Equations

Okay, so suppose I have two equations I want to graph, y1 and y2.

Let y1=3x+5
and y2=.5*y1

In other words, y2 is equal to half the value of y1.  How can you reference one equation from inside another using Apple Grapher?

Yes, I know I can just type out y2=1.5x+2.5 manually, but I actually have a rather long function that is referenced in multiple subsequent functions.
LVL 1
sffcAsked:
Who is Participating?
 
sffcConnect With a Mentor Author Commented:
I figured out a way to do this.  You can use parameters in Grapher, and parameters can be functions.

Simply create three equations:

a={3x+5}
y=a
y=.5*a

Viola!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.