Guest User

Untitled

a guest
Apr 8th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bestap(y,f)
  2. Prgm
  3. Local s
  4. 0->s
  5. For i,1,dim(y)
  6. s+(f+y[i],x)/((y[i]*y[i],x))*y[i]->s
  7. EndFor
  8. s->o
  9. Return s
  10. EndPrgm
  11.  
  12. --------------------------------
  13. Beschreibung:
  14. Bestapproximation.
  15. y..die Basisfunktionen-Liste
  16. f(x)..die Funktion die es zu approximieren gilt.
  17. Beispiel:
  18. bestap({x},x^2)
  19. enter
  20. o
  21. enter
Add Comment
Please, Sign In to add comment