  A 1+1 dimensional hydrodynamical model in the light-cone coordinates is used
to describe central heavy-ion collisions at ultrarelativistic bombarding
energies. Deviations from Bjorken's scaling are taken into account by choosing
finite-size profiles for the initial energy density. The sensitivity of fluid
dynamical evolution to the equation of state and the parameters of initial
state is investigated. Experimental constraints on the total energy of produced
particles are used to reduce the number of model parameters. Spectra of
secondary particles are calculated assuming that the transition from the
hydrodynamical stage to the collisionless expansion of matter occurs at a
certain freeze-out temperature. An important role of resonances in the
formation of observed hadronic spectra is demonstrated. The calculated rapidity
distributions of pions, kaons and antiprotons in central Au+Au collisions at
the c.m. energy 200 GeV per NN pair are compared with experimental data of the
BRAHMS Collaboration. Parameters of the initial state are reconstructed for
different choices of the equation of state. The best fit of these data is
obtained for a soft equation of state and Gaussian-like initial profiles of the
energy density, intermediate between the Landau and Bjorken limits.
