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
0
votes
2 answers

Why is `evalf` not working?

Why is evalf not changing $\pi$ and $e$ to floating point in the following: h := proc (x) options operator, arrow; exp(x)*cos(x) end proc Tay := taylor(h(x), x = (1/6)*pi, 2) P2 := convert(Tay, polynom) evalf(P2(.5)) The output…
0
votes
2 answers

Changing Rational Expressions into a Sum (or Difference) of Rational Expressions in Maple

Given $\dfrac{x^4+x^3-4x^2-4x}{x^4+x^3-x^2-x}$, is there a way to make it into a sum or difference of rationals such as: $\dfrac{x^2}{(x-1)(x+1)}-4\dfrac{1}{(x-1)(x+1)}?$ I've tried using factor and normal but with no luck. I think the closest I've…
0
votes
1 answer

Optimization in maple

I optimized a function and I want to use the value. The answer I got is [4.77011197468878567, [alpha = 1.43792823465135400]] and I want to use the alpha for plotting but I don't know how to extract it.
0
votes
1 answer

How to cancel the same term on both sides of equation in Maple?

I tried using "simplify" but it doesn't work. For example: simplify(a*b=b*c) assuming b>0 will not get a=c but return the original equation. or even simplify(a*b/b) assuming b>0 will not get a directly but return the original equation. Could anyone…
0
votes
2 answers

How to interpret a solution from Maple's $solve$ command when I use $assume$?

Consider the following function $$W(k,a,b,q_1,q_2,q_3,q_4)=\frac{k}{a}(q_1q_3+q_2q_4)+\frac{k}{b}(q_1q_2+q_3q_4)+\frac{k}{\sqrt{a^2+b^2}}(q_2q_3+q_1q_4)$$ In Maple, W := (k, a, b, q__1, q__2, q__3, q__4) -> k*(q__1*q__3 + q__2*q__4)/a + k*(q__1*q__2…
xoux
  • 4,913
0
votes
1 answer

Evaluate integral Maple

I am trying to solve the following diff-equation: $y'(t)−(3t+2)y(t) = 4e^{3t}$ I have found the solution manually and now I want to check my answer with Maple. I have defined the diff-equation: L := D(y)(t) - (3t^2 + 2)y(t) = 4exp(3t) Then I have…
omem
  • 45
0
votes
1 answer

Linear functions with parameter in maple

Please help me, Im new in Maple. Dont you know how I can solve this? Matrix(3, 3, {(1, 1) = 863138, (1, 2) = -332862, (1, 3) = -530302, (2, 1) = 1726276, (2, 2) = -665724, (2, 3) = -530302*m, (3, 1) = -863138, (3, 2) = -998586, (3, 3) =…
Lukas
  • 1
0
votes
1 answer

Why can't DEplot plot the part of a solution to a differential equation to the left of a singularity?

I'd like to plot the solution to the differential equation $$\frac{d}{dx}y(x)=\frac{(y-1)^2}{(x+1)^2}$$ with initial value condition $y(0)=0$. The solution is $$y(x)=\frac{x}{2x+1}$$ Clearly, this function is not defined for $x=-\frac{1}{2}$, a…
xoux
  • 4,913
0
votes
1 answer

How to plot a paraboloid in Maple using spherical coordinates?

I am studying spherical coordinates. Here is the equation of a paraboloid in rectangular coordinates $$z = x^2 + y^2$$ In spherical coordinates $$\rho \cos(\phi)=\rho^2 \sin^2(\phi) \implies \rho (\rho \sin^2(\phi)-\cos(\phi))=0$$ So here is what I…
xoux
  • 4,913
0
votes
2 answers

multi variable integration in maple

In my research project, I needed to evaluate a multi-variable integration in maple. for example: $\int(\int(\sqrt(x^2+y^2)dxdy\\ D: {(x^2+y^2 <= 2y) ,( y<=x ) , (x,y >0)}$
0
votes
1 answer

Maple - LinearSolve evaluates seemingly equivalent augmented matrix differently

I am trying to get myself acquainted with Maple and was fooling around with some linear algebra. I noticed that the following commands restart; with(LinearAlgebra); P:=<0.6,0.3;0.4,0.7>; Id :=…
Julian
  • 11
0
votes
1 answer

What does invalid input mean for the diff function?

Currently I'm learning about maple. I'm studying structural mechanics and we need to use maple to evaluate expressions. The following code is for an exercise to use castigliano's second theorem to evalute the moment T. This is probably…
Tim
  • 684
0
votes
1 answer

using variable in a function

my question is that I have a function and a variable and I want the result of function in that point: f := exp(x)*sin(x): m:=5: n:=evalf(f, x:=m); but it doesn't work. in description of f we have: description(exp(__SELECTION(1, 2))…
negar
  • 45
0
votes
1 answer

How to find range from the graph using MAPLE?

I want to find the range of h for n=1, n=2 and n=3 using Maple from this graph. But I do not know how to find it. Can someone help me?
0
votes
1 answer

Finding the derivative of a numeric solution to an ode in maple

I'm looking at functions of the form $w''''(t)+aw''(t)+f(w(t)) = 0$ In maple I used the following which will return numeric solutions to w,w',w'',w''': sol := dsolve({de, ics}, type = numeric, output = listprocedure} What I would like to be able to…
John
  • 173