Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Maple Apps-Venn Diagrams does not work.  In box on the right there is an error message.

How do I calculate the first 5 values of the bisection method using the starting values of 4 and 5 of the function f(x) = (5 - x) * (e^x)-5


a := 4;
b := 5;
nStep := 5;

To obtain the columns of matrix as a list, this is what I currently do




Also this does it


Is there a "shorter" way to do it?  For example, A[..,[$1..4]] does not do it ofcourse, it just gives the matrix itself back.



To solve this, I got this far but am not sure where to go next?


f2 := x^2 - 3;
f2d := diff(f2, x);
                             x  - 3
                              2 x

set value for x0, number precision

x0 := 3;
eps := 0.1*10^(-5);

I do not understand what ColumnSpace is doing in Maple, as I can't get it to match my hand solution and the book. It must be using different definition which is not the book standard.

In the textbook, it says to find column space of matrix A, is to find the Echelon form, then lookup the pivot columns. Then pick the corresponding columns from the original A. These are the column space.

I'll show the book example, and Maple code to try to get same answer.

Here is an example from the book

Notice the columns space are the first, second and fourth columns of A. Since these correspond to the pivot columns of the Echelon form.

In Maple, the Echelon is found using LinearAlgebra:-GaussianElimination(A,'method'='FractionFree'); which gives the same pivot columns as the book. So far so good (the numbers are not the same, but this is normal, as Echelon form is not unique. Only reduced Echelon form is unique), but as long as the pviot columns are correct, that is the important part. 

But when I do LinearAlgebra:-ColumnSpace(A); I get completely different result. The only thing I could see in help, is that it says The Vectors are returned in canonical form with leading entries 1.

I do not underand what that means or how to convert Maple answer to make it match the expeted result since the result is completely different and I do not see the mapping needed.


I also tried this on Wolfram Alpha, and got same answer as the book



Maple 2020.1

reference: Differential Equations and linear algebra, 4th ed., Edwards, Penney and Calvis. Pearson. 2017. page 247.


I do not understand why this simple procedure evaluates so differently depending on the type of its second parameter?

A typo somewhere or a bug?




`Standard Worksheet Interface, Maple 2015.2, Mac OS X, December 21 2015 Build ID 1097895`


KL := (a, b) -> (1/4)*(2*ln(a+b)*a^2+4*ln(a+b)*b*a+2*ln(a+b)*b^2-2*ln(b)*b^2-a^2-2*a*b)/a

proc (a, b) options operator, arrow; (1/4)*(2*ln(a+b)*a^2+4*ln(a+b)*b*a+2*ln(a+b)*b^2-2*ln(b)*b^2-a^2-2*a*b)/a end proc


evalf(KL(1e-10, 1/2))



evalf(KL(1e-10, 0.5))



evalf(KL(1e-10, convert(0.5, rational)))



limit(KL(a, 1/2), a=0, left);
limit(KL(a, 1/2), a=0, right)





limit(KL(a, 0.5), a=0, left);
limit(KL(a, 0.5), a=0, right)








(2x+a^2-3a)=a(x-1) with all the real values of a

I have a system of six ODEs. i solve them numerically using dolve,numeric command. the problem is setting step size for example stepsize=1e-5 or minstep=500 lead to a result of order 1e-2; But without using this option, results are of order integer numbers. could any one help? tnx in advance




I'm trying to fit experimental data to a model in which a variable is the result of an equation.

In a procedure I solved the equation and found lambda22 for each of the data lambda11 I have. It depends on a a parameter I need to identify to fit the data to the model.

But then when I use DataFit from DirectSearch package, I get this error :

Is it impossible to specify more than one independant variable ? Or is it a problem coming from the procedure ?

Thanks in advance,




data:=ExcelTools:-Import("D:/data.xlsx") : # importer les donnees



   global __old_a;
   local res, i, eq1, sol1, lambda22Est;
   if not [aValue]::list(numeric) then
      return 'procname'(args);
   end if;
   if __old_a<>aValue then
      __old_a:= aValue;
     for i from 1 to RowDimension(lambdaX) do
		sol1:=solve(eq1[i], lambda22);
	end do:
   end if;
end proc:




Using Maple 2020 I can't seem to get a trigonometric equation (fairly simple at that) to solve properly.

Here's a capture :


Expected answer is 1/(25*sqrt(3))

Adding +2*Pi on the RHS to match the sign doesn't work either.

Hi everybody, I have a set from fsolve command. As shown in below image

When I want to obtain only numbers, I write cozum[1] but maple gives me c-4=1.591497964.. As you understand I want only numbers. How can I do this? 


Direct integration produces a large, messy statement, including numbers like 2017, 2016,...,1

Looking at the parts, the numbers 2020, 2019, etc. are in each.

(**) sum((k+1)*x^k,k=0..2018);

(**) sum(x^k,k=0..2019);

Looks like this should reduct to some simple expession????

Looking at #6 in

How do I entter the continued fraction in Maple?  I am using the command line interface (actually Emacs).


I want to solve a set of equation (four equations) to plot variation of u[i10],u[i20],phi[d0] versus delta[d] for delta[i]=0.5 and different values of alpha (for example, alpha=0, 0.1,0.2)

How can I do that with Maple?

(It should be noted that depending on the sign of phi[d0], one must use Eq. 2a or 2b. The other equations are Eqs. 1,3,4)
I expect to plot figures like the attached figure.

I am looking to find a distribution function (both PDF and CDF) for the distance between two points on the unit square.

Each point will be uniformly distributed on the [0,1] interval for both the x and y axes.  The distance between these points (dij) will of course be:

d[i, j] := sqrt((x[i] - x[j])^2 + (y[i] - y[j])^2)

I think that using a convolution may be required, but this is over my head.  If anybody can show me (preferably via a Maple worksheet), I would be very appreciative.

Thank you.


1 2 3 4 5 6 7 Last Page 3 of 1737