Answer :

by formulass and  equations  they are given