mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
// Use case 1:
|
|
// use a few functions
|
|
|
|
import { divide, sin, pi } from '..'
|
|
|
|
console.log('\nuse case 1')
|
|
|
|
console.log(divide(sin(divide(pi, 2)), 3))
|
|
// sin(pi / 2) / 3 =
|
|
// number 0.3333333333333333
|