@import url(http://www.wspnet.de/wswiki/pub/skins/sinorca/basic.css); @import url(http://www.wspnet.de/wswiki/pub/skins/sinorca/layout.css); @import url(http://www.wspnet.de/wswiki/pub/skins/sinorca/sinorca.css);
ASCIIMathML-Testseite
ASCIIMathML-Links
The following example is from Peter Jipsen
Example: Solving the quadratic equation.
Suppose {$ ax^2+bx+c=0 text( with ) a!=0 $}
We first divide by a to get {$ x^2+b/ax+c/a=0 $}
Then we complete the square and obtain {$ x^2+b/ax+(b/(2a))^2-(b/(2a))^2+c/a=0 $}
The first three terms factor to give {$ (x+b/(2a))^2=(b^2)/(4a^2)-c/a $}
Now we take square roots on both sides and get {$ x+b/(2a)=+-sqrt((b^2)/(4a^2)-c/a) $}
Finally we move {$ b/(2a) $} to the right and simplify to get the two solutions: {$ x_(1,2)=(-b+-sqrt(b^2-4ac))/(2a) $}
ASCIIsvg-Links
{gg width=600; height=300; xmin=-2*pi; xmax=2*pi; xscl=1; axes(); plot("sin(x)"); gg}
{gg width=300; height=300; xmin=-5; xmax=5; xscl=1; axes(); plot("(1/2)x+1"); plot("x^2"); gg}
The following examples are from Technology for Teaching "Thinking Mathematics"
{gg width=300; height=300; xmin=-6; xmax=6; xscl=1; axes(); stroke="green"; circle([-2,0],2); stroke="blue"; strokewidth=5; circle([-2,0],3); stroke="red"; strokewidth=3; fill="yellow"; circle([2,2],2); gg}
{gg width=300; height=300; xmin=0; xmax=10; xscl=1; ymin=-1; ymax=10; noaxes(); stroke="blue"; strokewidth=2; a=[2,1]; b=[5,0]; c=[5,4]; d=[2,5]; e=[9,3]; f=[9,7]; g=[6,8]; h=[6,4]; fillopacity=0.5; fill="yellow"; path([a,d,g,h,a]); path([h,e,f,g,h]); path([a,b,c,d,a]); fill="orange"; path([b,c,f,e,b]); text([8,8],"w"); text([9.5,4.5], "h"); text([4,7.5],"l") gg}