# Recent content by testme

1. ### Comp Sci [Java] Generating a Time Array Problem

Thanks for all the replies but I figured out a secondary way that checks when the loop should stop which makes it work instead of comparing when the last element in the array is tMax I compared when i < ((int)(tMax/tStep + 1))
2. ### Comp Sci [Java] Generating a Time Array Problem

Umm, do you mean when the user enters it or in general? if I remember right 1111 Also, I don't think we're allowed to use string format. I believe we're supposed to assume that tMax = ntStep, where n can be any integer. So tMax/tStep can't be 11.999999999 or anything of the sort...
3. ### Comp Sci [Java] Generating a Time Array Problem

Homework Statement I'm given a maximum time, a time step (or interval) and I'm supposed to form an array from 0 to the maximum time going up by timestep each time. double tMax; //maximum time double tStep; //time interval to go up by Homework Equations Our teacher told us to use the...
4. ### Rank of a Matrix and whether the columns span R12

So then if I'm not mistaken since there are only 7 columns (or 7 vectors) and there must be a minimum of n vectors to span ℝn 7 vectors can't span all of ℝ12. So the answer is no. As for the first one would I be correct to say that the rank is then 7?
5. ### Rank of a Matrix and whether the columns span R12

No, my professor does it 12 x 7, row x column (I thought that's the norm way of doing it?) Maybe the ℝ7 is a typo by the professor and it should be ℝ12 I'm not completely sure.
6. ### Rank of a Matrix and whether the columns span R12

Homework Statement Let M be the 12 x 7 coefficient matrix of a homogeneous linear system, and suppose that this system has the unique solution 0 = (0, ..., 0) \in ℝ7. 1. What is the rank of M. 2. Do the columns of M, considered as vectors in ℝ12, span ℝ12. Homework Equations The...
7. ### Java [Java] Returning an Array

Here is my program so you can see what I need. This program is supposed to check if a person dives on a diving board or doesn't because of their nerves. Every step they take is 2 feet and they have to move 10 feet to dive. If they have nerves and step back they move back 2 feet. /** * This...
8. ### Java [Java] Returning an Array

Oops, sorry, it's late at night here. I'm using Java and bump those up 1. I was thinking as though I'm reading an element from the array.
9. ### Java [Java] Returning an Array

If I have a program where I need to return an array, is it possible that I only return the array with the length of what was added to it? What I mean is I have an array that gets filled up with letters but it doesn't always get completely filled up. Is there a way I can only return the...
10. ### Does a set of vectors span Rn

Hmm, well, that helps, I think I can figure it out from here and I'll ask my professor if there was another method he expected us to know
11. ### Does a set of vectors span Rn

No, we haven't really been taught how to do anything with matrices, except maybe adding matrices or multiplying matrices by a scalar.
12. ### Does a set of vectors span Rn

We haven't been taught that yet that's why I'm not sure what he wants us to do.. We've been talking about linear independence, bases, and dimension but I don't know how I can go back and check if it spans the space.
13. ### Does a set of vectors span Rn

Homework Statement Determine if the following sets of vectors span the indicated space a) {[0 -6 -6], [8 -3 5], [-9 7 -2]}, ℝ3. b) {[2 1 7 -2], [3 5 4 5], [4 -4 -3 -3], [-5 0 6 -4]}, ℝ4. Homework Equations The Attempt at a Solution a) a[0 -6 -6] + b[8 -3 5]...
14. ### Linear Algebra subspaces and spans

Well we know every span is a subspace.. so then can we check that S is a subspace of E? Sorry if I'm not getting it, we don't have many notes on spans Edit: Well.. I've been thinking about that and I don't think it's right, I'm going to try to find other definitions online and see if I can...
15. ### Linear Algebra subspaces and spans

Something like.. Let h, j, k, and l be scalars, h, j, k, l ∈ R. If hv1 + jv2 + kv3 + lv4 = E hv1 + jv2 + kv3 + lv4 = "ax + by + cz = d" then S is a spanning set of E? (in essense are we saying that an addition of planes that have been multiplied by some scalar give us E?) It's a weird concept...