Book
Linear Algebra
Author
Gilbert Strang
Edition
/*there are 3 vectors having variables,check if it is independent or dependent.if a=0,d=0 or f=0*/
A=array([[a,b,c],[0,d,e],[0,0,f]])
/*given a=0(let)or d=0 or f=0&let c=1,b=1,d=2,e=5,f=5*/
g=det(A)
if g==0:
print 'dependent'
else:
print 'independent'
Solution by:
<Your Name>, <Profssion>, <Organization>
<Your Name>, <Profession>, <Organization>
