How figuring Plenum volume and runner length/size

two things

equation for figuring out plenum volume for a given engine c.i. and rpm

and also runner length and size/dia