%0 Journal Article %T Transport in Astrophysics: I. Diffusion of Solar and Galactic Cosmic Rays %A Lorenzo Zaninetti %J International Journal of Astronomy and Astrophysics %P 30-52 %@ 2161-4725 %D 2022 %I Scientific Research Publishing %R 10.4236/ijaa.2022.121003 %X Some solutions for the diffusion phenomenon as a function of time and space are reviewed. Two new solutions of the homogeneous diffusion equation in 1D and 2D are derived in the presence of an existing fixed number of particles. The initial conditions which allow deriving a power law behavior for the energy of the cosmic rays (CR) are derived. The superposition of transient diffusive phenomena on an existing power law distribution for the energy of CR allows simulating the knee, the second knee, and the ankle. %K Cosmic Rays %K Particle Diffusion %K Random Walks %U http://www.scirp.org/journal/PaperInformation.aspx?PaperID=115376