5785 Reputation

24 Badges

15 years, 275 days

MaplePrimes Activity

These are answers submitted by Christopher2222

If your data is in a text file, then simply

L:=readdata("c:/test/testdata.txt",integer,1) # read the column of data into list L.

It seems isolate will not isolate multiple additive terms.

Next best thing would be to separate it manually subtracting A from both sides of the equation.



They used to have a free service.  They do have a "free tier" portion where certain services are limited.  But it does not include API calls to static maps.

The command above would need to be modified to


If you're lucky enough to have a free trial period, that would probably work, outside of your free trial since it isn't part of the free tier service you would be billed.  Unless I'm missing something. 

@nmacsai   My post on flashlights would have also yielded the answer you seeked. 

From what I got out of it

  • Whiteboard style interface
  • Designed to be engineering foucesed not math focused
  • Requires Maple 2021 to run

Just to add (and I realize it deviates from the question as to the behaviour of simplify)  the collect command weans it out appropriately.  Why it doesn't happen in simplify just tells me they missed something in the coding of it.

collect(t^2*x^2+t^2*y^2, t^2)
collect(t^2*x^2-t^2*y^2, t^2)

What gets me all the time is why Maple puts the single term at the end.

Another way

sort(f, order = plex(x^y))

Add numpoints=1000 to your plot command.

Maybe the procedure Kitonum created here is what you are after


Not sure what's wrong there.  Perhaps re-installing Maple will allow it to recognize the file.  It's one option.

Regarding the vapor pressure of water using the Thermodynamics package is mysterious.  The syntax is elusive.  Otherwise



where the value would be in mmHg or torr

Another way

L := [A, B, A, C, A, B, D, E, A, F, G, H, H, G, I, P, Q, W, A]:
LL := map(convert, L, string):
aa := [CharacterFrequencies(ii, ii)]:
<<op(map(lhs, aa))> | <op(map(rhs, aa))>>



So this may be a small point but in Quantum physics the general form of a wave packet

WavePacketEquation := Psi(x, t) = Int(A(k)*exp(i(k*x - omega*t)), k = -infinity .. infinity)/sqrt(2*Pi)


So although the equation looks slightly different it's not instantly reconizable.  If we write the math down as we see it, Maple should also be displaying the math as we see (and know) it. 

1/sqrt(2*Pi) is real common in Quantum Physics.  So for it to show as 2/(2*sqrt(Pi)) doesn't make it as elegant so to speak. 

So just for displaying purposes we would need the double quote to display as we've known it.

WavePacketEquation := Psi(x, t) = ''1/sqrt(2*Pi)''*Int(A(k)*exp(i(k*x - omega*t)), k = -infinity .. infinity)

Here's another way outside of using the SearchAll you requested.  I noticed you were using the StringTools package anyway, so you could also use CharacterFrequencies if you wanted.

a:="tre - tre - tre":
                                     "-" = 2


I found LibraryTools difficult to use for such a thing.  Unless you are a strong coder then you could make LibraryTools work for you.  Otherwise it's basically a dead end for any beginner - myself I got lost trying to decipher the package.

I resorted to trying to copy the index, packages page into excel but I was derailed when the copy paste (crtl-c crtl-v) didn't work.  This frustrated me to no end that there is no easy solution for your problem.  Unless someone is a coding wizard in Maple you won't have much luck doing it yourself.


The reason parts of your axes and tickmarks becoming hard to read is because of the lightmodel.  Personally I don't believe it should affect the lighting on the axes just the model (or at least have an option - there is a workaround for that I think - haven't tried but I would create a separate axes using plottools and then your model and combine the two.

Regarding not being able to see your tickmarks change your lightmodel=none.  That will stop your axes from changing tones of of color as you rotate your model.  The color mathematica is using looks like color="#666666" (funny like there's two devils in there but I digress)

The closest I could get to the color of mathematica's model was to use color="DarkGoldenrod" with lightmodel=light4

ADDENDUM : Interestingly Maple12's plot has the 3d model away from the framed axes - not sure what version they changed it to meet the framed axes but there was probably a complaint from a user wondering why there was a space between the frame and the model. 
   re - tickmarks - Maple throughout history has always had them on the outside.  Mathematica's space is there so the inside tickmarks do not interfere with the drawn model.  With a bit of work using plottools you can create your own axes with tickmarks on the inside if you want to make it look like how Mathtematica does it.  There's no standard way - it's usually the case when someone is exposed to the ways one software does it that it sets the persons standards - we don't like change, so if it's different from what we are normally acustomed to seeing - it manifests itself as a nuisance. 

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