Guest User

Untitled

a guest
Oct 20th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. namespace Übung_für_Klausur
  2. {
  3. delegate double Function(double x);
  4.  
  5. class Parabel
  6. {
  7. public static double Parabel(double x)
  8. {
  9. return x*x;
  10. }
  11. public static double verdoppeln(double x)
  12. {
  13. return 2 * x;
  14. }
  15.  
  16. public static void Plot(double x1, Function f)
  17. {
  18. double z=f(x1);
  19. Console.WriteLine(z);
  20. }
  21.  
  22. }
  23. }
Add Comment
Please, Sign In to add comment