MATLAB w/ RLC circuit and calculus

Discussion in 'Programmer's Corner' started by notoriusjt2, Feb 12, 2011.

  1. notoriusjt2

    Thread Starter Member

    Feb 4, 2010
    Not really familiar with MATLAB, and not really that great at calculus. so heres the problem... crappy iphone 3g pic sorry


    after the circuit is shown it goes on to say the following...

    "The loop-current equations for this circuit (based on Kirchoff's voltage law applied to each loop) are as follows:
    Assume the following conditions
    R1 = 1Ω
    L1 = 1H
    C1 = 1F
    R2 = 1Ω
    L2 = 0.1H
    C2 = 0.1F

    Develop a Simulink model to simulate the currents i1(t) and i2(t) in response to a sinusoidal applied voltage, v(t) = 10sin3t. Produce graphs of i1(t) and i2(t), for 0 < t < 30s."

    So I loaded up Simulink in Matlab and realized that I have no clue what I am doing. Here is what I have so far...


    There is another part to this problem, but I figure I should get the first part done first. So any ideas how to set this up?