Ask Your Question

Bert Henry's profile - activity

2022-06-06 17:53:50 +0200 received badge  Popular Question (source)
2020-04-19 16:24:44 +0200 received badge  Student (source)
2020-04-19 11:28:57 +0200 commented question Equation problem

Dear sielievre, I posted it first in the Google-Group, thats true, but afterwards I recognised, that that group was for more technical questions.

2020-04-19 11:27:05 +0200 answered a question Equation problem

Thanks a lot for your answers!!! I will try them all. Perhaps with some additional conditions: x != y, z as a third variable and perhaps two equations.

2020-04-18 18:25:55 +0200 asked a question Equation problem

I have the equation

x + y = 15

and 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?

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

Thanks in advance Bert Henry