Recent content by Lolsauce

  1. L

    Probability and Bernoulli trials

    So by applying this to my problem. P(0 white) = (n/(m+n)) * (n-2)/(m+n) * ... (n-k+1)/(m+n) = n!/(n-k)! Does this look correct?
  2. L

    Probability and Bernoulli trials

    Okay, I understand this.
  3. L

    Probability and Bernoulli trials

    Ok, I can see that now with you and the other users reply. This is not a Bernoulli trial, as the balls are not returned. A Bernoulli experiment is in the same sample space.
  4. L

    Probability and Bernoulli trials

    So a Bernoulli trial assumes the balls are put back as it's the trial of the whole system per k trials? I see why the equals 1-P(0 white balls). We are essentially finding the compliment of getting a black ball correct? I'm not exactly sure how they computed P(0 white balls). I guess it's...
  5. L

    Probability and Bernoulli trials

    Homework Statement A box contains m white and n black balls. Suppose k balls are drawn. Find the probability of drawing at least one white ball. Homework Equations Probability of one success = P({1 successful trial}) = n * p * qn-1 p = probability where q = 1-p Fundamental theorem of...
  6. L

    Calculating the transfer function from Laplace Transforms

    Homework Statement A Control system for a spacecraft platform is governed by the following equations: d²p/dt² + 2 dp/dt + 4p = θ v1 = r - p dθ/dt = .6*v2 v2 = 7*v1 All the variavles v1, v2, r, p, θ are functions in the time domain Determine the system transfer function P(s)/R(s) Homework...
  7. L

    Going from phasor form to instantaneous time sinusoidal functions

    Thanks for the reply, so you are saying that the the subtraction of the ∏ phase in part is to get rid of the negative. Meaning if I add ±∏, I should get the same answer since it shifts the negative to positive phase either way. That means: 5exp(j(4∏/3 + wt)) should also be correct? Yes?
  8. L

    Going from phasor form to instantaneous time sinusoidal functions

    So I'm currently reviewing for my electromagnetism class, but I do not remember the techniques from going to phasor to instantaneous time. Maybe someone can explain to me what is going on. Homework Statement Find the instantaneous time sinusoidal functions corresponding to the following...
  9. L

    Trouble plotting a simple sin function

    So all I'm trying to do is plot y = (2sin(3w))/w, w is the angular frequency. I basically want this graph in radians. So this is what I did at first: >> x = [0:.01:20] ; //want bounds from 0 to 20 y = 2.*((sin(3.*x))/x); plot(y) But when I do this I get a graph of nothing, I assumed...
  10. L

    Trouble with convolution and system response to inputs

    Nevermind, I just solved it, lolsauce. I turns from -1 < t < 0 the equation is t + 1, means it is shift to the right by one, NOT shifted up like I had thought.
  11. L

    Trouble with convolution and system response to inputs

    Homework Statement x(t) is input, h(t) is the impulse response, y(t) is output Find the system response to the input x(t) x(t): http://img10.imageshack.us/img10/5157/55570988.jpg h(t): http://img593.imageshack.us/img593/1079/52492104.jpg Homework Equations Now I know the...
  12. L

    MATLAB Need help graphing a step function within Matlab

    So I scraped all my old code and just started a new simple approach using an if statement. Although there is a problem When I graph it, all I get is a linear straight line. x = -1:.01:5; //Sets limits of x steps = size(x,2); // I'm not exactly sure what these do, but I was told...
  13. L

    MATLAB Need help graphing a step function within Matlab

    Oohhhhh I got it, dumb mistake :( So what I have now is: >> u = inline('(t>=0)','t') //this defines u also known as the step function u = Inline function: //this is returned by Matlab u(t) = t(>=0) p = inline('(t>=0&(t<4))','t') //this defines p and let's the t...
  14. L

    MATLAB Need help graphing a step function within Matlab

    What do you mean by no function u? Do you mean I have no declared one? Shouldn't I enter this as u, since it is the unit step function? >> u = inline('(t>=0)','t')
  15. L

    MATLAB Need help graphing a step function within Matlab

    So I'm not going to lie, I'm pretty new with this software. I was assign a homework assignment, but I'm not sure how you graph a step function. Given this waveform use the step function to find an equation: http://img163.imageshack.us/img163/2545/stepfunction.jpg" I calculated the step...