next up previous
Next: Saving Maple Work Up: WORKING WITH MAPLE Previous: WORKING WITH MAPLE

Preparing a Report With Graphs, Comments, and Commands

When submitting a report of your Maple work you may wish to include comments and graphs between the commands. Below we give an example of preparation of a report on finding all solutions of the equation in the interval . bullist Restart Maple by choosing New from the File menu. From the Edit menu choose Insert Text and the cursor moves a little lower. Now we may type our comments. Type (without hitting Return at any stage)

We find all solutions of x sin x = 5 in the interval [0,10]. We start 
by finding the approximate location of the solutions
Notice that all this is typed in black and the lines wrap around automatically. Now choose Insert Prompt from the Edit menu. You are ready to type the Maple commands
plot( x*sin(x)-5, x=0..10 );
Notice the above is typed in red - the color for Maple commands. Hit Return. You now have a graph we will paste in the Maple window.
First reduce the size of the graph to about half the height and width of the Maple window.
Then move the graph window so that it does not obstruct the Maple window.
Next, in the graph window, from the Edit menu choose Copy.
Then from the Edit menu of the Maple window choose Insert Text.
Then again from the Maple window Edit menu choose Paste and the graph will be pasted.
Now you may kill the original graph window. In the Maple window, Left click below the graph and again choose Insert Text. Now type the comment (without hitting Return)
We observe the solutions are between 6 and 8, and 8 and 10. So solutions 
may be obtained via
Now choose Insert Prompt from the Edit menu. Then type the Maple commands to find the solutions.
fsolve( x*sin(x)=5, x, x=6..8 );
fsolve( x*sin(x)=5, x, x=8..10 );
and our report is complete.



Peter Monk
Tue Aug 29 14:41:29 EDT 1995