Visual experiences would be processed with assistance of retina which itself consists of photoreceptors, horizontal cells, bipolar cells, amacrine and ganglion cells. One of the methods to regain sight ability of patients who have lost their sight due to retinal degenerative, is retinal implant with the creation of action potential via axon of ganglion cells or bipolar cells. In this thesis, we simulated nerve cells based on compartmental model by using experimental data from bipolar cells of eye retina which was belonging to a monkey of macaquqe species, and geometry of cell, based on SWC file, which contains dimension, radius, partners of each compartment, and determining location and size of different types of channels which exist in bipolar cells. In compartmental model, by considering a differential equation to each compartment, we can find potential changes for that compartment. By applying two types of constant and alternating current, we observed that nerve cells action potential not showing remarkable changes with consideration geometry of soma, but when we changed bipolar cell channel to channels of hodgkin-huxley model, we observed the effect of geometry on action potential of nerve cell.