I hope you are not unhappy with me, but you just started with this program and it is hard at first. I know you want to make a buck PWM. I can help with that. (most of us will help) Please tell us what you want made. If you have a circuit up and working, then you can make changes and see what happens. I think we need to get past this "getting started" problem and jump into seeing something working.
well the real problem was that i went through several tutorials and was frustrated because none of them included the very basic details that you guys have told me. i just wanted to see an L or a C acting roughly like an L and a C, without regard to tangible limitations of wire and such, so that i could proceed with my circuit and know what i'm lookin at.
i really appreciate everybody's patience in helping me with a really basic question. maybe this thread should be promoted to "sticky" status.
after i read your responses, i was able to make my circuit and what i now have is this:
the red trace is the current coming out of V2, the 5v source in my buck. After plotting that out, then i needed to plot the average of i(V2), like a mathematical "capacitor" to show the smoothed out version of i(V2). someone over on stackexchange illustrated the circuit on the right (B1 & R1) with an equation for V(B1) that's supposed to correspond with the value of that average.
The equation seems to express, as a voltage, the integral of i(V2) over a Δt of 1ms. therefore the green trace, the current through R1(1 ohm), = the average of i(V2), the red trace.
the PULSE coming outa V1 is actually a PWM signal from an arduino. The 5v coming from V2 is actually the usb connection off my laptop. And the point of all this is to charge of the capacitor underneath Vout (10mF) from the usb as quickly as possible without exceeding the 500mA current limit imposed by the usb protocol. so all i gotta do is get a current sense resistor (not shown) on the Vin line. The weenie will check the current i(V2) and increment/decrement the PWM duty cycle and hold the current at around 450 mA until the 10m cap reaches a voltage of 2.5v.
so the whole thing is pretty simple. thanx for the info