help-octave
[Top][All Lists]
Advanced

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

How to quad("sin(a*sin(x))*sin(x)",0,pi/2)?


From: niles
Subject: How to quad("sin(a*sin(x))*sin(x)",0,pi/2)?
Date: Tue, 28 Nov 95 00:34:03 -0500

Now I know this won't work as written but I'd like to do something like:

quad("sin(a*sin(x))*sin(x)",0,pi/2)

and loop over various values of "a".  How can I do this?

If I could "define" a function from the command line I could keep
changing the definition in a loop.  Is this possiable?

Perhaps a could do some fancy "printf" to a file that defines the function,
but this seems way convoluted.

Anyone have any better ideas?

        Thanks,
        Rick Niles.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]