As programmer i find many solutions that generates pseudo-random values and surfaces, i'm always wondering how they can do that from a mathematical viewpoint.
For example i can generate a terrain from algorithms, i can input some parameters like the bottom and maximum height of the terrain and a seed to get the terrain that i want; i can't understand that from a mathematical viewpoint, if someone would explain this to me it would be great.