[Granite 001] shell mathematics