A LEVEL SET APPROACH FOR THE SOLUTION OF A STATE