analitical solution