maxima-discuss — Maxima discussion list

You can subscribe to this list here.

 2014 2015 2016 2017 Jan Feb (232) Mar (323) Apr (383) May (359) Jun (435) Jul (252) Aug (172) Sep (265) Oct (263) Nov (350) Dec (359) Jan (267) Feb (220) Mar (311) Apr (269) May (388) Jun (403) Jul (172) Aug (399) Sep (364) Oct (269) Nov (357) Dec (468) Jan (618) Feb (592) Mar (625) Apr (516) May (375) Jun (155) Jul (346) Aug (262) Sep (346) Oct (291) Nov (333) Dec (335) Jan (436) Feb (460) Mar (370) Apr (189) May (252) Jun (272) Jul (286) Aug (292) Sep (233) Oct Nov Dec
S M T W T F S

1
(7)
2
(14)
3
(22)
4
(14)
5
(9)
6
(8)
7
(18)
8
(8)
9
(1)
10
(4)
11
(4)
12
(22)
13
(10)
14
(8)
15
(6)
16
(6)
17
(15)
18
(1)
19
(13)
20
(15)
21
(7)
22
(12)
23
(17)
24
(13)
25
(10)
26
(12)
27
(8)
28
(9)
29
(14)
30
(10)
31
(6)

Showing 14 results of 14

 Re: [Maxima-discuss] --very-quiet From: Robert Dodier - 2014-03-02 23:25:12 ```On 2014-03-02, Josef Eschgfaeller wrote: > Maxima in batch mode (-b) rewrites all > commands in the output, even with > --very-quiet. Can one deactivate this? Try: maxima --very-quiet < myinput.mac Does that behave as you wish? best, Robert Dodier ```
 Re: [Maxima-discuss] desolve Example does not work From: Robert Dodier - 2014-03-02 23:16:56 ```On 2014-03-02, Thomas D. Dean wrote: > (%i5) desolve([%o1,%o2],[f(x),g(x)]); > d d > (%o5) desolve([-- (f(x)) = -- (g(x)) + sin(x), > dx dx I can't reproduce this behavior. I get: (%i5) desolve([%o1,%o2],[f(x),g(x)]); x x (%o5) [f(x) = a %e - a + 1, g(x) = cos(x) + a %e - a + g(0) - 1] The solution contains the unspecified g(0), which we make make disappear with a suitable atvalue, but nonetheless desolve does yield a solution without it. I have tried this with current (5.32+) sources on 32-bit Linux with GCL and with Clisp. I see that you are working on 64-bit Linux with GCL. I wonder if it would work for you with either 32-bit Linux or something other than GCL. best Robert Dodier ```
 [Maxima-discuss] --very-quiet From: Josef Eschgfaeller - 2014-03-02 22:01:32 ```Maxima in batch mode (-b) rewrites all commands in the output, even with --very-quiet. Can one deactivate this? Josef Eschgfaeller ```
 [Maxima-discuss] connection to gnuplot From: Jan Hendrik Mueller - 2014-03-02 21:47:45 ```dear list, how can I connect a draw output of maxima to gnuplot (using x11) when my new gnuplot version (4.6) is installed via macports? I am using OSX10.9. Any help is welcome!! Jan ```
 [Maxima-discuss] How to use atvalue From: Thomas D. Dean - 2014-03-02 21:21:59 ```maxima 5.32.1 kill(all); ode:'diff(g(x),x,4); atvalue(g(x),x=-1,2); atvalue(g(x),x=1,-1); atvalue('diff(g(x),x),x=1,0); atvalue('diff(g(x),x),x=-1,0); soln:desolve([ode],[g(x)]); ev(ode,soln,diff); maple_soln:g(x) = (3/4)*x^3 + (1/2) - (9/4)*x; ev(ode,maple_soln,diff); soln contains ('at('diff(g(x),x,3),x = 0))/6, etc. g(x) = x^3*('at('diff(g(x),x,3),x = 0))/6 +x^2*('at('diff(g(x),x,2),x = 0))/2 +x*('at('diff(g(x),x,1),x = 0)) +g(0) What am I doing wrong? How do I resolve these? Tom Dean ```
 Re: [Maxima-discuss] Convert [true, true] to true From: Barton Willis - 2014-03-02 18:59:18 Attachments: Message as HTML ```>By "convert", I assume you mean "check that all the elements of the list are true". > An easy way is: xreduce("and", list) I might suggest using "every" instead of xreduce--this insulates the user from the option variable prederror; for example: (%i44) xreduce("and", [spurious, true, bogus, fake]),prederror : true; Unable to evaluate predicate spurious (%i46) xreduce("and", [spurious, true, bogus, fake]),prederror : false; (%o46) spurious and bogus and fake (%i48) every(lambda([x], x=true), [spurious, true, bogus,fake]),prederror : true; (%o48) false ```
 [Maxima-discuss] Patch for maxima.info-1 to correct desolve example From: Thomas D. Dean - 2014-03-02 18:43:59 Attachments: patch.txt.gz ```I have attached a patch. How does this get into the docs? Tom Dean ```
 Re: [Maxima-discuss] desolve Example does not work From: Thomas D. Dean - 2014-03-02 18:35:42 ```On 03/02/14 05:14, Aleksas Domarkas wrote: > (%i1) ode1:'diff(f(x),x)='diff(g(x),x)+sin(x)\$ > ode2:'diff(g(x),x,2)='diff(f(x),x)-cos(x)\$ > (%i3) atvalue(f(x),x=0,1)\$ > atvalue(g(x),x=0,1)\$ > atvalue('diff(g(x),x),x=0,a)\$ > My point is the example is incomplete, it needs a third initial condition, atvalue(g(x),x=0,b), etc.. How does this get back into the docs? Tom Dean (%i1) ode1:'diff(f(x),x)='diff(g(x),x)+sin(x); d d (%o1) -- (f(x)) = -- (g(x)) + sin(x) dx dx (%i2) ode2:'diff(g(x),x,2)='diff(f(x),x)-cos(x); 2 d d (%o2) --- (g(x)) = -- (f(x)) - cos(x) 2 dx dx (%i3) atvalue('diff(g(x),x),x=0,a); (%o3) a (%i4) atvalue(f(x),x=0,1); (%o4) 1 (%i5) atvalue(g(x),x=0,b); (%o5) b (%i6) soln:desolve([ode1,ode2],[f(x),g(x)]); x x (%o6) [f(x) = a %e - a + 1, g(x) = cos(x) + a %e + b - a - 1] (%i7) check:ev([ode1,ode2],soln,diff); x x x x (%o7) [a %e = a %e , a %e - cos(x) = a %e - cos(x)] (%i8) apply("and",check); (%o8) true ```
 Re: [Maxima-discuss] Convert [true, true] to true From: Stavros Macrakis - 2014-03-02 18:26:53 Attachments: Message as HTML ```By "convert", I assume you mean "check that all the elements of the list are true". An easy way is: xreduce("and", list) -s On Sun, Mar 2, 2014 at 2:50 AM, Thomas D. Dean wrote: > kill(all); > ode1:'diff(f(x),x)='diff(g(x),x)+sin(x); > ode2:'diff(g(x),x,2)='diff(f(x),x)-cos(x); > atvalue('diff(g(x),x),x=0,a); > atvalue(f(x),x=0,1); > atvalue(g(x),x=0,1); > soln:desolve([ode1,ode2],[f(x),g(x)]); > ev([ode1,ode2],soln,diff); > /* using the results from maple */ > soln:[f(x) = exp(x), g(x) = cos(x) + exp(x) - 1]; > check:ev([ode1,ode2],soln,diff); > x:map(is,check); > > This has to be simple, but, > > x is [true, true]. How do I convert this to true, without using x[1]=x[2] > ? > > Tom Dean > > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > Maxima-discuss mailing list > Maxima-discuss@... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > ```
 Re: [Maxima-discuss] desolve Example does not work From: Aleksas Domarkas - 2014-03-02 13:14:16 Attachments: Message as HTML ```(%i1) ode1:'diff(f(x),x)='diff(g(x),x)+sin(x)\$ ode2:'diff(g(x),x,2)='diff(f(x),x)-cos(x)\$ (%i3) atvalue(f(x),x=0,1)\$ atvalue(g(x),x=0,1)\$ atvalue('diff(g(x),x),x=0,a)\$ Solutions: (%i6) soln:desolve([ode1,ode2],[f(x),g(x)]); (%o6) [f(x)=a*%e^x-a+1,g(x)=cos(x)+a*%e^x-a] Cheking solutions: (%i7) check:ev([ode1,ode2],soln,diff); apply("and", %); (%o7) [a*%e^x=a*%e^x,a*%e^x-cos(x)=a*%e^x-cos(x)] (%o8) true 2 method (%i9) subst(ode1,ode2); (%o9) 'diff(g(x),x,2)='diff(g(x),x,1)+sin(x)-cos(x) (%i10) ode2(%,g(x),x); (%o10) g(x)=cos(x)+%k1*%e^x+%k2 (%i11) sol_g:ic2(%, x=0, g(x)=1, diff(g(x),x)=a); (%o11) g(x)=cos(x)+a*%e^x-a (%i12) subst(sol_g,ode1); (%o12) 'diff(f(x),x,1)='diff((cos(x)+a*%e^x-a),x,1)+sin(x) (%i13) ev(%, nouns); (%o13) 'diff(f(x),x,1)=a*%e^x (%i14) ode2(%,f(x),x); (%o14) f(x)=a*%e^x+%c (%i15) sol_f:ic1(%, x=0, f(x)=1); (%o15) f(x)=a*%e^x-a+1 (%i16) soln:[sol_f,sol_g]; (%o16) [f(x)=a*%e^x-a+1,g(x)=cos(x)+a*%e^x-a] best Aleksas D ```
 [Maxima-discuss] Mac version From: Erich Neuwirth - 2014-03-02 11:55:25 Attachments: signature.asc ```Are there any chances of getting an OSX binary for the latest version any time soon now? ```
 [Maxima-discuss] Convert [true, true] to true From: Thomas D. Dean - 2014-03-02 07:50:39 ```kill(all); ode1:'diff(f(x),x)='diff(g(x),x)+sin(x); ode2:'diff(g(x),x,2)='diff(f(x),x)-cos(x); atvalue('diff(g(x),x),x=0,a); atvalue(f(x),x=0,1); atvalue(g(x),x=0,1); soln:desolve([ode1,ode2],[f(x),g(x)]); ev([ode1,ode2],soln,diff); /* using the results from maple */ soln:[f(x) = exp(x), g(x) = cos(x) + exp(x) - 1]; check:ev([ode1,ode2],soln,diff); x:map(is,check); This has to be simple, but, x is [true, true]. How do I convert this to true, without using x[1]=x[2] ? Tom Dean ```
 [Maxima-discuss] desolve Example does not work From: Thomas D. Dean - 2014-03-02 06:58:56 ```(%i1) build_info(); (%o1) Maxima version: "5.32.1" Maxima build date: "2014-01-31 19:45:26" Host type: "x86_64-unknown-linux-gnu" Lisp implementation type: "GNU Common Lisp (GCL)" Lisp implementation version: "GCL 2.6.10" (%i2) kill(all); (%o0) done (%i1) 'diff(f(x),x)='diff(g(x),x)+sin(x); d d (%o1) -- (f(x)) = -- (g(x)) + sin(x) dx dx (%i2) 'diff(g(x),x,2)='diff(f(x),x)-cos(x); 2 d d (%o2) --- (g(x)) = -- (f(x)) - cos(x) 2 dx dx (%i3) atvalue('diff(g(x),x),x=0,a); (%o3) a (%i4) atvalue(f(x),x=0,1); (%o4) 1 (%i5) desolve([%o1,%o2],[f(x),g(x)]); d d (%o5) desolve([-- (f(x)) = -- (g(x)) + sin(x), dx dx The example is from ??desolve. It does not produce the results indicated in ??desolve Also, I believe the line (%i6) [%o1,%o2],%o5,diff; should be (%i6) ev([%o1,%o2],%o5,diff); From maple 15, I get the solution: { f(x) = exp(x) a - a + 1, g(x) = cos(x) + exp(x) a + _C3 } If _C3 = g(0)-a-1, this agrees with maxima ??desolve The maple code is: > ode1:=Diff(f(x),x)=sin(x)+Diff(g(x),x); > ode2:=Diff(g(x),x,x)=Diff(f(x),x)-cos(x); > ics:=D(g)(0)=a,f(0)=1; > dsolve({ode1,ode2,ics}); Am I doing something wrong? Tom Dean ```
 Re: [Maxima-discuss] Fwd: EOL issue From: dan - 2014-03-02 04:27:46 ```Leo Butler users.sourceforge.net> writes: > I am not sure why you don't use the info files supplied with Maxima to > do this, since describe is just emitting fragments of those info > files. > > Anyhow, if you want to use Maxima to supply input to your Java > program, you could consider using customized delimiters. E.g. > > (%i1) my_describe(f) := block([os:make_string_output_stream()], > with_stdout(os,apply('describe,[f])), > printf(true,"^L~%~a~%^L~%",get_output_stream_string(os)))\$ > > (%i2) my_describe(sin); > ^L > > -- Function: sin () > > - Sine. > > There are also some inexact matches for `sin'. > Try `?? sin' to see them. > > ^L Thank you for the suggestion. I will try your 'my_describe' approach. What got me into this 'rabbit-hole' is the inconsistency between different versions of maxima (OS X) I have observed. I consider such inconsistency bugs and would still like to see it gets fixed. I can not do it myself since I have very limited programming ability (I only know that (car '(A B C)) will return A :) ```

Showing 14 results of 14