<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=212.89.0.0%2F16</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=212.89.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/212.89.0.0/16"/>
	<updated>2026-10-12T22:19:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Potentiostat&amp;diff=10530</id>
		<title>Potentiostat</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Potentiostat&amp;diff=10530"/>
		<updated>2014-01-13T15:54:26Z</updated>

		<summary type="html">&lt;p&gt;212.89.9.84: /* Main potentiostat manufacturers (non-exhaustive list) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{for|the friendship theorem of [[Paul Erdős]], [[Alfréd Rényi]], and [[Vera T. Sós]] characterizing graphs in which each two vertices have exactly one neighbor|friendship graph}}&lt;br /&gt;
[[Image:Friends strangers graph.gif|right|frame|&lt;br /&gt;
All the 78 possible friends-strangers graphs with 6 nodes. For each graph the red/blue nodes&lt;br /&gt;
shows a sample triplet of mutual friends/strangers.]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;theorem on friends and strangers&#039;&#039;&#039; is a [[mathematical theorem]] in an area of mathematics called [[Ramsey theory]].&lt;br /&gt;
&lt;br /&gt;
==Statement==&lt;br /&gt;
Suppose a party has six people. Consider any two of them. They might be meeting for the first time—in  which case we will call them mutual strangers; or they might have met before—in which case we will call them mutual acquaintances. The theorem says:&lt;br /&gt;
&lt;br /&gt;
:In any party of six people either at least three of them are (pairwise) mutual strangers or at least three of them are (pairwise) mutual acquaintances.&lt;br /&gt;
&lt;br /&gt;
==Conversion to a graph-theoretic setting==&lt;br /&gt;
A [[mathematical proof|proof]] of the theorem requires nothing but a three-step logic.  It is convenient to phrase the problem in graph-theoretic language. &lt;br /&gt;
&lt;br /&gt;
Suppose a [[Graph (mathematics)|graph]] has 6 vertices and every pair of (distinct) vertices is joined by an edge. Such a graph is called a [[complete graph]] (because there cannot be any more edges). A complete graph on &amp;lt;math&amp;gt;n\,&amp;lt;/math&amp;gt; vertices is denoted by the symbol &amp;lt;math&amp;gt;K_n\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now take a &amp;lt;math&amp;gt;K_6\,&amp;lt;/math&amp;gt;. It has 15 edges in all. Let the 6 vertices stand for the 6 people in our party. Let the edges be coloured red or blue depending on whether the two people represented by the vertices connected by the edge are mutual strangers or mutual acquaintances, respectively. The theorem now asserts:&lt;br /&gt;
&lt;br /&gt;
:No matter how you colour the 15 edges of a &amp;lt;math&amp;gt;K_6\,&amp;lt;/math&amp;gt; with red and blue, you cannot avoid having either a red triangle—that is, a triangle all of whose three sides are red, representing three pairs of mutual strangers—or a blue triangle, representing three pairs of mutual acquaintances.  In other words, whatever colours you use, at least one of those two possibilities will occur.&lt;br /&gt;
&lt;br /&gt;
==Proof==&lt;br /&gt;
Choose any one vertex; call it &#039;&#039;P&#039;&#039;. There are five edges leaving &#039;&#039;P&#039;&#039;. They are each coloured red or blue. The [[pigeonhole principle]] says that at least three of them must be of the same colour; for if there are less than three of one colour, say red, then there are at least three that are blue.&lt;br /&gt;
&lt;br /&gt;
Let &#039;&#039;A&#039;&#039;, &#039;&#039;B&#039;&#039;, &#039;&#039;C&#039;&#039; be the other ends of these three edges, all of the same colour, say blue. If any one of &#039;&#039;AB&#039;&#039;, &#039;&#039;BC&#039;&#039;, &#039;&#039;CA&#039;&#039; is blue, then that edge together with the two edges from P to the edge&#039;s endpoints forms a blue triangle.  If none of &#039;&#039;AB&#039;&#039;, &#039;&#039;BC&#039;&#039;, &#039;&#039;CA&#039;&#039; is blue, then all three edges are red and we have a red triangle, namely, &#039;&#039;ABC&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Ramsey&#039;s paper==&lt;br /&gt;
The utter simplicity of this argument, which so powerfully produces a very interesting conclusion, is what makes the theorem appealing. In 1930, in a paper entitled &#039;On a Problem in Formal Logic,&#039; [[Frank P. Ramsey]] proved a very general theorem (now known as [[Ramsey&#039;s theorem]]) of which this theorem is a simple case. This theorem of Ramsey forms the foundation of the area known as [[Ramsey theory]] in [[combinatorics]].&lt;br /&gt;
&lt;br /&gt;
==Boundaries to the theorem==&lt;br /&gt;
[[Image:RamseyTheory K5 no mono K3.svg|frame|A 2-colouring of &#039;&#039;K&#039;&#039;&amp;lt;sub&amp;gt;5&amp;lt;/sub&amp;gt; with no monochromatic &#039;&#039;K&#039;&#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
The conclusion to the theorem does not hold if we replace the party of six people by a party of less than six. To show this, we give a coloring of &#039;&#039;K&#039;&#039;&amp;lt;sub&amp;gt;5&amp;lt;/sub&amp;gt; with red and blue that does not contain a triangle with all edges the same color.  We draw &#039;&#039;K&#039;&#039;&amp;lt;sub&amp;gt;5&amp;lt;/sub&amp;gt; as a pentagon surrounding a star.  We color the edges of the pentagon red and the edges of the star blue.&lt;br /&gt;
Thus, 6 is the smallest number for which we can claim the conclusion of the theorem. In Ramsey theory, we write this fact as:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;R(3,3: 2) = 6.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*V. Krishnamurthy. Culture, Excitement and Relevance of Mathematics, Wiley Eastern, 1990. ISBN 81-224-0272-0.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://www.cut-the-knot.org/Curriculum/Combinatorics/ThreeOrThree.shtml Party Acquaintances] at [[cut-the-knot]] (requires Java)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- This article needs help on input of one graphic. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Ramsey theory]]&lt;br /&gt;
[[Category:Theorems in discrete mathematics]]&lt;br /&gt;
[[Category:Articles containing proofs]]&lt;/div&gt;</summary>
		<author><name>212.89.9.84</name></author>
	</entry>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=KiteGen&amp;diff=23465</id>
		<title>KiteGen</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=KiteGen&amp;diff=23465"/>
		<updated>2013-10-01T13:37:04Z</updated>

		<summary type="html">&lt;p&gt;212.89.223.47: /* Aluminium smelter */ spelling error correction: nerby -&amp;gt; nearby&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Antialiased chessboard using the Lanczos algorithm, made by myself based on the source in File:Antialiased.png&#039;s description. This one should be relatively close to an ideal filter, primarily because I used a lot of taps (several million) for the more problematic pixels.&lt;br /&gt;
