If we have a ramp and a block on it, and if all the surfaces are frictionless so both the the ramp and block can move. Is the normal force different from the time that ramp is not moving? If yes can you explain why? And how can we calculate the acceleration of the ramp?
Ah, I asked a question like this on an exam some years ago. The students didn't like this question very much...
The ramp will accelerate because the block exerts a normal force on it which is not vertical, so there is no other force which can oppose its horizontal component.
You are correct that the normal force will be different from what it would be if the ramp was held stationary. Remember that, in general, the only way we ever know the value of a normal force is by solving for it from Newton's 2nd law. It is easy to forget this since most cases we look at are trivial so we don't have to go through this process.
So, you should draw FBDs for the block and for the ramp. Don't forget what Newton's 3rd law tells you or you are likely to forget that the block exerts a normal force on the ramp. You might have to think carefully about what the most convenient coordinate axes are. Both the block and the ramp accelerate. We don't know either acceleration, but there is something we know about the acceleration of the ramp, and realizing this will point you towards the better choice of axes. Now write Newton's 2nd law (x and y components) for each of the block and the ramp. You have 4 equations and lots of unknowns. Newton's 3rd law tells you that the size of the normal force by the ramp on the block is the same as the size of the normal force by the block on the ramp, so this eliminates an unknown for you. At this point you should be down to a small enough number of unknowns that you can solve the system of equations. Good luck with that.
There are some somewhat sophisticated things you can do to simplify matters. For example, the only external forces on the system (the block+ramp) are vertical (gravity, and the normal force that the floor exerts on the ramp). So the acceleration of the center of mass of the system must point straight down. This could simplify your solution if you make clever use of it.
This problem can be solved intuitively.
IF the ramp were fixed, the normal force perpendicular to the incline of the ramp and the underside of the block wouldn't change during the block's downward journey, and the block's acceleration would be constant. Here's an example of a block sliding on a fixed ramp: http://hyperphysics.phy-astr.gsu.edu/hbase/mincl.html.
HOWEVER, suppose you wanted the block to reach the end of the ramp in less time, without putting any additional energy into the system? You could make the ramp movable!
Why? The effective angle of incline of the block's path through space increases as the normal force between block and ramp drives the ramp out from under the block. The block's actual path through space becomes the hypotenuse of a shrinking right triangle. As the hypotenuse gets shorter, the block's acceleration increases as its actual path gets steeper, even though the incline of the moving ramp stays the same. And at the same time, the normal force between block and ramp constantly decreases, until it effectively becomes zero when the block hits the table and stops. At that point, the effective angle of the block's path would be really steep, perhaps even a right angle, and the block would tilt on to its end.
The answers to your questions are in the above paragraph.
(1) The normal force between block and ramp changes from the time that the ramp is not moving. It changes because it is the component of gravitational force that is perpendicular to the effective incline of the block's path; it's g cos theta, where theta is the angle between the block's effective path and the horizontal table on which the ramp rests. When the block hits the table and tilts off the ramp, the normal force between block and ramp becomes zero. Cos 90 degrees = 0, and F = g * 0 = 0.
(2) As the normal force constantly decreases while the block slides down an effectively increasing incline path, the acceleration of the ramp must constantly decrease. You can see this as a consequence of Newton's 2nd law of motion:
F = m * a
a = F/m
a is acceleration of the ramp
m is mass of the ramp
F is the normal force between ramp and block
The ramp's mass stays the same of course, but the normal force F decreases as the cosine of effective theta decreases.
Let's say effective theta is 30 degrees when the block is near the top, and 70 degrees near the bottom (as the ramp slides out, the block's trajectory through space steepens). Let's say the block's mass is 3 kilograms.
Normal force near top = 3 Kg * 9.8 m/s^2 * cos 30 = 25 newtons
Normal force near bottom = 3 Kg * 9.8 m/s^2 * cos 70 = 10 newtons
As effective theta increases, the slope of the block's actual path through space increases, acceleration of the block increases, and acceleration of the ramp decreases because the normal force between block and ramp decreases. When the block hits the table, the ramp's acceleration becomes zero, and the ramp continues sliding with constant velocity on the frictionless surface.