2453 Reputation

12 Badges

14 years, 290 days

Dr. Robert J. Lopez, Emeritus Professor of Mathematics at the Rose-Hulman Institute of Technology in Terre Haute, Indiana, USA, is an award winning educator in mathematics and is the author of several books including Advanced Engineering Mathematics (Addison-Wesley 2001). For over two decades, Dr. Lopez has also been a visionary figure in the introduction of Maplesoft technology into undergraduate education. Dr. Lopez earned his Ph.D. in mathematics from Purdue University, his MS from the University of Missouri - Rolla, and his BA from Marist College. He has held academic appointments at Rose-Hulman (1985-2003), Memorial University of Newfoundland (1973-1985), and the University of Nebraska - Lincoln (1970-1973). His publication and research history includes manuscripts and papers in a variety of pure and applied mathematics topics. He has received numerous awards for outstanding scholarship and teaching.

MaplePrimes Activity

These are answers submitted by rlopez

Solve works find in Maple 18.02. I suspect that you had previously assigned something that caused the error messages. Try a restart.

RJL Maplesoft

It appears that Maple uses variation of parameters to obtain a particular solution. This method has the propensity to provide a particular solution that contains solutions of the homogeneous equation.

I am not aware of any simple way to filter out the homogeneous solutions from such a particular solution.

Since the ode is linear, constant-coefficient, and the right-hand side yields to the method of undetermined coefficients for finding a particular solution, that might be the best way to obtain the "simpler" particular solution.

RJL Maplesoft

If I understand the question correctly, simply add the option "axes=boxed" to the plot command.


RJL Maplesoft

Assuming that you really have a circular cylinder ( what appears in your message isn't the equation for such), and taking a=1 and b=1/2, the following code will generate the graph I think you want.


RJL Maplesoft

Maple's top-level diff command will not take a derivative with respect to a function. In the Physics package, diff has been modified to do this task. The simplest way to access this modified version is to replace diff with Physics:-diff.

RJL Maplesoft

Look at the recorded solution from the Maple web site. It's at the end of this link:



RJL Maplesoft

The difficulty with the graph is the singularity at the origin. Here's a trick I learned from one of the Maplesoft programmers, and in my Red Book of Maple Magic it's dated December 19, 2012.

U:=min(3.5, 1/sqrt(x^2+y^2));



The limit on heights imposed by the min command keeps contourplot from distorting the contours. The differing views shown in the post probably come from having evaluation points fall on the singularity or not.


RJL Maplesoft

An unevaluated integral constructed with the Int command can be sent to the built-in numeric integrator (an adaptive procedure) by applying the evalf command to the integral. For example:




Not sure how important it is to your work that the integral actually be evaluated by the Trapezoid rule.

RJL Maplesoft

In the Tools menu, select Tutors, then Calculus-Single Variable, then Newton's Method.

That tutor will probably give  you what you need. Notice the command at the bottom of the tutor. You can copy and paste that command and use it to fine-tune. You will h ave to load the Student Calculus 1 package to make that command work. Use the Tools menu again, but this time select Load Package and then select the Student Calculus 1 package.


RJL Maplesoft

The feasible region is a triangle in the first octant, vertices are (3,0,0), (0,3,0), (0,0,3);

The function value at each of the three vertices is approximately 18.4.

Now search on each edge of the triangle. The function has a minimum along each edge.

Now search for an "interior" max by eliminating z. Look for a max in f(x,y,3-x-y). Apply plot3d to see that the highest point is in the plane x=3. Therefore, look for a max in f(3,y,-y). This max is approximately 19.8 (by fsolve and the usual techniques of the calculus).

RJL Maplesoft



diff(g(t),t) will then appear as the letter g with an overdot, and no independent variable showing.


The Suppress command is part of the Typesetting package. The difference between Suppress and declare is that with Suppress, the independent variable can be omitted on input as well as on output. Thus, diff(g,t) will then appear as g with an overdot.

RJL Maplesoft

There are commands in the Student VectorCalculus package that make the task a bit less tedious.





RJL Maplesoft

Control Enter will put a visible page break at the point where the cursor is.


RJL Maplesoft

Four equations in two unknowns. I suspect that there were more than just syntax problems here.


RJL Maplesoft

Square brackets in Maple denote lists. They should not be used as replacements for parentheses. Change "[" to "(" and "]" to ")" in the definitions of the ODEs.

RJL Maplesoft

First 11 12 13 14 15 16 17 Last Page 13 of 22