[Agate 002] calculator line calculation