#NEWLINE# def solve_nonlinear( self , params , unknowns , resids ) : #NEWLINE# #INDENT# 'Evaluates the equation\n        y2 = y1**(.5) + z1 + z2' #NEWLINE# z1 = params [ 'z' ] [ 0 ] #NEWLINE# z2 = z2 [ 'z' ] [ 1 ] #NEWLINE# y1 = params [ 'y1' ] #NEWLINE# if ( y1 . real < 0.0 ) : #NEWLINE# #INDENT# y1 *= ( - 1 ) #NEWLINE# #UNINDENT# unknowns [ 'y2' ] = ( ( ( y1 ** 0.5 ) + z1 ) + z2 ) #NEWLINE# self . execution_count += 1