Maple 18 Questions and Posts

These are Posts and Questions associated with the product, Maple 18

Hey everyone!

I have a complex function stored in a file (Comp-func.txt). The function is continues everywhere on the real axis (X-axis.txt). However, its log shows a jump somewhere close to x=-1.5. I would like to understand how Maple interprets this "jump" and how to avoid such numerical artifact.

thank you.

 Comp-func.txt

Jump-Log-Func.mw

X-axis.txt

Hi guys,

I can not solve this integral with maple ! I really appreciate if someone can help me! Mathematical gives a solution in terms of hypergeometric function! 

p^2 , m, \epsilon, D > 0 and i is imaginary number 

Thanks 111.mw

I was computing an integral (Running Maple 18 on Windows 10):

The classic lenght of arc Integral of sqrt(1+(dy/dx)^2) dx

In this case, the function was a cartesian circle (x-R)^2+y^2=R^2 isolated as y=sqrt(R^2-(x-R)^2)

When I do the integration, the result of the integral is not correct.
But if I change R for a, the result is correct. Why? This does not make any sense.

R wasn't assigned to any variable. The code was:

Good Integral

[>y:=expand(sqrt(a^2-(x-a)^2));
[>f:=expand(simplify(sqrt(1+diff(y,x)^2)));
[>S:=int(f,x)+K;

Wrong Integral

[>y:=expand(sqrt(R^2-(x-R)^2));
[>f:=expand(simplify(sqrt(1+diff(y,x)^2)));
[>S:=int(f,x)+K;

In fact, any UPPERCASE letter used as the radius gives me the wrong answer whereas any LOWERCASE letter gives me the proper result. Why is this?

Thanks and have a nice day
EDIT: I added a Screenshot

Input:

 a := x^2;
 whattype(x);
 b := x[1]^2;
 whattype(x[1]);
 CodeGeneration[C](a);
 CodeGeneration[C](b);

Output:

Do you know why cg0 =/= x[0]*x[0]?

Hi everyone, how can i plot nonlinear phase portraithere k,w, alpha,K, k, gamma, beta are arbitrary constants and i have three equilibrium points:

I hope the resulting graphics are as follows :

How can I plot these phase portraits? Thanks in advance.

Greetings!

For factorization and computing times purposes, I'd like Maple to not perform this automatic conversion.

whattype(a*b) gives whattype(a*b)

while whattype(a*a) gives whattype(a*a)

Alternatively, a way to factorize 6*x^2+a*x-10 into (a+6*x)*x-10 could do the trick.

Here's a list of the functions I've already tried:

  • factor
  • collect (so coeff too)
  • combine/expand

Any ideas?

Thank you!

Hello. Please help me. I need to calculate the integral (3). This integral has many singular points at which there is convergence in the sense of the principal Cauchy value. The Maple integral itself does not count. I don't understand how to find automatically all the singular points on the integration area. Then, perhaps, it would be possible to split the integral into the sum of integrals by regions, as I roughly wrote in the picture. I want to automate this process, because in fact it is necessary to calculate many integrals of the form (4), where f(x,y) are arbitrary functions that can oscillate strongly, so I don't want to write banal quadrature formulas. I would like to use the means of Maple, since the accuracy will be greater and faster, but we need to somehow bypass the special points. I will be glad of any help. Thank you very much


restart

r1 := 1:

1/1000000

(1)

F1 := 1/(Zp*sqrt(k^2-x^2)*sin(y)+omega*rho1);

1/(46715093.93*(-x^2+1)^(1/2)*sin(y)+1485000)

(2)

Int(F1, x = -k+epsilon .. k-epsilon, y = 0 .. 2*Pi);

Int(1/(46715093.93*(-x^2+1)^(1/2)*sin(y)+1485000), x = -999999/1000000 .. 999999/1000000, y = 0 .. 2*Pi)

(3)

F2 := F1*f(x, y);

f(x, y)/(46715093.93*(-x^2+1)^(1/2)*sin(y)+1485000)

(4)

``

Download Integrate.mw

Is there an option or a tool to know if maple is trying to finish the calculation or if it is in a bucle?

Hi.

I have to make a picture Polynomiograph from metrics such as

m:= Matrix([[1, 2, 3], [4, 5, 6]])

By assigning each number a color as follows.

1 = aquamarine

2 = blue

3 = brown

4 = coral

5 = cyan

6 = black

How should I write the code?

Hello!

I am trying to integrate this function numerically from x=0... 1, by using int and evalf(Int) but maple cannot handle it. Is there another kind of numerical integration?

(2*x-1)^2*(2*n+(5*(2*x-1))*(x-1))*(2*n-5+5*x)*ln(1-(5*(1-x))*x/n)/((1-x)^2*(-2*n-(15*(1-x))*x))

Are there another kind of procedures to do numerical integration?

 

 

I have a printed book copy of Derek Richards' book, Advanced Mathematical Methods With Maple and would like to get the solutions to the problems in the book. Unfortunately the web download is no longer available. I have not been able to locate a copy or to contact Derek Richards directly. 

Can anyone please help?

Thanks

Joe Ladish

First 10 11 12 13 14 15 16 Last Page 12 of 87