Skip to content

Commit d57823d

Browse files
Corrected spelling mistakes and added TREND
1 parent 407e779 commit d57823d

2 files changed

Lines changed: 34 additions & 5 deletions

File tree

WindowsForms/Calculation-Engine/Supported-Formulas/Math-Trigonometry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3061,7 +3061,7 @@ _PHIL(x)_
30613061

30623062

30633063

3064-
The `EUROCONVERT` function converts a currency between the euro and member currencies or among member currencies using euro as the base currency, based on fixed EU (European Union) exchange rates.
3064+
The `EUROCONVERT` function converts a currency between the Euro and member currencies or among member currencies using Euro as the base currency, based on fixed EU (European Union) exchange rates.
30653065

30663066

30673067

@@ -3101,7 +3101,7 @@ The `EUROCONVERT` function converts a currency between the euro and member curre
31013101

31023102

31033103

3104-
* triangulation_precision: An integer (greater than or equal to 3) that specifies the number of significant digits for the intermediate euro value when converting between two euro member currencies.
3104+
* triangulation_precision: An integer (greater than or equal to 3) that specifies the number of significant digits for the intermediate Euro value when converting between two Euro member currencies.
31053105

31063106

31073107

WindowsForms/Calculation-Engine/Supported-Formulas/statistical.md

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2874,11 +2874,11 @@ The `T.TEST` function returns the probability associated with a Student's t-Test
28742874

28752875
* type: The kind of t-Test to perform.
28762876

2877-
* 1 - Paired
2877+
* 1 - Paired.
28782878

2879-
* 2 - Two-sample equal variance (homoscedastic)
2879+
* 2 - Two-sample equal variance.
28802880

2881-
* 3 - Two-sample unequal variance (heteroscedastic)
2881+
* 3 - Two-sample unequal variance.
28822882

28832883
**Remarks**
28842884

@@ -2980,3 +2980,32 @@ The `FORECAST.LINEAR` function predicts a future value based on existing data by
29802980

29812981
* If the variance of known_x's equals zero, `FORECAST.LINEAR` returns the `#DIV/0!` error.
29822982

2983+
## TREND
2984+
2985+
The `TREND` function returns values along a linear trend by fitting a straight line to the known y-values and x-values using the method of least squares. It predicts the y-values for a given array of new x-values, which is useful for forecasting data trends.
2986+
2987+
**Syntax**
2988+
2989+
*TREND(known_y's, [known_x's], [new_x's], [const])*
2990+
2991+
**Where:**
2992+
2993+
* known_y's: The set of y-values in the equation `y = mx + b`.
2994+
2995+
* known_x's (Optional): The independent array or range of data (x-values) corresponding to the known_y's. If omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.
2996+
2997+
* new_x's (Optional): The array of new x-values for which you want to predict corresponding y-values. If omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.
2998+
2999+
* const (Optional) : A logical value that determines whether the intercept of the regression line is forced to zero.
3000+
3001+
* TRUE or Omitted: Calculates normally using - `y = mx + b`.
3002+
3003+
* FALSE: In `y = mx + b`, b is set equal to 0, and the m-values are adjusted so that y = mx.
3004+
3005+
**Remarks:**
3006+
3007+
* If known_y's or known_x's are empty, or if one has more data points than the other, `TREND` function will return the `#N/A` error.
3008+
3009+
* If the variance of known_x's equals zero, `TREND` will return the `#DIV/0!` error.
3010+
3011+

0 commit comments

Comments
 (0)