home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / educ / math / 030 / hard.eka < prev    next >
Encoding:
Text File  |  1991-06-30  |  310 b   |  12 lines

  1. ; Example of a nearly impossible problem.
  2. ; The true solution is: x1=1/3   x2=0   x3=1e-12
  3. ; but there are many "solutions" with small residuals.
  4.  
  5.  x1^2 + 2*x2 - exp(x2) + x3 = 1e-12 - 8/9
  6.  x1*x2 + exp(-x2) + x1*x3 = 1 + 1e-12/3
  7.  x1^3 + cos(x2) - x3 = 1/27 - 1e-12 + 1
  8.  
  9.  x1 := .5
  10.  x2 := 0
  11.  x3 := 0
  12.