User Portlet User Portlet

Discussions
I have a matrix that depends on one variable and I want to maximize the sum of the first two eigenvalues. I wrote the following mathematica code:[mcode]Clear[T, f, x] T[x_] := {{0, 1, 1, 1}, {1, 0, Exp[I*x], 1}, {1, Exp[-I*x], 0, 1}, {1,     1, 1,...
That works, thanks. So essentially, when I enter 1. instead of 1 it will treat this as an approximation and do further computations with it numerically instead of algebraically? That is a good trick to know in general.