(eval-fn eq x)
Evaluates a function ax^n+bx^n-1+...+z represented by a collection of it's coefficients [a b ... z]
at the value x
Evaluates a function ax^n+bx^n-1+...+z represented by a collection of it's coefficients [a b ... z] at the value `x`
(factors num)
(factors num decimal?)
Finds all the factors of a number
Finds all the factors of a number
(find-all-possible-solutions coefficients)
Given the a to z terms of the euqation ax ^n+....+z=0 as a collection This function finds all the possible roots of this equation
Given the a to z terms of the euqation ax ^n+....+z=0 as a collection This function finds all the possible roots of this equation
(isa-solution? coefficients root)
Given the a to z terms of the quadratic euqation ax^n+....+z=0 as a collection And the root, this function checks if the same root is a solution for the euqation or not And returns the new reduced equation for finding the remaining roots using Synthetic Division
Given the a to z terms of the quadratic euqation ax^n+....+z=0 as a collection And the root, this function checks if the same root is a solution for the euqation or not And returns the new reduced equation for finding the remaining roots using Synthetic Division
(newtons-method eq eq-deriv precision x-0)
Uses Newton's method t find the root of an equation ax^n+bx^n-1+...+z
Represented as a collection of it's coefficients [a b ... z]
It selects a root for precision upto the number set by the arg precision
Uses Newton's method t find the root of an equation ax^n+bx^n-1+...+z Represented as a collection of it's coefficients [a b ... z] It selects a root for precision upto the number set by the arg `precision`
Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation
Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation
(solve-equation-newtons-method coefficients)
Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation using newton's method
Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation using newton's method
(solve-equation-synthetic-division coefficients)
Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation using synthetic division
Given the a to z terms of the euqation ax^n+....+z=0 This returns all the roots for the equation using synthetic division
(solve-quadratic-equation {:keys [a b c]})
Given the a,b and c terms of the quadratic euqation ax^2+bx+c=0 This returns a pair of solutions for x
Given the a,b and c terms of the quadratic euqation ax^2+bx+c=0 This returns a pair of solutions for x
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close