Numerical analysis of a mixed elliptic problem with flux and convective boundary conditions to obtain a discrete solution of nonconstant sign