Neurocomputing: Fundamentals of Computational Neuroscience (Fall 2006)
Assignment 1
1. Write a program that numerically integrates the differential equation dx/dt = -x + t*exp(-t/10).
2. Plot the difference of your numerical solution of question 1 with either a numerical solution using a higher order algorithm (for example ode45) or the analytical solution.
3. Plot the difference of your solution to the function y(t)= t*exp(-t/10).
The following question is a bit more complicated and optional.
4. Write a program that plots the function y(t) without using an explicite value of t (only relative, that is, a differential form).