Code:

ClrHome

Func

Plot1(Scatter,L1,L2)

QuartReg L1,L2,Y1

a->A

b->B

c->C

d->D

e->E

"T^4"-> Str1

A+Str1->X1t

What my code is doing is creating a QuartReg equation based off of the data in L1 and L2 then storing the entire function into Y1 so it can be graphed. At the same time a QuartReg equation is made up of 5 parts

a which is #^4

b which is #^3

and so on what my program does is store each one of those numbers as a variable ie a->A

What I want to be able to do is take each part of the equation and add onto the end T^4,T^3,T^2, and T then the last part of the equation wont have a variable.

The reason I want to change the equation from X^4,X^3,X^2, and X is because I want to be able to store the equation into parametric mode to create a parametric mode. The issue I'm having is that when my program gets to:

A+Str1->X1t

I get the error "Data Error"

When I hit GoTo it highlights the STO command aka ->

If you know how to fix this drop a comment or a better way to combine a string and a variable