File:First members of harmonic sequence.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 720 × 540 pixels, file size: 15 KB)

Structured data


Add a one-line explanation of what this file represents


English: First ten members of the harmonic sequence .
Deutsch: Die ersten zehn Folgenglieder der harmonischen Folge .
Source Own work
Author Stephan Kulla (User:Stephan Kulla)
Other versions
SVG development
Created with Matplotlib-logo.svg
This vector image was created with Matplotlib.


import numpy as np
import matplotlib.pyplot as plt

# number of shown sequence members
nmax = 10 

ns   = np.arange(1., nmax+0.1, 1.)

plt.plot(ns, 1/ns, "o")
plt.xlim(ns[0]-1, ns[-1]+1)
plt.ylim(0, (1/ns).max()+0.1)
plt.axhline(0, color="black")

plt.savefig("First members of harmonic sequence.svg")


I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

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

current17:38, 12 February 2016Thumbnail for version as of 17:38, 12 February 2016720 × 540 (15 KB)Stephan Kulla (talk | contribs)User created page with UploadWizard
  • You cannot overwrite this file.

The following page uses this file:

File usage on other wikis