Questions tagged [maple]

For questions involving the application of the program Maple to mathematics.

NOTE: questions which focus primarily on the program Maple and not on its applications to mathematics are not appropriate for this site.

Maple is an interactive engineering and scientific programming environment, as well as a high level programming language, from Maplesoft.

The following links can be useful:

755 questions
3
votes
1 answer

How simplify and expand work in Maple

When I do: expand(sin(5*u)) (1) The output is: 16*sin(u)*cos(u)^4 - 12*sin(u)*cos(u)^2 + sin(u) (2) If I want it to give me an expression with merely sin(u) in it, I would do: simplify(expand(sin(5*u)), [cos(u)^2 = 1…
2
votes
3 answers

Factoring in Maple

I am currently working on writing a procedure in Maple. What I need to be able to do is factor a number. The few commands I know to help with this are; ifactor(12); (2)^2(3) divisors(12); {1, 2, 3,…
Annie
  • 31
  • 1
2
votes
2 answers

What is the algorithm for the "Shorten" command in Maple?

There is a package in Maple called "PolynomialTools". That has a command "Shorten". Does anybody know on what algorithm this is based. The maple manual does not explain much. Example: with(PolynomialTools): Shorten(x^2+x+1,x);
Tony
  • 121
2
votes
1 answer

Generating Matlab Code using Maple

When exporting Matlab Code from Maple using for example the command fprintf(FileName, %s, CodeGeneration[Matlab](VariableName, output = string)) I get the text cg2=Expression. Expression is correctly exported, except that the variable name is…
2
votes
3 answers

Use I as an variable in Maple

I want to declare a function I(t), but Maple interprets I as the imaginary unit. Can I use a Maple command to assume I is an variable? I've looked in the manual, but I can't seem to find a solution.
Jamgreen
  • 809
2
votes
1 answer

Why does Maple evaluate $\lim_{x \to \alpha/2} \frac{x^2\alpha}{2x}$ but not $\lim_{x \to \alpha/2} \frac{x^2\alpha}{2x-\alpha}$?

Why does Maple evaluate the first limit but not the second:
xoux
  • 4,913
2
votes
2 answers

Why can't maple solve the integral $\int x^2 \sqrt{R^2-x^2} dx$?

I ran into this integral in a problem in which I was trying to calculate moment of inertia. I used Maple to try to solve it but Maple just returns the integral itself. I do not know why it can't do the trigonometric substitution and solve the…
xoux
  • 4,913
2
votes
2 answers

How to compute the the basis of the Null space in Maple

Can any one tell me how to find the basis for the Null space of a matrix A in Maple? I mean, If A is any Matrix of real numbers, then I want to compute the basis of the subspace Null(A). Thanks to every one who will can support me with the code.
LoveMath
  • 769
2
votes
1 answer

How to simplify using conjugates in Maple

I think it is fairly easy to see that $$\frac{1}{\sqrt 2 -1} = \sqrt{2} + 1$$ Now given the fraction on the left in Maple, how can we get to the equivalent expression on the right? I apologize in advance, if this is rather obvious. But after trying…
Josh
  • 1,086
  • 4
  • 15
2
votes
1 answer

Simplify a recursive function in Maple

I have the following problem. Out of the runtime analysis of an divide and conquer algorithm I got the following formula for the necessary flops: flops(n): = (89+1/3)*n^3 + 2 * flops(n/2) and flops(1):= 0 I want to sum it up and to remove the…
2
votes
2 answers

secant method in maple

secant method in maple. Find a root of the statement $x^3-3x^2+4x-1=0$ with the initial value $x_0=0$ and $x_1=1$ with 5 digits point approximation.
2
votes
1 answer

Newton Divided Difference Method of Interpolation in maple

Does anyone know how one can do this in maple? find Newton divided difference interpolation polynomial for the function cos2x the points {1, 0.6, 0.3, 0.1, 0}
2
votes
2 answers

How do I compare two expressions in Maple to see if they’re equivalent?

I have to compare two expressions as an assignment but the professor didn’t explain how to do it (I doubt he actually knows how to do the stuff he asks us to do). The two expression pairs in question: tg(x) + tg(y) =…
2
votes
2 answers

Finding Blowup of an ODE with maple

I've been interested in finite blowups of odes lately. I'm looking for a good way to calculate blowup times in maple. Right now all I do is to use dsolve, plot the ode, and then look where the solution appears to blowup. Unfortunately, this is…
John
  • 173
2
votes
2 answers

How does Maple simplify algebraic expressions?

I use Maple to simplify messy algebraic expressions. My problem is that sometimes Maple does not do it and I do not know why. For example, I know that a given expression is identically zero (checked it by hand several times) and it only contains…
1
2
3
14 15