Try this instead:
Det[{{0, a, 0}, {a, 0, 0}, {1, 1, 1}}].
hi everyone.
Iam having a little trouble with mathematica. Everytime i pass in a matrix, which include a variable, i get an error.
eg. if i pass:
Det[{0, a, 0}, {a, 0, 0}, {1, 1, 1}]
i get the following error:
Det::nonopt: "Options expected (instead of {1,1,1}) beyond position 1 in "
Yes it is for mathematica. Well i still cant see why i get this error, i have uploaded the file here: http://dl.dropbox.com/u/17152205/det_test%202.zip
maybe this can help you to see what i am doing wron. Btw. thanks for your help so far
Ok, I think your problem is this: the variable a has been defined elsewhere, looks like in another notebook file. In fact, it's been assigned the value
a = {{-2, 2, 0}, {2, -2, 0}, {1, 1, -1}}.
Try executing this command:
Clear["@"]
and then trying again.