3

I have been trying to get codes to plot a given graph together with its condition. The equation is

s(t) = 976((0.835)^t - 1)) + 176t for 0 ≤ t ≤ 20

I have surfed the internet and done some research but some answers still wouldn't satisfy me.

LCarvalho
  • 9,233
  • 4
  • 40
  • 96
babyblue
  • 33
  • 4

1 Answers1

2

It can be done with a very straight-forward application of Plot.

Plot[976 (0.835^t - 1) + 176 t, {t, 0, 20}]

plot

Note: you don't really have a plot with a condition. What you have is a plot with a specified domain. The 2nd argument of Plot is the domain specification.

m_goldberg
  • 107,779
  • 16
  • 103
  • 257