kids encyclopedia robot

Image: RationalDegree2byXedi

Kids Encyclopedia Facts
Original image(SVG file, nominally 398 × 398 pixels, file size: 32 KB)

Description: Rational function of degree 2 defined by y=x2−3x−2x2−4{\displaystyle y={\frac {x^{2}-3x-2}{x^{2}-4}}}. Created in python. from matplotlib.pyplot import * from numpy import linspace from mpl_toolkits.axisartist import * xlim, ylim = 10, 15 x = linspace(-xlim,xlim,301) y = (x**2-3.*x-2.)/(x**2-4.) fig = figure(figsize=(5,5)) ax = Subplot(fig,"111") fig.add_subplot(ax) ax.axis[:].set_visible(False) ax.axis["x"] = ax.new_floating_axis(0,0) ax.axis["y"] = ax.new_floating_axis(1,0) ax.axis["y"].set_axis_direction("right") ax.plot(x,y,linewidth=1.) ax.plot([2,2],[-ylim,ylim],'k--',linewidth=.5) ax.plot([-2,-2],[-ylim,ylim],'k--',linewidth=.5) ax.plot([2,2],[-ylim,ylim],'k--',linewidth=.5) ax.plot([-xlim,xlim],[1,1],'k--',linewidth=.5) ax.grid(False) ax.set_ylim(-ylim,ylim) ax.set_xlim(-xlim,xlim) ax.minorticks_on() fig.savefig("RationalDegree2byXedi.svg",bbox_inches="tight",\ pad_inches=.15)
Title: RationalDegree2byXedi
Credit: Own work
Author: Krishnavedala
Usage Terms: Creative Commons Attribution-Share Alike 3.0
License: CC BY-SA 3.0
License Link: https://creativecommons.org/licenses/by-sa/3.0
Attribution Required?: Yes

The following page links to this image:

kids search engine