Ask Your Question

jafrancor's profile - activity

2023-07-19 15:31:14 +0200 received badge  Popular Question (source)
2022-07-16 20:20:29 +0200 commented answer In a system of 5 nonlinear equations with 5 unknowns using the solve command, Sage gives 5 lists of 5 solutions. Is it possible to print only one list with the 5 third solutions?

I don't understand what implies and what is the meaning of checking that the result of..dimension() is indeed 0 before a

2022-07-16 20:20:29 +0200 received badge  Commentator
2022-07-16 20:11:04 +0200 commented answer In a system of 5 nonlinear equations with 5 unknowns using the solve command, Sage gives 5 lists of 5 solutions. Is it possible to print only one list with the 5 third solutions?

Thank you too!!

2022-07-16 20:03:12 +0200 commented answer In a system of 5 nonlinear equations with 5 unknowns using the solve command, Sage gives 5 lists of 5 solutions. Is it possible to print only one list with the 5 third solutions?

Thanks a lot!!

2022-07-16 19:43:38 +0200 marked best answer In a system of 5 nonlinear equations with 5 unknowns using the solve command, Sage gives 5 lists of 5 solutions. Is it possible to print only one list with the 5 third solutions?

For example:

var('a,b,c,d,e,f,g,h,i,j,k,l,x,y,p,q,r,s,t,u,v,A,B,C,D,E,F,G,H,T,K,L,M,N')
solve([A - E, A*E - B, B*E - C, C*E - D - 10, D*E + 2], A,B,C,D,E, solution_dict=true)

[{A: 1.724306472919419,
  B: 2.973232669869595,
  C: 5.126764621146644,
  D: -1.159886628876292,
  E: 1.724306472919419},
 {A: -0.04961250951920438 - 1.781741795058672*I,
  B: -3.172142423158106 + 0.1767933635362254*I,
  C: 0.4723780710666982 + 5.643167572788117*I,
  D: 0.03123165940893102 - 1.121627457212148*I,
  E: -0.04961250951919667 - 1.781741795058679*I},
 {A: -0.04961250951920438 + 1.781741795058672*I,
  B: -3.172142423158106 - 0.1767933635362254*I,
  C: 0.4723780710666982 - 5.643167572788117*I,
  D: 0.03123165940893102 + 1.121627457212148*I,
  E: -0.04961250951919667 + 1.781741795058679*I},
 {A: -1.825113562621674,
  B: 3.331039229181005,
  C: -6.079524680073126,
  D: 1.095822281167109,
  E: -1.825113562621674},
 {A: 0.2000320307495195,
  B: 0.04001281142046625,
  C: 0.008003843719970937,
  D: -9.99839871897518,
  E: 0.2000320307495195}]

But I only need to print the list of the C solutions. Say:

[ C: 5.126764621146644,
  C: 0.4723780710666982 + 5.643167572788117*I,
  C: 0.4723780710666982 - 5.643167572788117*I,
  C: -6.079524680073126,
  C: 0.008003843719970937]

Or something like that.

2022-07-16 02:30:07 +0200 marked best answer Why, in any equation, are repeated solutions given by Sage only once?

In the example

var('f, q, r, h, i, g, x, y, z')
eq1 = x^5 - x^4 - 2*x^3 + 2*x^2 + x - 1
solve(eq1==0,x)

Where, this equation is also equal to (x-1)^3*(x+1)^2, but I obtain the following solution:

[x == -1, x == 1]

Let's say that, in any equation, repeated solutions are given by Sage only once.

Then, how can I, in our example, obtain the following complete solution?

[x == -1, x == -1, x == 1, x == 1, x == 1]
2022-07-16 02:30:07 +0200 received badge  Scholar (source)
2022-07-16 02:14:04 +0200 asked a question In a system of 5 nonlinear equations with 5 unknowns using the solve command, Sage gives 5 lists of 5 solutions. Is it possible to print only one list with the 5 third solutions?

In a system of 5 nonlinear equations with 5 unknowns using the solve command, Sage gives 5 lists of 5 solutions. Is it p

2022-07-14 17:49:39 +0200 commented answer Why, in any equation, are repeated solutions given by Sage only once?

Thanks a lot!

2022-07-14 00:29:28 +0200 asked a question Why, in any equation, are repeated solutions given by Sage only once?

Why, in any equation, are repeated solutions given by Sage only once? In the example var('f, q, r, h, i, g, x, y, z') e

2022-01-31 22:28:53 +0200 received badge  Popular Question (source)
2022-01-04 02:34:07 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I didn't have any result

2022-01-04 02:31:57 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately, by using a concrete example I achieved for q=2 and r=1 the solution of "solve([e1, e2, e3, e4], [f, g, h,

2022-01-03 21:47:14 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I didn't have any result

2022-01-03 21:36:57 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I didn't have any result

2022-01-03 21:33:37 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I didn't have any result

2022-01-03 21:32:19 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I didn't have any result

2022-01-03 17:44:49 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I didn't have any result

2022-01-03 17:40:21 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I didn't have any result

2022-01-03 17:38:48 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 23:05:40 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 22:30:10 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 22:06:48 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 21:51:13 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 21:45:47 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately, by using a concrete example I achieved for q=2 and r=1 the solution of "solve([e1, e2, e3, e4], [f, g, h,

2022-01-01 21:37:02 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 21:30:37 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 21:29:24 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Of course I tried with "solve([e1, e2, e3, e4. e5], [f, g, h, i, d], solution_dict=True)", but I don't have any result f

2022-01-01 20:52:20 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately, by using concrete examples I achieved, for q=2 and r=1, the complete solution of "solve([e1, e2, e3, e4], [

2022-01-01 20:50:42 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately by using concrete examples I achieved, for q=2 and r=1, the complete solution of "solve([e1, e2, e3, e4], [f

2022-01-01 20:49:08 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately by using concrete examples I achieved, for q=2 and r=1, the complete solution of "solve([e1, e2, e3, e4], [f

2022-01-01 20:47:00 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately by using concrete examples I achieved, for q=2 and r=1, the complete solution of "solve([e1, e2, e3, e4], [f

2022-01-01 20:33:46 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately by using concrete examples I achieved, for q=2 and r=1, the complete solution of "solve([e1, e2, e3, e4], [f

2022-01-01 20:26:09 +0200 commented answer How to program in Sagemath using the first root of an equation that needs to be entered in the coefficients of another equation to solve it

Fortunately by using concrete examples I achieved, for q=2 and r=1, the complete solution of "solve([e1, e2, e3, e4], [f