Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly differentiate trig functions with power notation #268

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

dqnykamp
Copy link
Member

@dqnykamp dqnykamp commented Dec 6, 2024

This PR normalizes applied functions before taking the derivative so that the <derivative> tag works with trigonometric functions using the shorthand power notation, such as sin^2(x).

Fixes #219

@dqnykamp dqnykamp added the bug Something isn't working label Dec 6, 2024
@dqnykamp dqnykamp self-assigned this Dec 6, 2024
@dqnykamp dqnykamp removed the bug Something isn't working label Dec 6, 2024
@dqnykamp dqnykamp merged commit 16e66d9 into Doenet:main Dec 6, 2024
3 checks passed
@dqnykamp dqnykamp deleted the derivative-trig branch December 6, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trigonometric power notation not supported by derivative tag
1 participant