Maple 2019 Questions and Posts

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

Maple Input:
restart; with(RealDomain); log[2](x^2 - 6*x) = 3 + log[2](1 - x); Maple returns as solution
ln\x - 6 x/ ln(1 - x) ------------ = 3 + --------- ln(2) ln(2) "(->)" [[x = 2], [x = -4]]
Is the solution x = 2 correct?

Substituting x=2 into the original Function Maple returns correct: log[2](2^2 - 6*2);

undefined and log[2](1 - 2).; undefined. So x =2 should not be a solution of this function.


y(0)=0 , y'(0)=1

I take the liberty to rephrase my previous question as I believe the title was not very clear and so maybe some power users did not look at it. I am making the transition from Mathcad towards Maple and get stuck solving the equation in the attached worksheet. In mathcad I would solve it like this:

How can I achieve results in Maple? I know it is a very powerful program but for me the learning curve is at this moment quite steep. Any help would be very much appreciated.

First of all I would like to wish all of you a happy, prosperous but especially healthy 2023! I have again a beginner question. Why is test2 not working in the attached document?

Thank you so much for your assistance!

The transformed boundary conditions are

How should I draw a 2D graph for which one parameter in x axis and 3 parameters in y axis change with respect to x axis parameter in same graph. To be exact in my problem for changing β value (in x axis) what will be the optimum value for p, q and e. I had obtained the optimum p (named as ptemp in file), optimum q (named as qtemp in file), optimum e (named as etemp in file) for different values of β. But I don’t know how to plot it? Whether to give plot command inside the loop or not? Please help me. I am attaching the file with code and a sample graph. ( Find the problem in Numerical analysis - below in file)                              

As a newbie I am still trying to learn Maple. I was wondering whether it is possible to import this txt file 2011068_2_ex.txt which contains results of different measurements separated by a header. I would like to import the data for each measurement without the header and to extract some data from the header. Is this possible in Maple and what should be the best method for doing so? What I would like to obtain at the end is Extracted_from_the_header.txt and raw data for the 4 measurements.

Thank you in advance for all help.

The attached Maple 2019  document attempts to solve a non-linear system of two coupled, time-dependent first-order PDE's, given a list of initial and boundary conditions.  The system models the optical transmittance through a thin photoresist layer whose transmittance changes upon exposure to the incident exposure energy, and hence, the cumulative transmittance through the layer is itself a function of both the exposure time and the distance traveled through the resist layer.  The list of fixed parameters, P, defines the characteristics of a particular photoresist (hereafter "pr") and an assumed exposure irradiance.

My first attempt towards a general solution without initial or boundary conditions (hereafter "ics" & "bcs") apparently "succeeds" (in that no error messages are thrown), however, the form of the solution is quite complicated and difficult (for me at least) to interpret.  I think I understand that the _Cn are undefined constants that require supplying ics & bcs to determine the solutions for the transmitted intensity I(z,t) & the normalized molar fraction of the photo-active component in the pr, M(z,t).  However I do not understand what the symbol _f refers to in the returned solutions.

I make a second attempt to solve the system numerically, supplying a list of the [ics,bcs] as arguments to Pdesolve, however the error message "Error, (in pdsolve/numeric/process_PDEs) PDEs can only contain dependent variables with direct dependence on the independent variables of the problem, got {Iota(0, t), Iota(z, 0), Mu(0, t), Mu(z, 0)}" raises the question of whether I have misunderstood the required syntax in using Pdesolve or that the system as posed is in fact insoluble by Maple.

I would appreciate any insights that readers of this post can contribute, as my experience using Maple and PDesolve in particular must be considered embryonic at best.

Scott Milligan

Hello all,

I am fairly new to Maple and would like to programatically simplify the output form using Maple's pade function on an arbitrary function: Y := 1/(R__s + 1/(s*C__dl + 1/(R__ct + 1/(sqrt(s)/sigma + 1/R__w))))
I found that only Maple's pade function was able to convert my function into a rational expression which is quite interesting.

Now I would like to replicate using maple what was manually done in steps 2 - 4 of the attached solution pdf (which was done by hand).

I was only able to do step 1 (as shown in the attached maple worksheet) after which I got stuck.

kindly assist



[chebdeg, chebmult, chebpade, chebsort, chebyshev, confracform, hermite_pade, hornerform, infnorm, laurent, minimax, pade, remez]


s = I*omega

s = I*omega


Y := 1/(R__s+1/(s*C__dl+1/(R__ct+1/(sqrt(s)/sigma+1/R__w))))



padey := pade(Y, x = sqrt(s), [1, 1])



collect((C__dl*s^(3/2)*R__ct*R__w+C__dl*R__ct*s*sigma+C__dl*R__w*s*sigma+s^(1/2)*R__w+sigma)/(C__dl*s^(3/2)*R__ct*R__s*R__w+C__dl*R__ct*R__s*s*sigma+C__dl*R__s*R__w*s*sigma+s^(1/2)*R__ct*R__w+s^(1/2)*R__s*R__w+R__ct*sigma+R__s*sigma+sigma*R__w), s)



