Difference between revisions of "Trend"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Math_Functions]]
 
[[Category:Math_Functions]]

+
{{HelpFiles}}
  
====trend====
+
==== trend ====
  
Returns the trend value for a given x-value.
+
Returns the trend value for a given x-value.  
  
'''Syntax'''
+
'''Syntax'''  
  
trend(''x, exp1, exp2, …'')
+
trend(''x, exp1, exp2, …'')  
  
'''Arguments'''
+
'''Arguments'''  
  
''x:'' Is an expression of number type
+
''x:'' Is an expression of number type  
  
''exp''i: Is an expression of number type
+
''exp''i: Is an expression of number type  
  
'''Return type'''
+
'''Return type'''  
  
number
+
number  
  
'''Examples'''
+
'''Examples'''  
  
print(trend(3, 4, 5));
+
''print(trend(3, 4, 5));''
  
//6
+
''//4.8''
  
'''Availability'''
+
'''Availability'''  
  
Version 4.8
+
Version 4.8 __NOTOC__ <!-- imported from file: 572.htm-->
__NOTOC__
 
<!-- imported from file: 572.htm-->
 

Latest revision as of 10:06, 22 December 2011



trend

Returns the trend value for a given x-value.

Syntax

trend(x, exp1, exp2, …)

Arguments

x: Is an expression of number type

expi: Is an expression of number type

Return type

number

Examples

print(trend(3, 4, 5));

//4.8

Availability

Version 4.8