Skip to content

soysaucewaso/Codewars-Problem-Response

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Codewars-Problem-Response

Diff function to find the derivative of a string expression with respect to x.

Problem Link

Works on funcs with format (op a b) and (func a)

Works with operands '+, -, *, /, ^'

Works with functions 'sin, cos, tan, exp, ln'

Exponent only works when raised to constants, since implementing f(x)^g(x) derivative is complex.

Simple DFS implementation. Uses basic derivative rules. No error checking.

About

Diff function to differentiate a string into a new string.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages