##############ECHO OF PROBLEM################# ##############temp/mult_sin_sinpostode.ode################# diff ( y , x , 1 ) = sin ( x ) * sin ( x ) ; ! #BEGIN FIRST INPUT BLOCK # Digits:=32; ELIMINATED in preodein.rb max_terms=30 ! #END FIRST INPUT BLOCK #BEGIN SECOND INPUT BLOCK x_start=c(0.1) x_end=c(0.2) $array_y_init[0 + 1] = exact_soln_y(x_start) $glob_look_poles=true # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb # ELIMINATED in preodein.rb $glob_type_given_pole=3 # ELIMINATED in preodein.rb #END SECOND INPUT BLOCK #BEGIN OVERRIDE BLOCK $glob_desired_digits_correct=8 $glob_max_minutes=(3.0) $glob_subiter_method=3 $glob_max_iter=100000 $glob_upper_ratio_limit=c(1.000001) $glob_lower_ratio_limit=c(0.999999) $glob_look_poles=false $glob_h=c(0.001) $glob_display_interval=c(0.01) #END OVERRIDE BLOCK ! #BEGIN USER DEF BLOCK def exact_soln_y (x) x = c(x) return(((sin(c(x))) * cos(c(x)))/c(-2.0) + c(x)/c(2.0)) end #END USER DEF BLOCK #######END OF ECHO OF PROBLEM################# START of Soultion TOP MAIN SOLVE Loop x[1] 0.1 y[1] (closed_form) 0.00033266730123469174 y[1] (numeric) 0.00033266730123469174 absolute error 0.0 relative error 0.0% Desired digits 8 Estimated correct digits 14 Correct digits 16 h 0.001 TOP MAIN SOLVE Loop x[1] 0.11000000000000001 y[1] (closed_form) 0.0004425942297826696 y[1] (numeric) 0.0004425942297826656 absolute error 4.0115480381963664e-18 relative error 9.063715178045107e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.12000000000000002 y[1] (closed_form) 0.0005743433932163533 y[1] (numeric) 0.0005743433932163488 absolute error 4.553649124439119e-18 relative error 7.928443468181018e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.13000000000000003 y[1] (closed_form) 0.0007298620269612227 y[1] (numeric) 0.0007298620269612214 absolute error 1.3010426069826053e-18 relative error 1.7825870629267977e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.14000000000000004 y[1] (closed_form) 0.0009110878589715654 y[1] (numeric) 0.0009110878589715626 absolute error 2.8189256484623115e-18 relative error 3.094021746315784e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.15000000000000005 y[1] (closed_form) 0.0011199483346651107 y[1] (numeric) 0.0011199483346651022 absolute error 8.456776945386935e-18 relative error 7.551042029019757e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.16000000000000006 y[1] (closed_form) 0.001358359845970561 y[1] (numeric) 0.0013583598459705546 absolute error 6.288372600415926e-18 relative error 4.629386402336433e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.17000000000000007 y[1] (closed_form) 0.001628226964796406 y[1] (numeric) 0.0016282269647963975 absolute error 8.456776945386935e-18 relative error 5.193856340810799e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.18000000000000008 y[1] (closed_form) 0.001931441681227497 y[1] (numeric) 0.0019314416812275027 absolute error 5.637851296924623e-18 relative error 2.918986036037897e-13% Desired digits 8 Estimated correct digits 13 Correct digits 15 h 0.001 TOP MAIN SOLVE Loop x[1] 0.19000000000000009 y[1] (closed_form) 0.0022698826467543315 y[1] (numeric) 0.0022698826467543293 absolute error 2.168404344971009e-18 relative error 9.552935910900835e-14% Desired digits 8 Estimated correct digits 13 Correct digits 16 h 0.001 Finished! diff ( y , x , 1 ) = sin ( x ) * sin ( x ) ; Iterations 100 Total Elapsed Time 0 Seconds Elapsed Time(since restart) 0 Seconds Time to Timeout 3 Minutes 0.0 Seconds Percent Done 101.00000000000009%