Question about App

Hello. I have a question about Xcode.
How can I make app to scan Matrices(that’s Arrays with some numbers or functions(like sin or tan)) from the UI and than make it to print something in UI such that user can see solution of a problem. Can someone send me some videos or materials to study related to this ideas?

You’ll need to look into the camera, for how to use it

And machine learning to actually identify numbers and then do math on those numbers

This is NOT an app I would recommend making if you are a beginner