## Trending News

# How to plot function in matlab or maple for example {(F/M)/(k-c)^2+ω^2}*{exp(-kt) – exp(-ct)*[cosωt-{(k-c)/(ω)

in above f is force and constant and m is mass and k,c is constant.just tell me how to plot this function.

### 1 Answer

Relevance

- Ivan DLv 51 decade agoFavorite Answer
t = t_start:h:t_end;

y = {(F/M)/(k-c)^2+ω^2}*{exp(-k*.t) – exp(-c*t)*[cosω*.t-{(k-c)/(ω) ;

plot(t,y);

(t_start, t_end) is the interval of time on which you want to plot the function

h is the time step eg. h= 1 second or h = 0.1 second

- Login to reply the answers

Still have questions? Get your answers by asking now.