Skip to content

Instantly share code, notes, and snippets.

@KartikTalwar
Created June 1, 2012 23:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KartikTalwar/2855639 to your computer and use it in GitHub Desktop.
Save KartikTalwar/2855639 to your computer and use it in GitHub Desktop.
PHYS 263 - Assignment 3 Plot
Plot[
(2 - 9.58 x)/E^(2.21 x) - 2,
{x, -10, 10},
PlotRange -> 10 ,
AxesLabel -> {t, x},
PlotLabel -> Style[
ToExpression[
"x(t) = (2 - 9.58t) {e}^{-2.21t} -2 ",
TeXForm
],
FontSize -> 20
]
]
Plot[
E^(-3.85 x)*2*E^(-3.15 x) - 2,
{x, -2, 5},
PlotRange -> 5,
AxesLabel -> {t, x},
PlotLabel ->
Style[
ToExpression[
"x(t) = {e}^{-3.85t} 2 {e}^{-3.15t} -2 ",
TeXForm],
FontSize -> 20
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment