Robot arm ai analyzing mathematics for mechanized industry problem solving