[[2016a/Member]] *Ìܼ¡ [#hb354c67] #contents *¤Ï¤¸¤á¤Ë [#w2f5d6e3] ¡¡¡¡º£²ó¤Î²ÝÂê¤Ï¡¢A4¤Î»æ¤Ë¥á¥ó¥Ð¡¼¤Î»÷´é³¨¤òÉÁ¤¯¥í¥Ü¥Ã¥È¤ÎÀ©ºî¤Ç¤¹¡£ ¡¡¤³¤Î²ÝÂê¤Î¥Ý¥¤¥ó¥È¤Ï¡¢ ¡¡¡¤É¤Î¤è¤¦¤Ë¥Ú¥ó¤ò¥í¥Ü¥Ã¥È¤Ë»ý¤¿¤»¤ë¤« ¡¡¢¶Ê¤¬¤ë¤È¤¤É¤Î¤è¤¦¤Êư¤¤ò¤µ¤»¤ë¤« ¡¡¤ÎÆóÅÀ¤È¹Í¤¨¤Þ¤·¤¿¡£ *¥í¥Ü¥Ã¥ÈËÜÂΤξҲð [#j5326a9b] £±¡¥Á´ÂÎÁü ¡¡¡¡¥Ú¥ó¤Î½Å¤ß¤Ç¥¢¡¼¥à(¥Ú¥ó¤ò¤Ä¤±¤Æ¤¤¤ëËÜÂÎÁ°Êý¤ÎÉôʬ)¤ò¾å¤²¤¿¾õÂÖ¤òÊÝ»ý¤¹¤ë¤³¤È¤¬¤Ç¤¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢ ¡¡¡¡Î¾ÏƤˤª¤â¤ê(±©¤Ê¤É¤¬¤Ä¤¤¤Æ¤¤¤ëÉôʬ)¤ò¤Ä¤±¤Æ¾å¤²¤¿¾õÂÖ¤ò°Ý»ý¤Ç¤¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£ #ref(2016a/Member/kotatu/Mission1/S_4434660918150.jpg,20%,Á´ÂÎÁü) £²¡¥¥Ú¥ó¤Î¾å¤²²¼¤² ¡¡¡¡°ìËçÌܤϥ⡼¥¿¡¼¤È¤ÎÀܳÉôʬ¤Î¼Ì¿¿¤Ç¤¹¡£¥â¡¼¥¿¡¼¤¬²óž¤¹¤ë¤ÈÆâ¦¤ÎL»ú·¿¤Î¥Ñ¡¼¥Ä¤¬°ú¤ÃÄ¥¤é¤ì¡¢¾å²¼¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¡¡¡¡ÆóËçÌܤϥ¢¡¼¥à¤¬¾å¤¬¤Ã¤Æ¤¤¤ë¾õÂ֤Ǥ¹¡£ #ref(2016a/Member/kotatu/Mission1/S_4434660854345.jpg,20%,¥Ú¥ó¾å¤²²¼¤²£±) #ref(2016a/Member/kotatu/Mission1/S_4434661245933.jpg,20%,¥Ú¥ó¾å¤²²¼¤²£²) £³¡¥¥Ú¥ó¤Î¸ÇÄê ¡¡¡¡¥Ú¥ó¤Î¸ÇÄê¤Ï¼Ì¿¿¤Î¤è¤¦¤Ëº¸±¦¤ò¥Ñ¡¼¥Ä¤ò»È¤Ã¤Æ¶´¤ß¹þ¤à·Á¤Ç¸ÇÄꤵ¤»¤Þ¤·¤¿¡£ ¡¡¡¡¤Þ¤¿¡¢ÎØ¥´¥à¤ò»È¤¤¾å²¼¤Î¤Ö¤ì¤â¾¯¤Ê¤¯¤·¤Æ¤¤¤Þ¤¹¡£ #ref(2016a/Member/kotatu/Mission1/S_4434660963699.jpg,20%,¸ÇÄêÉôʬ) *¥×¥í¥°¥é¥à¤Î¾Ò²ð [#gff43b26] ¡¡¡ûÄêµÁʸ ¡¡¡¡ÄêµÁʸ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ ¡¡¡¡²óžͽÈ÷ưºî1¡¤2¤Ï¡¢³ÑÅÙ¤òÊѤ¨¤ë¤È¤¤ÎÄ´À°ÍÑ¤ÎÆ°ºî¤Ç¤¹¡£ ¡¡¡¡Àþ¤Î³ÑÅÙ¤òÊѤ¨¤ë¤È¤¤Ë¤½¤Î¾ì¤Ç²óž¤·¤Æ¤·¤Þ¤¦¤È½ñ¤¤¤¿ÀþƱ»Î¤¬¤Ä¤Ê¤¬¤é¤Ê¤¤¤¿¤á¡¢ ¡¡¡¡²óžͽÈ÷ưºî1¡ÊÁ°¿Ê¡Ë¢ª²óž¢ª²óžͽÈ÷ưºî2¡Ê¸åÂà¡Ë ¡¡¡¡¤È¤¤¤¦Î®¤ì¤Çư¤«¤µ¤»¤Æ¥Ú¥óÀè¤òƱ¤¸¾ì½ê¤Ë¹ç¤¦¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£ #define go_forward(t) OnFwd(OUT_AC);Wait(t);Off(OUT_AC);\\Á°¿Ê #define turn_step1 OnFwd(OUT_AC);Wait(85);Off(OUT_AC); \\²óžͽÈ÷ưºî1(Á°¿Ê) #define turn_step2 OnRev(OUT_AC);Wait(85);Off(OUT_AC); \\²óžͽÈ÷ưºî2(¸åÂà) #define pen_down OnFwd(OUT_B);Wait(50);Off(OUT_B); \\¥Ú¥ó¤ò²¼¤²¤ë #define pen_up OnRev(OUT_B);Wait(50);Off(OUT_B); \\¥Ú¥ó¤ò¾å¤²¤ë #define TURN_TIME15 12 \\30¡ë¶Ê¤¬¤ë¤È¤¤Î²óž»þ´Ö #define TURN_TIME45 37 \\45¡ë¶Ê¤¬¤ë¤È¤¤Î²óž»þ´Ö #define TURN_TIME60 49 \\60¡ë¶Ê¤¬¤ë¤È¤¤Î²óž»þ´Ö #define TURN_TIME90 74 \\90¡ë¶Ê¤¬¤ë¤È¤¤Î²óž»þ´Ö ¡¡¡û¥µ¥Ö¥ë¡¼¥Á¥ó ¡¡¡¡¡¡¤Ï¤¸¤á¤Ï¡¢²óž»þ´Ö¤òÊÑ¿ô¤Ë¤·¤Æ¤½¤ì¤¾¤ì¤Î¥Ý¥¤¥ó¥È¤´¤È¤Ë³ÑÅÙ¤ò¤Ï¤«¤êÄ´Àᤷ¤Æ¤¤¤¯ÊýË¡¤Ç¿Ê¤á¤Æ¤¤¤Þ¤·¤¿¤¬¡¢ ¡¡¡¡²óž¤¹¤ëÅ٤ˤº¤ì¤¬À¸¤¸¤Æ¤·¤Þ¤Ã¤¿¤¿¤á¡¢¶Ê¤¬¤ë³ÑÅÙ¤ò¤½¤ì¤¾¤ì15ÅÙ¡¢45ÅÙ¡¢60ÅÙ¡¢90ÅÙ¤Î4¤Ä¤Ë¹Ê¤ê¥µ¥Ö¥ë¡¼¥Á¥ó²½¤¹¤ë¤³¤È¤Ç¡¢¤º¤ì¤ò¸º¤é¤½¤¦¤È¹Í¤¨¤Þ¤·¤¿¡£ ¡¡¡¡¤Û¤ÜƱ¤¸¤Ê¤Î¤Ç¤³¤³¤Ç¤Ï¾Êά¤·¤Þ¤¹¤¬¡¢º¸²óž(turn_left¡û¡û)¤â¥µ¥Ö¥ë¡¼¥Á¥ó¤È¤·¤ÆºîÀ®¤·¤Æ¤¤¤Þ¤¹¡£ sub turn_right15() \\15ÅÙ±¦²óž { pen_up; \\¥Ú¥ó¤ò¾å¤²¤ë turn_step1; \\Á°¿Ê¤¹¤ë OnFwd(OUT_A); \\²óž¤¹¤ë OnRev(OUT_C); Wait(TURN_TIME15); turn_step2; \\¸åÂह¤ë pen_down; \\¥Ú¥ó¤ò²¼¤í¤¹ } sub turn_right45() \\45ÅÙ±¦²óž { pen_up; turn_step1; OnFwd(OUT_A); OnRev(OUT_C); Wait(TURN_TIME45); turn_step2; pen_down; } sub turn_right60() \\60ÅÙ±¦²óž { pen_up; turn_step1; OnFwd(OUT_A); OnRev(OUT_C); Wait(TURN_TIME60); turn_step2; pen_down; } sub turn_right90() \\90ÅÙ±¦²óž { pen_up; turn_step1; OnFwd(OUT_A); OnRev(OUT_C); Wait(TURN_TIME90); turn_step2; pen_down; } ¡¡¡û»÷´é³¨ ¡¡¡¡È¿¾ÊÅÀ¤È´¶ÁۤΤȤ³¤í¤Ç¾Ü¤·¤¯½Ò¤Ù¤Þ¤¹¤¬¤ËÀþ¤Î¤Ä¤Ê¤®¤¬¤¦¤Þ¤¯¤¤¤«¤Ê¤«¤Ã¤¿¤¿¤á¡¢»÷´é³¨¤Ï´°À®¤·¤Þ¤»¤ó¤Ç¤·¤¿¡£ ¡¡¡¡¤½¤Î¤¿¤á´°À®Í½Äê¿Þ(²¼½ñ¤)¤òºÜ¤»¤Æ¤ª¤¤Þ¤¹¡£ #ref(2016a/Member/kotatu/Mission1/,20%,²¼½ñ¤) #ref(2016a/Member/kotatu/Mission1/S_4437933034564.jpg,20%,²¼½ñ¤) ¡¡¡´é¤ÎÎØ³Ô¤Èȱ·¿ ¡¡¡¡È±·¿¤ÎÉôʬ¤Ç90Åٰʾå¶Ê¤¬¤ë¤È¤¤Ï¡¢90Åٶʤ¬¤Ã¤¿¸å¤ËºÆÅÙ60Åٶʤ¬¤ë¤Ê¤É¡¢Æó¤Ä°Ê¾åÁȤ߹ç¤ï¤»¤Æ¶Ê¤¬¤é¤»¤Æ¤¤¤Þ¤¹¡£ task main() { go_forward(60); turn_left15(); go_forward(51); turn_left60(); go_forward(35); turn_left15(); go_forward(14); turn_left15(); go_forward(35); turn_left60(); go_forward(51); turn_left15(); go_forward(60); turn_left90(); go_forward(115); turn_right60(); go_forward(42); turn_right90(); turn_right60(); go_forward(59); turn_left90(); turn_left45(); go_forward(32); turn_right90(); turn_right45(); go_forward(48); turn_left90(); turn_left45(); go_forward(28); turn_right90(); turn_right60(); go_forward(76); ¡¡¢°Üư¤ÈÈýÌÓ ¡¡¡¡pen_up¤ÏÀþ¤ò½ñ¤«¤º¤Ë°Üư¤¹¤ëÉôʬ¤Ç»È¤Ã¤Æ¤¤¤Þ¤¹¡£ turn_right90(); pen_up; go_forward(26); turn_right45(); go_forward(34); turn_right15(); pen_up; go_forward(14); turn_right15(); go_forward(34); turn_left15(); pen_up; go_forward(12); turn_left90(); pen_up; go_forward(28); turn_left90(); ¡¡£´ã¶À ¡¡¡¡repeat¤ò»È¤¤¡¢Æ±¤¸Æ°ºî¤ò»Í²ó(ÅÓÃæ¸þ¤¤ÎÊѹ¹Í¤ê)¤µ¤»¤ë¤³¤È¤Ç´ã¶À¤ò½ñ¤¤Þ¤·¤¿¡£ ¡¡¡¡repeat¤ÎÁ°¸å¤ÎÁ°¿Ê¤ÏÄ´Àá¤Ç¤¹¡£ go_forward(7); repeat(2){ go_forward(8); turn_left90(); go_forward(7); turn_right90(); go_forward(34); turn_right90(); go_forward(7); turn_left90(); go_forward(8); } go_forward(7); repeat(2){ turn_right90(); } go_forward(7); repeat(2){ go_forward(8); turn_left90(); go_forward(7); turn_right90(); go_forward(34); turn_right90(); go_forward(7); turn_left90(); go_forward(8); } go_forward(7); ¡¡¤É¡¤È¸ý turn_left90(); pen_up; go_forward(22); turn_left90(); pen_up; go_forward(54); turn_right90(); go_forward(10); turn_right90(); pen_up; go_forward(17); turn_left90(); pen_up; go_forward(15); turn_left90(); go_forward(34); turn_right90(); pen_up; go_forward(7); turn_right90(); pen_up; go_forward(8); pen_down; go_forward(17); Off(OUT_AC); } *È¿¾ÊÅÀ¤È´¶ÁÛ [#k6883236] ¡¡<È¿¾ÊÅÀ> ¡¡ºÇ½ªÅª¤Ë»÷´é³¨¤ò´°À®¤µ¤»¤ë¤³¤È¤¬½ÐÍè¤Þ¤»¤ó¤Ç¤·¤¿¡£¸¶°ø¤Ï¥Ú¥ó¤Î¸ÇÄê¤ÎÉôʬ¤Ç¡¢¥Ú¥ó¤ËÂФ·¤Æ¤Î¾å²¼º¸±¦¤Î¸ÇÄê¤Ï¤Ç¤¤Æ¤¤¤Þ¤·¤¿¤¬¿Ê¹ÔÊý¸þ¤ËÂФ·¤Æ¤Î¸ÇÄ꤬¤Ç¤¤Æ¤ª¤é¤º¡¢ ¡¡¥Ú¥óÀ褬Ë໤¤Çα¤Þ¤í¤¦¤È¤·¤Æ»æ¤Ë°ú¤Ã¤«¤«¤ê¡¢¤½¤ì¤¬Ìá¤í¤¦¤È¤¹¤ëÎϤ¬È¯À¸¤·¡¢Àþ¤¬¶Ê¤¬¤Ã¤Æ¤·¤Þ¤¦¤³¤È¤Ç¤·¤¿¡£ ¡¡<´¶ÁÛ> ¡¡»÷´é³¨¤ò´°À®¤µ¤»¤ë¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¤Ç¤·¤¿¤¬¡¢Èɰ÷¤È¶¨ÎϤ·¤Ê¤¬¤é°ì¤Ä°ì¤ÄÌäÂêÅÀ¤ò²ò·è¤·¤Æ¤¤¤¡¢²þÎɤ·¤Æ¤¤¤±¤¿¤Î¤Ç¤½¤ÎÅÀ¤ÏÎɤ«¤Ã¤¿¤È»×¤¤¤Þ¤¹¡£ ÆÃ¤Ë¥×¥í¥°¥é¥à¤ÏÅÓÃæ¤ÇÄêµÁ¤«¤é¸«Ä¾¤·¤Æ°ì¤«¤é½ñ¤Ä¾¤·¤¿¤³¤È¤â¤¢¤ê¡¢»þ´Ö¤Ï¤«¤«¤ê¤Þ¤·¤¿¤¬¼«Ê¬¤¿¤Á¤¬ºÇ½é¤Ë½ñ¤¤¤¿¤â¤Î¤è¤ê¤â¤«¤Ê¤ê¤¹¤Ã¤¤ê¤È¤·¤¿¤â¤Î¤Ë¤Ç¤¤¿¤Î¤ÇÎɤ«¤Ã¤¿¤Ç¤¹¡£