File:Continuity of the Exponential at 0.svg

From testwiki
Jump to navigation Jump to search

Original file(SVG file, nominally 480 × 366 pixels, file size: 21 KB)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: This plot shows that .
Date
Source Own work
Author Stephan Kulla (User:Stephan Kulla)
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import matplotlib.pyplot as plt
import numpy as np

xs = np.linspace(-1.0, 1.5, 100)
ys = np.exp(xs)
fs = 13

blue="#007ec1"
orange="#d77a5a"
green="#6e8334"

plt.plot(xs, ys, color=blue)

plt.axis("off")
plt.axhline(color="black")
plt.axvline(color="black")
plt.ylim((-0.2, ys.max()))

plt.text(-0.08, -0.25, "$0$", fontsize=fs)

plt.plot([0], [1], "o", color=blue)
plt.text(-1.25, 1.15, "$\lim_{n\\to\infty}\ \exp\left(\\frac{1}{n}\\right)=\exp\left(\lim_{n\\to\infty}\ \\frac{1}{n}\\right)$", color=blue, fontsize=fs)

plt.text(0.3, 2, '$\exp\left(\\frac{1}{n}\\right)$', color=orange, fontsize=fs)
plt.text(0.04, 0.5,   "...", fontsize=fs)

for n in range(1,6):
  plt.plot([1./n,1./n], [0,np.exp(1./n)], "--", color="black")
  plt.plot([1./n], [0], "o", color=green)
  plt.plot([1./n], [np.exp(1./n)], "o", color=orange)

plt.text(0.48, -0.3, "$\\frac{1}{n}$", color=green, fontsize=fs)

plt.arrow(0.18,np.exp(0.18)+0.1,-0.12,-0.16, color=orange, head_width=0.03)
plt.arrow(0.18,-0.05,-0.12,0, color=green, head_width=0.03)

plt.savefig("Continuity of the Exponential at 0.svg", transparent=True, bbox_inches="tight", pad_inches=0.05)

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 4.0 International 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

19 November 2015

image/svg+xml

5f22a6e135d7298a1e8d037ea2f244e0a835db37

21,528 byte

366 pixel

480 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:01, 21 May 2018Thumbnail for version as of 19:01, 21 May 2018480 × 366 (21 KB)wikimediacommons>Stephan Kullaupdate

The following page uses this file: