nm

11353 Reputation

20 Badges

13 years, 13 days

MaplePrimes Activity


These are replies submitted by nm

@ecterrab 

And it will be great if you could get a chance to look at

https://www.mapleprimes.com/questions/230824-Improvements-In-Latex-For-Trigxn-Expressions

This will go along way towards making the Latex generated by Maple more better looking. I hope it will not take too much effort  and time to make this change.

Thanks

 

 

@ecterrab 

Thank you very much for the improvement. Glad it did not take too much of your time.

The software I use is Scientific workplace , version 5.5. It is a GUI software which can read latex files and show the latex as GUI on the screen. It also generates standard Latex from GUI.

Yes, it is not CTAN.  But it seems to interpret the extra "\\" at end as new blank row in the matrix, so when I save the file again, I get a new empty row. 

TexLive itself does not do that as you say. I use this software alot.

Thanks for the help.

@cicoats 

 

We got different answers though for the mass.

Well' I used your original expression which is 

ln(r^2 + theta^2 + phi^2 +1)

while you are multiplying the above now with r^2*sin(varphi)

Maybe that is why there is a difference.

evalf(int(int(int(ln(r^2 + theta^2 + phi^2 +1)*r^2*sin(phi),r=0..2),theta=0..2*Pi),phi=0..Pi))

92.3012729000

@cicoats 

They look ok to me. Just need to decide which angle convention to use. This is always the confusing part with spherical coordinates.  And if these distances you are getting should come out to be negative.

 

@Thomas Richard 

You are right, I just tried it and it worked. This is very strange that I did not notice this. Was this always the case with Maple? I could swear before it used to be that once worksheet is busy, I could not use Maple.

But this really helps. I could just use second worksheet, while the first one is busy now.

Thanks

edit: 

I think I now know what happend. I used to have the "share one engine among all documents"  set sometime ago, which is the default.   

When this is the case, then when one worksheet is busy, one can't use Maple when opening new worksheets until the first one complete.

I remember recently changing this open to make it use new engine for each document but still thought that Maple keeps busy when one worksheet is busy and did not think to try it again, that is why I asked.

 

 

@Kitonum 

Interesting solution. But how did you know to use 3=() in there? I mean, how did you know it is the third entry which needs to beremoved? This is meant to be used inside a program, so need a way first to determine which entries to change. If there is an easy way to find first the position of such entries, then yes, this method will work.

@Rouben Rostamian  

Thanks. I've tried it on windows and it worked. Now when I do start->Maple 2020, it seems to start new separate instance indeed. This is what I did

Right-click on the Maple 2020 icon, click on Properties, then edit the command to start Maple and change it to become

"C:\Program Files\Maple 2020\bin.X86_64_WINDOWS\maplew.exe" -standalone

Click OK. Windows will ask that need to be an admin to do this, clicked OK. That is all.

I had no idea that such an option existed. Very useful. Will use it all the time from now. (it should really be the default after installation).

@Rouben Rostamian  

Thanks for the hint. But I've been googling and searching for such an option for Maple, and do not see any mention of it, even for Linux. Must be not documented? Would you have a link to a page that mentions it?

I looked at the user guide also and do not see it.   If it works for windows, will see if I can figure how to use it. But wanted first to read a little more about it in Maple docs.

Will the talks given in the conference be recorded and posted somewhere so one can view them afterwords?

How about talks from earlier years conferences?  Is there a website which hosts all recoroding of all conferences made?

This will useful for someone who like to see some of them, but do not want to be there live online at the same time.

Thank you

Yes, it should be more clear. It says first 

both functions return an integer which indicates the position of the first character that matched

May be that should say something like

both functions return an integer which indicates the position (relative to the range given) of the first character that matched

It does say next though The optional range restricts the search to the given positions. but still, I think the first part could have been more clear. 

btw, one could get the position relative to start of string if neeed using something like

from_pos:=5:
to_pos:=-5:
relative_idx:=SearchText("ijklm", "abcdefghijklmnopqrstuvWxy", from_pos..to_pos);
idx_from_start:=relative_idx+from_pos-1

    9

@chenaiier 

I've updated the answer. I assumed you are looking for analytically solution. Mathematica's solution uses NDSolve and not DSolve. This can be solved numerically only.   

btw, you copied the ODE wrong from that link. it is a second order ODE and not first order as you show. But may be you were using different example.

@mapleatha 

This looks like a bug to me. It works in Mathematica

Plot[Sin[x]*Cos[x] + x, {x, -2 Pi, 2 Pi}, 
 Ticks -> {Range[-2 Pi, 2 Pi, Pi/2], Automatic}]

I am interested in this, but I can't really follow all the above. Too complicated. I learn better from simple examples.

Is it possible to make a very simple one, showing just the code to generate it? 

I do these things all the time in Mathematica's Manipulate. How would the following be done in Maple? This is small app in Manipulate, which just plots sin(a*x) from -2 Pi to +2 Pi, where there is a slider that changes the value of a from say -1 to 1 by increments of 0.01. 

Each time the slider moves, the plot is updated.  The code to do this in Mathematica is only 3 lines. How would this be done in Maple?  Notice, no GUI is needed to build the acuall Manipulate. it is all plain text code. If I have to use GUI to help me build the math app itself, then I would not be interested.

I want to be able to make the complete app, using plain text Maple code, with no help from the user interface at all. Something I can write in text editor. Then read into Maple to run and it will then show up the app GUI at that moment.

Manipulate[
 Plot[Sin[a*x], {x, -2*Pi, 2 Pi}, PlotRange -> {Automatic, {-1, 1}}],
 {{a, .2, "a"}, -1, 1, .01,Appearance -> "Labeled"}
 ]

@ecterrab 

nice solution. I did not think of trying Lie methods. (too many dsolve options, too little time :)

These also work

sol:=dsolve(ode,can2,implicit);
sol:=dsolve(ode,gon2,useint,implicit)
sol:=dsolve(ode,dif,useint,implicit);

Noticed `dif` gives 3 solutions, while others one.

matlab has piecewise in its symbolic toolbox

https://www.mathworks.com/help/symbolic/piecewise.html

but can not be  used outside the toolbox.  You can plot the piecewise in Matlab using the fplot command. 

 

First 47 48 49 50 51 52 53 Last Page 49 of 91