Esempio n. 1
0
def make_one_iterated():
    equation.get_some_point()
    equation.parameters_printed()
    print equation.G3, '+/-', equation.error_margin()
    #    equation.rescale(3.)
    #    equation.parameters_printed()
    #    print equation.G3,'+/-',equation.error_margin()
    for i in range(6):
        previous_value = equation.G3
        print 'Iterate #', i
        equation.iterate()
        print equation.G3, ' increment ', equation.G3 - previous_value
    equation.dump_result()
Esempio n. 2
0
def make_one_iterated():
    equation.get_some_point()
    equation.parameters_printed()
    print equation.G3,'+/-',equation.error_margin()
#    equation.rescale(3.)
#    equation.parameters_printed()
#    print equation.G3,'+/-',equation.error_margin()
    for i in range(6):
        previous_value=equation.G3
        print 'Iterate #', i
        equation.iterate()
        print equation.G3,' increment ',equation.G3-previous_value
    equation.dump_result()
Esempio n. 3
0
def agile(variants_to_consider):
    for parameter_set in variants_to_consider:
        equation.solve(parameter_set['E'], parameter_set['L'], parameter_set['dx'])
        equation.report_filename=''
        equation.iteration=0
        equation.dump_result()