ok, I think I fixed the problem. Apparently, you need to put the argument 'int argc, char * const argv[]' in int main. I didn't use this before, and I have noticed that xcode's template always has that as the argument. Anyone know why this works?
/Users/.../build/Debug/P11_in1.txt is the directory. What should I do about the spaces in the directory?
I am going to be typing in the filename quite frequently is there some way I can shorten the process, besides typing in the ENTIRE directory
No luck. The input stream goes into the "fail-state" mode when it reads it in. Do I need to make any stipulations in the project to add the files in? (The files are .txt files)
Right. It's in the console. Here is what I have:
string filecheck(string& tubein)
{
ifstream InFile;
cin.clear(); //resets input stream if it is in the fail state mode
cout<<"Enter the input file name: ";
cin>>tubein; //stores filename
InFile.open(tubein.c_str()); //priming...
This seems very similar to what I just wrote...I can't see much of a difference?
So if b1+b2=0 then the subspace is in R3, but that would mean the vector is (0,0,0) which makes the subspace trivial?
ok, correct I get this.
So for a):
The subspace is (0,b,0) and the zero vector is obtained by setting the scalar c=0 and multiplying through.
But, since v1+v2=(a1+a2, b1+b2, c1+c2)
v1+v2=(0, b1+b2, 0) is not true for R3, then it...
Homework Statement
Which of the following subsets of R3? The set of all vectors of the form
a) (a, b, c), where a=c=0
b) (a, b, c), where a=-c
c) (a, b, c), where b=2a+1Homework Equations
A real vector space is a set of elements V together with two operations + and * satisfying the following...
I have been told by a few people that people that have a very good technichal knowledge (i.e. engineers) and can write well can make loads of money. I can't really find where the two paths intertwine. Can someone explain what they mean?
No. this is the only electrical class in my curriculum (Mechanical Engineering)
I realize its pretty complex, but what about more of "elemental" level. Not necessarily individual atoms, but perhaps a picture of some sort. I am really struggling. Can you explain it in the context of a circuit...
ok, So I am in an entry level physics class (electricity & magnetism) and I am having trouble grasping the idea of voltage/electric potential. Wikipedia describes it as "electric pressure" but that is still pretty foggy. My professor relies heavily on mathematical derivations and barely says a...
why wouldn't it? 1x1x1x1... is still 1 isn't it?
you can also check the graph at 0 to see if it converges to 1 when you plug in positive real numbers for a and b. don't the 89s take limits?
thanks. I sort of figured it out after consulting a friend. To calculate the moment you evaluate a determinant of i,j,k being the first row, r components being the second, and F components being the third. As for the thetas, find the unit vector and set the components equal to arccosine like you...