Einstein field equations for anisotropic spheres are solved and exact
interior solutions obtained. This paper extends earlier treatments to include
anisotropic models which accommodate a wider variety of physically viable
energy densities. Two classes of solutions are possible. The first class
contains the limiting case μ∝r−2 for the energy density which
arises in many astrophysical applications. In the second class the singularity
at the center of the star is not present in the energy density. The models
presented in this paper allow for increasing and decreasing profiles in the
behavior of the energy density.Comment: 9 pages, to appear in Pramana - J. Phy