plot3d - Lisp error



Why does the following error occur? How can I make it work?

(%i1) prf1 ( w, s, n ) :=sum ( ( c [ i ] * exp ( -0.5 * w ^ ( 2 * n ) / s ) ), i, -n, n );
(%i2) plot3d ( prf1 ( w, 2, n ), [ w, -1, 1 ], [ n, 1, 2 ] );
Maxima encountered a Lisp error:

 Error in PROGN [or a callee]: Expected a LONG-FLOAT 

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.

Best regards

Philipp




"Jetzt Handykosten senken mit klarmobil - 14 Ct./Min.! Hier klicken"
www.klarmobil.de/index.html?pid=73025