Hand-held calculator algorithms for coastal engineering