File:Langevin+expansions.svg

Uploaded by Edgar.bonet
Upload date 2013-10-22T12:52:54Z
MIME type image/svg+xml
Dimensions 640 × 480 px
File size 15.5 KB

Summary

Description
English: The Langevin function (red) and two approximations for small x: a truncation of it's continued fraction expansion (green), and a truncation of it's Taylor series (blue)
Français : Fonction de Langevin (rouge), avec deux approximations pour des petits x : développement en fraction continue tronqué (vert), et développement limité à l'ordre 3 (en bleu)
Date
Source Own work
Author Edgar Bonet
SVG development
InfoField
 The SVG code is valid.
 This plot was created with gnuplot.
  This plot uses embedded text that can be easily translated using a text editor.

Gnuplot source

#!/usr/bin/gnuplot

# Langevin function and two expansions

set term svg size 640, 480 enhanced font "Times,13"
set output "langevin+expansions.svg"
set xlabel "x" offset 0, 0.5
set xrange [-12:12]
set xtics ("−10" -10, "−5" -5, 0, 5, 10)
set yrange [-1:1]
set ytics ("−1" -1, "−0,5" -0.5, 0, "0,5" 0.5, 1)
set lmargin 6
set grid lt 1 lc rgbcolor "#CCC"
set key top left Left reverse invert spacing 1.3 width -5
set samples 200
set style line 3 lw 3.0 lc rgbcolor "#C00"
set style line 2 lw 1.5 lc rgbcolor "#0F0"
set style line 1 lw 1.5 lc rgbcolor "#99F"
set style increment user

plot x/3 - x**3/45 title "x/3 − x³/45", \
     x/(3 + x*x/5) title "x/(3 + x²/5)", \
     x==0 ? 0 : 1/tanh(x)-1/x title "L(x)"

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

22 October 2013

15,853 byte

image/svg+xml

1f8b6f77932636a783e3df23438ef97f4d7a7483