A quantitative method to determine the profile of the residual stress along the depth of a highly boron doped silicon film is reported. First, the stress profile relative to the stress at the neutral surface of the film is obtained by measuring deflection of p silicon cantilevers with different etch depths. Second, the average of the residual stress is obtained by using a rotating beam structur...