@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $this->resultSequence[] = $coordinate; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - $this->equation = 'y = ' . round($gradient, 1) . 'x + ' . round($intercept, 1); |
|
| 63 | + $this->equation = 'y = ' . round($gradient, 1) . 'x + ' . round($intercept, 1); |
|
| 64 | 64 | |
| 65 | 65 | $this->push(); |
| 66 | 66 | } |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $this->resultSequence[] = $coordinate; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - $this->equation = 'y = ' . round($A, 2) . '+ x^' . round($B, 2); |
|
| 57 | + $this->equation = 'y = ' . round($A, 2) . '+ x^' . round($B, 2); |
|
| 58 | 58 | |
| 59 | 59 | $this->push(); |
| 60 | 60 | } |