ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

½Ð±Ð¤@­Ó¥Õ·ö°ÝÃD¨D¦h¶µ¦¡¨t¼Æ ¹Bºâ

½Ð±Ð¤@­Ó¥Õ·ö°ÝÃD¨D¦h¶µ¦¡¨t¼Æ ¹Bºâ

y=ax2+b+c
¨D¤U¦C -b/2a VBA ­n¦p¦ó¼g

y = 0.325x2 - 2.285x + 96.81
y = -0.4493x2 + 4.6159x + 79.479
y = -0.5191x2 + 4.9765x + 77.152
y = -0.3759x2 + 3.0353x + 80.458
y = -0.828x2 + 6.9143x + 71.517
y = -0.7489x2 + 5.9881x + 72.839
y = -0.6864x2 + 5.9984x + 69.456
y = -0.7438x2 + 6.3198x + 68.193
y = -0.9405x2 + 8.6403x + 60.431
y = -0.7646x2 + 7.1892x + 61.879
y = -0.5975x2 + 6.2365x + 61.215
·PÁÂ~

¦^´_ 2# a5007185

·PÁ¤j¤j¡A
·d©w¤F!
ÁÂÁ±zªº¦^ÂÐ~

TOP

¦^´_ 1# jysun1

½Ð°Ñ¦Ò
  1.    
  2. Sub ­pºâ(PT As Range)
  3.     Dim strMsg, a#, b#, c#
  4.     strMsg = Split(PT, " ")
  5.     a = Left(strMsg(2), Len(strMsg(2)) - 2)
  6.     b = Left(strMsg(4), Len(strMsg(4)) - 1)
  7.     If strMsg(3) = "-" Then b = -b
  8.     c = strMsg(6)
  9.     If strMsg(5) = "-" Then c = -c
  10.     'MsgBox a & Chr(10) & b & Chr(10) & c
  11.     PT.Offset(0, 1) = -b / (2 * a)
  12. End Sub
½Æ»s¥N½X
¦h¶µ¦¡.zip (15.07 KB)

TOP

        ÀR«ä¦Û¦b : ¹ï¤÷¥À­nª¾®¦¡A·P®¦¡B³ø®¦¡C
ªð¦^¦Cªí ¤W¤@¥DÃD