# Question: write a function xcheck consistab to check whether the equation...

###### Question details

Write a function x=Check consist(A,b) to check whether the equation Ax=b is consistent or not. If the size of the input is not compatible for this question, then it should print ‘Incompatible Inputs’. If the equation is not consistent, an error message ’Inconsistent inputs’ should be printed. Otherwise, the output x should be one solution of that equation. (A can be rectangular matrix.)