From: Richard F. <fa...@gm...> - 2023-10-21 15:50:52
|
Maxima generally has its own notion of what is simple. This can be modified in a number of ways by calling programs like ratsimp or factor. It can also be modified by setting some global flags. If your goal is to get Maxima to produce exactly the form you have in mind, you may be lucky or you may have a special requirement not easy to satisfy. My recommendation is to do the calculations of interest using as much built-in algebraic manipulation and formatting as possible. Try to get personally comfortable with this. Realize that there are many contexts for mathematics and they each can have their own conventions. You may also find it possible to rename pieces. thus ratsubst(root2w, sqrt(2*w), sqrt(2*w)) returns root2w. If you want to have the result typeset in a particular form, try outputting to TeX, and edit the TeX. See if you can explain possible reasons for different ordering conventions in well-known formulas like v=a*t, but f=m*a. or e=m*c^2. RJF On Sat, Oct 21, 2023 at 8:44 AM Fritz Sonnichsen <son...@gm...> wrote: > I am using maxima to simplify messy expressions- reducing derivatives, > combining terms and so forth. > If you send the following to wxMaxima the resulting square roots are > broken up: > (%i8) c1:(2*ω)^(1/2); > (%o8) sqrt(2)*sqrt(ω) > (%i13) combine( (2*ω)^(1/2) ); > (%o13) sqrt(2)*sqrt(ω) > > I would have hoped for something like: sqrt(2* ω) > > I could not find anything to do this in the documents..Is there some > command or other method to cause a combination of such variables? > > Thank you > Fritz > > > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |