Fw: latex to maxima code (fwd)



i got this kind of code
-----------------------------------

*f[n,k] := concat('f_,n,"_",k)(s)$*

*df[n,k] :=*

* if n=0 then 0 *

* else
'diff(f[2*n,k],s)=%psi*((k-1)*sqrt(n-k+2)*f[2*n,k-1]-k*sqrt(n-k+1)*f[2*n,k+1])$
*

*atvalue(f_4_2(s),s=0,0)$*

*atvalue(f_4_3(s),s=0,0)$ *

*makelist( df[2,k],k,1,3);*

*desolve(%, makelist(f[4,k],k,1,3) );*

*nonzero;*
*-----------------------*---------------------------
this code give me 3functions which is f_4_1(s) , f_4_2(s) and f_4_3(s) .
what I want to do is to plot this functions for different %psi and s. For
this small problem I can just rewrite the functions I get in maxima and plot
it, but for higher problem, one function give me almost 15lines of equation
and its takes time for me to rewrite each function and plot it. to rewrite
such functions also not practical because it will have some human error in
rewrite those large functions.

I try use stringout command but it just give me input command that I invoke
in maxima, i try to use writefile but it gives me output that I can't use to
reuse to plot or change the %psi and s value. I try to use save command but
i failed to understand how to use it..it always give me this error

-----------------------
*save(savelaaa,all);*
*save: first argument must be a string; found: savelaaa*
* -- an error. To debug this try: debugmode(true);*
------------------------



On Tue, Apr 19, 2011 at 9:15 AM, razif razali <razif66 at gmail.com> wrote:

> How to use save arguments?when I invoke this command in maxima '
> save(test,all) ' it gives me this
> -----------------------
> save(savelaaa,all);
> save: first argument must be a string; found: savelaaa
>  -- an error. To debug this try: debugmode(true);
> ------------------------
> how to save my input and output in maxima?
>
>
> On Tue, Apr 19, 2011 at 12:05 AM, Leo Butler <l.butler at ed.ac.uk> wrote:
>
>>
>>
>> On Mon, 18 Apr 2011, razif66 at gmail.com wrote:
>>
>> <
>> < Sent from my BlackBerry? wireless device via Vodafone-Celcom Mobile.
>> <
>> < -----Original Message-----
>> < From: razif66 at gmail.com
>> < Date: Mon, 18 Apr 2011 15:45:46
>> < To: Leo Butler<l.butler at ed.ac.uk>
>> < Reply-To: razif66 at gmail.com
>> < Subject: Re: [Maxima] latex to maxima code (fwd)
>> <
>> < Thanks leo,i try used stringout(a,all) command and it save all input
>> command that I gave in maxima...but how to save the output one?so that I can
>> used the output file for next computation?
>>
>>  You can find help in Maxima on a topic T by entering
>>
>>  ? T
>>
>>
>>  E.g.
>>
>>  ? save
>>
>>  <snip>
>>
>>     The special form `save (<filename>, all)' stores the current state
>>     of Maxima.  This includes all user-defined variables, functions,
>>     arrays, etc., as well as some automatically defined items.  The
>>     saved items include system variables, such as `file_search_maxima'
>>     or `showtime', if they have been assigned new values by the user;
>>     see `myoptions'.
>>
>>
>> I think this is what you want.
>>
>> Leo
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>>
>
>
> --
> Regards,
>
> RAZIF RAZALI,
> Tutor & Master Student,
> Physics Department,
> Faculty Of Science,
> Universiti Teknologi Malaysia(UTM).
> +60199393606
>
>
>
>


-- 
Regards,

RAZIF RAZALI,
Tutor & Master Student,
Physics Department,
Faculty Of Science,
Universiti Teknologi Malaysia(UTM).
+60199393606