Guest User

Untitled

a guest
Jun 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. //---------------------------------------------------------------------------
  2.  
  3. #include <vcl.h>
  4. #pragma hdrstop
  5. #include <math.h>
  6. #include "Unit1.h"
  7. //---------------------------------------------------------------------------
  8. #pragma package(smart_init)
  9. #pragma resource "*.dfm"
  10. TForm1 *Form1;
  11. //---------------------------------------------------------------------------
  12. __fastcall TForm1::TForm1(TComponent* Owner)
  13. : TForm(Owner)
  14. {
  15. }
  16. //---------------------------------------------------------------------------
  17.  
  18.  
  19.  
  20.  
  21. void __fastcall TForm1::ZMIClick(TObject *Sender)
  22. {
  23. double y;
  24. double x;
  25. double dx = 3.14159265359/900., xMax = 3.14159265359;
  26. double sum = 0;
  27. for ( double x; x<=xMax; x+x );
  28. {
  29. sum+=x*pow ( sin ( x ) , 11) ;
  30. }
  31. }
  32. //---------------------------------------------------------------------------
Add Comment
Please, Sign In to add comment