Ask Your Question

Rob N's profile - activity

2014-06-29 21:17:22 +0200 received badge  Popular Question (source)
2014-06-29 21:17:22 +0200 received badge  Notable Question (source)
2014-06-29 21:17:22 +0200 received badge  Famous Question (source)
2012-12-20 02:20:52 +0200 received badge  Student (source)
2012-11-23 14:19:29 +0200 asked a question How to enter and solve this differential equation?

I'm studying electronics and I've encountered the weird and interesting relationship between the exponential function and the sine and cosine functions. In my effort to understand this better, I'd like to solve the following differential equation.

f'(x) = f(x+1), or more generally...
f'(x) = f(x + k) for any constant k

I wanted to explore these functions because the exponential function is where k = 0 and the sin(x) is solution when k=pi/2. I wanted to see what was "in between" those two. I know how to find the e^x case:

x = var('x')
y = function('y', x)
desolve(diff(y,x) == y, y, [0,1])

but, is there a way to add the k, something like this (which doesn't work as written):

desolve(diff(y,x) == y(x+1), y, [0,1])