[Granite 002] shell mathematics