I am creating a math app for a assitgnmen but the problem is that I need to conect my phone to see what it does but im not allowed to use my phone so i can't see what my code does.
They should fix this so you can test your code without using your phone.
You can, you can use the MIT supplied emulator, or a third party emulator such as Genymotion or Bluestacks. No Doubt your IT Department will need to get involved to allow for any of these.