Menu

#4811 why display overwrites the dt in y2(x)*integrate( ..,,t,0,x) with y1 or is it expected to ?

None
closed
nobody
None
5
1 day ago
4 days ago
dan hayes
No

build_info() or bug_report()
WxMaxima version: 26.01.0_MSW
Using wxWidgets version: wxWidgets 3.2.9
Maxima version: 5.49.0
Maxima build date: 2026-01-02 21:27:51
Host type: x86_64-w64-mingw32
System type: Win32 10.0.19041 X86-64
Lisp implementation type: SBCL
Lisp implementation version: 2.6.0

"branch_5_44_base_231_g5c411f69f",timestamp="2021-01-12 23:51:42",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/zmth1/maxima",maxima_tempdir="C:/Users/zmth1/AppData/Local/Temp",maxima_objdir="C:/Users/zmth1/maxima/binary/branch_5_44_base_231_g5c411f69f/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.12.2-DevelopmentSnapshot_MSW_OpenMP201511+Locks")

[kill(y1,p,x,x0,t,y2),"y2"=y2:integrate(exp(-integrate(p(s),s,x0,t))/y1(t)^2,t,x0,x)*y1(x)," dy2/dx"=dy2dx:diff(y2,x)," d^2y2/dx^2"=diff(y2,x,2)];
Why the display overwrites the dt with y1 or i mean they are written on top of each other.
Does it display the same overwriting on your computer display ? I don't want the grind output format.
Is there another way to do it using print... or whatever ?

Discussion

  • dan hayes

    dan hayes - 4 days ago

    i meant to have written y1(x).... in the title rather than y2(x),,,

     
  • Stavros Macrakis

    This appears to be a wxMaxima bug, so please report it at https://github.com/wxMaxima-developers/wxmaxima/issues
    I suggest you give them a minimal example.
    If I have guessed correctly about what you're talking about, this shows the problem (see attachment):

    'integrate(t,t,0,qq)*y;
    
     
  • Barton Willis

    Barton Willis - 4 days ago

    If you want a DIY fix, here are two initial steps:

    Find the name of the function that displays '%integrate objects:

    (%i2)   :lisp(symbol-plist '%integrate);
    (WXXML WXXML-INT OPERS T DISTRIBUTE_OVER NIL OPERATORS SIMPINTEG MSIMPIND NIL
    
           $OUTATIVE T SIMPLIM%FUNCTION SIMPLIM%INTEGRATE RBP 115 DIMENSION
    
           DIM-%INTEGRATE TEX TEX-INT NOUN $INTEGRATE)
    
       ~~~
    Print the lambda list for `wxxml-int -- find w:here to insert a space or two. If you are stumped, try asking AI:
    
       ~~~
    
    (%i3)   :lisp(print (describe 'wxxml-int));
    MAXIMA::WXXML-INT
    
      [symbol]
    
    WXXML-INT names a compiled function:
    
      Lambda-list: (X L R)
    
      Derived type: FUNCTION
    
      Source form:
    
        (LAMBDA (X L R)
    
          (BLOCK WXXML-INT
    
            (LET ((S1 (WXXML (CADR X) NIL NIL 'MPAREN 'MPAREN))
    
                  (VAR (WXXML (CADDR X) NIL NIL 'MPAREN ROP)))
    
              (COND
    
               ((= (LENGTH X) 3)
    
                (APPEND L
    
                        `("<in def=\"false\"><mrow>" ,@S1
    
                          "</mrow><mrow><s>d</s>" ,@VAR "</mrow></in>")
    
                        R))
    
               (T
    
                (LET ((LOW (WXXML (NTH 3 X) NIL NIL 'MPAREN 'MPAREN))
    
                      (HI (WXXML (NTH 4 X) NIL NIL 'MPAREN 'MPAREN)))
    
                  (APPEND L
    
                          `("<in><mrow>" ,@LOW "</mrow><mrow>" ,@HI
    
                            "</mrow><mrow>" ,@S1 "</mrow><mrow><s>d</s>"
    
                            ,@VAR "</mrow></in>")
    
                          R)))))))
    
    NIL 
    
    NIL
    

    Let us know what you discover.

     
  • dan hayes

    dan hayes - 4 days ago

    NO you have not guessed what i am talking about. But a minimal example is instead
    integrate(f(t),t,0,qq)*y;
    where f(t) is unknown along with t and qq and y. I mean they have not been defined or bound . As you see y overwrites dt in the output display. NOw do you still say it is wxmaxima problem ?

     
  • dan hayes

    dan hayes - 4 days ago

    but ok what you wrote may also be same display problem. Don't know why u say wxmaxima problem. i would assume maxima and wxmaxima are essentially part of the same and either problems with one or the other reported here in the same forum

     
    • Stavros Macrakis

      wxMaxima is a separate project from Maxima, and is not "essentially part of the same".

      WxMaxima uses Maxima as its computational core, but is a different codebase (in C++) hosted on a different git repo (github, not sourceforce, as I already pointed out) and has different maintainers.

      There are other front ends for Maxima, each of which has its own codebase and own maintainers, some of whom may contribute to Maxima as well. For example, GNU TeXmacs, Maxima-Jupyter, Xmaxima, Imaxima, SageMath, etc.

       
  • dan hayes

    dan hayes - 1 day ago

    ok now i see .wxmx has another parf like wxmaxima. A long time ago as i recall can
    make a plain .wxm file or something like that without the wxmaxima part. Is that possible
    or am i mistaken and/or cannot get any fancy output without also the wxmaxima part ?

     
    • Stavros Macrakis

      This is the Maxima bug list.
      As I mentioned before, this is not the right place to ask questions about WxMaxima.
      I don't know anything about wxMaxima, including what files it uses.
      I have no idea what the typo "parf" means.
      You can get base Maxima to format expressions as TeX for "fancy" output, which you can then use however you want.

      tex('integrate(f(t),t,0,qq)*y) =>
           $$\left(\int_{0}^{{\it qq}}{f\left(t\right)\;dt}\right)\,y$$
      
       
  • Barton Willis

    Barton Willis - 1 day ago
    • status: open --> closed
     

Log in to post a comment.

Auth0 Logo