Search results

  1. D

    Guarded entries and deadlocks in Ada [Solved]

    This is a pretty general question that I haven't found an answer to, so I'd really appreciate the help. Let's say we have 3 tasks - Alpha, Bravo and Charlie, all within the one and same procedure. Alpha takes calls from Bravo, which in turn takes calls from Charlie. Alpha's entry is...
  2. D

    Context Sensitive Grammar (Automata theory)

    Sorry if this is the wrong forum. I'm trying to get my head around Context Sensitive Grammar. In my coursebook, there's an example ('e' here is the empty string, epsilon, and 'E' is the "set member" symbol): The language {an bn cn | n E N} is described by the following rules: S -> e | abNSc...
  3. D

    Relating probability distributions huh?

    Homework Statement Problem description: A variable X has expected value 0.002 in meters. Consider X - 0.002, scale to millimeter, and we get Y. Tasks: a) Express Y as a function of X b) Relate the probability distributions FX and FY c) Relate the probability density functions fX and fY...
  4. D

    Probability. Why can't I add them?

    Homework Statement Let's say, at a certain university, over the last few years 100 students have graduated with a degree in Computer Science, and another 100 in Biology. Let's also say 60 of the CS graduates found a job within 3 months of their graduation, and 50 of the Bio graduates did. The...
  5. D

    Getting n alone in n!=x and nlgn=x

    Homework Statement I need to know the greatest n for which n! is greater or equal to x, and the greatest n for which nlgn is greater or equal to x. Homework Equations Can't think of any. Sorry! The Attempt at a Solution For a "normal" function, like, say, lgn or n^2, it would be...
  6. D

    McLaurin - when do you stop?

    Homework Statement I have a problem with McLaurin series. I never know when to stop. How do I know if O(x3) is adequate, or O(x5)? Let's take this exam question as an example. \lim_{x \to 0} \frac{(x+1)e^x -1-2x}{cosx-1} \frac{(x+1)e^x -1-2x}{cosx-1} = \frac{(x+1)(1+x+\frac{x^2}{2!}+...)...
  7. D

    D/dx |x+2|^x (solution known, need explanation)

    Solved! d/dx |x+2|^x Homework Statement I need someone to explain this: http://www.dafydd.se/stuff/solvethis.png [Broken] Homework Equations I guess the following are of relevance... \frac{d}{dx} |x| = \frac{x}{|x|} \frac{d}{dx} a^x = a^x ln a The Attempt at a Solution The...
Top