Nonlinear stress analysis problems by spectral collocation methods