ç§å±±ã§ãã Pythonã¯Numpyã¨ãSympyã¨ããæ°å¤è¨ç®ãå¾æãªã©ã¤ãã©ãªãå å®ãã¦ãã¾ãããã¡ããä¸å¦ã»é«æ ¡ã®æ°å¦ã§ç¿ãã¬ãã«ã®è¨ç®ãããã«ã§ãã¡ããã¾ãã ã¨ããããã§ä»åã¯Pythonã§ããã°ã©ãã³ã°ããã¦ãä¸å¦ã»é«æ ¡ã§ç¿ãæ°å¦ã®åé¡ã解ãã¦ã¿ã¾ããã Pythonã使ããããã«ãªãã°ãä¸å¦ã»é«æ ¡ã¬ãã«ã®æ°å¦ã§ã¯å°ããã«æ¸ãããããããªãã â ä¸å¦2å¹´çã¬ãã« âé£ç«æ¹ç¨å¼ âåé¡ x + y = 3 x + 3y = 13 ã®ã¨ããxã¨yãæ±ããã Numpyã使ã£ã¦ãé£ç«æ¹ç¨å¼ãè¡åè¨ç®ã§è§£ãã¦ã¿ã¾ããã â ä¸å¦3å¹´çã¬ãã« â2次æ¹ç¨å¼ âåé¡ x^2 - 10x + 24 = 0 ã®ã¨ããxãæ±ããã æã®ææ¥ã§ã¯ (x - 4)(x - 6) = 0 x = 4 , 6 ãã®ãããªè§£æ³ãç¿ã£ãã¨æãã¾ãã ãã®åé¡ã¯ãNumpyã®Polynomialã使ã£ã¦å¼ãä½ã
{{#tags}}- {{label}}
{{/tags}}