Maxima program flow



nikkos pisze:
> Hi,
> 
> i am trying to write a program to maxima. i don't want to use it in the
> interactive mode,
> but i want to write a program and then execute it, so i can measure the
> execution time.
> 
> I did't find anything about writing programs in maxima, so i want your help
> or a link to search
> deeper.
> 
> Thank you anyway,
> Nick
( I am not an expert  and my style is not a good Maxima style)
  but you can see measure of time ( without time of drawing ) in :
http://commons.wikimedia.org/wiki/Image:ComponentNewton.jpg

The code is simple :

start:elapsed_run_time ();
/* do something */
stop:elapsed_run_time ();
time:fix(stop-start); /* in seconds */

Adam