# Problem plotting a transient in edxcel

Discussion in 'Math' started by amilton542, Jan 26, 2013.

1. ### amilton542 Thread Starter Active Member

Nov 13, 2010
496
64
Hi,

I want to plot the following transient by means of an edxcel spreadsheet, where:-

$i(t) = 5e^{-3t}\sin(\omega t)$ and $\omega = 1\ r/s$

Now, I've plotted it using a time interval of up to 3 seconds and it looks nothing like what it should do?

I think it's down to the sine function operating on time only as an argument, what can I do about this?

I've made an attempt to post a picture on what it should like, but it says "invalid file."

2. ### blah2222 Distinguished Member

May 3, 2010
581
38
Well, you have two things going on here. You have a very low frequency sine wave (1 rad/s = 159 mHz) that is being tacked onto a very quickly decaying exponential function which dictates the shape of the curve.

Make sure you to have enough data points to show the curve.

3. ### amilton542 Thread Starter Active Member

Nov 13, 2010
496
64
It's ok, false alarm. The coefficient of 'e' was 0.5 not 5