how to make maple show all calculations.

hello, i just started using maple in school and i was wondering if i can make it show all calculations. it always gives a nice answer but im wondering it if can show me all step by step and not just the answer so it will help me learning. thanks in advance.

btw i tried looking in the manual and using google, but didnt find anything.

jenni

Will's picture

Answered by TomM

You are in luck, TomM, just wrote up a great blog entry that should help you out.
____
William Spaetzel
Marketing Engineer, Maplesoft

thanks for the reply

thanks for the reply, but im afraid my english knowledge or brain capacity didnt let me understand that :( , i thought it would just be a setting somewhere in the program. lets say i wanted to solve the 2 following math problems, but i would like to see more details then just the answer.
1: diff((2*x^3-3*x)*(x^2-2),x);
2: simplify((9*x^4*y^(-2)/(12*x^(-5)*y^(-9))^3));

am i supposed to add parameters and stuff then? could anyone show me how its done please? i would appriciate that alot. and im sorry i dont understand the other post. i read it 6-7 times. i guess im to new to maple and math.

thanks alot in advance(again), jenni :-)

Doug Meade's picture

Maple Algorithms <> Human Algorithms

Jenni,

Your request is very common, and seems very reasonable. However, in many cases Maple uses different algorithms than you, I, or any human would use. (We can think, and make choices based on experience, personal preference, .... A computer can only follow an algorithm.)

The blog post talks about how you can construct a worksheet that shows the steps used in solving a problem. This is not what I believe you are seeking.

It is possible to ask Maple to show more information about what it is doing when you execute a command. One of the easiest ways to see intermediate output is to change the printlevel from 1 to a higher number. For example,

printlevel := 100;

For the two examples you give, this does nothing for the first one (diff). For simplify, you do see some intermediate work, but it's not very illuminating. But, if you change the first example from diff to int, then you will see something of interest. (Actually, you will see much more than you really want to see!)

For more information about printlevel, consult the online help (?printlevel).

I hope this has been helpful,

Doug
------------------------------------------------------------
Prof. Douglas B. Meade Phone: (803) 777-6183
Department of Mathematics URL: http://www.math.sc.edu/~meade/
USC, Columbia, SC 29208 E-mail: mailto:meade@math.sc.edu

Here Is A Crude Proc Usinf Student Packages

Restart:

Multivariable Version.

dmsteps:=proc(a,b,c,d);
with(Student[Calculus1]):
infolevel[Student[Calculus1]]:=1:
print ("Differentiate with respect to ",b);
Diff(a,b); print(%);
while not Hint(%)=[] do
Hint(%); print(%);
Rule[%](%%); print(%);
end do;
sumd:=%;
print ("Differentiate with respect to: ",c);
Diff(a,c); print(%);
while not Hint(%)=[] do
Hint(%); print(%);
Rule[%](%%); print(%);
end do;
sumd:=sumd+%;
print ("Differentiate with respect to: ",d);
Diff(a,d); print(%);
while not Hint(%)=[] do
Hint(%); print(%);
Rule[%](%%); print(%);
end do;
sumd:=sumd+%;
print ("Final Answer");
sumd;
end proc:

Warning, `infolevel` is implicitly declared local to procedure `dmsteps`

Warning, `sumd` is implicitly declared local to procedure `dmsteps`

dmsteps(sin(x)*cos(y)*z^3,x,y,z);

Maple Equation

Maple Equation

Creating problem #32

Maple Equation

Maple Equation

Maple Equation

Maple Equation

This problem is complete

Maple Equation

Maple Equation

Creating problem #33

Maple Equation

Maple Equation

Maple Equation

Maple Equation

This problem is complete

Maple Equation

Maple Equation

Creating problem #34

Maple Equation

Maple Equation

Maple Equation

Maple Equation

This problem is complete

Maple Equation

Maple Equation

simplify(rhs(%));

Maple Equation

This post generated using the online HTML conversion tool
Download the original worksheet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}