fork download
  1. quadratic.roots <- function(a_coeff, b_coeff, c_coeff) {
  2. q_roots <- ((- b_coeff) + (sqrt(b_coeff^2 - 4(a_coeff * c_coef)))) / (2 * a_coeff)
  3. q_roots_list <- list(q_roots)
  4. return(q_roots_list)
  5. }
  6.  
Success #stdin #stdout 0.21s 39252KB
stdin
Standard input is empty
stdout
Standard output is empty