dharr

Dr. David Harrington

3120 Reputation

17 Badges

17 years, 346 days
University of Victoria
Professor or university staff
Victoria, British Columbia, Canada

Social Networks and Content at Maplesoft.com

Maple Application Center
I am a professor of chemistry at the University of Victoria, BC, Canada, where my research areas are electrochemistry and surface science. I have been a user of Maple since about 1990.

MaplePrimes Activity


These are replies submitted by dharr

@janhardo Your plot of the integral is just a horizontal line because the evaluated integral is just the number Pi*cosh(1)-Pi*sinh(1), and the default plot range is -10..10. So it is like plot(1.8,x=-10..10).

cos(z) is not exp(I*z). Try convert(cos(z),exp) to see what it is.

Suggest you use complexplot to visualize some of the functions you are using.

@acer @Carl Love Thanks for the info. I'm a little surprised that the default would become extended but then the special function rules would be off by default - it seems many probably share the OPs confusion.  

@Kevin Dragnet  I think you should contact technical support - something definitely wrong here. https://www.maplesoft.com/support/ [Edit: see @Carl Love's answer below]

MeijerG typesets in mathematical notation; I don't have FoxH in my version.

restart;

interface(version);

`Standard Worksheet Interface, Maple 2015.1, Windows 8, June 4 2015 Build ID 1049007`

interface(typesetting=extended):

MeijerG([[1, 1, 1, 1], []], [[], [4, 3, 2, 2]], Pi);

MeijerG([[1, 1, 1, 1], []], [[], [4, 3, 2, 2]], Pi)

 

Download typesetting.mw

@mmcdara I'd probably combine these two, so 1/(sqrt(1-x)) = (1-x)^(-1/2) =1-(-1/2)x+... approx= 1+(1/2)x for x small, using the binomial expansion, (1+x)^n = 1+n*x+... or (1-x)^n = 1-x*n

@The function See the help page ?pochhammer, which says

pochhammer(z, n) = z*(z+1) .. z+n-1

so there are n factors going up in steps of 1, starting at z.

@Carl Love convert(sqrt(x), FormalPowerSeries, x = 1) will work directly here.

@Katatonia See edit to my answer below.

@Katatonia Perhaps my version of Maple is too old, but I only see the definition of the piecewise function, and not the dsolve command. But you seem still to have p*T=0, which as an initial condition should be p(0)=0.

@nm I was not suggesting that the equivalent interface options would work - I tried that myself and found they did not. My point is that since these plot options appear under "interface" that they may be part of the "communication with the user interface" (see the interface help page), which is turned off when the worksheet is run "headless". From the RunWorksheet page: "The invoked worksheet runs "headless", meaning that it will not appear with a user interface." (my italics).

@FDS To convert Pa to mmHg use convert(27., 'units', 'Pa', 'mmHg'). You can just use x=0..Bloodpath as the odeplot range, with useunits=true.

To find the value at Bloodpath use sol(Bloodpath). I guess in this case you need to remove units.

Please upload your Maple worksheet using the green up-arrow option in Mapleprimes.

I don't know much about this, but in Maple 2015 FunctionAdvisor("branch_cuts",HeunC); returns "The location of the "branch cuts" for HeunC is unknown to the FunctionAdvisor"; compare FunctionAdvisor("branch_cuts",BesselJ); which returns "[BesselJ(a, z), And(a::(Not(integer)), z < 0)]". Likewise, MathematicalFunctions:-Get("branch_cuts",HeunC); returns empty. 

There is further information in other parts of the MathematicalFunctions package such as Evalf that may be useful.

@vicky2811 This is a general statement. Polynomials of degree greater than 5 do not have formulas for their roots (except in special cases). See e.g. https://en.wikipedia.org/wiki/Polynomial#Solving_equations

If you are interested in the infinite summation case (c=infinity) then it might be possible to find some formulas.

@mmead Glad you liked it. I modified it to also handle indexed variables, where the unit is the same for any index. See the edit in my original answer.

@tomleslie I should have noticed that! Vote up.

3 4 5 6 7 8 9 Last Page 5 of 29