-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cc2756
commit 841cf42
Showing
2 changed files
with
338 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>lemniscateCos — Math</title> | ||
<link rel="stylesheet" type="text/css" href="../style.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<script src="../../build/math.js"></script> | ||
<script src="../../../mathcell/build/mathcell.js"></script> | ||
|
||
<script src="https://cdn.jsdelivr.net/gh/mathjax/[email protected]/MathJax.js?config=TeX-AMS_HTML"></script> | ||
|
||
<p class="function"> lemniscateCos( <i>z</i> ) </p> | ||
|
||
<p>The lemniscate cosine of <i>z</i> in Math. A special case of the Jacobi delta amplitude function:</p> | ||
|
||
\[ \operatorname{cl}( z ) = \operatorname{dn}( z | 2 ) \] | ||
|
||
<p>Real part on the real axis:</p> | ||
|
||
<div class="mathcell" style="height: 4in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = plot( x => lemniscateCos( complex(x) ).re, [-5,5] ); | ||
|
||
var config = { type: 'svg' }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Imaginary part on the real axis is zero.</p> | ||
|
||
<p>Real part on the imaginary axis:</p> | ||
|
||
<div class="mathcell" style="height: 4in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = plot( x => lemniscateCos( complex(0,x) ).re, [-5,5] ); | ||
|
||
var config = { type: 'svg', yMin: -5, yMax: 5 }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Imaginary part on the imaginary axis is zero.</p> | ||
|
||
<p>Real part on the complex plane:</p> | ||
|
||
<div class="mathcell" style="width: 6in; height: 6in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = parametric( (x,y) => [ x, y, lemniscateCos( complex(x,y) ) ], [-5,5,150], [-5,5,150], | ||
{ complexFunction: 're', colormap: 'complexArgument' } ); | ||
|
||
var config = { type: 'threejs', zMin: -5, zMax: 5 }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Imaginary part on the complex plane:</p> | ||
|
||
<div class="mathcell" style="width: 6in; height: 6in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = parametric( (x,y) => [ x, y, lemniscateCos( complex(x,y) ) ], [-5,5,150], [-5,5,150], | ||
{ complexFunction: 'im', colormap: 'complexArgument' } ); | ||
|
||
var config = { type: 'threejs', zMin: -5, zMax: 5 }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Absolute value on the complex plane:</p> | ||
|
||
<div class="mathcell" style="width: 6in; height: 6in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = parametric( (x,y) => [ x, y, lemniscateCos( complex(x,y) ) ], [-5,5,150], [-5,5,150], | ||
{ complexFunction: 'abs', colormap: 'complexArgument' } ); | ||
|
||
var config = { type: 'threejs', zMax: 5 }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Related functions: <a href="dn.html">dn</a> | ||
<a href="lemniscateSin.html">lemniscateSin</a></p> | ||
|
||
<p>Function category: <a href="../functions.html#elliptic">elliptic functions</a></p> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>lemniscateSin — Math</title> | ||
<link rel="stylesheet" type="text/css" href="../style.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<script src="../../build/math.js"></script> | ||
<script src="../../../mathcell/build/mathcell.js"></script> | ||
|
||
<script src="https://cdn.jsdelivr.net/gh/mathjax/[email protected]/MathJax.js?config=TeX-AMS_HTML"></script> | ||
|
||
<p class="function"> lemniscateSin( <i>z</i> ) </p> | ||
|
||
<p>The lemniscate sine of <i>z</i> in Math. A special case of the Jacobi elliptic sine:</p> | ||
|
||
\[ \operatorname{sl}( z ) = \operatorname{sn}( z | -1 ) \] | ||
|
||
<p>Real part on the real axis:</p> | ||
|
||
<div class="mathcell" style="height: 4in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = plot( x => lemniscateSin( complex(x) ).re, [-5,5] ); | ||
|
||
var config = { type: 'svg' }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Imaginary part on the real axis is zero.</p> | ||
|
||
<p>Real part on the imaginary axis is zero.</p> | ||
|
||
<p>Imaginary part on the imaginary axis:</p> | ||
|
||
<div class="mathcell" style="height: 4in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = plot( x => lemniscateSin( complex(0,x) ).im, [-5,5] ); | ||
|
||
var config = { type: 'svg' }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Real part on the complex plane:</p> | ||
|
||
<div class="mathcell" style="width: 6in; height: 6in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = parametric( (x,y) => [ x, y, lemniscateSin( complex(x,y) ) ], [-5,5,150], [-5,5,150], | ||
{ complexFunction: 're', colormap: 'complexArgument' } ); | ||
|
||
var config = { type: 'threejs', zMin: -5, zMax: 5 }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Imaginary part on the complex plane:</p> | ||
|
||
<div class="mathcell" style="width: 6in; height: 6in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = parametric( (x,y) => [ x, y, lemniscateSin( complex(x,y) ) ], [-5,5,150], [-5,5,150], | ||
{ complexFunction: 'im', colormap: 'complexArgument' } ); | ||
|
||
var config = { type: 'threejs', zMin: -5, zMax: 5 }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Absolute value on the complex plane:</p> | ||
|
||
<div class="mathcell" style="width: 6in; height: 6in"> | ||
<script> | ||
|
||
var parent = document.currentScript.parentNode; | ||
|
||
var id = generateId(); | ||
parent.id = id; | ||
|
||
MathCell( id, [] ); | ||
|
||
parent.update = function( id ) { | ||
|
||
var p = parametric( (x,y) => [ x, y, lemniscateSin( complex(x,y) ) ], [-5,5,150], [-5,5,150], | ||
{ complexFunction: 'abs', colormap: 'complexArgument' } ); | ||
|
||
var config = { type: 'threejs', zMax: 5 }; | ||
|
||
evaluate( id, [ p ], config ); | ||
|
||
} | ||
|
||
parent.update( id ); | ||
|
||
</script> | ||
</div> | ||
|
||
<p>Related functions: <a href="sn.html">sn</a> | ||
<a href="lemniscateCos.html">lemniscateCos</a></p> | ||
|
||
<p>Function category: <a href="../functions.html#elliptic">elliptic functions</a></p> | ||
|
||
</body> | ||
</html> |