Very generally, the outer four planets are less dense than the four inner rocky planets, but it's more to do with planet type rather than their distance from the sun.
How does a planet's distance from the sun affect its period of revolution?
Two factors that affect a planets revolution are distance from the sun and size.
the closer you are to the sun it affects the planets speed cause of the suns gravitational pull
Not at all. The planet's daily rotation is independent of its distance from the Sun.
The farther away from the sun the planet is, the more space it has to cover. Therefore, the planets distance from the sun whereas, if i am half the distance from Earth/Sun, that planet will get more energy. But if I am twice the distance from Earth/Sun, I will receive less energy.
it can affect the time bec. when the planet is near the sun it will rotates very fast than the other far planets....
http://solarsystem.nasa.gov/planets/profile.cfm?Object=Sun&Display=Facts
From Kepler's laws it can be shown that the orbital speeds of the planets are proportional to the inverse square root of their distances from the Sun. Thus a planets at four times the distance would travel at half the speed.
To answer the question very literally: Yes. The Galilean satellites follow the same pattern of density versus increasing distance from Jupiter that the planets' density follows versus distance from the sun. The specific pattern is: No pattern at all. Earth ... 3rd from the sun ... is the most dense planet, while Saturn ... 6th planet from the sun ... is the least dense. So there is no "just as" to compare to.
the affect is 90 between two planets
The distance of the planets from the sun does not change because of the gravity surrounding each planet is pulling them into continuous orbit.
Neptune is the remotest of the eight planets, and its distance is 30 astronomical units, which means its distance from the Sun is 30 times the Earth's distance from the Sun.