<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 11 Feb 2005 22:23:13 +0000 (GMT)
From   : Sprow <info@...>
Subject: Re: programming tips

In article <420C9BCF.7080206@...>,
   Richard Gellman <splodge@...> wrote:

[snip]

> y=FNequation(x,a,b,c)
> PRINT "if y=ax2+bx+c, then y=";y
> END
>
> DEF FNequation(x,a,b,c)
> REM example statement to show FNs can be multiline
> =((a*x)*(a*x))+(b*x)+c

Unless I was asleep in that lesson I think you want
  =(a*(x*x))+(b*x)+c
for a polynomial of order 2,
Sprow.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>