padey2 := collect((C__dl*s^(3/2)*R__ct*R__w+C__dl*R__ct*s*sigma+C__dl*R__w*s*sigma+s^(1/2)*R__w+sigma)/(C__dl*s^(3/2)*R__ct*R__s*R__w+C__dl*R__ct*R__s*s*sigma+C__dl*R__s*R__w*s*sigma+s^(1/2)*R__ct*R__w+s^(1/2)*R__s*R__w+R__ct*sigma+R__s*sigma+sigma*R__w), sigma)





Hi All,

I solved a high degree polynomial equation for two variables and obtained a list of solutions as under:

{s = 0.01291429045, t = 0.06099359500}, {s = -0.6944124361, t = 0.8895072341}, {s = 0.3000821715, t = -0.06855860577}, {s = 0.1246366197, t = -0.06899397557}, {s = 43.29465387, t = -10.98020355}, {s = 7.400522990*10^6, t = -1.879497900*10^6}, {s = 7.442623977*10^6, t = -1.890190214*10^6}

In the second stage, I have to plug these solutions into another expression andsolve for second stage decision variables. However, I am only interested in the solutions where both s and t are non negative. How can I reduce the set to have a smaller subset?

Thanks for help

Hello everybody!

Im working on my great great (not great at all.. ) Dutch math book. Im really considering getting a copy of "Advanced Engineering Mathematics, by Robert Lopez". But hey, i worked through the first book, and now im at the half of the other second book. So i will finish it.

They left me with no clue on how to get the deal done, that is what is so perfect about this book i guess (i did a lot of books, but these Dutch books, yeah they do me like that) they will leave you in the dark, while they get all the grandeur because they know how to get it done, and you as the reader, well as a first timer, dont know how. Ive talked to a lot of students about this book. Yes it sucks. Classes full of students did agree on that, the majority did. So yeah, im trying to get a book delivered from the university library to a university libary closer to me, so i can get the book that does have good reviews.

The things i did learn from the Dutch math book did work great in statics and mechanics. That made short work of all the questions like a hot knife through butter.

I cant prove this, because i dont know how. The translation says: a. Prove that the inverse of A exists for all values of p.

b. Determine the inverse of A

My take on it thusfar:

#Opdracht 9



A := `<,>`(`<|>`(1, 1, 1, 1), `<|>`(p, p+2, p+3, p+4), `<|>`(p^2, (p+2)^2, (p+3)^2, (p+4)^2), `<|>`(p^3, (p+2)^3, (p+3)^3, (p+4)^3))

Matrix(%id = 18446747008253355422)






B := MatrixInverse(A)

Matrix(%id = 18446747008306226350)



Thank you!


The Function


Dear everyone,

Ive been looking at this problem ive got, but i cant find out what would make it work. I can put numbers in a matrix, i can solve 3 unknowns with 3 equations. But now there is a variable, and the variable causes the solution to give either: 1 solution, no solution, or more than one solution. 

I can "brush the matrix" as they say it in Dutch, but im learning Maple so it can go a lot faster than manual labor. So is there a way to do it with Maple? 

Figure 4.1 gives from left to right: 1 solution, no solution, and an indefinite amount of solutions.

Questions: For what value of p, a. gives 1 solution? b. gives no solution? c. gives more than 1 solution?

Now i got Maple to tell me how much p x1, x2, and x3 was, but its not bringing me anywhere to where i can get to a solution. 

A manual method is given in this example. Manual is way way to slow for what i need to achieve, ive got some large big books with mechanics, dynamics, statics, fluid mechanics, concrete calcutions, chemistry etc. waiting for me. I can never achieve that manually in the same time as i could do it with maple. :S 

#example of how to do a solve of a matrix with 3 variables:

stelsel := {x1+x2+x3 = 4, 3*x1+x2-5*x3 = -10, 3*x1+2*x2-x3 = 1}

{x1+x2+x3 = 4, 3*x1+x2-5*x3 = -10, 3*x1+2*x2-x3 = 1}


solve(stelsel, {x1, x2, x3})

{x1 = -7+3*x3, x2 = 11-4*x3, x3 = x3}


#now the example number 15

stelsel := {(2-p)*x2+x3 = 2, -x1+2*x2+(2-p)*x3 = 0, (1-p)*x1+2*x2+2*x3 = p+3}

{(2-p)*x2+x3 = 2, -x1+2*x2+(2-p)*x3 = 0, (1-p)*x1+2*x2+2*x3 = p+3}


solve(stelsel, {x1, x2, x3})

{x1 = -(p^2-6)/(p^2-4*p+4), x2 = -(2*p-5)/(p^2-4*p+4), x3 = 1/(-2+p)}



Thank you!


The Function


Can someone help me write the program for this equation?
I really need this program.
With respect


I hava a recursive formula with variable n. The answer has the variable n and also N1.  What doe N1 mean?

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