Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSourcePhysics/osp
/ math
Method
math
src/test/Derivative.java:26–28 ·
view source on GitHub ↗
The function.
(double x)
Source
from the content-addressed store, hash-verified
24
*
25
*/
26
public
static
double math(double x) {
27
return
x * Math.log(x) * Math.sin(x) * Math.cos(x);
28
}
29
30
/**
31
* As a functional
interface
.
Callers
1
directCalc
Method · 0.95
Calls
3
log
Method · 0.45
sin
Method · 0.45
cos
Method · 0.45
Tested by
no test coverage detected