2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/175397By assuming a particular mass function we find new exact solutions to the Einstein field equations with an anisotropic matter distribution. The solutions are shown to be relevant for the description of compact stars. A distinguishing feature of this class of solutions is that they admit a linear equation of state which can be applied to strange stars with quark matter.5 pages, 3 figures, to appear in Mon. Not. R. Astron. SocGeneral Relativity and Quantum CosmologyA class of relativistic stars with a linear equation of statetext