[Quartz 002] shell mathematics