Recent content by Poisonous

  1. P

    How to Solve Bayesian Game Equations?

    Homework Statement My Textbook gives the following example problem: Cournot Duopoly with incomplete information. The profit functions are given by: u_i = q_i(θ_¡ - q_i - q_j) Firm 1 has one type θ_1 = 1, but firm 2 has private information about its type θ_2. Firm 1 believes that...
  2. P

    MATLAB Matlab Scatter Plot: Adding Colored Point

    I have a scatter plot of data already created. I want to add a different colored point to the plot at specific coordinates. How can I do this? I tried using hold on, plotting my data, then writing scatter(1,0,r) hold off to plot a red point at (1,0) but its not working.
  3. P

    MATLAB Why is my Matlab infinite loop not working properly?

    From relaxations I knew you were equally likely to hit either 1 or -1 from the starting point, so i figured you should be really close to 0 after a bunch of tries. I guess I was being too optimistic.
  4. P

    MATLAB Why is my Matlab infinite loop not working properly?

    Ok, so here it is as fixed as I have it so far. I had to restart my computer so that MATLAB wouldn't generate other random numbers.. weird. The only problem is that the values I get aren't always very close to 0, and the variance seems a little bit large. M = zeros(5); M(1,3) = -1...
  5. P

    MATLAB Why is my Matlab infinite loop not working properly?

    Ok, so I figured out that all I need to do is switch the || to be an &&, but I'm also having another weird problem. I've also noticed that my Matlab is only ever generating the same random number (8.147) every single time I call the rand function. So, the problem always returns the expecVal...
  6. P

    MATLAB Why is my Matlab infinite loop not working properly?

    EDIT:: I figured out the problem with the loop was that I needed an 'and' statement, not an 'or' statement.. BUT I'm still having the problem where my random number is always the same. I can't figure out why this is loop is infinite (I think it's the while loop). I'm new to Matlab...
  7. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    Ah, I forgot to convert density to kg/m^3. Thanks for the help. I get about 5060 now.
  8. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    Hmm, I am supposed to be solving: GMm/r2 = m * v2/r plugging in and simplifying to: G(4/3*π*r*ρ)= (2πr/T)2/r right? Because that simplifies all the way to: T^2 = (3pi)/(G*ρ) which doesn't give 5069.
  9. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    Actually, I do know the orbital period on Earth's surface, since it is in the packet this question is in. It is given as 5069 seconds. But, the problem is that the answer I'm getting is not 5069. So, after the algebra, you get: T^2 = (2pi)/(4/3*G*rho) solving for T yields: 11709.99...
  10. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    Since it's circular, the period is T = 2*pi*r/v, but that is not making it immediately obvious why I shouldn't have to do arithmetic.
  11. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    Doc Al: So I could do it with v*omega instead of v2/r ehild: I was thinking something like that, but how..?
  12. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    The object is moving in uniform circular motion. So, F=m*v2/r You know r and the force is gravity, but do you know m? Or does that cancel out with the force of gravity formula? I assume it does, so then v = \sqrt{GM/r} or v = \sqrt{4/3*G*pi*rho*r^2} which has me a little worried...
  13. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    Yeah, the problem says the object is in orbit just barely above the surface, so I think you can assume that it's the same as if it were sliding without friction. The force that acts on the object is gravity. The acceleration due to gravity is given by the formula -GM/r2, where I can plug in...
  14. P

    Gravity Question: Calculating Orbit Time Around Spherical Rock

    The problem statement, all variables and known data: You launch an object into a circular orbit around a spherical, smooth rock, 30 cm in diameter. The rock also has the same mass density as Earth, ρ. How long does it take the object to orbit the rock one time? Attempt at a solution: I...
  15. P

    Solving Rotational Motion Problem Involving Mass and Length of Rod

    For a: Iz = 1/12ML2 + (M/2)(L/4)2 right? For b: For the collision itself you would need conservation of angular momentum? So, Iclay * ωclay + 0 = Iz * ωz so, ωz = MVL/8Iz So you know the rotational kinetic energy at the beginning, and that it should be all potential energy at the...
Back
Top