We present results obtained by a software we developed for computing observational cosmological inflation parameters: the scalar spectral index (n s ) and the tensor-to-scalar ratio (r) for a standard single field and tachyon inflation, as well as for a tachyon inflation in the second Randall-Sundrum model with an additional radion field. The calculated numerical values of observational parameters are compared with the latest results of observations obtained by the Planck Collaboration. The program is written in C/C++. The GNU Scientific Library is used for some of the numerical computations and R language is used for data analysis and plots. * mmilan@seenet-mtp.info arXiv:1809.04939v1 [gr-qc]