Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Square brackets are used to define lists, but you can nest parentheses:

sage: pi_m = ((1+d)*g_1 + r*(1-d*mu)-c*d^2)^(2)/(4*g_1) + ((1+d)*g_2 - c*d^2)^(2)/(4*g_2)