Re: Over My head -- 89 Programming


[Prev][Next][Index][Thread]

Re: Over My head -- 89 Programming



If you have the equation done as f(x), I think you can just say f(x)->y1(x)
and then do the DispG command.  If that doesn't work, show us some of that
code.

>I wrote a program for my 89 to work as a Polynomial solver similar to the one
>on the 86.
>It works.  Part of the program uses polyEval to take the coefficients and
>generate an expression.  I then pass that expression to Solve to generate the
>roots for f(x)=0.
>Now I also want to pass the same equation to a Graph or DrawFunc to generate a
>graph of the equation.  I stored the expression to a local variable.  I get an
>undefined variable error.
>What should I do to define a global variable that can be passed to the graphing
>function as an argument?  Please be specific, I am kinda new at this.