Comments (1)
In my vector field plotter and curl divergence calculator project I have applied a get around to make things work.
In my curl equation where we do (dq/dx - dp/dy) I know that in in q expression any y term will going to be constant and in p expression the x term.
So, if we have any y term under square root in q expression , I replaced that with Q. So, now in the q equation, in the place of sqrt(y) there will be Q. Now, nerdamer can handle it properly and treat it as proper constant.
After the solution, I have converted Q back into sqrt(y).
I did the same for p expression and also for the divergence equation separately.
Things are working fine for me now.
You can check my code as well.
divergence(), curl() functions in mainsketch.js under the provided commit.
https://github.com/sg13041995/2D_Vector_field_plotter_
sg13041995/VectorFieldPlotter@1e5bdb9
You can check out my app as well.
https://vector-field-plotter-e6668.web.app/
Thank you.
I hope this will be somewhat helpful.
from nerdamer.
Related Issues (20)
- Limit of ((x^2)/(x+1))-((x^2+2)/(x+3)) in inifinity returns -infinity instead of 2
- How to clear defined functions ? HOT 2
- Add Types for nerdamer/all Algebra Extra Solve and Calculus HOT 2
- Error while parsing latex HOT 2
- Function returned from `buildFunction` returns `null` HOT 4
- dot() and cross() don't work with unknowns as parameters HOT 1
- vector addition with an unknown variable HOT 5
- Reference error in SolveFor
- Simplify
- Simplify Error HOT 1
- HUGE error on solveFor HOT 1
- Errors with solveEquations
- Override Physical Constants
- nerdamer.variables error
- SolveEquations not solving correctly
- Invalid latex generated for natural log
- solveEquations not working with too complex equation
- integration result incorrect HOT 1
- Error in basic algebra result
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerdamer.