HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2010
0203
¤¢¤ì¤óϢΩÊýÄø¼°°ÕÌ£¤¬¤ï¤«¤é¤Ê¤¤¡¦¡¦¡¦¡¦2²ò·è


¤¢¤ì¤ó

¥ê¥ó¥¯

2010/2/3(Wed) 23:32:30|NO.30375

ϢΩÊýÄø¼°¤ò¤È¤¤¤Æ¤¤¤ë¤è¤¦¤Ê¤ó¤Ç¤¹¤¬¡¢¤è¤¯¤¤¤ß¤¬¤ï¤«¤ê¤Þ¤»¤ó¡£
¤ï¤«¤ê¤ä¤¹¤¯ÀâÌÀ¤·¤Æ¤¯¤ì¤ëÊý¤ª¤Í¤¬¤¤¤·¤Þ¤¹¡£

("Æó¤Ä¤Î¼°¤òÁ´Éôº¸Êդ˰ܹԤ·¤ÆÀ°Íý¤·¤Ê¤µ¤¤¡ÊaX+bY+c=0¡Ë¤Î·Á")
A = Input("°ì¤ÄÌܤμ°¤ÎX¤Î·¸¿ô¤Ï¡©")
B = Input("°ì¤ÄÌܤμ°¤ÎY¤Î·¸¿ô¤Ï¡©")
C = Input("°ì¤ÄÌܤμ°¤ÎÄê¿ô¤Ï¡©")
X = Input("Æó¤ÄÌܤμ°¤ÎX¤Î·¸¿ô¤Ï¡©")
Y = Input("Æó¤ÄÌܤμ°¤ÎY¤Î·¸¿ô¤Ï¡©")
Z = Input("Æó¤ÄÌܤμ°¤ÎÄê¿ô¤Ï¡©")
wai = ((A * Z / X) - C) / (B - (A * Y / X))
ekkusu = -wai * B / A - C / A



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


GENKI

¥ê¥ó¥¯

2010/2/4(Thu) 00:28:16|NO.30378

¡ÖϢΩÊýÄø¼°¡×¥°¥°¤ì¤Ð¤¤¤¯¤é¤Ç¤â²òÀ⤬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢»ä¤¬¤³¤³¤ÇÃúÇ«¤Ë¤ï¤«¤ê¤ä¤¹¤¯²òÀ⤹¤ë¤è¤ê¤â¤½¤Á¤é¤ò¸«¤¿¤Û¤¦¤¬¤ï¤«¤ê¤ä¤¹¤¤¤Ç¤·¤ç¤¦¡£
¤Ê¤Î¤Ç²ò¤¯¼ê½ç¤Î¤ßµ­ºÜ¤·¤Þ¤¹¡£

> X = Input("Æó¤ÄÌܤμ°¤ÎX¤Î·¸¿ô¤Ï¡©")
> Y = Input("Æó¤ÄÌܤμ°¤ÎY¤Î·¸¿ô¤Ï¡©")
> Z = Input("Æó¤ÄÌܤμ°¤ÎÄê¿ô¤Ï¡©")

¤È¤¯¤È¤­¤Ëº®Íð¤ò¾·¤¯¤Î¤Ç¡¢
X¢ªD
Y¢ªE
Z¢ªF
¤È¤·¤Þ¤·¤¿¡£¤´Î»¾µ¤¯¤À¤µ¤¤¡£
¥¹¥¯¥ê¥×¥È²½¤¹¤ëºÝ¤â¡¢Æ±ÍͤËXYZ¤ò»È¤ï¤Ê¤¤¤Û¤¦¤¬º®Í𤬾¯¤Ê¤¯¤Æ¤¤¤¤¤È»×¤¤¤Þ¤¹¡£


> ("Æó¤Ä¤Î¼°¤òÁ´Éôº¸Êդ˰ܹԤ·¤ÆÀ°Íý¤·¤Ê¤µ¤¤¡ÊaX+bY+c=0¡Ë¤Î·Á")

°Ê²¼¤Î£²¤Ä¤Î¼°¤¬¤¢¤ë¤â¤Î¤È¤·¤Þ¤¹¡£
¡¦AX + BY + C = 0¡¡¡¡¡Ä­¡
¡¦DX + EY + F = 0¡¡¡¡¡Ä­¢
­¡¡¢­¢¼°¤«¤é̤ÃοôX,Y¤òµá¤á¤ë¡£¾°A¡ÁF¤Ï´ûÃΤÎÃͤǤ¢¤ë¡£

­¢¼°¤è¤ê
DX = -EY -F
X = (-EY-F)/D
¤³¤ì¤ò­¡¤ËÂåÆþ¤¹¤ë¡£
A(-EY-F)/D + BY + C = 0
-AEY/D -AF/D + BY + C = 0
(-AE/D + B) / Y = AF/D - C
Y = (AF/D - C) / (-AE/D + B)
Y = (AF/D - C) / (B - AE/D)¡¡¡¡¡Ä­£
¤³¤ì¤ÇY¤ÎÃͤ¬µá¤á¤é¤ì¤ë¡£

­¡¼°¤òÊÑ·Á¤¹¤ë¡£
AX + BY + C = 0
AX = -BY - C
X = (-BY - C) / A
X = -BY/A - C/A
¤³¤ì¤Ë­£¼°¤òÂåÆþ¤¹¤ë¤ÈX¤¬µá¤á¤é¤ì¤ë¡£

°Ê¾å¡£
ÉáÄ̤μê½ç¡£ºÇ¸å¤ÏÄ󼨤µ¤ì¤¿¥µ¥ó¥×¥ë¤Ë¼°¤Î·Á¤ò¹ç¤ï¤»¤Æ¤ª¤­¤Þ¤·¤¿¡£


¤È¤³¤³¤Þ¤Ç¤ä¤Ã¤Æ¤ß¤Æ²æ¤ËÊ֤俤ΤǤ¹¤¬¡¢¤É¤¦¸«¤Æ¤âHSP´ØÏ¢¤Î¼ÁÌä¤Ç¤Ï¤Ê¤¤¤Ç¤Ï¤Ê¤¤¤Ç¤¹¤«¡£
¤³¤³¤Î·Ç¼¨ÈĤα¿Íѥ롼¥ë¤Ç¤Ï¡¢HSP¤Ë´Ø·¸¤·¤Ê¤¤ÏÃÂê¤Ï¼è¤ê°·¤ï¤Ê¤¤¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¤³¤ó¤Ê¥ì¥¹¤¹¤ë»ä¤â¿Í¤Î¤³¤È¤¤¤¨¤Ê¤¤¤Ç¤¹¤Í¡Ä¡£

¤È¤¤¤¦¤³¤È¤Ç¡¢¤³¤ì°Ê¾å¤Î¿ô³ØŪ¤Ê²òÀâ¿ô³Ø·Ï²òÀ⥵¥¤¥È¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
¥¹¥¯¥ê¥×¥È¤Ë´Ø¤¹¤ë¼ÁÌä¤Ï¡¢°ú¤­Â³¤­¤³¤Î¥¹¥ì¥Ã¥É¤ò¤´ÍøÍѤ¯¤À¤µ¤¤¡£



¤¢¤ì¤ó

¥ê¥ó¥¯

2010/2/4(Thu) 18:00:52|NO.30409

²òÀ⤢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£¡£

¾ì°ã¤¤¤Ç¤¹¤Í¡¢µ¤¤ò¤Ä¤±¤Þ¤¹



ONION software Copyright 1997-2023(c) All rights reserved.