Ask Your Question

petres's profile - activity

2022-12-04 05:36:55 +0200 received badge  Popular Question (source)
2014-10-30 12:42:02 +0200 commented question Legend appears twice

I know, is there some possiblity to get rid of it. Should I write a bug report?

2014-10-30 11:40:01 +0200 received badge  Organizer (source)
2014-10-30 11:34:38 +0200 asked a question Legend appears twice

I have some problem with the legend, if I use the function graphics_array the entries of the legend box of the second plot appear twice. For example:

f(x) = sin(x)
g(x) = sin(2*x)
p1 = plot(f,(-2*pi,2*pi), legend_label="f")
p2 = plot(g,(-2*pi,2*pi), legend_label="g")
graphics_array((p1,p2))

What I am doing wrong, or how can I fix it? Thanks in advance

2014-06-29 21:17:52 +0200 received badge  Famous Question (source)
2014-06-29 21:17:52 +0200 received badge  Notable Question (source)
2014-06-29 21:17:52 +0200 received badge  Popular Question (source)
2013-06-20 12:00:01 +0200 received badge  Student (source)
2013-04-09 12:14:40 +0200 received badge  Supporter (source)
2012-12-03 05:26:51 +0200 commented question desolve_system error "unable to make sense of Maxima expression"

Thanks for the answer. It is a little disappointing. Is there a workaround? Maybe I could solve it in another way with Sage (using the e-function for matrizes ...) or by using directly the Maxima functions.. Without being able to solve linear differential equations I would have to switch to other math programms.

2012-11-30 08:40:17 +0200 commented question Numerical Integration Causes Errors

have the same error, have you a workaround?

2012-11-30 07:58:06 +0200 commented question desolve_system error "unable to make sense of Maxima expression"

Same holds also with ivar and ics arguments in desolve_system.

2012-11-30 07:51:59 +0200 asked a question desolve_system error "unable to make sense of Maxima expression"
t = var('t')

y = function('y', t)
w = function('w', t)
p = function('p', t)

de1 = diff(y,t) == - 0.5*y - 0.9*p + 0.5*w
de2 = diff(w,t) ==           1.0*p + 0.7*w
de3 = diff(p,t) == + 0.5*y         - 0.3*w

desolve_system([de1, de2, de3], [y,p,w])

The function desolve_system stops with the error:

TypeError: unable to make sense of Maxima expression 'y(t)=ilt((200y(0)?g1090327^2+(-140y(0)+100w(0)-180p(0))?g1090327+60y(0)+54w(0)+226p(0))/(200?g1090327^3-40?g1090327^2+80?g1090327-83),?g1090327,t)' in Sage

Why? Thanks in advance!

2012-11-14 20:28:29 +0200 commented answer Assumptions

bool(a*a < 1) works, its kind of strange.

2012-11-14 11:59:18 +0200 asked a question Assumptions
var("a b")
assume(b > 0, b < 1, a > 0, a < 1)
bool(a*b < 1)

returns false, why?