File:Cosine integral.svg

Summary

Description
English: This is a plot of cosine integral function (for ).
Date
Source Own work
Author Krishnavedala
SVG development
InfoField
Source code
InfoField

Python code

from numpy import *
from scipy.special import sici
from matplotlib.pyplot import *
 
fig = figure(figsize=(4,3))
ax = fig.add_subplot(111)
x = linspace(0.001, 25, 100)
(y_sine,y_cosine) = sici(x);
ax.set_ylim(-6.5, 0.75)
ax.plot(x,y_cosine, linewidth=2, label=r"Ci$(x)=\gamma+\ln(x)+\int_0^x\frac{\cos(t)-1}{t}dt$")
ax.plot([0, 25], [0, 0], linestyle='--', color='g', label=r"asymptote");
ax.set_ylabel(r"Ci($x$)")
ax.set_xlabel(r"$x$")
ax.grid(True)
ax.minorticks_on()
fig.savefig("Cosine integral.svg",bbox_inches="tight",\
        pad_inches=.15)

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.
Category:CC-BY-SA-3.0#Cosine%20integral.svgCategory:Self-published work
Category:Cosine integral Category:Special functions Category:SVG mathematics
Category:CC-BY-SA-3.0 Category:Cosine integral Category:SVG mathematics Category:Self-published work Category:Special functions Category:Valid SVG created with Matplotlib code