Recent content by iamsmooth

  1. I

    Given a series of output, how to determine function?

    Well, I am simulating events. Each event starts out doing action B for an amount of time that's exponentially distributed with a mean of 30 minutes, to get this number I do: -(actionTime) * log(randomNumber) where actionTime is the amount of time the event is spent performing action and...
  2. I

    Given a series of output, how to determine function?

    The algorithm is that each event will perform an action A followed by action B. Action A is performed for an exponentially distributed amount of time with a mean of 10 minutes, and B is performed for an exponentially distributed amount of time for 30 minutes. So what I'm trying to figure out...
  3. I

    Given a series of output, how to determine function?

    Homework Statement I am a dumb programmer trying to figure out the relationship for a sequence of output. I can't seem to figure it out by guessing, so I assume there's a way to mathematically work this out. Anyways I wrote a program to do discrete event simulation and I have the following...
  4. I

    Plane Crash Survival: At Most One of Them

    Homework Statement A: Albert survived the plane crash B: Bill survived the plane crash C: Cory survived the plane crash Create the sentence (sentential logic) "at most one of them will survive the plane crash".Homework Equations The Attempt at a Solution \sim[(A\&B)\vee((B\&C)\vee(C\&A))]...
  5. I

    Is the gcd function symmetric?

    Just a quick theory question. I'd assume it is, but usually the bigger number goes first. e.g. gcd(10, 5) = 2 but does gcd (5, 10) = 2? My guess is yes. Thanks for the help.
  6. I

    Can All Real Numbers Be Multiplied to Create an Integer?

    like l'Hopital said, 1/x * x = 1, so yeah I guess that works. Thanks a lot guys :D
  7. I

    Can All Real Numbers Be Multiplied to Create an Integer?

    i'm so stupid, i figured it out, given any real number, multiply it by 0 and 0 is an integer... i wasn't thinking simple enough...
  8. I

    Can All Real Numbers Be Multiplied to Create an Integer?

    well if you give me any integer, multiplying it by any integer will produce an integer if you give me an irrational, how can you prove that no number can make an integer. it's defined on reals, not integers. i don't think that 1/x example works since it says there exists, as long as there...
  9. I

    Can All Real Numbers Be Multiplied to Create an Integer?

    Homework Statement Prove or disprove: ∀x ∈ R ∃y ∈ R so that xy ∈ Z. (R denotes set of all real nuimbers, Z denotes set of all integers)Homework Equations The Attempt at a Solution I'm not sure how to attack this question. It seems false, but I can't think of a good counterexample. Like If I...
  10. I

    Check my proof for cartesian product (set theory)

    Assuming B \subseteq C is true, we know that if there is any element x \in B, then x \in C. For any element (a, b) \in A \times B where a is an arbitrary element of A and b is an arbitrary element of B, there will also exist (a, b) \in A \times C since b \in B and b \in C must be true (by...
  11. I

    Check my proof for cartesian product (set theory)

    Let x \in B be arbitrary. Assuming B \subseteq C is true, we know that x \in C. We know that for all elements (a, x) \in A \times B where a is an arbitrary element of A, there will also exist (a, x) \in A \times C since x \in A and x \in C. Therefore by definition of subsets, A \times B...
  12. I

    Check my proof for cartesian product (set theory)

    Homework Statement Prove that \forall sets A, B, C , if B\subseteq C, then A \times B \subseteq A \times CHomework Equations The Attempt at a Solution Haven't done set theory proofs in a while. Does this suffice in proving the statement?: Let x \in B be arbitrary. Assuming B \subseteq C...
  13. I

    How Many Functions Have f(1) = f(2)?

    Homework Statement Let A = {1,2,3} and B = {1,2,3,4,5} Find the number of functions f: A -> B so that f(1) = f(2) Homework Equations The Attempt at a Solution I'm just reviewing random questions for my final on Tuesday and I came upon this question. Seems to be a counting...
  14. I

    Help with proof for rational number problem

    Homework Statement For all a in the set of real numbers, if a is rational, a + \sqrt{2} is irrational. You may use that \sqrt{2} is irrational and the sum and difference of rational numbers is rational. Homework Equations The Attempt at a Solution My proof seems way too simple, I don't trust...
Back
Top