RESIDUAL STRESS IN CERAMIC AND SEMICONDUCTING MATERIALS