# AC Formulas in reference

#### thatoneguy

Joined Feb 19, 2009
6,349
The question comes up from time to time, thought it'd be nice to have a quick link:

voltage @ angle, single phase sinewave

$V=V_{\small PK\sim}*sin(\Theta)$

angle @ voltage, single phase sinewave:
$\Theta=arcsin(\frac{V}{V_{PK\sim}})$

one or all forms (might wanna make sure these are right... )
$C=I(\frac{\partial T}{\partial V})$

$C=(\frac{V_{PK\sim}}{\omega \cdot V_{ripple}})R_{\small Load}$

$C=(\frac{V_{PK\sim}}{2 \cdot \pi \cdot f \cdot V_{ripple}})R_{\small Load}$

$V__{\small PK\sim}=V_{\small RMS}\sqrt{2}$

Under Digital reference, a quick lookup table of 54/74xx, 40/45xx logic, at least number -> description, preferably pinout, though those would be a nightmare, I could help if you have a standard format for IC layout. ++SuperNifty Points for adding gates inside pinout for the simpler IC's, as is done in Newnes Electronics Engineer's Pocketbook.

Finally, In Digital Reference or uC, I'll post some code for PWM routines in C.

On that note, can the C / Assembly code colorizer module for vB be added?

#### Dave

Joined Nov 17, 2003
6,960
The question comes up from time to time, thought it'd be nice to have a quick link:

voltage @ angle, single phase sinewave

$V=V_{\small PK\sim}*sin(\Theta)$

angle @ voltage, single phase sinewave:
$\Theta=arcsin(\frac{V}{V_{PK\sim}})$

one or all forms (might wanna make sure these are right... )
$C=I(\frac{\partial T}{\partial V})$

$C=(\frac{V_{PK\sim}}{\omega \cdot V_{ripple}})R_{\small Load}$

$C=(\frac{V_{PK\sim}}{2 \cdot \pi \cdot f \cdot V_{ripple}})R_{\small Load}$

$V__{\small PK\sim}=V_{\small RMS}\sqrt{2}$
thatoneguy,

Thanks for the suggestions for additions to these reference pages. I haven't had chance to check the equations above, but there is certainly scope to add some of these to the relevant page(s).

Under Digital reference, a quick lookup table of 54/74xx, 40/45xx logic, at least number -> description, preferably pinout, though those would be a nightmare, I could help if you have a standard format for IC layout. ++SuperNifty Points for adding gates inside pinout for the simpler IC's, as is done in Newnes Electronics Engineer's Pocketbook.
The Reference section has always been very much a work-in-progress. Such additions would require us to have a look at the scope of the reference section; naturally creating a Kempe's-esque section for electronics requires much work but may be a desirable goal.

Finally, In Digital Reference or uC, I'll post some code for PWM routines in C.
Post up here and we can have a look at it.

On that note, can the C / Assembly code colorizer module for vB be added?
Is there a module you have in mind?

Dave

#### thatoneguy

Joined Feb 19, 2009
6,349

#### Dave

Joined Nov 17, 2003
6,960
apache has a colorize source config setting, not sure about light

The module for code beautification has fell into the obsolete area of vbulletin.org
Thanks. I'll let Rob have a look at how feasible it would be implement such a feature. It does look like a diverse feature. Are you aware of it being used on other forums?

I can't see anything over at vB.org that would be suitable.

Dave