== Licensing: ==&lt;br /&gt;
{{PD-self|date=February 2009}}&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the source I used, written by myself. The choice of 16384x16384 might have been overkill; I cannot spot any significant differences between this and using 1024x1024 taps all over the image. The generation took about an hour on one core of an Intel Q9450. Compile and link with &amp;quot;gcc -O3 -o antialias antialias.c -lm -std=gnu99&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
 #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;stdlib.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;math.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 /*&lt;br /&gt;
  * Do a finer sampling the higher up we get in the picture,&lt;br /&gt;
  * since there&#039;s much more detail there.&lt;br /&gt;
  */&lt;br /&gt;
 #define SAMPLES_FROM_Y(y) ((16384 * 512) / (y*y + 512))&lt;br /&gt;
 #define MAX_SAMPLES SAMPLES_FROM_Y(0)&lt;br /&gt;
&lt;br /&gt;
 float weights[MAX_SAMPLES][MAX_SAMPLES];&lt;br /&gt;
&lt;br /&gt;
 static inline int color(double x, double y)&lt;br /&gt;
 {&lt;br /&gt;
         double t, z;&lt;br /&gt;
         int i, j, k;&lt;br /&gt;
&lt;br /&gt;
         x = x * (1.0 / 128.0) - 0.5;&lt;br /&gt;
         y = y * (1.0 / 2048.0);&lt;br /&gt;
&lt;br /&gt;
         t = 1.0 / (y + 0.001);&lt;br /&gt;
         z = t * x;&lt;br /&gt;
         i = floor(t);&lt;br /&gt;
         j = floor(z);&lt;br /&gt;
         k = i + j;&lt;br /&gt;
         return ((k % 2) != 0);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 static double sinc(double x)&lt;br /&gt;
 {&lt;br /&gt;
         static const double cutoff = 1.220703668e-4;  /* sqrt(sqrt(eps)) */&lt;br /&gt;
&lt;br /&gt;
         if (abs(x) &amp;lt; cutoff) {&lt;br /&gt;
                 /* For small |x|, use Taylor series instead */&lt;br /&gt;
                 const double x2 = x * x;&lt;br /&gt;
                 const double x4 = x2 * x2;&lt;br /&gt;
&lt;br /&gt;
                 return 1.0 - x2 / 6.0 + x4 / 120.0;&lt;br /&gt;
         } else {&lt;br /&gt;
                 return sin(x) / x;&lt;br /&gt;
         }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 static double lanczos_tap(double x)&lt;br /&gt;
 {&lt;br /&gt;
         if (x &amp;lt; -3.0 || x &amp;gt; 3.0)&lt;br /&gt;
                 return 0.0;&lt;br /&gt;
         if (x &amp;lt; 0.0)&lt;br /&gt;
                 return sinc(-x*M_PI) * sinc(-x*M_PI / 3.0);&lt;br /&gt;
         else&lt;br /&gt;
                 return sinc(x*M_PI) * sinc(x*M_PI / 3.0);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 static void precalculate_weights(unsigned num_samples)&lt;br /&gt;
 {&lt;br /&gt;
         double total = 0.0;&lt;br /&gt;
         for (int yi = 0; yi &amp;lt; num_samples; ++yi) {&lt;br /&gt;
                 double sy = 6.0 * ((double)yi / num_samples - 0.5);&lt;br /&gt;
                 double wy = lanczos_tap(sy);&lt;br /&gt;
                 for (int xi = 0; xi &amp;lt; num_samples; ++xi) {&lt;br /&gt;
                         double sx = 6.0 * ((double)xi / num_samples - 0.5);&lt;br /&gt;
                         weights[yi][xi] = wy * lanczos_tap(sx);&lt;br /&gt;
                         total += weights[yi][xi];&lt;br /&gt;
                 }&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
         double inv_total = 1.0 / total;&lt;br /&gt;
         for (int yi = 0; yi &amp;lt; num_samples; ++yi) {&lt;br /&gt;
                 for (int xi = 0; xi &amp;lt; num_samples; ++xi) {&lt;br /&gt;
                         weights[yi][xi] *= inv_total;&lt;br /&gt;
                 }&lt;br /&gt;
         }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 static double antialiased_color(double x, double y, unsigned num_samples)&lt;br /&gt;
 {&lt;br /&gt;
         double acc = 0.0;&lt;br /&gt;
         double delta = 6.0 / num_samples;&lt;br /&gt;
         int xi, yi;&lt;br /&gt;
         double sx, sy;&lt;br /&gt;
&lt;br /&gt;
         for (yi = 0, sy = y - 3.0; yi &amp;lt; num_samples; ++yi, sy += delta) {&lt;br /&gt;
                 for (xi = 0, sx = x - 3.0; xi &amp;lt; num_samples; ++xi, sx += delta) {&lt;br /&gt;
                         if (color(sx, sy)) {&lt;br /&gt;
                                 acc += weights[yi][xi];&lt;br /&gt;
                         }&lt;br /&gt;
                 }&lt;br /&gt;
         }&lt;br /&gt;
         return acc;&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Copy to Wikimedia Commons|bot=Fbot|priority=true|date=March 2012}}&lt;/div&gt;</summary>
		<author><name>212.89.223.47</name></author>
	</entry>
</feed>