The paper presents a computer program, made by the authors and used for studying the stress state in a plate manufactured from a fiber reinforced stratified composite material. Both mechanical and thermal load are considered. The program allows the optimization of the composite material configuration, by establishing the configuration of the optimal orientation of the fibers in the matrix, in the case where the total number of plies with the same orientation is imposed.