print( polyroot( c(-6, -1, 1) ) ) #postscript("../../WriteUp/Graphics/Chapter2/chap_2_sect_2_prob_9_plot.eps", onefile=FALSE, horizontal=FALSE) x = seq( -2+1.e-1, 3-1.e-1, length.out=100 ) y = 1/(x^2 - x - 6) plot( x, y, type='l', xlab='x', ylab='y(x)' ) grid() #dev.off()