Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
R.<x>=QQ[]
p = x^2 + 5*x+3
B=matrix([[1/2,2/3],[1/2,1/3]]) 
p(B)

[73/12  35/9]
[35/12  46/9]