void fastcalltform1::button2clicktobject*sender Label1-Caption=""; Label2-Caption=""; Label3-Caption=""; void fastcalltform1::button3clicktobject*send
|
|
- ああす おおかわち
- 5 years ago
- Views:
Transcription
1 Label1Alignment taleftjustify Label2Alignment tacenter Label3Alignment arightjustify void fastcalltform1::button1click(tobject*sender) { } Label1->Caption="WelcometoC++Builder"; Label2->Caption="WelcometoC++Builder"; Label3->Caption="WelcometoC++Builder"; void fastcalltform1::formcreate(tobject*sender) { Label1->Caption=""; Label2->Caption=""; Label3->Caption=""; } void fastcalltform1::formcreatetobject*sender Label1-Caption=""; Label2-Caption=""; Label3-Caption=""; void fastcalltform1::button1clicktobject*sender Label1-Caption="WelcometoC++Builder"; Label2-Caption="WelcometoC++Builder"; Label3-Caption="WelcometoC++Builder"; -1-
2 void fastcalltform1::button2clicktobject*sender Label1-Caption=""; Label2-Caption=""; Label3-Caption=""; void fastcalltform1::button3clicktobject*sender Close ; void fastcalltform1::formcreatetobject*sender Label1-Caption=""; Label2-Caption=""; Label3-Caption=""; void fastcalltform1::button1clicktobject*sender Label1-Caption=" "; void fastcalltform1::button2clicktobject*sender Label2-Caption=" "; void fastcalltform1::button3clicktobject*sender Label3-Caption=" "; void fastcalltform1::formcreatetobject*sender Edit1-Text=""; Edit2-Text=""; Edit3-Text=""; -2-
3 void fastcalltform1::button1clicktobject*sender Edit3-Text=FormatFloat"#.##",StrToFloatEdit1-Text +StrToFloatEdit2-Text ; void fastcalltform1::button3clicktobject*sender Edit1-Text=""; Edit2-Text=""; Edit3-Text=""; void fastcalltform1::button4clicktobject*sender Close ; void fastcalltform1::button2clicktobject*sender Edit3-Text=FormatFloat"#.##",StrToFloatEdit1-Text -StrToFloatEdit2-Text ; void fastcalltform1::formcreatetobject*sender Edit1-Text="0"; Edit2-Text="0"; void fastcalltform1::bitbtn2clicktobject*sender doubleippan_ryokin,gakusei_ryokin,gokei; ippan_ryokin=strtofloatedit1-text*strtofloatpanel5-caption; gakusei_ryokin=strtofloatedit2-text*strtofloatpanel6-caption; gokei=ippan_ryokin+gakusei_ryokin; Panel3-Caption=FormatFloat"###,###",gokei; void fastcalltform1::bitbtn3clicktobject*sender Close ; -3-
4 void fastcalltform1::bitbtn1clicktobject*sender Edit1-Text="0"; Edit2-Text="0"; Panel3-Caption="0"; void fastcalltform1::formcreatetobject*sender Memo1-Text="0"; Initial_Value ; void fastcalltform1::speedbutton1clicktobject*sender TSpeedButton*btn; //Sender TSpeedButton btn= TSpeedButton*Sender; // ButtonCheckbtn; // ifshori_flag2==1 // shori_flag2=0; shori_flag1=0; else ButtonShoribtn; // #ifndefmon4_1unit1_2h #definemon4_1unit1_2h #include Classes.hpp #include Controls.hpp #include StdCtrls.hpp #include Forms.hpp #include Buttons.hpp #include ExtCtrls.hpp classtform1:publictform published: //IDE TPanel*Panel1; -4-
5 TPanel*Panel2; TMemo*Memo1; TSpeedButton*SpeedButton1; TSpeedButton*SpeedButton2; TSpeedButton*SpeedButton3; TSpeedButton*SpeedButton4; TSpeedButton*SpeedButton5; TSpeedButton*SpeedButton6; TSpeedButton*SpeedButton7; TSpeedButton*SpeedButton8; TSpeedButton*SpeedButton9; TSpeedButton*SpeedButton10; TSpeedButton*SpeedButton11; TSpeedButton*SpeedButton12; TSpeedButton*SpeedButton13; TSpeedButton*SpeedButton14; TSpeedButton*SpeedButton15; TSpeedButton*SpeedButton16; TSpeedButton*SpeedButton17; void fastcallformcreatetobject*sender; void fastcallspeedbutton1clicktobject*sender; private: // floatkei; // floatw; // floatsign; // intshori_flag1;// :0, :1 intshori_flag2;// :0, :1 AnsiStrings; // TSpeedButton*btn; //SenderTSpeedButton public: // fastcalltform1tcomponent*owner; // void fastcallinitial_valuevoid shori_flag1=0; shori_flag2=0; sign=+1; // voidbuttonchecktspeedbutton*btn ifshori_flag1==0 // kei=0; Memo1-Text=""; // shori_flag1=1; //shori_flag11 switchbtn-tag // case11: case12: case13: -5-
6 case14: case16: case17: ShowMessage" "; shori_flag2=1; // // voidbuttonshoritspeedbutton*btn ; switchbtn-tag case 1: Memo1-Text=Memo1-Text+"1"; //1 case 2: Memo1-Text=Memo1-Text+"2"; //2 case 3: Memo1-Text=Memo1-Text+"3"; //3 case 4: Memo1-Text=Memo1-Text+"4"; //4 case 5: Memo1-Text=Memo1-Text+"5"; //5 case 6: Memo1-Text=Memo1-Text+"6"; //6 case 7: Memo1-Text=Memo1-Text+"7"; //7 case 8: Memo1-Text=Memo1-Text+"8"; //8 case 9: Memo1-Text=Memo1-Text+"9"; //9 case10: Memo1-Text=Memo1-Text+"0"; //0 case11: kei=kei+sign* StrToFloatMemo1-Text ; //+ Memo1-Text=""; sign=+1; case12: kei=kei+sign* StrToFloatMemo1-Text ;//- Memo1-Text=""; sign=-1; case13: //* case14: /// case15: Memo1-Text="0"; //ACAllClear shori_flag1=0; case16: ifmemo1-text!="" //= w=kei+sign* StrToFloatMemo1-Text ; else w=sign*kei; Memo1-Text=FormatFloat"#0.####0",w ;// 5 shori_flag1=0; sign=+1; case17: Memo1-Text=Memo1-Text+"."; //. -6-
7 // === void fastcalltform1::formcreatetobject*sender Memo1-Text="0"; floatkei=0; // floatjyoujo=1; // floatw; // intshori_flag1=0;// :0, :1 intshori_flag2=0;// :0, :1 AnsiStrings; // AnsiStringwkazu; // charop; // // // // ButtonCheck : voidbuttonchecktspeedbutton*btn ifshori_flag1==0 // kei=0; Form1-Memo1-Text=""; // wkazu=""; op='+'; jyoujo=1; shori_flag1=1; //shori_flag11 switchbtn-tag // case11: //+ case12: //- case13: //* case14: /// case16: //= case17: //. ShowMessage" "; shori_flag2=1; // voidbuttonshoritspeedbutton*btn -7-
8 ifshori_flag2==1 // shori_flag2=0; shori_flag1=0; else switchbtn-tag case 1:Form1-Memo1-Text=Form1-Memo1-Text+"1"; //1 case 2:Form1-Memo1-Text=Form1-Memo1-Text+"2"; //2 case 3:Form1-Memo1-Text=Form1-Memo1-Text+"3"; //3 case 4:Form1-Memo1-Text=Form1-Memo1-Text+"4"; //4 case 5:Form1-Memo1-Text=Form1-Memo1-Text+"5"; //5 case 6:Form1-Memo1-Text=Form1-Memo1-Text+"6"; //6 case 7:Form1-Memo1-Text=Form1-Memo1-Text+"7"; //7 case 8:Form1-Memo1-Text=Form1-Memo1-Text+"8"; //8 case 9:Form1-Memo1-Text=Form1-Memo1-Text+"9"; //9 case10:form1-memo1-text=form1-memo1-text+"0"; //0 case11:switchop //+ case'*':jyoujo=jyoujo*strtofloatform1-memo1-text; kei=kei+jyoujo; case'/':jyoujo=jyoujo/strtofloatform1-memo1-text; kei=kei+jyoujo; case'+':kei=kei+strtofloatform1-memo1-text; case'-':kei=kei-strtofloatform1-memo1-text; Form1-Memo1-Text=""; op='+'; case12:switchop // case'*':jyoujo=jyoujo*strtofloatform1-memo1-text; kei=kei+jyoujo; case'/':jyoujo=jyoujo/strtofloatform1-memo1-text; kei=kei+jyoujo; case'+':kei=kei+strtofloatform1-memo1-text; case'-':kei=kei-strtofloatform1-memo1-text; Form1-Memo1-Text=""; op='-'; case13:switchop //* case'*':jyoujo=jyoujo*strtofloatform1-memo1-text; case'/':jyoujo=jyoujo/strtofloatform1-memo1-text; -8-
9 case'+':jyoujo=strtofloatform1-memo1-text; case'-':jyoujo=-1*strtofloatform1-memo1-text; Form1-Memo1-Text=""; op='*'; case14:switchop /// case'*':jyoujo=jyoujo*strtofloatform1-memo1-text; case'/':jyoujo=jyoujo/strtofloatform1-memo1-text; case'+':jyoujo=strtofloatform1-memo1-text; case'-':jyoujo=-1*strtofloatform1-memo1-text; Form1-Memo1-Text=""; op='/'; case15:form1-memo1-text="0"; //ACAllClear shori_flag1=0; case16:switchop //= case'*':jyoujo=jyoujo*strtofloatform1-memo1-text; kei=kei+jyoujo; case'/':jyoujo=jyoujo/strtofloatform1-memo1-text; kei=kei+jyoujo; case'+':kei=kei+strtofloatform1-memo1-text; case'-':kei=kei-strtofloatform1-memo1-text; Form1-Memo1-Text=FormatFloat"#0.####0",kei;// 5 shori_flag1=0; case17:form1-memo1-text=form1-memo1-text+"."; //. void fastcalltform1::speedbutton1clicktobject*sender TSpeedButton*btn; //Sender TSpeedButton btn= TSpeedButton*Sender; // -9-
10 ButtonCheckbtn; ButtonShoribtn; // === void fastcalltform1::formcreatetobject*sender Memo1-Text="0"; Initial_Value ; void fastcalltform1::speedbutton1clicktobject*sender TSpeedButton*btn; //Sender TSpeedButton btn= TSpeedButton*Sender; // ButtonCheckbtn; ifshori_flag2==1 // shori_flag2=0; shori_flag1=0; else ButtonShoribtn; #ifndefmon4_22unit1h #definemon4_22unit1h #include Classes.hpp #include Controls.hpp #include StdCtrls.hpp #include Forms.hpp #include Buttons.hpp #include ExtCtrls.hpp classtform1:publictform published: //IDE TPanel*Panel1; TPanel*Panel2; TMemo*Memo1; TSpeedButton*SpeedButton1; -10-
11 TSpeedButton*SpeedButton2; TSpeedButton*SpeedButton3; TSpeedButton*SpeedButton4; TSpeedButton*SpeedButton5; TSpeedButton*SpeedButton6; TSpeedButton*SpeedButton7; TSpeedButton*SpeedButton8; TSpeedButton*SpeedButton9; TSpeedButton*SpeedButton10; TSpeedButton*SpeedButton11; TSpeedButton*SpeedButton12; TSpeedButton*SpeedButton13; TSpeedButton*SpeedButton14; TSpeedButton*SpeedButton15; TSpeedButton*SpeedButton16; TSpeedButton*SpeedButton17; void fastcallformcreatetobject*sender; void fastcallspeedbutton1clicktobject*sender; private: // floatkei; // floatjyoujo; // floatw; // intshori_flag1; // :0, :1 intshori_flag2; // :0, :1 AnsiStrings; // AnsiStringwkazu; // charop; // public: // fastcalltform1tcomponent*owner; void fastcalltform1::initial_valuevoid; // ; void fastcallbuttonchecktspeedbutton*btn; // void fastcallbuttonshoritspeedbutton*btn; // externpackagetform1*form1; // void fastcalltform1::initial_valuevoid kei=0; jyoujo=1; shori_flag1=0; shori_flag2=0; // void fastcalltform1::buttonchecktspeedbutton*btn ifshori_flag1==0 // kei=0; -11-
12 Memo1-Text=""; // wkazu=""; op='+'; jyoujo=1; shori_flag1=1; //shori_flag11 switchbtn-tag // case11: //+ case12: //- case13: //* case14: /// case16: //= case17: //. ShowMessage" "; shori_flag2=1; // void fastcalltform1::buttonshoritspeedbutton*btn switchbtn-tag case 1:Memo1-Text=Memo1-Text+"1"; //1 case 2:Memo1-Text=Memo1-Text+"2"; //2 case 3:Memo1-Text=Memo1-Text+"3"; //3 case 4:Memo1-Text=Memo1-Text+"4"; //4 case 5:Memo1-Text=Memo1-Text+"5"; //5 case 6:Memo1-Text=Memo1-Text+"6"; //6 case 7:Memo1-Text=Memo1-Text+"7"; //7 case 8:Memo1-Text=Memo1-Text+"8"; //8 case 9:Memo1-Text=Memo1-Text+"9"; //9 case10:memo1-text=memo1-text+"0"; //0 case11:switchop //+ case'*':jyoujo=jyoujo*strtofloatmemo1-text; kei=kei+jyoujo; case'/':jyoujo=jyoujo/strtofloatmemo1-text; kei=kei+jyoujo; case'+':kei=kei+strtofloatmemo1-text; case'-':kei=kei-strtofloatmemo1-text; Memo1-Text=""; op='+'; case12:switchop // case'*':jyoujo=jyoujo*strtofloatmemo1-text; -12-
13 kei=kei+jyoujo; case'/':jyoujo=jyoujo/strtofloatmemo1-text; kei=kei+jyoujo; case'+':kei=kei+strtofloatmemo1-text; case'-':kei=kei-strtofloatmemo1-text; Memo1-Text=""; op='-'; case13:switchop //* case'*':jyoujo=jyoujo*strtofloatmemo1-text; case'/':jyoujo=jyoujo/strtofloatmemo1-text; case'+':jyoujo=strtofloatmemo1-text; case'-':jyoujo=-1*strtofloatmemo1-text; Memo1-Text=""; op='*'; case14:switchop /// case'*':jyoujo=jyoujo*strtofloatmemo1-text; case'/':jyoujo=jyoujo/strtofloatmemo1-text; case'+':jyoujo=strtofloatmemo1-text; case'-':jyoujo=-1*strtofloatmemo1-text; Memo1-Text=""; op='/'; case15:memo1-text="0"; //ACAllClear shori_flag1=0; case16:switchop //= case'*':jyoujo=jyoujo*strtofloatmemo1-text; kei=kei+jyoujo; case'/':jyoujo=jyoujo/strtofloatmemo1-text; kei=kei+jyoujo; case'+':kei=kei+strtofloatmemo1-text; -13-
14 case'-':kei=kei-strtofloatmemo1-text; Memo1-Text=FormatFloat"#0.####0",kei ;// 5 shori_flag1=0; case17:memo1-text=memo1-text+"."; //. TDateTimet1,t2; void fastcalltform1::button1clicktobject*sender t1=now ; Edit1-Text=Now ; Timer1-Enabled=true; void fastcalltform1::button2clicktobject*sender t2=now ; Edit3-Text=t2-t1; Timer1-Enabled=false; void fastcalltform1::timer1timertobject*sender Edit2-Text=Now ; void fastcalltform1::formcreatetobject*sender Timer1-Enabled=false; Edit1-Text="0"; Edit2-Text="0"; Edit3-Text="0"; // // NextYear cdown ymd TDateTimeSetDateNow,NextYear,cdown; Wordy,m,d; -14-
15 void fastcalltform1::timer1timertobject*sender WordHour,Min,Sec,MSec; //Hour,Min,Sec,MSec cdown=nextyear-now ; // DecodeTimecdown,Hour,Min,Sec,MSec ;// Label5-Caption=IntToStrcdown; // Label7-Caption=IntToStrHour; // Label9-Caption=IntToStrMin; // Label11-Caption=IntToStrSec; // void fastcalltform1::formcreatetobject*sender DecodeDateNow,y,m,d; // y++; // 1 NextYear=AnsiStringIntToStry+"/1/1"; // 1 1 Label2-Caption=IntToStry+" "; // void fastcalltform1::h1clicktobject*sender Canvas-MoveTo50,100;// Canvas-LineTo150,100; Canvas-MoveTo100,100; Canvas-LineTo100,200; Canvas-MoveTo200,100;// Canvas-LineTo200,200; Canvas-MoveTo200,100; Canvas-LineTo300,130; Canvas-MoveTo200,200; Canvas-LineTo300,170; Canvas-MoveTo300,130; Canvas-LineTo300,170; Canvas-MoveTo350,100;// Canvas-LineTo350,200; Canvas-MoveTo450,100; Canvas-LineTo450,200; Canvas-MoveTo350,200; -15-
16 Canvas-LineTo450,200; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::h1clicktobject*sender Canvas-Rectangle10,10,200,100; Canvas-Ellipse50,30,80,60; Canvas-Ellipse120,30,150,60; Canvas-MoveTo60,80; Canvas-LineTo140,80; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::n1clicktobject*sender Canvas-MoveTo10,10; Canvas-LineTo200,200; void fastcalltform1::n2clicktobject*sender Canvas-Rectangle30,30,200,150; void fastcalltform1::n3clicktobject*sender Canvas-Ellipse10,10,100,100; -16-
17 void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::n1clicktobject*sender Canvas-MoveTo10,10; Canvas-LineTo200,200; void fastcalltform1::n2clicktobject*sender Canvas-Rectangle30,30,200,150; void fastcalltform1::n3clicktobject*sender Canvas-Ellipse10,10,100,100; void fastcalltform1::n5clicktobject*sender Canvas-Pen-Color=clRed; void fastcalltform1::n6clicktobject*sender Canvas-Pen-Color=clBlue; void fastcalltform1::n7clicktobject*sender Canvas-Pen-Color=clLime; void fastcalltform1::n8clicktobject*sender Canvas-Pen-Color=0x0098f289; void fastcalltform1::n9clicktobject*sender Canvas-Pen-Color=0x009ff4219; -17-
18 void fastcalltform1::h1clicktobject*sender Canvas-Brush-Style=bsSolid; Canvas-Brush-Color=clFuchsia; Canvas-Rectangle50,50,450,300; Canvas-Brush-Color=clTeal; Canvas-Rectangle100,100,400,250; Canvas-Brush-Color=clMaroon; Canvas-Rectangle150,150,350,200; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::h1clicktobject*sender Canvas-Pen-Width=10; Canvas-Ellipse50,50,300,300; Canvas-Pen-Width=5; Canvas-Ellipse100,100,250,250; Canvas-Pen-Width=2; Canvas-Ellipse150,150,200,200; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::h1clicktobject*sender Canvas-MoveTo0,250; Canvas-LineTo600,250; -18-
19 Canvas-Brush-Color=clLime; Canvas-Brush-Style=bsSolid; Canvas-Rectangle50,125,100,250; Canvas-TextOut75,270," "; Canvas-TextOut75,30,"125"; Canvas-Brush-Style=bsBDiagonal; Canvas-Rectangle150,112,200,250; Canvas-TextOut175,270," "; Canvas-TextOut175,30,"138"; Canvas-Brush-Style=bsFDiagonal; Canvas-Rectangle250,65,300,250; Canvas-TextOut275,270," "; Canvas-TextOut275,30,"185"; Canvas-Brush-Style=bsCross; Canvas-Rectangle350,124,400,250; Canvas-TextOut375,270," "; Canvas-TextOut375,30,"126"; Canvas-Brush-Style=bsDiagCross; Canvas-Rectangle450,102,500,250; Canvas-TextOut475,270," "; Canvas-TextOut475,30,"148"; Canvas-Brush-Style=bsVertical; Canvas-Rectangle550,120,600,250; Canvas-TextOut575,270," "; Canvas-TextOut575,30,"130"; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::n5clicktobject*sender Canvas-Pen-Color=clRed; -19-
20 -20- void fastcalltform1::n6clicktobject*sender Canvas-Pen-Color=clBlue; void fastcalltform1::n7clicktobject*sender Canvas-Pen-Color=clLime; void fastcalltform1::n8clicktobject*sender Canvas-Pen-Color=0x0098f289; void fastcalltform1::n9clicktobject*sender Canvas-Pen-Color=0x009ff4219; void fastcalltform1::h1clicktobject*sender Canvas-Rectangle50,50,200,200; void fastcalltform1::n14clicktobject*sender Canvas-Brush-Color=clPurple; void fastcalltform1::n15clicktobject*sender Canvas-Brush-Color=clSilver; void fastcalltform1::n16clicktobject*sender Canvas-Brush-Color=clGray; void fastcalltform1::n17clicktobject*sender Canvas-Brush-Color=0x00f8d3c5; void fastcalltform1::n18clicktobject*sender Canvas-Brush-Color=0x001f331f;
21 -21- void fastcalltform1::n2clicktobject*sender Canvas-Brush-Style=bsSolid; void fastcalltform1::n3clicktobject*sender Canvas-Brush-Style=bsClear; void fastcalltform1::n10clicktobject*sender Canvas-Brush-Style=bsHorizontal; void fastcalltform1::n11clicktobject*sender Canvas-Brush-Style=bsVertical; void fastcalltform1::n12clicktobject*sender Canvas-Brush-Style=bsCross; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::n5clicktobject*sender Canvas-Font-Color=clRed; void fastcalltform1::n6clicktobject*sender Canvas-Font-Color=clBlue; void fastcalltform1::n7clicktobject*sender Canvas-Font-Color=clLime;
22 void fastcalltform1::n8clicktobject*sender Canvas-Font-Color=0x0098f289; void fastcalltform1::n9clicktobject*sender Canvas-Font-Color=0x009ff4219; void fastcalltform1::h1clicktobject*sender Canvas-Font-Size=40; Canvas-TextOut50,50," "; void fastcalltform1::n14clicktobject*sender Canvas-Brush-Color=clPurple; void fastcalltform1::n15clicktobject*sender Canvas-Brush-Color=clSilver; void fastcalltform1::n16clicktobject*sender Canvas-Brush-Color=clGray; void fastcalltform1::n17clicktobject*sender Canvas-Brush-Color=0x00f8d3c5; void fastcalltform1::n18clicktobject*sender Canvas-Brush-Color=0x001f331f; void fastcalltform1::show1clicktobject*sender -22-
23 intx; // Canvas-Pen-Color=clRed; Canvas-Pen-Width=2; forx=-5;x =4;x++ Canvas-MoveTo50+50*x+5,300-10*x*x; Canvas-LineTo50+50*x+6,300-10*x+1*x+1 ; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::formpainttobject*sender inti; Canvas-Pen-Width=2; Canvas-MoveTo0,300; Canvas-LineTo600,300; // Canvas-MoveTo300,0; Canvas-LineTo300,350; // Canvas-Font-Size=10; Canvas-TextOut550,310," "; Canvas-TextOut20,20," "; // Canvas-Pen-Width=1; fori=0;i=10;i++ Canvas-MoveTo50+50*i,0; Canvas-LineTo50+50*i,300; fori=0;i=2;i++ Canvas-MoveTo50,100*i; Canvas-LineTo550,100*i; Canvas-TextOut300,310," "; fori=1;i=3;i++ Canvas-TextOut30, *i,i*10; -23-
24 void fastcalltform1::show1clicktobject*sender intwcosint ; intx1,x2,y1,y2; Canvas-Pen-Width=2; Canvas-Pen-Color=clRed; forx1=0;x1360;x1++ y1=wcosx1; x2=x1+1; y2=wcosx2; Canvas-MoveTox1+50,y1; Canvas-LineTox2+50,y2; intwcosintx floatatai; inty; atai=cos3.14/180*x; y= *atai; returny; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::formpainttobject*sender inti; Canvas-Pen-Width=2; Canvas-MoveTo30,150; Canvas-LineTo410,150; // Canvas-MoveTo50,50; Canvas-LineTo50,250; // Canvas-Font-Size=10; Canvas-TextOut420,130," "; -24-
25 Canvas-TextOut20,30," "; // Canvas-Pen-Width=1; Canvas-MoveTo50,50; Canvas-LineTo410,50; Canvas-MoveTo50,100; Canvas-LineTo410,100; Canvas-MoveTo50,200; Canvas-LineTo410,200; Canvas-MoveTo50,250; Canvas-LineTo410,250; fori=1;i=4;i++ Canvas-MoveTo50+90*i,50; Canvas-LineTo50+90*i,250; Canvas-TextOut30,45,"1"; Canvas-TextOut20,95,"0.5"; Canvas-TextOut20,145," "; Canvas-TextOut20,195,"-0.5"; Canvas-TextOut30,245,"-1"; fori=1;i=4;i++ Canvas-TextOut55+90*i,160,i*90; void fastcalltform1::show1clicktobject*sender intwcosint,wsinint; inti,j,x1,x2,y1,y2; Canvas-Pen-Width=2; Canvas-Pen-Color=clRed; fori=0;i360;i++ x1=wsini; y1=wcosi; -25-
26 j=i+1; x2=wsinj; y2=wcosj; Canvas-MoveTox1,y1; Canvas-LineTox2,y2; intwsinintx floatatai; inty; atai=sin3.14/180*x; y= *atai; returny; intwcosintx floatatai; inty; atai=cos3.14/180*x; y= *atai; returny; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::formpainttobject*sender Canvas-Pen-Width=2; Canvas-MoveTo50,150; Canvas-LineTo250,150; // Canvas-MoveTo150,50; Canvas-LineTo150,250; // Canvas-Font-Size=10; Canvas-TextOut210,155," "; Canvas-TextOut155,70," "; // Canvas-Pen-Width=1; Canvas-MoveTo50,50; Canvas-LineTo250,50; -26-
27 Canvas-MoveTo50,100; Canvas-LineTo250,100; Canvas-MoveTo50,200; Canvas-LineTo250,200; Canvas-MoveTo50,250; Canvas-LineTo250,250; Canvas-MoveTo50,50; Canvas-LineTo50,250; Canvas-MoveTo100,50; Canvas-LineTo100,250; Canvas-MoveTo200,50; Canvas-LineTo200,250; Canvas-MoveTo250,50; Canvas-LineTo250,250; Canvas-TextOut20,155,"-1"; Canvas-TextOut155,155," "; Canvas-TextOut255,155,"1"; Canvas-TextOut155,35,"1"; Canvas-TextOut155,255,"-1"; void fastcalltform1::show1clicktobject*sender intx; // Canvas-Pen-Color=clRed; Canvas-Pen-Width=2; forx=-5;x =4;x++ Canvas-MoveTo50+50*x+5,150-x*x*x ; Canvas-LineTo50+50*x+6,150- x+1*x+1*x+1 ; void fastcalltform1::exit1clicktobject*sender -27-
28 Close ; void fastcalltform1::formpainttobject*sender inti; Canvas-Pen-Width=2; Canvas-MoveTo50,150; Canvas-LineTo550,150; // Canvas-MoveTo300,0; Canvas-LineTo300,300; // Canvas-Font-Size=10; Canvas-TextOut530,170," "; Canvas-TextOut330,20," "; // Canvas-Pen-Width=1; fori=0;i=10;i++ Canvas-MoveTo50+50*i,0; Canvas-LineTo50+50*i,300; fori=0;i=6;i++ Canvas-MoveTo50,50*i; Canvas-LineTo550,50*i; Canvas-Font-Size=8; fori=0;i=6;i++ Canvas-TextOut310,305-50*i,i-3*50; void fastcalltform1::show1clicktobject*sender intx1,y1,x2,y2; floatx,y,t; // Canvas-Pen-Color=clRed; Canvas-Pen-Width=2; y=196; y1=196; -28-
29 x1=0; t=0; whiley=0 y=196-98/2*t*t; x=120*t; x2=x; y2=y; Canvas-MoveTo50+x1,200-y1; Canvas-LineTo50+x2,200-y2; x1=x2; y1=y2; t=t+0.1; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::formpainttobject*sender inti; Canvas-Pen-Width=2; Canvas-MoveTo50,200; Canvas-LineTo300,200; // Canvas-MoveTo50,0; Canvas-LineTo50,200; // Canvas-Font-Size=10; Canvas-TextOut280,210," "; Canvas-TextOut30,20," "; // Canvas-Pen-Width=1; fori=1;i=5;i++ Canvas-MoveTo50+50*i,0; Canvas-LineTo50+50*i,200; fori=0;i=4;i++ Canvas-MoveTo50,50*i; Canvas-LineTo300,50*i; Canvas-Font-Size=8; -29-
30 fori=1;i=5;i++ Canvas-TextOut50+50*i,205,i*5; fori=1;i=4;i++ Canvas-TextOut30,205-50*i,i*5; #pragmapackagesmart_init #pragmaresource"*.dfm" TForm1*Form1; intiro=1; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::show1clicktobject*sender Timer1-Enabled=true; void fastcalltform1::timer1timertobject*sender switchiro case1:shape2-brush-color=clblue; Shape3-Brush-Color=clWhite; Shape4-Brush-Color=clWhite; case2:shape2-brush-color=clwhite; Shape3-Brush-Color=clYellow; Shape4-Brush-Color=clWhite; case3:shape2-brush-color=clwhite; Shape3-Brush-Color=clWhite; Shape4-Brush-Color=clRed; iro++; ifiro 3 iro=1; -30-
31 #pragmapackagesmart_init #pragmaresource"*.dfm" TForm1*Form1; intsw=1; void fastcalltform1::formmousemovetobject*sender,tshiftstateshift, intx,inty Shape1-Left=X-25; Shape1-Top=Y-25; void fastcalltform1::exit1clicktobject*sender Close ; #pragmapackagesmart_init #pragmaresource"*.dfm" TForm1*Form1; intsw=1; void fastcalltform1::formmousemovetobject*sender,tshiftstateshift, intx,inty Shape1-Left=X-25; Shape1-Top=Y-25; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::shape1mousedowntobject*sender, TMouseButtonButton,TShiftStateShift,intX,intY ifbutton==mbleft Shape1-Visible=true; -31-
32 ifbutton==mbright Shape1-Visible=false; void fastcalltform1::formmousedowntobject*sender,tmousebuttonbutton, TShiftStateShift,intX,intY ifbutton==mbleft Shape1-Visible=true; ifbutton==mbright Shape1-Visible=false; #pragmapackagesmart_init #pragmaresource"*.dfm" TForm1*Form1; floaty=0,t=0; void fastcalltform1::formpainttobject*sender inti; Canvas-Pen-Width=2; Canvas-MoveTo50,250; Canvas-LineTo300,250; // Canvas-MoveTo50,50; Canvas-LineTo50,250; // Canvas-Font-Size=10; Canvas-TextOut290,260,"X"; Canvas-TextOut30,20,"Y"; Canvas-TextOut40,260,"0"; // Canvas-Pen-Width=1; fori=1;i=5;i++ Canvas-MoveTo50+50*i,50; Canvas-LineTo50+50*i,250; -32-
33 fori=0;i=3;i++ Canvas-MoveTo50,50+50*i; Canvas-LineTo300,50+50*i; Canvas-Font-Size=8; fori=1;i=4;i++ Canvas-TextOut20,250-50*i,i*5; fori=1;i=5;i++ Canvas-TextOut50+50*i,260,i*5; void fastcalltform1::exit1clicktobject*sender Close ; void fastcalltform1::show1clicktobject*sender Timer1-Enabled=true; void fastcalltform1::timer1timertobject*sender intx1,y1; floatx; y=98/2*t*t; x=120*t; x1=x; y1=y; Shape2-Left=50+x1-5; Shape2-Top= 50+y1-5; t=t+0.1; ify196 y=0; t=0; -33-
34 1 PaintBox1-Canvas-Pen-Color=clGreen; 2 PaintBox1-Canvas-Pixelsxg yg=clblack; 3 doubledx=pbw/20; doubledy=pbh/20; 4 PaintBox1-Canvas-TextOutPBW-10,y0+5,"x"; PaintBox1-Canvas-TextOutPBW/2.0-10,5,"y"; 5 20 cx,cy //x,y1 cx,cy // cx,cy doublecx=pbw/20.0,cy=pbh/20.0; for x x=-10 x=10 y=x*x; // forx=-10;x=10;x=x+0.01 //x y y=-x*x; xg=x0+cx*x; //x xg yg=y0-cy*y; //y yg PaintBox1-Canvas-Pixelsxg yg=clred; //xgyg PaintBox1-Canvas-Pixelsxg yg=clblack; //xgyg y=-x*x; y=x*x+3; y=x*x-3; y=x+1*x-3; y=x+4*x+1; y=x+3; y=x-3; y=x*x*x; y=-x*x*x; y=x-1*x-2*x-3; x=3cost y=3sint x=2cost-3 y=2sint-1-34-
35 x=3cost-2 y=y=sint+1 // doublepai= ; fordoublet=0;t=2*pai;t=t+0.01 switchfg case1:x=3*cost; y=3*sint; //fg=1 case2:x=2*cost-3; y=2*sint-1; case3:x=3*cost-2; y=1*sint+1; void fastcalltform1::radiobutton1clicktobject*sender // : 0,0 3 fg=1; Label2-Caption=" :x=3costy=3sint"; // void fastcalltform1::radiobutton2clicktobject*sender // : -3,-1 2 fg=2; Label2-Caption=" :x=2cost-3y=2sint-1"; // void fastcalltform1::radiobutton3clicktobject*sender // : -2,1 3 1 fg=3; Label2-Caption=" :x=3cost-2y=sint+1"; RadioButton1RadioButton2RadioButton3Caption RadioButton1 Caption 0,0 3 RadioButton2 Caption -3,-1 2 RadioButton3 Caption -2,
36 2 x=at-sint y=1-cost a= t t=0 t=6*pai // doublepai= ; fordoublet=0;t=6*pai;t=t+0.01 switchfg case1:x=3*cost; y=3*sint; //fg=1 case2:x=2*cost-3; y=2*sint-1; case3:x=3*cost-2; y=1*sint+1; case4:x=0.1*t-sint; y=1-cost; RadioButton4 Caption RadioButton4 RadioButton4Click void fastcalltform1::radiobutton4clicktobject*sender // : fg=4; Label2-Caption=" :x=0.1t-sinty=1-cost"; 1 n // func1 double fastcalltform1::func1doublet intn=2; return5.0*sinn*t*cost; -36-
37 // func2 double fastcalltform1::func2doublet intn=2; return5.0*sinn*t*sint; void fastcalltform1::radiobutton1clicktobject*sender // fg fg=1; Label2-Caption=" :r=sinn,n=2"; 2 RadioButton1 Checked true RadioButton1 y y=x-a*x-a y=x*x-a; // PaintBox1-Canvas-Pen-Color=clRed; //Pen Memo1-Lines-Clear ; //Memo1 forx=-5;x=5;x+=0.1 //x y y=x-a*x-a; xg=x0+cx*x; //x xg yg=y0-cy*y; //y yg PaintBox1-Canvas-LineToxg,yg; // //x,y Memo Memo1-Lines-AddFormatFloat"####0.0",x+" "+FormatFloat"####0.0",y ; y y=x-a*x-a Label4 Label5 Caption Label4 Caption =xlabel5 Caption y y=x*x-a Label4 Label5 Caption Label4 Caption =x Label6 x2 Label5 Caption - 1 x1=2,x2=3 2 x= i Label1 Caption -37-
38 sintyo taijyu F- R 1 gx=2x gx=2x-1 gx=2x-2 gx=4x-5 gx-2x+3 gx=2x+1 gx=2x-2 gx=3x2 gx=3x2+4x+1 gx=3x2-8x+1 2 Label2 Caption :y=x-4=0 // fx double fastcalltform1::fdoublex returnx*x-4; // gx double fastcalltform1::gdoublex return2*x; -4 x= x= x x
39 3 EPS n x EPS n EPS 1 // fx=x*x double fastcalltform1::fdoublex returnx*x; Label2 Caption fx=x fx=x2 n=10 = n=100 = n=1000 = returnx*x; n=10 = n=100 = n=1000 =
40 returnx*x+2*x+1; n=10 = n=100 = n=1000 = returnx*x+2*x+1; n=10 = n=100 = n=1000 = /3 7/3 3 7/3 1 // double fastcalltform1::fdoublex returnx*x; Label2 Caption fx=x Label3 fx=x2 n=10 = n=100 = n=1000 = returnx*x; n=10 = n=100 = n=1000 = returnx*x+2*x+1; n=10 = n=100 = n=1000 = returnx*x+2*x+1; n=10 = n=100 = n=1000 = /3-40-
41 7/3 3 7/3 7/3 1 void fastcalltform1::button2clicktobject*sender // doublea,b,h,s,x,y; intn,i; // a b n a=strtofloatedit1-text; b=strtofloatedit2-text; n=strtointedit3-text; // h=b-a/n; s=0; fori=0;i=n-1;i++ s=s*h; x=a+i*h; s=s+fx; // Edit4-Text=FormatFloat"#### ",s; //Edit4 // // fx=x*x double fastcalltform1::fdoublex returnx*x; 2 An Bn fori=0;i=n-1;i++ fori=1;i=n;i++ x=a+i*h; s=s+fx; s=s*h; s=s*h; x=a+i*h; s=s+fx; An Bn n= n= n=
42 // #include vcl.h #pragmahdrstop #include"unit1.h" // #includemath.h //sin,cos #pragmapackagesmart_init #pragmaresource"*.dfm" TForm1*Form1; // fastcalltform1::tform1tcomponent*owner :TFormOwner // void fastcalltform1::button1clicktobject*sender // x0,y0 intx0=paintbox1-width/2; inty0=paintbox1-height/2; // PaintBox1-Canvas-Brush-Color=clBackground; PaintBox1-Canvas-Rectangle0,0,Width,Height; //x PaintBox1-Canvas-MoveTo0,PaintBox1-Height/2; PaintBox1-Canvas-LineToPaintBox1-Width,PaintBox1-Height/2; //y PaintBox1-Canvas-MoveToPaintBox1-Width/2,0; PaintBox1-Canvas-LineToPaintBox1-Width/2,PaintBox1-Height; // doubler=100,x,y,t; doublec= /180.0; fordoubles=0;s=360;s+=0.1 t=s*c; x=r*sinm*t; y=r*cosn*t; PaintBox1-Canvas-Pixelsx0+x y0-y=clred; //
43 void fastcalltform1::radiogroup1clicktobject*sender //m switchradiogroup1-itemindex case0:m=1; case1:m=2; case2:m=3; case3:m=4; case4:m=5; case5:m=6; case6:m=7; case7:m=8; case8:m=9; case9:m=10; // void fastcalltform1::radiogroup2clicktobject*sender //n switchradiogroup2-itemindex case0:n=1; case1:n=2; case2:n=3; case3:n=4; case4:n=5; case5:n=6; case6:n=7; case7:n=8; case8:n=9; case9:n=10; // void fastcalltform1::formpainttobject*sender // PaintBox1-Top=160; PaintBox1-Left=30; PaintBox1-Width=315; PaintBox1-Height=260; PaintBox1-Canvas-Brush-Color=clBackground; PaintBox1-Canvas-Rectangle0,0,Width,Height; //x PaintBox1-Canvas-MoveTo0,PaintBox1-Height/2; PaintBox1-Canvas-LineToPaintBox1-Width,PaintBox1-Height/2; -43-
44 //y PaintBox1-Canvas-MoveToPaintBox1-Width/2,0; PaintBox1-Canvas-LineToPaintBox1-Width/2,PaintBox1-Height; //m,n RadioGroup1-ItemIndex=0; RadioGroup2-ItemIndex=0; // // private: // intm,n; public: // fastcalltform1tcomponent*owner; ; // externpackagetform1*form1; // #endif
45 Y a a00=0; a10=-0.5; a01=2.5; a11=-0.5; a02=4; a12=-2; a03=4; a13=-1; a04=3; a14=0; a05=4; a15=1; a06=4; a16=2; a07=2.5; a17=0.5; a08=0; a18=0.5; forinti=1;i=8;i++ // StringGrid ColCount 33 RowCount 66 DefaultColWidth 60 DefaultRowHeight 30 StringGrid FixedCols 0 FixedRows 0 -Options goediting true goalwaysshow true Editor ScrollBars ssnone -45-
46 void fastcalltform1::button1clicktobject*sender // inta63,b63,c63; //A a forinti=0;i=5;i++ forintj=0;j=2;j++ aij=strtointstringgrid1-cellsji; //B b forinti=0;i=5;i++ forintj=0;j=2;j++ bij=strtointstringgrid2-cellsji; // forinti=0;i=5;i++ forintj=0;j=2;j++ cij=aij+bij; // forinti=0;i=5;i++ forintj=0;j=2;j++ StringGrid3-Cellsji=IntToStrcij; //
L N P Y F C T V W Z I X Pentomino Form Name Caption Position FormMain podesktopcenter
1. 1 1 1.1 5 12 60 3 20 4 15 5 12 6 10 12 L N P Y F C T V W Z I X 1.1.1 1.2 Pentomino 1.2.1 Form Name Caption Position FormMain podesktopcenter 1.2.2 unit PentominoU; interface uses Windows, Messages,
More information1 シミュレーションとは何か?
Delphi P.1/16 Delphi Delphi Object Pascal Delphi Delphi Delphi (Borland) Windows Turbo Pascal Pascal Delphi Turbo Pascal Windows Pascal FORTRAN BASIC Java Algol Algol Pascal Pascal Pascal Pascal Delphi
More information入門Java解答.doc
//2 1Mon2_1.java package moji; import java.awt.*; import java.awt.event.*; import java.applet.*; public class Mon2_1 extends Applet { public void paint(graphics g){ } g.drawstring("java ", 100, 100); g.drawstring("",
More information40 6 y mx x, y 0, 0 x 0. x,y 0,0 y x + y x 0 mx x + mx m + m m 7 sin y x, x x sin y x x. x sin y x,y 0,0 x 0. 8 x r cos θ y r sin θ x, y 0, 0, r 0. x,
9.. x + y + 0. x,y, x,y, x r cos θ y r sin θ xy x y x,y 0,0 4. x, y 0, 0, r 0. xy x + y r 0 r cos θ sin θ r cos θ sin θ θ 4 y mx x, y 0, 0 x 0. x,y 0,0 x x + y x 0 x x + mx + m m x r cos θ 5 x, y 0, 0,
More information5.. z = f(x, y) y y = b f x x g(x) f(x, b) g x ( ) A = lim h 0 g(a + h) g(a) h g(x) a A = g (a) = f x (a, b)
5 partial differentiation (total) differentiation 5. z = f(x, y) (a, b) A = lim h 0 f(a + h, b) f(a, b) h............................................................... ( ) f(x, y) (a, b) x A (a, b) x
More informationII 1 3 2 5 3 7 4 8 5 11 6 13 7 16 8 18 2 1 1. x 2 + xy x y (1 lim (x,y (1,1 x 1 x 3 + y 3 (2 lim (x,y (, x 2 + y 2 x 2 (3 lim (x,y (, x 2 + y 2 xy (4 lim (x,y (, x 2 + y 2 x y (5 lim (x,y (, x + y x 3y
More information5.. z = f(x, y) y y = b f x x g(x) f(x, b) g x ( ) A = lim h g(a + h) g(a) h g(x) a A = g (a) = f x (a, b)............................................
5 partial differentiation (total) differentiation 5. z = f(x, y) (a, b) A = lim h f(a + h, b) f(a, b) h........................................................... ( ) f(x, y) (a, b) x A (a, b) x (a, b)
More informationB Simon (Trump ) SimonU.pas SimonP.dpr Name FormSimon Caption Position podesktopcenter uses Windows, Messages, SysUtils,
B 132 20 1 1 20.1 20.1.1 1 52 10 1 2 3... 7 8 8 8 20.1.2 1 5 6 7 3 20.1.3 1 3 8 20.1.4 13 20.1.5 4 1 (solitaire) B 133 20.2 20.2.1 Simon (Trump ) SimonU.pas SimonP.dpr 20.2.2 Name FormSimon Caption Position
More information#define N1 N+1 double x[n1] =.5, 1., 2.; double hokan[n1] = 1.65, 2.72, 7.39 ; double xx[]=.2,.4,.6,.8,1.2,1.4,1.6,1.8; double lagrng(double xx); main
=1= (.5, 1.65), (1., 2.72), (2., 7.39).2,.4,.6,.8, 1., 1.2, 1.4, 1.6 1 1: x.2 1.4128.4 1.5372.6 1.796533.8 2.198 1.2 3.384133 1.4 4.1832 1.6 5.1172 8 7 6 5 y 4 3 2 1.5 1 1.5 2 x 1: /* */ #include
More informationax 2 + bx + c = n 8 (n ) a n x n + a n 1 x n a 1 x + a 0 = 0 ( a n, a n 1,, a 1, a 0 a n 0) n n ( ) ( ) ax 3 + bx 2 + cx + d = 0 4
20 20.0 ( ) 8 y = ax 2 + bx + c 443 ax 2 + bx + c = 0 20.1 20.1.1 n 8 (n ) a n x n + a n 1 x n 1 + + a 1 x + a 0 = 0 ( a n, a n 1,, a 1, a 0 a n 0) n n ( ) ( ) ax 3 + bx 2 + cx + d = 0 444 ( a, b, c, d
More informationWindows (L): D:\jyugyou\ D:\jyugyou\ D:\jyugyou\ (N): en2 OK 2
Windows C++ Microsoft Visual Studio 2010 C++ Microsoft C++ Microsoft Visual Studio 2010 Microsoft Visual Studio 2010 C++ C C++ Microsoft Visual Studio 2010 Professional Professional 1 Professional Professional
More information2014 S hara/lectures/lectures-j.html r 1 S phone: ,
14 S1-1+13 http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html r 1 S1-1+13 14.4.11. 19 phone: 9-8-4441, e-mail: hara@math.kyushu-u.ac.jp Office hours: 1 4/11 web download. I. 1. ϵ-δ 1. 3.1, 3..
More information18 ( ) I II III A B C(100 ) 1, 2, 3, 5 I II A B (100 ) 1, 2, 3 I II A B (80 ) 6 8 I II III A B C(80 ) 1 n (1 + x) n (1) n C 1 + n C
8 ( ) 8 5 4 I II III A B C( ),,, 5 I II A B ( ),, I II A B (8 ) 6 8 I II III A B C(8 ) n ( + x) n () n C + n C + + n C n = 7 n () 7 9 C : y = x x A(, 6) () A C () C P AP Q () () () 4 A(,, ) B(,, ) C(,,
More informationVisual Studio2008 C# で JAN13 バーコードイメージを作成 xbase 言語をご利用の現場でバーコードの出力が必要なことが多々あります xbase 言語製品によっては 標準でバーコード描画機能が付加されているものもあるようで す C# では バーコードフォントを利用したりバー
Visual Studio2008 C# で JAN13 バーコードイメージを作成 xbase 言語をご利用の現場でバーコードの出力が必要なことが多々あります xbase 言語製品によっては 標準でバーコード描画機能が付加されているものもあるようで す C# では バーコードフォントを利用したりバーコード OCX や バーコード対応レ ポートツールが豊富にありますので それほど困ることは無いと思われます
More informationAppendix( ) {x(t), y(t) } の値を計算し そのグラフを描く ( for t=a to t=b ) この Program ( a.c ) は t をパラメーターとして X 軸に x = x(t) として Y 軸を y = y(t) として 最大 9 個の Graph
********************************************************************* 補足資料 ********************************************************************* 人工知能パートナーシステム (AIPS) を支える デジタル回路の世界 ( ISBN978-4-88359-339-2
More informationf (x) f (x) f (x) f (x) f (x) 2 f (x) f (x) f (x) f (x) 2 n f (x) n f (n) (x) dn f f (x) dx n dn dx n D n f (x) n C n C f (x) x = a 1 f (x) x = a x >
5.1 1. x = a f (x) a x h f (a + h) f (a) h (5.1) h 0 f (x) x = a f +(a) f (a + h) f (a) = lim h +0 h (5.2) x h h 0 f (a) f (a + h) f (a) f (a h) f (a) = lim = lim h 0 h h 0 h (5.3) f (x) x = a f (a) =
More informationuntitled
Visual Basic.NET 1 ... P.3 Visual Studio.NET... P.4 2-1 Visual Studio.NET... P.4 2-2... P.5 2-3... P.6 2-4 VS.NET(VB.NET)... P.9 2-5.NET... P.9 2-6 MSDN... P.11 Visual Basic.NET... P.12 3-1 Visual Basic.NET...
More informationII A A441 : October 02, 2014 Version : Kawahira, Tomoki TA (Kondo, Hirotaka )
II 214-1 : October 2, 214 Version : 1.1 Kawahira, Tomoki TA (Kondo, Hirotaka ) http://www.math.nagoya-u.ac.jp/~kawahira/courses/14w-biseki.html pdf 1 2 1 9 1 16 1 23 1 3 11 6 11 13 11 2 11 27 12 4 12 11
More information< F2D82518E9F8AD CC834F CC8CFC82AB82C68D4C>
2 次関数のグラフの向きと広がり [Java アプレット ] [Java アプリケーション ] 1. はじめに 2 2 y=ax のグラフについて x の係数 aが正のときと負のときでは グラフにどのような違いがあるでしょうか 2 2 y=ax のグラフについて x の係数 aが正のとき 係数 aの値が大きくなるにつれて グラフの広がりはどうなるでしょうか 2 2 y=ax のグラフについて x の係数
More informationx = a 1 f (a r, a + r) f(a) r a f f(a) 2 2. (a, b) 2 f (a, b) r f(a, b) r (a, b) f f(a, b)
2011 I 2 II III 17, 18, 19 7 7 1 2 2 2 1 2 1 1 1.1.............................. 2 1.2 : 1.................... 4 1.2.1 2............................... 5 1.3 : 2.................... 5 1.3.1 2.....................................
More information7310_J_Print.qxd
J 1 2 3 4 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 1 2 3 1 2 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 1 2 1 2 1 2 1 2 3 1 2 3 1 1 2 2 1 2 3 4 1 H P C 1 2 3 4 1 2 1 2 1 2 1 2 3 4 1
More informationOM_J_MFS2B_3.5B_body_CS_151023N.indd
1 2 13 14 25 26 3 15 27 4 5 16 17 28 6 18 7 8 19 20 9 21 10 11 22 23 12 24 1. 2. 5. 3. 4. !!! 1. 2. 1. 2. 1. !!!! 1. 2. 1. 1. 2. 3.! 1. 2. 3. !! !!!! 1. 2. 1. 2. 1. !!!!! 1. 1. 1.! 1. 2. 3. 1. 1. 2.!
More information1
1 3 2 5 4 7 6 8 9 11 10 12 13 14 15 16 17 19 18 20 21 23 22 25 24 27 26 29 28 31 30 33 32 35 34 37 36 39 38 40 41 43 42 45 44 46 47 49 48 51 50 52 53 55 54 57 56 59 58 60 61 63 62 64 65 67 66 68 69 70
More information2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
More information04.dvi
22 I 4-4 ( ) 4, [,b] 4 [,b] R, x =, x n = b, x i < x i+ n + = {x,,x n } [,b], = mx{ x i+ x i } 2 [,b] = {x,,x n }, ξ = {ξ,,ξ n }, x i ξ i x i, [,b] f: S,ξ (f) S,ξ (f) = n i= f(ξ i )(x i x i ) 3 [,b] f:,
More informationAppendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1) (2) ( ) BASIC BAS
Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1 (2 ( BASIC BASIC download TUTORIAL.PDF http://hp.vector.co.jp/authors/va008683/
More informationD xy D (x, y) z = f(x, y) f D (2 ) (x, y, z) f R z = 1 x 2 y 2 {(x, y); x 2 +y 2 1} x 2 +y 2 +z 2 = 1 1 z (x, y) R 2 z = x 2 y
5 5. 2 D xy D (x, y z = f(x, y f D (2 (x, y, z f R 2 5.. z = x 2 y 2 {(x, y; x 2 +y 2 } x 2 +y 2 +z 2 = z 5.2. (x, y R 2 z = x 2 y + 3 (2,,, (, 3,, 3 (,, 5.3 (. (3 ( (a, b, c A : (x, y, z P : (x, y, x
More information< F2D82518E9F8AD CC95BD8D7388DA93AE2E6A7464>
2 次関数のグラフの平行移動 [Java アプレット ] [Java アプリケーション ] 1. はじめに 2 2 y=ax のグラフとy=a(x-b) +c のグラフは 位置は違うけれど 形も広がりも全く同じです 2 2 y=a(x-b) +c のグラフは y=ax のグラフをx 軸方向に ( 右方向に ) +b y 軸方向に ( 上方向に ) +c だけ平行移動したものです 2 シミュレーションソフト
More informationCALCULUS II (Hiroshi SUZUKI ) f(x, y) A(a, b) 1. P (x, y) A(a, b) A(a, b) f(x, y) c f(x, y) A(a, b) c f(x, y) c f(x, y) c (x a, y b)
CALCULUS II (Hiroshi SUZUKI ) 16 1 1 1.1 1.1 f(x, y) A(a, b) 1. P (x, y) A(a, b) A(a, b) f(x, y) c f(x, y) A(a, b) c f(x, y) c f(x, y) c (x a, y b) lim f(x, y) = lim f(x, y) = lim f(x, y) = c. x a, y b
More informationv er.1/ c /(21)
12 -- 1 1 2009 1 17 1-1 1-2 1-3 1-4 2 2 2 1-5 1 1-6 1 1-7 1-1 1-2 1-3 1-4 1-5 1-6 1-7 c 2011 1/(21) 12 -- 1 -- 1 1--1 1--1--1 1 2009 1 n n α { n } α α { n } lim n = α, n α n n ε n > N n α < ε N {1, 1,
More informationuntitled
ST0001-1- -2- -3- -4- BorderStyle ControlBox, MinButton, MaxButton True False True False Top Left Height,Width Caption Icon True/False -5- Basic Command1 Click MsgBox " " Command1 Click Command1 Click
More informationcpp4.dvi
2017 c 4 C++ (4) C++, 41, 42, 1, 43,, 44 45, 41 (inheritance),, C++,, 100, 50, PCMCIA,,,,,,,,, 42 1 421 ( ), car 1 [List 41] 1: class car { 2: private: 3: std::string m model; // 4: std::string m maker;
More information211 kotaro@math.titech.ac.jp 1 R *1 n n R n *2 R n = {(x 1,..., x n ) x 1,..., x n R}. R R 2 R 3 R n R n R n D D R n *3 ) (x 1,..., x n ) f(x 1,..., x n ) f D *4 n 2 n = 1 ( ) 1 f D R n f : D R 1.1. (x,
More information7. y fx, z gy z gfx dz dx dz dy dy dx. g f a g bf a b fa 7., chain ule Ω, D R n, R m a Ω, f : Ω R m, g : D R l, fω D, b fa, f a g b g f a g f a g bf a
9 203 6 7 WWW http://www.math.meiji.ac.jp/~mk/lectue/tahensuu-203/ 2 8 8 7. 7 7. y fx, z gy z gfx dz dx dz dy dy dx. g f a g bf a b fa 7., chain ule Ω, D R n, R m a Ω, f : Ω R m, g : D R l, fω D, b fa,
More information課題
colormode(hsb,359,99,99); background(0,0,99); s = 99; x = mousex; y = mousey; nostroke(); while(s >= 0 && (0
More information, x R, f (x),, df dx : R R,, f : R R, f(x) ( ).,, f (a) d f dx (a), f (a) d3 f dx 3 (a),, f (n) (a) dn f dx n (a), f d f dx, f d3 f dx 3,, f (n) dn f
,,,,.,,,. R f : R R R a R, f(a + ) f(a) lim 0 (), df dx (a) f (a), f(x) x a, f (a), f(x) x a ( ). y f(a + ) y f(x) f(a+) f(a) f(a + ) f(a) f(a) x a 0 a a + x 0 a a + x y y f(x) 0 : 0, f(a+) f(a)., f(x)
More informationyy yy ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;;; ;;; ;;; ;;; ;;; ;;; ;;; ;;; ;;; ;;; ;;; ;;; ; ; ; ;; ;; ;; ;;; ;;; ;;; ;; ;; ;; ;; ;; ; ; ; ; ; ; ;
More informationx h = (b a)/n [x i, x i+1 ] = [a+i h, a+ (i + 1) h] A(x i ) A(x i ) = h 2 {f(x i) + f(x i+1 ) = h {f(a + i h) + f(a + (i + 1) h), (2) 2 a b n A(x i )
1 f(x) a b f(x)dx = n A(x i ) (1) ix [a, b] n i A(x i ) x i 1 f(x) [a, b] n h = (b a)/n y h = (b-a)/n y = f (x) h h a a+h a+2h a+(n-1)h b x 1: 1 x h = (b a)/n [x i, x i+1 ] = [a+i h, a+ (i + 1) h] A(x
More informationTOEIC
TOEIC 1 1 3 1.1.............................................. 3 1.2 C#........................................... 3 2 Visual Studio.NET Windows 5 2.1....................................... 5 2.2..........................................
More informationxyr x y r x y r u u
xyr x y r x y r u u y a b u a b a b c d e f g u a b c d e g u u e e f yx a b a b a b c a b c a b a b c a b a b c a b c a b c a u xy a b u a b c d a b c d u ar ar a xy u a b c a b c a b p a b a b c a
More information6. Euler x
...............................................................................3......................................... 4.4................................... 5.5......................................
More informationII R n k +1 v 0,, v k k v 1 v 0,, v k v v 0,, v k R n 1 a 0,, a k a 0 v 0 + a k v k v 0 v k k k v 0,, v k σ k σ dimσ = k 1.3. k
II 231017 1 1.1. R n k +1 v 0,, v k k v 1 v 0,, v k v 0 1.2. v 0,, v k R n 1 a 0,, a k a 0 v 0 + a k v k v 0 v k k k v 0,, v k σ kσ dimσ = k 1.3. k σ {v 0,...,v k } {v i0,...,v il } l σ τ < τ τ σ 1.4.
More informationPowerPoint プレゼンテーション
200831012 200810-12 200810-12 200710-12 669 749 700 7.0 % 70 116 99 16.5 % 599 633 600 5.4 % 331 331 312 6.0 % 328 328 308 6.5 % 191 191 171 11.4 % EPS 322 322 283 13.6 % 5,928 5,928 6,048-2.0 % EPS
More informationAkito Tsuboi June 22, T ϕ T M M ϕ M M ϕ T ϕ 2 Definition 1 X, Y, Z,... 1
Akito Tsuboi June 22, 2006 1 T ϕ T M M ϕ M M ϕ T ϕ 2 Definition 1 X, Y, Z,... 1 1. X, Y, Z,... 2. A, B (A), (A) (B), (A) (B), (A) (B) Exercise 2 1. (X) (Y ) 2. ((X) (Y )) (Z) 3. (((X) (Y )) (Z)) Exercise
More informationC による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 新装版 1 刷発行時のものです.
C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/009383 このサンプルページの内容は, 新装版 1 刷発行時のものです. i 2 22 2 13 ( ) 2 (1) ANSI (2) 2 (3) Web http://www.morikita.co.jp/books/mid/009383
More informationパターン化されたロジックのコンポーネント化
UI C++Builder SEAXER 2 CAD BASIC CISC/RISC C++ Perl Java 3 PM 4 T^T) 5 UNIX 6 7 8 true/false SetLastError(); throw() BOOL abort 9 UML PM OOPS esign attern C/C++ 10 Don t Repeat Yourself 11 Windows3.1 12
More informationA, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3,
40 2 1. 2 2. 52 3. A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2 4. 13 5. 6. 7. 8. 9. 13 10. 11. 12. 1 VC++ VC++ Visual C++ Professional 2010 Visual C++ 2010 express Windows whist 2 OK] 3 Form1 size 800, 500
More information課題
2018 6 22 2. float[] y = new float[5]; void setup() { size(400, 200); for (int i=0;i< (a) ;i++) { y[i] = random(0.3*width, width); void draw() { y[ (b) ] = mousex; int minpos = findminpos( (c) ); for (int
More informationuntitled
20 7 1 22 7 1 1 2 3 7 8 9 10 11 13 14 15 17 18 19 21 22 - 1 - - 2 - - 3 - - 4 - 50 200 50 200-5 - 50 200 50 200 50 200 - 6 - - 7 - () - 8 - (XY) - 9 - 112-10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 -
More informationuntitled
19 1 19 19 3 8 1 19 1 61 2 479 1965 64 1237 148 1272 58 183 X 1 X 2 12 2 15 A B 5 18 B 29 X 1 12 10 31 A 1 58 Y B 14 1 25 3 31 1 5 5 15 Y B 1 232 Y B 1 4235 14 11 8 5350 2409 X 1 15 10 10 B Y Y 2 X 1 X
More information6 29 ( )1 6 15 1 mousepressed mouseclicked mousemoved mousedragged mousereleased mousewheel keypressed keyreleased keytyped Shift OK Shift mousewheel void mousewheel(mouseevent event) { void keytyped()
More informationDeveloper Camp
1B Delphi/C++ チュートリアルセッション C++Builder 5/6 ユーザと初心者のための C++Builder2010 入門 株式会社日本情報システム 筑木真志 アジェンダ C++Builder についての簡単なおさらい C++Builder 2010 で簡易 CSV ビュワーを作る C++Builder 5/6 から C++Builder 2010 への移行ポイント 2 C++Builder
More informationPowerPoint プレゼンテーション
1 02 グラフゖックで簡単な図形を描く図形描画プログラム 1 今回作成するゕプリケーションの概要 ボタンをクリックすると図形を描くプログラム 行われる動作 [1] ボタンをクリック [2] そのボタンに対する図形を描く これを使用者とコンピュータの関係で描くと [ 使用者 コンピュータ ] ボタンをクリック [ 使用者 コンピュータ ] 図形を描画して見せる 使用者がコンピュータにすること ボタンをクリック
More informationf : R R f(x, y) = x + y axy f = 0, x + y axy = 0 y 直線 x+y+a=0 に漸近し 原点で交叉する美しい形をしている x +y axy=0 X+Y+a=0 o x t x = at 1 + t, y = at (a > 0) 1 + t f(x, y
017 8 10 f : R R f(x) = x n + x n 1 + 1, f(x) = sin 1, log x x n m :f : R n R m z = f(x, y) R R R R, R R R n R m R n R m R n R m f : R R f (x) = lim h 0 f(x + h) f(x) h f : R n R m m n M Jacobi( ) m n
More information上達Java解答.doc
//[1] (1) package kihonproj; import java.awt.*; import java.awt.event.*; import java.applet.*; import javax.swing.*; public class Sikakumenseki extends JApplet { // public void paint(graphics g){ int tate
More informationcsv csv
2009 1 9 2 1. 1 2. 2 2.1......................................... 2 2.2 csv.................................... 3 2.3 csv.................................. 3 3. 4 3.1.........................................
More informationB 90 Canvas.Pen.Width := PenWidth; NewData; (* FormCreate (*********************** ******************* procedure TFormSorting.DrawOne(No : TDat
B 89 14 14.1 14.1.1 SortingU SortingP 14.1.2 Form Name FormSorting Caption Position podesktopcenter 14.1.3 14.1.4 const NoMax = 400; DataMax = 600; PenWidth = 2; type TDataNo = 0..NoMax; TData = array
More information1. A0 A B A0 A : A1,...,A5 B : B1,...,B12 2. 5 3. 4. 5. A0 (1) A, B A B f K K A ϕ 1, ϕ 2 f ϕ 1 = f ϕ 2 ϕ 1 = ϕ 2 (2) N A 1, A 2, A 3,... N A n X N n X N, A n N n=1 1 A1 d (d 2) A (, k A k = O), A O. f
More informationスライド 1
数値解析 平成 24 年度前期第 13 週 [7 月 11 日 ] 静岡大学創造科学技術大学院情報科学専攻工学部機械工学科計測情報講座 三浦憲二郎 講義アウトライン [7 月 11 日 ] 関数近似と補間 最小 2 乗近似による関数近似 ラグランジュ補間 形状処理工学の基礎 点列からの曲線の生成 T.Kanai, U.Tokyo 関数近似 p.116 複雑な関数を簡単な関数で近似する関数近似 閉区間
More informationサービス付き高齢者向け住宅賠償責任保険.indd
1 2 1 CASE 1 1 2 CASE 2 CASE 3 CASE 4 3 CASE 5 4 3 4 5 6 2 CASE 1 CASE 2 CASE 3 7 8 3 9 10 CASE 1 CASE 2 CASE 3 CASE 4 11 12 13 14 1 1 2 FAX:03-3375-8470 2 3 3 4 4 3 15 16 FAX:03-3375-8470 1 2 0570-022808
More informationII
II 16 16.0 2 1 15 x α 16 x n 1 17 (x α) 2 16.1 16.1.1 2 x P (x) P (x) = 3x 3 4x + 4 369 Q(x) = x 4 ax + b ( ) 1 P (x) x Q(x) x P (x) x P (x) x = a P (a) P (x) = x 3 7x + 4 P (2) = 2 3 7 2 + 4 = 8 14 +
More informationスライド 1
数値解析 平成 29 年度前期第 14 週 [7 月 10 日 ] 静岡大学工学研究科機械工学専攻ロボット 計測情報分野創造科学技術大学院情報科学専攻 三浦憲二郎 期末試験 7 月 31 日 ( 月 ) 9 10 時限 A : 佐鳴会議室 B : 佐鳴ホール 講義アウトライン [7 月 10 日 ] 関数近似と補間 最小 2 乗近似による関数近似 ( 復習 ) ラグランジュ補間 形状処理工学の基礎
More informationアプリケーション
アプリケーション開発 お絵かきソフト 目次 お絵かきソフトを作ってみよう... 3 絵を書く枠と場所表示を作る... 3 マウスの動きを見てみよう... 4 絵を書く準備をします... 5 絵を書くとはどういうことか... 5 では線画を描いてみよう... 6 マウスをドラッグしたときだけ線を引くように改造する... 8 お絵かきソフトを作ってみよう 今回は お絵かきソフトを作ってみましょう マウスを動かして線画を書いてみましょう
More information1 28 6 12 7 1 7.1...................................... 2 7.1.1............................... 2 7.1.2........................... 2 7.2...................................... 3 7.3...................................
More informationCodeGear Developer Camp
T2 Delphi チュートリアルセッション Delphiはじめて奮戦記 で学ぶ Delphiチュートリアル 株式会社フルネスコーチング事業部マネージャー田原孝 1 アジェンダ 株式会社フルネスについて Delphiプログラミングの基本 演習 : 計算機のテンキーを作る 演習 : 計算機の四則演算ボタンを作る 練習問題 まとめ 2 株式会社フルネスについて 事業内容 ハンズオン教育サービス コーチングサービス
More informationDVIOUT-講
005-10-14 1 1 [1] [] [3] [4] (a + b) = a +ab + b [5] (a + b) 3 a 3 +a b + ab + a b +ab + b 3 a 3 +3a b +3ab + b 3 [6] (a + b) 4 (a + b) 5 [7] technology expand((a+b) n n =?) [8] technology n =6, 7, 8,
More informationadd1 2 β β - conversion (λx.x + 1(2 β x + 1 x λ f(x, y = 2 x + y 2 λ(x, y.2 x + y 1 λy.2 x + y λx.(λy.2 x + y x λy.2 x + y EXAMPLE (λ(x, y.2
output: 2011,11,10 2.1 λ λ β λ λ - abstraction λ λ - binding 1 add1 + add1(x = x + 1 add1 λx.x + 1 x + 1 add1 function application 2 add1 add1(2 g.yamadatakahiro@gmail.com 1 add1 2 β β - conversion (λx.x
More informationJava学習教材
Java 2016/4/17 Java 1 Java1 : 280 : (2010/1/29) ISBN-10: 4798120987 ISBN-13: 978-4798120980 2010/1/29 1 Java 1 Java Java Java class FirstExample { public static void main(string[] args) { System.out.println("
More information2変量データの共分散・相関係数・回帰分析
2, 1, Excel 2, Excel http://hig3.net ( ) L04 2 I(2017) 1 / 24 2 I L04(2017-10-11 Wed) : Time-stamp: 2017-10-10 Tue 23:02 JST hig L03-Q1 L03-Q2 Quiz : 1.6m, 0.0025m 2, 0.05m. L03-Q3 Quiz : Sx 2 = 4, S x
More informationTheme:譲渡担保
070805TOKYO TOKYOYOKOHAMAOSAKAKYOTONAGOYAFUKUOKA 1 CASE 1 2 3 CASE MEMO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
More informationI, II 1, A = A 4 : 6 = max{ A, } A A 10 10%
1 2006.4.17. A 3-312 tel: 092-726-4774, e-mail: hara@math.kyushu-u.ac.jp, http://www.math.kyushu-u.ac.jp/ hara/lectures/lectures-j.html Office hours: B A I ɛ-δ ɛ-δ 1. 2. A 1. 1. 2. 3. 4. 5. 2. ɛ-δ 1. ɛ-n
More information