1, 2 ,4 ,8 ,16
1+2, 1+4, 1+8, 1+16,
2+4, 2+8, 2+16,
4+8, 4+16,
8+16,
1+2+4, 1+2+8, 1+2+16,
1+2+4+8, 1+2+4+16,
1+2+4+8+16
how can i do this
syms x A alpha h2msyms b positive rationalpsi = A*exp(-(b*x^2));V = alpha*x^4;H = -h2m*diff(diff(psi)) + V*psi;Hall = psi*H;avgE=int(Hall,x,-inf,inf);pretty(simplify(Hall))pretty(simplify(avgE))fmin = diff(avgE,b);pretty(simplify(fmin));eqn = (fmin == 0);minb = solve(eqn,b ,'ReturnConditions',true);minb.conditionsminb.b
ans = 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & ((~0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) & ~0 < alpha/h2m | ~in(((15*alpha)/(16*h2m))^(1/3), 'rational') & (~0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) & 0 < alpha/h2m | 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (~in(((15*alpha)/(16*h2m))^(1/3), 'rational') | ~0 < alpha/h2m) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1))) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (~0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (~in(((15*alpha)/(16*h2m))^(1/3), 'rational') | ~0 < alpha/h2m) & A ~= 0 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & ((~0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) & ~0 < alpha/h2m | ~in(((15*alpha)/(16*h2m))^(1/3), 'rational') & (~0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) & 0 < alpha/h2m | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (~in(((15*alpha)/(16*h2m))^(1/3), 'rational') | ~0 < alpha/h2m) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1))) | 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (~0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (~in(((15*alpha)/(16*h2m))^(1/3), 'rational') | ~0 < alpha/h2m) & A ~= 0 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (~0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | ~0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (~0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | ~0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1) | ~0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1) | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (~0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (~0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & ~in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) | 0 < (- 1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & 0 < (1 + 3^(1/2)*1i)^2*((15*alpha)/(16*h2m))^(1/3) & in(((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3), 'rational') & in(((15*alpha)/(16*h2m))^(1/3), 'rational') & A ~= 0 & 0 < alpha/h2m & (signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 | signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 & signIm(((3^(1/2)*1i)/2 - 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) ~= 1 & (signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == -1 | signIm(((3^(1/2)*1i)/2 + 1/2)*((15*alpha)/(16*h2m))^(1/6)*1i) == 1)) ans = ((3^(1/2)*1i)/2 - 1/2)^2*((15*alpha)/(16*h2m))^(1/3) ((3^(1/2)*1i)/2 + 1/2)^2*((15*alpha)/(16*h2m))^(1/3) ((15*alpha)/(16*h2m))^(1/3)
N = 7; % must be odd
M = ones(N)*16;M(1:2:N,:) = 4;M(2:2:N*N) = 8;M(:,[1,N]) = M(:,[1,N])/2;M([1,N],:) = M([1,N],:)/2;
M = 1 4 2 4 2 4 1 4 16 8 16 8 16 4 2 8 4 8 4 8 2 4 16 8 16 8 16 4 2 8 4 8 4 8 2 4 16 8 16 8 16 4 1 4 2 4 2 4 1
Best Answer