Pages

Thursday 11 July 2013

hodgkin huxley model of a neuron (part 2)

 
In my last article, I talked about the differential equations that govern the working of a neuron.
 
I'll solve the differential equations to plot a V-t graph and analyse the effect of the input current on the rate of spiking of the neuron.

Hodgkin Huxley model (part 1)

Before starting to program our neuron model, let us talk about the H-H (hodgkin Huxley) model of neuron.
 
Electrical signals are propagated from nerve cell to nerve cell (neuron) via electro-chemical mechanisms. Hodgkin and Huxley experimented on squids and discovered how the signals are produced within the neuron. H.-H. model was published in Jour. of Physiology (1952). Hodgkin and Huxley were awarded 1963 Nobel Prize.

Wednesday 10 July 2013

Cow/Bull game continued...


In the previous article I discussed the rules of the game and started our programming of the game with the generate() function. We will now write the other two function and then use them in our program.

Cow Bull game (aka guess the number) in python


I used to play a game called 'Cow-Bull' with my friends at school. It is a game that can be played with a notebook and pencil. But it could be a nice project to write a program that lets you play the game with your computer :).

First let us understand the rules of the game:




Tuesday 9 July 2013

The evolving string program


Before reading this you can have a look at my article on motivation behind writing this program (optional).
There are two words that sums up the definition of the word evolution:
  1. Descent with modicifation
  2. survival of the fittest
Therefore, our program will have 2 functions:


Role of accumulating small changes in the emergence of complex designs


The beautiful and complicated designs of organisms have evolved over generations, by accumulation of small changes that occur randomly. This is how Darwin’s theory of evolution explains the existence of complex designs within different organisms. There is a common misconception among the people who oppose Darwin’s idea of evolution. The evolution is not a random event.