Processing math: 100%
Ask Your Question

borostack's profile - activity

0 years ago received badge  Notable Question (source)
0 years ago received badge  Popular Question (source)
0 years ago received badge  Famous Question (source)
3 years ago received badge  Nice Question (source)
3 years ago received badge  Notable Question (source)
3 years ago received badge  Popular Question (source)
6 years ago received badge  Nice Answer (source)
6 years ago answered a question resolution stuck system polynomials order two

I also raised a question on math.stackexchange about the solvability of my polynomial system. . The Groebner basis method is stuck as well because of the high order of one of the variables (ch which is degree 15).

6 years ago received badge  Teacher (source)
6 years ago answered a question Solve, elegant way ?

Well, I wrote this shorter code :

#PB: Maxime is 32 years old.
#It is twice as old as Albane was when he was the age Albane has now.
#What is Albane's age?
# m = age of Maxime a = age of Albane, x = age difference   
var ('m, x, a')
e1 = m - a == x
e2 = m == 2 * (a-x)
solution = solve([e1,e2],x,a) 
show(solution[0])
print 'the age of Albane is', solution[0][1].rhs().subs(m=32)

The output is :

[x=14m,a=34m]

the age of Albane is 24

6 years ago asked a question resolution stuck system polynomials order two

I have three variables (ISP, ch, nC). I have two equations. My aim is to solve a system of two equations to compute the values of ISP and ch according to nC.

My two equations are polynomials of order two. I put the equations in a framabin : https://framabin.org/p/?2ea1412d13d7f...

I tried the solvers of sage and simpy but it does not work. I tried to use Groebner basis but I failed.

6 years ago received badge  Supporter (source)
6 years ago received badge  Student (source)
6 years ago commented answer Conversion from symbolic expression to polynomial stuck

https://doc.sagemath.org/html/en/reference/rings/sage/rings/fraction_field_element.html (I found the page about the Fraction Field Elements.)

AN is my numerator and AD is my denominator of my symbolic expression A. There is not the values of interest (mu and xi_3) in the denominator AD. How should I wrap the whole in the Fraction Field ?

BTW, thank you very much :)

6 years ago received badge  Scholar (source)
6 years ago commented question Conversion from symbolic expression to polynomial stuck

https://framabin.org/p/?2417942055fc9fc9#Oenpb+BI567QXYcVCzjO4zkLRC0byQaNdhi2XW/CUkY= (I added a framabin where you can read the symbolic expression.)

6 years ago received badge  Editor (source)
6 years ago asked a question Conversion from symbolic expression to polynomial stuck

I have a very long symbolic expression with six variables:

(E_mu, E_xi3, ISP, T, V_mu, V_xi3, Z, m, mu, n_I, n_P, xi_1, xi_3)

I call the expression AN. I want to convert it in a polynomial of two variables (mu and xi_3). I tried the following command:

AP = AN.polynomial(None,ring=SR['mu,xi_3'])

This works for simple expressions but the command remains stuck for the given expression. My aim is to get the monomials of the polynomial. mu and xi_3 are random variables and I want to compute the expectation of AN (E[AN]). Thus, I could substitute the expectations in the expression.

AN is a numerator, so it is not a fraction. Moreover, I also tried simply_rational but it did not help to convert.

Is there anyway to convert easily ?

EDIT : https://framabin.org/p/?2417942055fc9fc9#Oenpb+BI567QXYcVCzjO4zkLRC0byQaNdhi2XW/CUkY= (I put the symbolic expression in a framabin.)