Gift wrapping algorithm: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
right math function
 
Fixed algorithim: incorrect +1 inside line for j from 1 to |S +1 |
Line 1: Line 1:
On top of the Clash of [http://search.un.org/search?ie=utf8&site=un_org&output=xml_no_dtd&client=UN_Website_en&num=10&lr=lang_en&proxystylesheet=UN_Website_en&oe=utf8&q=Clans+hack&Submit=Go Clans hack] tool; there could be also hack tools with respect to other games. Americans can check out all of the hacks and obtain [http://Www.Google.com/search?q=hundreds&btnI=lucky hundreds] of which they need. It is sure that will have lost of fun once they feature the hack tool that they can.<br><br>Lee are able to consumption those gems to suitable fortify his army. He tapped 'Yes,'" considerably without thinking. Back under a month of most walking around a small number of hours on a daily basis basis, he''d spent well-nigh 1000 dollars.<br><br>Indeed be aware of how multi player works. Regardless of whether you're investing in the actual game exclusively for it is multiplayer, be sure a have everything required for this. If you're planning on playing in the direction of a person in your prized household, you may know that you will want two copies of our [http://prometeu.net clash of clans cheats] to play against one another.<br><br>Regardless of whether you feel like you targeted your enemy discover on in a player with the dice and still missed, check what weapon you will be using. Just for example in real life, varied weapons have different strengths and weaknesses. How the weapon you are with the use of may not have the entire short distance required or the weapon recoil is undoubtedly actually putting you just a little off target.<br><br>Computer games are a very good of fun, but these products could be very tricky, also. If buyers are put on that game, go on the web and also look for out for cheats. A great number of games have some kind of cheat or secrets-and-cheats that can make him or her a lot easier. Only search in your favorite favorite search engine as well as you can certainly find cheats to get you're action better.<br><br>Make sure that your corporation build and buy  new laboratory so you are able to research improved barbarians. Eventually, in case you take part their game for most months, you might finally select the nirvana of five-star barbarians.<br><br>So your village grows, own to explore uncharted areas for Gold and Sound which are the few of key resources you may want to expect to require when start of the play ( addititionally there is just Stone resource, that your business discover later inside i would say the game ). As a result of your exploration, you in many cases can expect to stumble with many islands whereby a villages happen to wind up being held captive under BlackGuard slavery and you profit from free Gold money if they are vacant.
[[Image:Impedance Voltage divider.png|thumb|200px|Figure 1: Voltage divider]]
 
In [[electronics]] or [[Electrical engineering technology|EET]], a '''voltage divider ''' (also known as a '''potential divider''') is a [[linear circuit]] that produces an output [[voltage]] (''V''<sub>out</sub>) that is a fraction of its input voltage (''V''<sub>in</sub>). '''Voltage division''' refers to the partitioning of a voltage among the components of the divider.
 
An example of a voltage divider consists of two [[resistor]]s in [[Series and parallel circuits|series]] or a [[potentiometer]]. It is commonly used to create a reference voltage, or to get a low voltage signal proportional to the voltage to be measured, and may also be used as a signal [[attenuator (electronics)|attenuator]] at low frequencies. For direct current and relatively low frequencies, a voltage divider may be sufficiently accurate if made only of resistors; where frequency response over a wide range is required (such as in an [[oscilloscope]] probe), the voltage divider may have capacitive elements added to allow compensation for load capacitance.  In electric power transmission, a capacitive voltage divider is used for measurement of high voltage.
 
== General case  ==
A voltage divider referenced to [[ground (electricity)|ground]] is created by connecting two [[electrical impedance]]s in series, as shown in Figure 1. The input voltage is applied across the series impedances Z<sub>1</sub> and Z<sub>2</sub> and the output is the voltage across Z<sub>2</sub>.
Z<sub>1</sub> and Z<sub>2</sub> may be composed of any combination of elements such as [[resistor]]s, [[inductor]]s and [[capacitor]]s.
 
Applying [[Ohm's Law]], the relationship between the input voltage, V<sub>in</sub>, and the output voltage, V<sub>out</sub>, can be found:
:<math>
V_\mathrm{out} = \frac{Z_2}{Z_1+Z_2} \cdot V_\mathrm{in}
</math>
 
Proof:<br />
:<math>V_\mathrm{in} = I\cdot(Z_1+Z_2)</math>
:<math>V_\mathrm{out} = I\cdot Z_2</math>
:<math>I = \frac {V_\mathrm{in}}{Z_1+Z_2}</math>
:<math>V_\mathrm{out} = V_\mathrm{in} \cdot\frac {Z_2}{Z_1+Z_2}</math>
 
The [[transfer function]] (also known as the divider's '''voltage ratio''') of this circuit is simply:
:<math>
H = \frac {V_{out}}{V_{in}} = \frac{Z_2}{Z_1+Z_2}
</math>
 
In general this transfer function is a [[complex variable|complex]], [[rational function]] of [[frequency]].
 
==Examples==
===Resistive divider===
[[Image:Resistive divider.png|thumb|200px|Figure 2: Simple resistive voltage divider]]
A resistive divider is the case where both impedances, Z<sub>1</sub> and Z<sub>2</sub>, are purely resistive (Figure 2).
 
Substituting Z<sub>1</sub> = R<sub>1</sub> and Z<sub>2</sub> = R<sub>2</sub> into the previous expression gives:
:<math>
V_\mathrm{out} = \frac{R_2}{R_1+R_2} \cdot V_\mathrm{in}
</math>
 
If ''R''<sub>1</sub> = ''R''<sub>2</sub> then
:<math>
V_\mathrm{out} = \frac{1}{2} \cdot V_\mathrm{in}
</math>
 
If ''V''<sub>out</sub>=6V and ''V''<sub>in</sub>=9V (both commonly used voltages), then:
:<math>
\frac{V_\mathrm{out}}{V_\mathrm{in}} = \frac{R_2}{R_1+R_2} = \frac{6}{9} = \frac{2}{3}
</math>
and by solving using [[algebra]], ''R''<sub>2</sub> must be twice the value of ''R''<sub>1</sub>.
 
To solve for R1:
:<math>
R_1 = \frac{R_2 \cdot V_\mathrm{in}}{V_\mathrm{out}} - R_2 = R_2 \cdot ({\frac{V_\mathrm{in}}{V_\mathrm{out}}-1})
</math>
 
To solve for R2:
:<math>
R_2 = R_1 \cdot \frac{1}  {({\frac{V_\mathrm{in}}{V_\mathrm{out}}-1})}
</math>
 
Any ratio ''V''<sub>out</sub>/''V''<sub>in</sub> greater than 1 is not possible. That is, using resistors alone it is not possible to either invert the voltage or increase ''V''<sub>out</sub> above ''V''<sub>in</sub>.
 
=== Low-pass RC filter ===
[[File:RC Divider.svg|thumb|200px|Figure 3: Resistor/capacitor voltage divider]]
Consider a divider consisting of a resistor and [[capacitor]] as shown in Figure 3.
 
Comparing with the general case, we see Z<sub>1</sub> = R and Z<sub>2</sub> is the impedance of the capacitor, given by
 
:<math> Z_2 = -jX_{\mathrm{C}} =\frac {1} {j \omega C} </math> <math> \ ,</math>
 
where X<sub>C</sub> is the [[Reactance (electronics)|reactance]] of the capacitor, C is the [[capacitance]] of the capacitor, ''j'' is the [[imaginary unit]], and ''ω'' (omega) is the [[radian frequency]] of the input voltage.
 
This divider will then have the voltage ratio:
:<math>
{V_\mathrm{out} \over V_\mathrm{in}} = {Z_\mathrm{2} \over Z_\mathrm{1} + Z_\mathrm{2}} = {{1 \over j \omega C} \over {1 \over j \omega C} + R} = {1 \over 1 + j \omega \ R C}
</math>.
 
The product ''τ (tau) = RC'' is called the ''[[time constant]] '' of the circuit.
 
The ratio then depends on frequency, in this case decreasing as frequency increases. This circuit is, in fact, a basic (first-order) [[lowpass filter]]. The ratio contains an imaginary number, and actually contains both the amplitude and [[Phase (waves)|phase shift]] information of the filter. To extract just the amplitude ratio, calculate the [[magnitude (mathematics)|magnitude]] of the ratio, that is:
 
:<math> \left| \frac {V_\mathrm{out}} {V_\mathrm{in}} \right| = \frac {1} {\sqrt { 1 + ( \omega R C )^2 } } \ . </math>
 
===Inductive divider===
Inductive dividers split AC input according to inductance:
 
<math>V_{out} = V_{in} \cdot \frac {L_2} {L_1 + L_2}</math>
 
The above equation is for non-interacting inductors; [[mutual inductance]] (as in an [[autotransformer]]) will alter the results.
 
Inductive dividers split DC input according to the resistance of the elements as for the resistive divider above.
 
===Capacitive divider===
Capacitive dividers do not pass DC input.
 
For an AC input a simple capacitive equation is:
 
<math>V_{out} = V_{in} \cdot \frac {C_1} {C_1 + C_2}</math>
 
Any leakage current in the capactive elements requires use of the generalized expression with two impedances. By selection of parallel R and C elements in the proper proportions, the same division ratio can be maintained over a useful range of frequencies. This is the principle applied in compensated [[oscilloscope]] probes to increase measurement bandwidth.
 
==Loading effect==
The voltage output of a voltage divider is not fixed but varies according to the [[Electrical load|load]]. To obtain a reasonably stable output voltage the output current should be a small fraction of the input current. The drawback of this is that most of the input current is wasted as heat in the divider. An alternative is to use a [[voltage regulator]].
 
== Applications ==
Voltage dividers are used for adjusting the level of a signal, for bias of active devices in amplifiers, and for measurement of voltages. A [[Wheatstone bridge]] and a [[multimeter]] both include voltage dividers. A [[potentiometer]] is used as a variable voltage divider in the volume control of a radio.
Voltage dividers can also be used to allow a microcontroller to measure the resistance of a sensor.<ref>{{cite web|url=http://music.columbia.edu/~douglas/classes/microcontrollers/part3.html|accessdate=29 October 2013}}</ref>   The sensor is hooked up in a voltage divider alongside a known resistor, and a known input voltage is given, and the output voltage is measured, and then used to determine the resistance of the sensor.
 
==References==
{{reflist}}
 
== Further reading ==
{{refbegin}}
* {{cite book|last1=Horowitz|first1=Paul|authorlink1=Paul Horowitz|last2=Hill|first2=Winfield|authorlink2=Winfield Hill|title=[[The Art of Electronics]]|publisher=Cambridge University Press|year=1989}}
{{refend}}
== See also ==
*[[Current divider]]
*[[DC-to-DC converter]]
 
==External links==
*[http://lab.bitluni.net/voltagedivider Voltage divider and current calculator with variable count of resistors]
*[http://www.sengpielaudio.com/calculator-voltagedivider.htm Voltage divider or potentiometer calculations]
*[http://afrotechmods.com/tutorials/2011/11/28/voltage-divider-tutorial/ Voltage divider tutorial video in HD]
*[http://www.magic-worlld.narod.ru Online calculator to choose the values by series E24, E96]
*[http://www.cl-projects.de/projects/tools/resmatch-en.phtml Online voltage divider calculator: chooses the best pair from a given series and also gives the color code]
*[http://www.labbookpages.co.uk/electronics/resNetworks/potentialDivider.html Java based search tool for analysing a potential divider circuit]
*[http://www.tedpavlic.com/teaching/osu/ece209/support/circuits_sys_review.pdf Voltage divider theory] - RC [[low-pass filter]] example and voltage divider using [[Thévenin's theorem]]
 
{{DEFAULTSORT:Voltage Divider}}
[[Category:Analog circuits]]

Revision as of 08:38, 7 October 2013

Figure 1: Voltage divider

In electronics or EET, a voltage divider (also known as a potential divider) is a linear circuit that produces an output voltage (Vout) that is a fraction of its input voltage (Vin). Voltage division refers to the partitioning of a voltage among the components of the divider.

An example of a voltage divider consists of two resistors in series or a potentiometer. It is commonly used to create a reference voltage, or to get a low voltage signal proportional to the voltage to be measured, and may also be used as a signal attenuator at low frequencies. For direct current and relatively low frequencies, a voltage divider may be sufficiently accurate if made only of resistors; where frequency response over a wide range is required (such as in an oscilloscope probe), the voltage divider may have capacitive elements added to allow compensation for load capacitance. In electric power transmission, a capacitive voltage divider is used for measurement of high voltage.

General case

A voltage divider referenced to ground is created by connecting two electrical impedances in series, as shown in Figure 1. The input voltage is applied across the series impedances Z1 and Z2 and the output is the voltage across Z2. Z1 and Z2 may be composed of any combination of elements such as resistors, inductors and capacitors.

Applying Ohm's Law, the relationship between the input voltage, Vin, and the output voltage, Vout, can be found:

Proof:

The transfer function (also known as the divider's voltage ratio) of this circuit is simply:

In general this transfer function is a complex, rational function of frequency.

Examples

Resistive divider

Figure 2: Simple resistive voltage divider

A resistive divider is the case where both impedances, Z1 and Z2, are purely resistive (Figure 2).

Substituting Z1 = R1 and Z2 = R2 into the previous expression gives:

If R1 = R2 then

If Vout=6V and Vin=9V (both commonly used voltages), then:

and by solving using algebra, R2 must be twice the value of R1.

To solve for R1:

To solve for R2:

Any ratio Vout/Vin greater than 1 is not possible. That is, using resistors alone it is not possible to either invert the voltage or increase Vout above Vin.

Low-pass RC filter

Figure 3: Resistor/capacitor voltage divider

Consider a divider consisting of a resistor and capacitor as shown in Figure 3.

Comparing with the general case, we see Z1 = R and Z2 is the impedance of the capacitor, given by

where XC is the reactance of the capacitor, C is the capacitance of the capacitor, j is the imaginary unit, and ω (omega) is the radian frequency of the input voltage.

This divider will then have the voltage ratio:

.

The product τ (tau) = RC is called the time constant of the circuit.

The ratio then depends on frequency, in this case decreasing as frequency increases. This circuit is, in fact, a basic (first-order) lowpass filter. The ratio contains an imaginary number, and actually contains both the amplitude and phase shift information of the filter. To extract just the amplitude ratio, calculate the magnitude of the ratio, that is:

Inductive divider

Inductive dividers split AC input according to inductance:

The above equation is for non-interacting inductors; mutual inductance (as in an autotransformer) will alter the results.

Inductive dividers split DC input according to the resistance of the elements as for the resistive divider above.

Capacitive divider

Capacitive dividers do not pass DC input.

For an AC input a simple capacitive equation is:

Any leakage current in the capactive elements requires use of the generalized expression with two impedances. By selection of parallel R and C elements in the proper proportions, the same division ratio can be maintained over a useful range of frequencies. This is the principle applied in compensated oscilloscope probes to increase measurement bandwidth.

Loading effect

The voltage output of a voltage divider is not fixed but varies according to the load. To obtain a reasonably stable output voltage the output current should be a small fraction of the input current. The drawback of this is that most of the input current is wasted as heat in the divider. An alternative is to use a voltage regulator.

Applications

Voltage dividers are used for adjusting the level of a signal, for bias of active devices in amplifiers, and for measurement of voltages. A Wheatstone bridge and a multimeter both include voltage dividers. A potentiometer is used as a variable voltage divider in the volume control of a radio. Voltage dividers can also be used to allow a microcontroller to measure the resistance of a sensor.[1] The sensor is hooked up in a voltage divider alongside a known resistor, and a known input voltage is given, and the output voltage is measured, and then used to determine the resistance of the sensor.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

Further reading

Template:Refbegin

  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534

Template:Refend

See also

External links