Title / Description
Code x = 0.5 c_values = [1.0, 1.25, 1.5, 1.75, 2.0, 2.25, 2.5, 2.75, 3.0, 3.25, 3.75] c_values.each { |c| temp=0 100000.times { temp = x x = c* x * (1-x) } puts "c=#{c} \t:\t x=#{x} :\t prevx=#{temp}" }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code