Safety factor (plasma physics): Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Ferdinandvwyk
m Changed 'p' and 't' to display as subscripts to B in equations to make equations clearer and avoid ambiguity.
 
en>Arthur Rubin
Undid revision 563339617 by Maurice Carbonaro (talk) WP:OVERLINK
Line 1: Line 1:
Let me inroduce myself, my title is Marcus Prior but I by no means [http://www.Google.Co.uk/search?hl=en&gl=us&tbm=nws&q=genuinely+favored&gs_l=news genuinely favored] that identify. I now stay in Alaska but my wife needs us to transfer. Dispatching is what I do for a living. To participate in baseball is the factor I enjoy most of all. I am not fantastic at webdesign but you may possibly want to look at my web page: http://www.freixenet.es/ugg/botas-ugg-autenticas-05748380.html<br><br>
{{Expert-subject|Software|date=June 2010}}
{{Primary sources|date=January 2010}}
{{Infobox software
| name                  = Kig
| logo                  = Kig icon.svg
| screenshot            = Kig-screenshot.png
| caption                = <!--Something more informative than the obvious "Screenshot of Kig" -->
| collapsible            =
| author                =
| developer              = [[KDE]]
| released              = {{Start date|2006|08|02|df=yes}}
| discontinued          =
| latest release version = 1.0
| latest release date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| programming language  = [[C++]] ([[Qt (framework)|Qt]])
| operating system      = [[Unix-like]], [[Mac OS X]], [[Windows]]
| platform              =
| size                  =
| language              =
| status                =
| genre                  = [[Interactive geometry software]]
| license                = [[GNU General Public License|GPL]]
| website                = {{URL|http://edu.kde.org/kig/}}
}}


Check out my weblog; botas ugg autenticas ([http://www.freixenet.es/ugg/botas-ugg-autenticas-05748380.html http://www.freixenet.es/ugg/botas-ugg-autenticas-05748380.html])
'''Kig''' is [[free and open-source]] [[interactive geometry software]], which is part of the
[[KDE edutainment project]]. It has some facilities for scripting in [[Python (programming language)|Python]], as well as the creating macros from existing constructions.
 
== Import and export ==
Kig can import files made by [[DrGeo]] and [[Cabri Geometry]] as well as its own file format, which is [[XML]]-encoded. Kig can export figures in [[LaTeX]] format and as [[SVG]] (vector graphics) files.
 
== Objects ==
Kig can handle any classical object of the dynamic geometry, but also:
# The [[center of curvature]] and [[osculating circle]] of a curve;
# The [[Dilation (affine geometry)|dilation]], generic [[Affinity (mathematics)|affinity]], [[inversion (discrete mathematics)|inversion]], [[projective application]], [[homography]] and [[harmonic homology]];
# The [[hyperbola]] with given [[asymptote]]s;
# The [[Beziers]] curves (2nd and 3rd degree);
# The [[polar line]] of a point and [[Pole and polar|pole]] of a [[line (geometry)|line]] with respect to a [[conic section]];
# The [[asymptote]]s of a [[hyperbola]];
# The [[cubic curve]] through 9 points;
# The cubic curve with a [[double point]] through 6 points;
# The cubic curve with a [[cusp (singularity)|cusp]] through 4 points.
 
== Scripting language ==
=== Inside the figure ===
Another object is available inside Kig, it is a [[Python (programming language)|Python language]] script. It can accept Kig objects as variables, and always return one object.
 
For example, if there is already a numeric object inside the figure, for example 3, the following Python object can yield its square (9):
<source lang="python">
def square( arg1 ):
return DoubleObject( arg1.value()**2 )
</source>
 
The variables are always called <code>arg1</code>, <code>arg2</code> etc. in the order they are clicked upon. Here there is only one variable <code>arg1</code> and its numerical value is obtained with <code>arg1.value()</code>.
 
If now one wants to implement the square of a complex number (represented by a point in the [[Argand diagram]]), the object which has to be selected at the creation of the script must necessarily be a point, and the script is
 
<source lang="python">
def csquare( arg1 ):
        x=arg1.coordinate().x
        y=arg1.coordinate().y
        z=x*x-y*y
        y=2*x*y
        x=z
        return Point( Coordinate(x,y) )
</source>
 
The [[abscissa]] of the point representing the square of the [[complex number]] is <math>x^2-y^2</math> as can be seen by expanding <math>(x+iy)^2=x^2-y^2+i(2xy)</math>. <code>Coordinate(x,y)</code> creates a Python list made of the two coordinates of the new point. And <code>Point</code> creates the point which [[coordinate]]s are precisely given by this list.
 
But a Python object inside a figure can only create one object and for more complex figures one has to build the figure with a script:
 
=== Figure created by a script ===
Kig comes up with a little program (written in Python) called <code>pikyg.py</code> which can
# load a Python script, e.g. <code>MyScript.py</code>
# build a Kig figure, described by this script
# open Kig and display the figure.
 
For example, here is how a [[Sierpinski triangle]] can be made (as an [[Iterated function system|IFS]]) with <code>pykig</code>:
<source lang="python">
from random import *
kigdocument.hideobjects()
A=Point(0,2)
A.show()
B=Point(-2,-1)
B.show()
C=Point(2,-1)
C.show()
M=Point(.1,.1)
for i in range(1,1000):
  d=randrange(3)
  if d==0:
    s=Segment(A,M)
    M=s.midpoint()
  if d==1:
    s=Segment(B,M)
    M=s.midpoint()
  if d==2:
    s=Segment(C,M)
    M=s.midpoint()
  M.show()
</source>
 
== References ==
{{reflist}}
 
== External links ==
{{Portal box|Geometry|Free software}}
* {{Official website|http://edu.kde.org/kig/}}
* [http://docs.kde.org/stable/en/kdeedu/kig/index.html The Kig Handbook]
* [http://www.freiesmagazin.de/mobil/freiesMagazin-2009-12-bilder.html#09_12_kig] a German article about how complex figures can be created with Kig and exported in [[LaTeX]]
 
{{KDE}}
 
[[Category:KDE Software Compilation]]
[[Category:KDE software]]
[[Category:KDE Education Project]]
[[Category:Software that uses Qt]]
[[Category:Free interactive geometry software]]
[[Category:Free educational software]]

Revision as of 11:28, 8 July 2013

Template:Expert-subject Template:Primary sources Im addicted to my hobby Weightlifting.
I to learn Portuguese in my free time.

Also visit my homepage ... Hostgator Vouchers

Kig is free and open-source interactive geometry software, which is part of the KDE edutainment project. It has some facilities for scripting in Python, as well as the creating macros from existing constructions.

Import and export

Kig can import files made by DrGeo and Cabri Geometry as well as its own file format, which is XML-encoded. Kig can export figures in LaTeX format and as SVG (vector graphics) files.

Objects

Kig can handle any classical object of the dynamic geometry, but also:

  1. The center of curvature and osculating circle of a curve;
  2. The dilation, generic affinity, inversion, projective application, homography and harmonic homology;
  3. The hyperbola with given asymptotes;
  4. The Beziers curves (2nd and 3rd degree);
  5. The polar line of a point and pole of a line with respect to a conic section;
  6. The asymptotes of a hyperbola;
  7. The cubic curve through 9 points;
  8. The cubic curve with a double point through 6 points;
  9. The cubic curve with a cusp through 4 points.

Scripting language

Inside the figure

Another object is available inside Kig, it is a Python language script. It can accept Kig objects as variables, and always return one object.

For example, if there is already a numeric object inside the figure, for example 3, the following Python object can yield its square (9):

def square( arg1 ):
 return DoubleObject( arg1.value()**2 )

The variables are always called arg1, arg2 etc. in the order they are clicked upon. Here there is only one variable arg1 and its numerical value is obtained with arg1.value().

If now one wants to implement the square of a complex number (represented by a point in the Argand diagram), the object which has to be selected at the creation of the script must necessarily be a point, and the script is

def csquare( arg1 ):
        x=arg1.coordinate().x
        y=arg1.coordinate().y
        z=x*x-y*y
        y=2*x*y
        x=z
        return Point( Coordinate(x,y) )

The abscissa of the point representing the square of the complex number is as can be seen by expanding . Coordinate(x,y) creates a Python list made of the two coordinates of the new point. And Point creates the point which coordinates are precisely given by this list.

But a Python object inside a figure can only create one object and for more complex figures one has to build the figure with a script:

Figure created by a script

Kig comes up with a little program (written in Python) called pikyg.py which can

  1. load a Python script, e.g. MyScript.py
  2. build a Kig figure, described by this script
  3. open Kig and display the figure.

For example, here is how a Sierpinski triangle can be made (as an IFS) with pykig:

from random import *
kigdocument.hideobjects()
A=Point(0,2)
A.show()
B=Point(-2,-1)
B.show()
C=Point(2,-1)
C.show()
M=Point(.1,.1)
for i in range(1,1000):
  d=randrange(3)
  if d==0:
    s=Segment(A,M)
    M=s.midpoint()
  if d==1:
    s=Segment(B,M)
    M=s.midpoint()
  if d==2:
    s=Segment(C,M)
    M=s.midpoint()
  M.show()

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.

External links

Template:Portal box

Template:KDE