282 Reputation

9 Badges

13 years, 136 days

MaplePrimes Activity

These are answers submitted by tsunamiBTP

If you are attempting to conver your MAPLE code to MATLAB I tried that before without success.  I did not spend too much effort since I like the symbolic format in MAPLE.  However, if you want to export numeric data generated in MAPLE that is REAL simple.  Once you generate your matrix or list data there is an EXPORT toon in the GUI.  Place your cursor directly over or on the output of your list or matrix & left click.  You will see EXPORT AS & there are several options & one of them is MATLAB.  I usually EXPORT my data as TAB DELIMITED that way it is universally recognized by any software.  I think the MATLAB option generates a .mat file for you.  If you choose TAB DELIMITED you can easily IMPORT that file while you are in your MATLAB session.

If you are looking to generate code & get that to work I would be interested in what you find out.  You might try asking that question in MATLAB Central.

Maybe this helps.

I renamed the file that I uploaded coeffs_of_homogen_soln_discrepancy'.mw instead of coeffs_of_homogen_soln_discrepancy.mw.  The prime symbol, ', for some reason did not allow the file to be uploaded.  Removing the prime symbol allowed me to upload the file.


Why MAPLE does not seem to cooperate I will need to experiment further.

I experimented with known functions with known transforms & what I proposed does not seem to work.

What I do not understand is the practice of employing the LaPlace transform to remove the time deriv's from anything other that an ORDINARY diff eq.  I have seen it done at least in practice of elasticity.  In electromagnetism they primarily stick with the fourier transform since they presume the signal is periodic in time.


If anyone has knowledge in this area, please enlighten me as to the motivation of the LaPlace over Fourier?

Examination of the Bromwich integral vs invfourier they appear identical except the Bromwich integral contains a Re component in its integration bounds; whereas, the Re part for the invFourier = 0.

The logic seems to support the approach I mentioned earlier.


Another possibility, but is it valid?

Decompose s-->express it in polar form which gives an exponential with a Re exponent * expontial with an Im exponent.  The invlaplace exists for both so then convolve them to get the proper answer?

I have no reference basis for this to test if this approach is valid, but it does give an answer.


appreciate any counsel!!

See attached.

I decomposed s into its Re & Im components & expressed that in polar form & then took the inverse.  MAPLE gave an answer but is this VALID?

If I do this decomposition instead of taking the inverse LaPlace should I simply do the inverse Fourier instead & multiply the result by exp(Re(s)*t)?

Does this yield a proper result for the time domain given the original governing eq for F posed in the 1st posting?


Loading Student:-Calculus1







Download inv_laplace_computat.mw

1 more thought:

The Fourier transform obviously works because you simply substitue e^jwt in for T & that divides out, but again that biases my temporal solution.  So I attempted what I have seen for solutions in longitudinal & shear wave problems in elastic media.

I suppose if there is another integral transform that would not bias my solution I could try that.  I'll do some experimenting or try to find some literature on what others may have attempted.


Actually if you inspect the ratio within the sq root sign you see for the extreme cases for the denominator for very small s where the unity term dominates the inverse would exist & vice versa for very large s it does as well.  I played with it by simply removing terms from the denom.  So there must be some approach to handloe cases for intermediate s values?

Not really, but I have seen people employ the LaPlace transform in wave problems for elasticity to remove the time derivatives & solve for the spatial distribution & then invert back to the time domain.  But I think they employ the Bromwich integral.  I simply tried to use invlaplace or Cauchy residues to get the job done, but that does not work either,

I did not want to use the Fourier transform because I thought that biases my solutions to be of periodic form.


Is there a better approach?

I guess I need to familiarize myself with pdsolve & its output format if I am going to continue working problems like this!!!!!

Your output I can interpret.

I sometimes have difficulty with interpreting MAPLE output, but my result does not appear anything like yours.  Maybe it is telling me the same thing, but am I in some ODD display mode that causes MAPLE to display the answer as it is below or is it indeed giving me something different from yours?

Look at pdsolve(Q2), I think I put in the correct equation since I copied it from your posting?





Loading PDEtools









Download pdsovle_output.mw



OK, I agree the eq is nonlinear, but what if I need to consider that term of the gradient magnitude.  Would it be more appropriate to move the LaPlacian & the zeroth order term of X to the other side of the eq & square it to get rid of the sq root?  Then you have a Helmholtz eq that is squared & you pick a value for the gradient that is considered a nominal value for the gradient magnitude for a defined region.

Then the Helmholtz eq is = to the sq root of some constant.

Can pdesolve work then?

I am not on a machine right now with MAPLE so I have not tried.

+ do you know any literature that is pretty standard on approaching such a problem?  I am in the process of chasing something down via internet today on XMAS.

OUCH, my level of MAPLE experience would have precluded me from figuring that out.  Is MAPLE working on tools for such operations or is Physics & Mechanics far too specialized for them to bother?

1 2 3 Page 1 of 3