Thanks, I already figured the solution out yesterday. Of course I always use better variable names, but the reason I was even posting a question on here is I lost part of my program and had to rewrite most of it and forgot some of the specifics for file IO. I guess I learned my lesson to never...
Homework Statement
Hey everyone, I have a question regarding file IO in java.
My assignment says: Extend program 2-add menu items Open(reads employees from a file),Save(writes employees to a file already specified), and Save As(writes employees to a new or different file than the one...
whoops forget to scale that one! Thanks for all your help I really appreciate it! For some reason the scaling thing didn't register with me on what the professor wanted and I was confused with the sign changing.
yes that is what the professor meant. So we already have 1 as eigenvalue. The question specificies that only real values of λ to be included. Earlier in the thread I solved for the eigenvalues and got
λ= sqrt(1/2) + isqrt(1/2) which isn't a real number right?
So should answer just be{1}?
Wait but doesn't normalizing a vector mean taking v1/||v1|| ?
How would that give me a 1 as the first nonzero component?
Also if I use v2 = 2,1,-1 do I also need to normalize it if the 2 isn't negative?
Just thinking, but does that mean that 1 must be one of the eigenvalues?
We haven't been over this in class so I'm just guessing, but is a zero vector unaffected by rotation?
This seems like it might be wrong, but I did the usual procedure for finding eigenvalues and got
λ = sqrt(1/2) + sqrt(2)/2
Is this right? I think I might have solved the equation wrong?
So I took each value 0,2,3 and did (A-λI)X = 0
For zero:
(4-0) -4 0
2 (-2-0) 0
-2 5 (3-0)
then I reduced and got
v1 = -1,-1,1
and did same process for the other values and got
v2=-2,-1,1
v3=0,0,1
Everytime I solve this problem I get the same values, but the...
Homework Statement
The matrix A transforms space by rotating counterclockwise around z axis by ∏/4.
-What is A?
-Find a unit vector s.t. Au=u
(make sure the first nonzero is positive)
-for what λ's does Au = λu? write answer as a set {a,b,...}
Homework Equations
Unit vector u =...