Skip to content

Commit 9a07c4d

Browse files
authored
Update 693-math-deriv.markdown
1 parent bba2cb3 commit 9a07c4d

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

_build/reference/693-math-deriv.markdown

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22

33
> DERIV x, maxtries, maxerr, BYREF result, BYREF errcode USE expr
44
5-
Calculation of derivative. errcode = 0 for success; otherwise calculation error.
5+
Calculation of derivative.
66

77

8-
* x: value of x
9-
* maxtries: maximum number of retries
10-
* maxerr: tolerance
11-
* errcode: 0 for success; otherwise calculation error
12-
* result: the result
13-
* expr: f(x)
8+
* `x`: value of x
9+
* `maxtries`: maximum number of retries
10+
* `maxerr`: tolerance
11+
* `errcode`: 0 for success; otherwise calculation error
12+
* `result`: the result
13+
* `expr`: the function f(x)
14+
15+
### Example 1
1416

1517
```
1618
' What is the derivative of f(x) for a given x
@@ -30,6 +32,8 @@ print "Result of DERIV at x = "; x; " : "; result
3032
print "Exact derivative at x = "; x; " : "; d(x)
3133
```
3234

35+
### Example 2
36+
3337
```
3438
' What is the derivative of f(x) for a given x
3539

0 commit comments

Comments
 (0)