\documentclass[12pt]{minimal} \usepackage{color} \usepackage{pgf,tikz} \usetikzlibrary{decorations.markings,decorations.pathmorphing,positioning,shapes.arrows,arrows} \definecolor{blue2}{RGB}{0,0,210} \definecolor{blue5}{RGB}{100,100,255} \definecolor{red2}{RGB}{210,0,0} % COMMENT: % The lists of coordinates below were generated using Gnuplot, since % Tikz is not particularly capable when it comes to plotting complicated functions. \begin{document} \begin{tikzpicture}[>=latex,scale=0.8] \draw[->] (0,0) -- (8.6,0) node[below]{$t$}; \draw[->] (0,-2.2) -- (0,5) node[left]{$v(t)$}; \foreach \x in {1,...,8} { \draw (\x,3.75pt) -- (\x,-3.75pt); } \foreach \y in {-2,-1,...,4} { \draw (3.75pt,\y) -- (-3.75pt,\y) node[left]{$\y$}; } \draw[thick,orange] (0,2) -- (8,2); \draw[thick,blue2] plot[smooth] coordinates{(8,2.005)(6,2.0055)(5,2.006)(4,2.007)(3.200,2.008)(2.741,2.015)(2.474,2.023)(2.285,2.031)(2.138,2.039)(2.020,2.046)(1.919,2.054)(1.833,2.062)(1.757,2.070)(1.690,2.077)(1.629,2.085)(1.573,2.093)(1.522,2.100)(1.475,2.108)(1.432,2.116)(1.391,2.124)(1.354,2.131)(1.318,2.139)(1.284,2.147)(1.253,2.154)(1.223,2.162)(1.194,2.170)(1.167,2.178)(1.141,2.185)(1.116,2.193)(1.092,2.201)(1.070,2.208)(1.048,2.216)(1.027,2.224)(1.007,2.232)(0.987,2.239)(0.969,2.247)(0.950,2.255)(0.933,2.263)(0.916,2.270)(0.900,2.278)(0.884,2.286)(0.868,2.293)(0.853,2.301)(0.839,2.309)(0.825,2.317)(0.811,2.324)(0.797,2.332)(0.784,2.340)(0.772,2.347)(0.759,2.355)(0.747,2.363)(0.736,2.371)(0.724,2.378)(0.713,2.386)(0.702,2.394)(0.691,2.402)(0.681,2.409)(0.671,2.417)(0.661,2.425)(0.651,2.432)(0.642,2.440)(0.632,2.448)(0.623,2.456)(0.614,2.463)(0.605,2.471)(0.597,2.479)(0.588,2.486)(0.580,2.494)(0.572,2.502)(0.564,2.510)(0.556,2.517)(0.548,2.525)(0.541,2.533)(0.533,2.541)(0.526,2.548)(0.519,2.556)(0.512,2.564)(0.505,2.571)(0.498,2.579)(0.491,2.587)(0.485,2.595)(0.478,2.602)(0.472,2.610)(0.466,2.618)(0.460,2.625)(0.454,2.633)(0.448,2.641)(0.442,2.649)(0.436,2.656)(0.430,2.664)(0.425,2.672)(0.419,2.680)(0.414,2.687)(0.408,2.695)(0.403,2.703)(0.398,2.710)(0.393,2.718)(0.388,2.726)(0.383,2.734)(0.378,2.741)(0.373,2.749)(0.368,2.757)(0.363,2.764)(0.359,2.772)(0.354,2.780)(0.349,2.788)(0.345,2.795)(0.340,2.803)(0.336,2.811)(0.332,2.819)(0.328,2.826)(0.323,2.834)(0.319,2.842)(0.315,2.849)(0.311,2.857)(0.307,2.865)(0.303,2.873)(0.299,2.880)(0.295,2.888)(0.291,2.896)(0.288,2.903)(0.284,2.911)(0.280,2.919)(0.277,2.927)(0.273,2.934)(0.270,2.942)(0.266,2.950)(0.263,2.958)(0.259,2.965)(0.256,2.973)(0.252,2.981)(0.249,2.988)(0.246,2.996)(0.242,3.004)(0.239,3.012)(0.236,3.019)(0.233,3.027)(0.230,3.035)(0.227,3.042)(0.224,3.050)(0.221,3.058)(0.218,3.066)(0.215,3.073)(0.212,3.081)(0.209,3.089)(0.206,3.097)(0.203,3.104)(0.200,3.112)(0.198,3.120)(0.195,3.127)(0.192,3.135)(0.190,3.143)(0.187,3.151)(0.184,3.158)(0.182,3.166)(0.179,3.174)(0.176,3.181)(0.174,3.189)(0.171,3.197)(0.169,3.205)(0.166,3.212)(0.164,3.220)(0.162,3.228)(0.159,3.236)(0.157,3.243)(0.154,3.251)(0.152,3.259)(0.150,3.266)(0.148,3.274)(0.145,3.282)(0.143,3.290)(0.141,3.297)(0.139,3.305)(0.136,3.313)(0.134,3.320)(0.132,3.328)(0.130,3.336)(0.128,3.344)(0.126,3.351)(0.124,3.359)(0.122,3.367)(0.120,3.375)(0.118,3.382)(0.116,3.390)(0.114,3.398)(0.112,3.405)(0.110,3.413)(0.108,3.421)(0.106,3.429)(0.104,3.436)(0.102,3.444)(0.100,3.452)(0.098,3.459)(0.096,3.467)(0.095,3.475)(0.093,3.483)(0.091,3.490)(0.089,3.498)(0.087,3.506)(0.086,3.514)(0.084,3.521)(0.082,3.529)(0.081,3.537)(0.079,3.544)(0.077,3.552)(0.076,3.560)(0.074,3.568)(0.072,3.575)(0.071,3.583)(0.069,3.591)(0.067,3.598)(0.066,3.606)(0.064,3.614)(0.063,3.622)(0.061,3.629)(0.060,3.637)(0.058,3.645)(0.056,3.653)(0.055,3.660)(0.053,3.668)(0.052,3.676)(0.051,3.683)(0.049,3.691)(0.048,3.699)(0.046,3.707)(0.045,3.714)(0.043,3.722)(0.042,3.730)(0.040,3.737)(0.039,3.745)(0.038,3.753)(0.036,3.761)(0.035,3.768)(0.034,3.776)(0.032,3.784)(0.031,3.792)(0.030,3.799)(0.028,3.807)(0.027,3.815)(0.026,3.822)(0.024,3.830)(0.023,3.838)(0.022,3.846)(0.021,3.853)(0.019,3.861)(0.018,3.869)(0.017,3.876)(0.016,3.884)(0.014,3.892)(0.013,3.900)(0.012,3.907)(0.011,3.915)(0.010,3.923)(0.009,3.931)(0.007,3.938)(0.006,3.946)(0.005,3.954)(0.004,3.961)(0.003,3.969)(0.002,3.977)(0.001,3.985)(0,4.000)}; \draw[thick,red2] plot[smooth] coordinates{(-0.0010,0.0000)(0.0102,0.0112)(0.0213,0.0223)(0.0325,0.0335)(0.0437,0.0447)(0.0548,0.0559)(0.0660,0.0670)(0.0772,0.0782)(0.0883,0.0894)(0.0995,0.1006)(0.1106,0.1117)(0.1218,0.1229)(0.1330,0.1341)(0.1441,0.1453)(0.1553,0.1564)(0.1665,0.1676)(0.1776,0.1788)(0.1888,0.1899)(0.2000,0.2011)(0.2112,0.2123)(0.2223,0.2235)(0.2335,0.2346)(0.2447,0.2458)(0.2559,0.2570)(0.2671,0.2682)(0.2783,0.2793)(0.2895,0.2905)(0.3007,0.3017)(0.3119,0.3129)(0.3231,0.3240)(0.3343,0.3352)(0.3455,0.3464)(0.3567,0.3575)(0.3679,0.3687)(0.3792,0.3799)(0.3904,0.3911)(0.4017,0.4022)(0.4129,0.4134)(0.4242,0.4246)(0.4355,0.4358)(0.4468,0.4469)(0.4580,0.4581)(0.4694,0.4693)(0.4807,0.4804)(0.4920,0.4916)(0.5033,0.5028)(0.5147,0.5140)(0.5260,0.5251)(0.5374,0.5363)(0.5488,0.5475)(0.5602,0.5587)(0.5716,0.5698)(0.5831,0.5810)(0.5945,0.5922)(0.6060,0.6034)(0.6175,0.6145)(0.6290,0.6257)(0.6405,0.6369)(0.6520,0.6480)(0.6636,0.6592)(0.6752,0.6704)(0.6868,0.6816)(0.6984,0.6927)(0.7101,0.7039)(0.7218,0.7151)(0.7335,0.7263)(0.7452,0.7374)(0.7570,0.7486)(0.7688,0.7598)(0.7806,0.7710)(0.7925,0.7821)(0.8043,0.7933)(0.8163,0.8045)(0.8282,0.8156)(0.8402,0.8268)(0.8522,0.8380)(0.8643,0.8492)(0.8764,0.8603)(0.8886,0.8715)(0.9008,0.8827)(0.9130,0.8939)(0.9253,0.9050)(0.9376,0.9162)(0.9500,0.9274)(0.9624,0.9386)(0.9749,0.9497)(0.9874,0.9609)(1.0000,0.9721)(1.0126,0.9832)(1.0253,0.9944)(1.0381,1.0056)(1.0509,1.0168)(1.0638,1.0279)(1.0767,1.0391)(1.0897,1.0503)(1.1028,1.0615)(1.1160,1.0726)(1.1292,1.0838)(1.1425,1.0950)(1.1559,1.1061)(1.1694,1.1173)(1.1830,1.1285)(1.1966,1.1397)(1.2104,1.1508)(1.2242,1.1620)(1.2381,1.1732)(1.2522,1.1844)(1.2663,1.1955)(1.2806,1.2067)(1.2949,1.2179)(1.3094,1.2291)(1.3240,1.2402)(1.3387,1.2514)(1.3536,1.2626)(1.3685,1.2737)(1.3837,1.2849)(1.3989,1.2961)(1.4143,1.3073)(1.4299,1.3184)(1.4456,1.3296)(1.4615,1.3408)(1.4776,1.3520)(1.4938,1.3631)(1.5102,1.3743)(1.5269,1.3855)(1.5437,1.3967)(1.5607,1.4078)(1.5780,1.4190)(1.5954,1.4302)(1.6132,1.4413)(1.6311,1.4525)(1.6494,1.4637)(1.6678,1.4749)(1.6866,1.4860)(1.7057,1.4972)(1.7251,1.5084)(1.7448,1.5196)(1.7649,1.5307)(1.7853,1.5419)(1.8061,1.5531)(1.8273,1.5643)(1.8489,1.5754)(1.8709,1.5866)(1.8935,1.5978)(1.9165,1.6089)(1.9401,1.6201)(1.9642,1.6313)(1.9889,1.6425)(2.0142,1.6536)(2.0402,1.6648)(2.0670,1.6760)(2.0945,1.6872)(2.1229,1.6983)(2.1521,1.7095)(2.1823,1.7207)(2.2136,1.7318)(2.2460,1.7430)(2.2797,1.7542)(2.3147,1.7654)(2.3512,1.7765)(2.3894,1.7877)(2.4294,1.7989)(2.4714,1.8101)(2.5158,1.8212)(2.5627,1.8324)(2.6126,1.8436)(2.6658,1.8548)(2.7231,1.8659)(2.7849,1.8771)(2.8522,1.8883)(2.9263,1.8994)(3.0086,1.9106)(3.1013,1.9218)(3.2078,1.9330)(3.3331,1.9441)(3.4855,1.9553)(3.6809,1.9665)(3.9547,1.9777)(4.4203,1.9888)(6,1.989)(8,1.99)}; \begin{scope} \foreach \x in {0,0.5,...,8} { \foreach \y in {-2,-1.5,...,4.5} { \pgfmathparse{0.16/sqrt(1+(1-0.125*(\y)^3)^2)} \let\t\pgfmathresult \draw[thick,blue5] ({\x-\t*1},{\y-\t*(1-0.125*(\y)^3)}) -- ({\x+\t*1},{\y+\t*(1-0.125*(\y)^3)}); } } \end{scope} \draw (2,3.75pt) -- (2,-3.75pt) node[below,fill=white]{2}; \draw (4,3.75pt) -- (4,-3.75pt) node[below,fill=white]{4}; \draw (6,3.75pt) -- (6,-3.75pt) node[below,fill=white]{6}; \end{tikzpicture} \end{document}