Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Bert Henry
Am Dienstag, 28. Juli 2020 10:17:20 UTC+2 schrieb Karima Shahzad: > > I am sorry, what is it? > > > On Tue, Jul 28, 2020 at 11:12 AM Bert Henry > wrote: > >> Sorry for writing uncomplete formula. Here it is better >> >> (sqrt(2)*a-2*r)/(2+2*sqrt(2)) >&

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Bert Henry
Am Dienstag, 28. Juli 2020 11:13:49 UTC+2 schrieb JJS137: > > Have you tried canonicalize_radical() ? > Cheers, > John > > Yes, but it doesn't solve the problem -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group

[sage-support] Re: numerical simplification

2020-07-28 Thread Bert Henry
Sorry for writing uncomplete formula. Here it is better (sqrt(2)*a-2*r)/(2+2*sqrt(2)) Thanks Bert Am Montag, 27. Juli 2020 20:28:14 UTC+2 schrieb Bert Henry: > > How can I get from > > 2(2​+1)2​a−a​ > > > the numerical term > > 0.2929a - 0.4142r > > Thanks in a

[sage-support] cancel the content of one variable

2020-07-27 Thread Bert Henry
I declared some variables with assume e. g. assume(r, 'real') assume(k, 'integer') assume(j >0) and so on. During my calculation I need (in one step) j=15 How can I delete the number 15 for j? I tried it with assume(r>0), but it didn't work. Thanks in advance Bert -- You received this

[sage-support] numerical simplification

2020-07-27 Thread Bert Henry
How can I get from 2(2​+1)2​a−a​ the numerical term 0.2929a - 0.4142r Thanks in advance Bert -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[sage-support] Triangle plot 3d

2020-07-12 Thread Bert Henry
Dear Sage-professionals, how can I plot a triangle, given by three (3d-points) with ist sides, the corner-points and e.g. a line with the heights trough point C. I only find solution for plotting 3d-functions. Thanks in advance Bert -- You received this message because you are subscribed to

[sage-support] Re: gridlines in 0.5 units

2020-06-30 Thread Bert Henry
Dear Eric, it works, thanks a lot. Bert Am Dienstag, 30. Juni 2020 13:35:06 UTC+2 schrieb Eric Gourgoulhon: > > Here is an example enforcing the gridlines every 0.5 units: > > plot(sin(x^2), (x, 0, 6), gridlines=[[0, 0.5, .., 6], [-1, -0.5, .., 1]]) > > See >

[sage-support] gridlines in 0.5 units

2020-06-29 Thread Bert Henry
Hello, is there a chance to get grindlines not ever 1 unit but in 0.5 untis? Thanks a lot Bert -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[sage-support] Execute Sage Code line in Keynote during presentation

2020-06-24 Thread Bert Henry
Hello, I want to make a Keynote presentation about a mathematical topic. In the presentation I want to include some Sage code (e.g. plot(sin(x),(x,0,4)) ). And I want to execute this code during the presentation. Is it possible? How? Yours Bert -- You received this message because you are

Re: [sage-support] space sign in 'show'

2020-06-18 Thread Bert Henry
Am Donnerstag, 18. Juni 2020 19:51:47 UTC+2 schrieb Nils Bruin: > > > show('gx = {}'.format(gx(x,y))) > > > Thanks, it works, not the pretty output, but it works. Bert -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

[sage-support] space sign in 'show'

2020-06-18 Thread Bert Henry
Hallo, I have a simple question: If I code reset() g(x,y)=x^2+y^3-8*x-3*y gx(x,y)=diff(g(x,y),x); show('gx = ',gx(x,y)) the result is gx =2x−8 How can I place a space BEHIND the =? Thanks for your answers Bert -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: equation solution in integer

2020-04-18 Thread Bert Henry
amphanumerics like SEND+MORE=MONEY. Thanks a lot for answering Bert Am Freitag, 17. April 2020 19:17:12 UTC+2 schrieb Bert Henry: > > I have the equation > x + y = 15 > an I'm looking for solution only in the range x=1..9 and y=1..9, x and y > both integer > Is there a

[sage-support] Re: equation solution in integer

2020-04-17 Thread Bert Henry
@Matthias, thanks for your answer, but I don‘t underrstand it. In your link, I can‘t fInd the solution for my problem. Would you give me a hunt, where to search? Am Freitag, 17. April 2020 19:17:12 UTC+2 schrieb Bert Henry: > > I have the equation > x + y = 15 > an I'm looking for s

[sage-support] Re: equation solution in integer

2020-04-17 Thread Bert Henry
I tried it with var('x, y') assume(x,"integer") assume(x>0) assume(y, "integer") assume(y>0) solve(x+y==15,x,y) The result was (t_0, -t_0 + 15) obviously right, but not 6,9 7,8 8,7 and 9,6 Am Freitag, 17. April 2020 19:17:12 UTC+2 schrieb Bert Henry: > >

[sage-support] equation solution in integer

2020-04-17 Thread Bert Henry
I have the equation x + y = 15 an I'm looking for solution only in the range x=1..9 and y=1..9, x and y both integer Is there a sage-command to do that? Thanks in advance Bert Henry -- You received this message because you are subscribed to the Google Groups "sage-support&q