2890 Reputation

14 Badges

18 years, 65 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 replies submitted by rlopez

@Joe Riel 

The SpaceCurve command in either of the VectorCalculus packages will graph a curve defined parametrically by either a 2- or 3-dimensional vector. No need to switch graphing commands for different dimensions.

Have you followed the thread most recently appearing here:




The Physics:-Vectors package has some neat functionality for vectors and differentiation. Unfortunately, it has none for visualization or integration. The Student VectorCalculus package has wonderful functionality for integration and visualization.

The Physics:-Vectors package is the only place in Maple where one can manipulate "unprojected" vectors, that is, vectors that do not have to be given components. So, vector identities can be manipulated without having to specify components for the vectors.

The Student VectorCalculus package is far more lenient with respect to setting coordinates. The VectorCalculus package demands at every turn a declaration of the coordinate system and the coordinate-variable names. The Student package, recognizing only Cartesian, polar, cylindrical, and spherical coordinates, all with default coordinate-variable names, is much more user-friendly for someone not working in esoteric systems.

@Markiyan Hirnyk 

Interesting. I have the source code for Maple V Release 4 on a set of 10 floppy disks, the original media used for the distribution of this version. My Windows 10 laptop does not have a floppy-disk reader, nor does my Windows7 desktop. How did you manage to install MVR4 on a machine capable of running Windows 10?


Minimize in the Optimization package computes numerically. It is not able to work with the c's as parameters, and that accounts for the zero solution. Hence, the LagrangeMultipliers command, which can work symbolically.

@mahmood1800 Originally, the constraint was an equation. Now, you show that not to be the case. I'm therefore confused as to what your original problem actually was.

@Robert Israel 

Thanks for the gfun usage and the pointer to OEIS.

Note that the gfun package did not find my "interpolation-completion" of the first sequence, not did it find the next strobogrammatic number with the generating function it provided for the second.

@exality Thanks for getting to the cause of the problem. When I coded the template I never thought of potential conflicts with other packages. Will have to consult with the professional Maple developers at Maplesoft for advice. For now, it seems as if the unwith suggestion is the best alternative for you. Changing the code in the task template itself is a much more involved process.

Maple 12 gives the same null response. In Maple 2017, I can eliminate x1, x2, and x3 first, then in that result, eliminate x8. (The first result contains no x4.) The second result looks like the result of the example you posted of what you expected.

The Next-Step button in the Limit Methods tutor applies a simplification, obtaining -(1/(x+1)), from which the limit should be transparent. On the other hand, one could use the tutor to apply L'Hopital's rule, in which case one is then taking the limit of -1/(x+1)^2.

Not sure what help exactly you are looking for.

I'm having trouble understanding what it is you want to do. Your code defines an inequality of the form f(a,b)<=16. What kind of "surface" do you think this inequality defines? There are certainly regions in the (a,b)-plane where this inequality holds, but how does this inequality define any sort of 3D object? Of course, the expression f(a,b) becomes a surface under plot3d, and one can even cut off that part above 16. If that is what you want, then define f(a,b) as F:=add(`~`[rhs](eval(el, [theta = a, phi = b]))[i]^2, i = 1 .. 3); and apply



Is it not the case that selecting Atomic Variables in the View menu changes the color of all such variables in the document? The magenta color assumed by these atomics stands out pretty clearly. So, I wonder why you pointed to such an odd visual clue in your comment. Am I missing something?

When the Enter key is pressed, Maple searches for a solution, but fails to find one, so returns NULL.

If you eliminate w and the derivative with respect to w, Maple returns a solution. So, it would appear that as the equation becomes more complex, Maple cannot find a solution, or perhaps it means no solution exists.


The Gibbs phenomenon refers to the fact that near a jump discontinuity, the partial sums of a Fourier series "overshoot" the one-sided limit of the function by an amount equal to approximately 9% of the jump at the discontinuity. The attached worksheet examines what happens to a function that has a jump of three units at a discontinuity at x=0. The Gibbs spike in several partial sums are found to have heights slightly larger than the one-sided limit from the right. The amount by which this max exceeds the limit from the right is shown to be approximately 9% of the jump of 3.Gibbs.mw

The relevant command in the LinearAlgebra package is Eigenvectors, not eigenvects or eigenvectors. This command returns a sequence of two objects, a vector containing the eigenvalues, and a matrix whose columns are the eigenvectors. There are options available in this command that will alter the form in which this information is displayed. One can obtain the algebraic and geometric multiplicities of the eigenvalues, etc. Look at the help page for details.

It is a rare 8x8 matrix whose eigenpairs can be found in closed form. Think about it. You essentially have to solve an 8th-degree polynomial equation. Of course, you remember that there is no formula for solving such polynomial equations once the degree exceeds 4. But for the matrix in your worksheet, the characteristic polynomial factors, and the eigenvalues can be found exactly. In general, if the matrix contains a single floag (a number with a decimal point), the calculation of eigenpairs will be done with numeric tools and the return of the Eigenvectors command will contain just floating-point numbers.

One of the exact eigenvalues for your 8x8 matrix is exactly zero. If the matrix T contains a single float, then the eigenvalues are computed and returned as floats, and the zero eigenvalue is no longer zero, but a small real number. That is what you have to contend with as you grapple with the matrix you are importing into Maple.


5 6 7 8 9 10 11 Last Page 7 of 19