Jump to content
Wikipedia The Free Encyclopedia

File:Example for addition of functions.svg

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 487 ×ばつ 367 pixels, file size: 33 KB)

This is a file from the Wikimedia Commons. Information from its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

Summary

DescriptionExample for addition of functions.svg
English: Addition of the function sin : R R {\displaystyle \sin :\mathbb {R} \to \mathbb {R} } {\displaystyle \sin :\mathbb {R} \to \mathbb {R} } and exp : R R {\displaystyle \exp :\mathbb {R} \to \mathbb {R} } {\displaystyle \exp :\mathbb {R} \to \mathbb {R} } to the function sin + exp : R R {\displaystyle \sin +\exp :\mathbb {R} \to \mathbb {R} } {\displaystyle \sin +\exp :\mathbb {R} \to \mathbb {R} } with ( sin + exp ) ( x ) = sin ( x ) + exp ( x ) {\displaystyle (\sin +\exp )(x)=\sin(x)+\exp(x)} {\displaystyle (\sin +\exp )(x)=\sin(x)+\exp(x)}.
Date
Source Own work
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, 1, 100)
ys1 = np.exp(xs)
ys2 = np.sin(xs)
ys3 = ys1 + ys2
fs = 13
x = 0.5
blue="#007ec1"
orange="#d77a5a"
green="#6e8334"
plt.plot(xs, ys3, color=blue, label="$\\sin+\\exp$", linewidth=2)
plt.arrow(x+2.5e-2, 0, 0, np.sin(x)-0.15, color=green, head_width=0.03, head_length=0.1)
plt.arrow(x, 0, 0, np.exp(x)-0.15, color=orange, head_width=0.03, head_length=0.1)
plt.arrow(x, np.exp(x), 0, np.sin(x)-0.15, color=green, head_width=0.03, head_length=0.1)
plt.plot(xs, ys2, color=green, label="$\\sin$")
plt.plot(xs, ys1, color=orange, label="$\\exp$")
plt.plot([x], [np.sin(x)+np.exp(x)], color=blue, marker="o")
plt.plot([x], [np.sin(x)], color=green, marker="o")
plt.plot([x], [np.exp(x)], color=orange, marker="o")
plt.text(x=0.18, y=np.sin(0.5)+0.1, s="$\\sin(0.5)$", color=green, fontsize=fs)
plt.text(x=0.55, y=np.exp(0.5)-0.1, s="$\\exp(0.5)$", color=orange, fontsize=fs)
plt.text(x=-0.3, y=np.sin(0.5)+np.exp(0.5)-0.05, s="$(\\sin+\\exp)(0.5)$", color=blue, fontsize=fs+3)
plt.legend()
plt.axhline(color="black")
plt.savefig("Example for addition of functions.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:
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 their 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.

http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

copyright license<\/a>"}},"text\/plain":{"en":{"":"copyright license"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":6938433,\"id\":\"Q6938433\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P275":"Creative Commons CC0 License<\/a>"}},"text\/plain":{"en":{"P275":"Creative Commons CC0 License"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P275 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
inception<\/a>"}},"text\/plain":{"en":{"":"inception"}}},"{\"value\":{\"time\":\"+2019年02月21日T00:00:00Z\",\"timezone\":0,\"before\":0,\"after\":0,\"precision\":11,\"calendarmodel\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q1985727\"},\"type\":\"time\"}":{"text\/html":{"en":{"P571":"21 February 2019"}},"text\/plain":{"en":{"P571":"21 February 2019"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P571 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

21 February 2019

source of file<\/a>"}},"text\/plain":{"en":{"":"source of file"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":66458942,\"id\":\"Q66458942\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P7482":"original creation by uploader<\/a>"}},"text\/plain":{"en":{"P7482":"original creation by uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
software used for creation<\/a>"}},"text\/plain":{"en":{"":"software used for creation"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":2985668,\"id\":\"Q2985668\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P13308":"Matplotlib<\/a>"}},"text\/plain":{"en":{"P13308":"Matplotlib"}}},"{\"value\":{\"entity-type\":\"property\",\"numeric-id\":3831,\"id\":\"P3831\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"":"object of statement has role<\/a>"}},"text\/plain":{"en":{"":"object of statement has role"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":132529059,\"id\":\"Q132529059\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P3831":"plotting library<\/a>"}},"text\/plain":{"en":{"P3831":"plotting library"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":506883,\"id\":\"Q506883\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P3831":"free and open-source software<\/a>"}},"text\/plain":{"en":{"P3831":"free and open-source software"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":29642950,\"id\":\"Q29642950\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P3831":"Python package<\/a>"}},"text\/plain":{"en":{"P3831":"Python package"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P13308 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

File history

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

Date/TimeThumbnailDimensionsUserComment
current23:25, 21 February 2019 Thumbnail for version as of 23:25, 21 February 2019 487 ×ばつ 367 (33 KB)Stephan Kulla User created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata

This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.

If the file has been modified from its original state, some details may not fully reflect the modified file.

Width389.562188pt
Height293.490125pt

AltStyle によって変換されたページ (->オリジナル) /