https://github.com/alexanderepstein/mathematica-functions
Extension functions on top of Mathematica for derivatives, integrals and AC Circuit Analysis
https://github.com/alexanderepstein/mathematica-functions
derivative engineering integration mathematica mathematica-functions
Last synced: 8 months ago
JSON representation
Extension functions on top of Mathematica for derivatives, integrals and AC Circuit Analysis
- Host: GitHub
- URL: https://github.com/alexanderepstein/mathematica-functions
- Owner: alexanderepstein
- Created: 2016-12-07T00:38:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-27T18:07:38.000Z (over 8 years ago)
- Last Synced: 2024-12-29T17:17:33.339Z (9 months ago)
- Topics: derivative, engineering, integration, mathematica, mathematica-functions
- Language: Mathematica
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mathematica-Functions
Extension functions on top of Mathematica's derivative and integral function.
Additional functions that make A.C. circuit analysis fasterUpdate: Added some conversion functions to go between rectangular and polar form of a number (Everything is done in degrees rather than radians)
# Why?
Even though Mathematica can take almost any derivative or integral that
is possible sometimes it does not have the steps to show how it was done.
In this case you can use the two functions here to get mathematica to show you every step.The ElectricalEngineering is useful for calculation AC circuits by facilitating the long a tedious math and conversions with few useful functions
# Derivatives
To get mathematica to show you how the derivative is done, use walkD[function,var].
To do derivatives with up to three variables use walkD[function,var1,var2]
or walkD[function,var1,var2,var3]# Integrals
To get mathematica to show you how the integral is done, use walkInt[function,var].
To do integral with up to three variables use walkD[function,var1,var2]
or walkD[function,var1,var2,var3]# ToPolarDegrees
Get the Polar form of a rectangular value by entering either ToPolarDegrees[Real+Imaginary*i] or ToPolarDegrees[{Real,Imaginary}]# ToRectangularForm
Get the rectangular form of a polar value by entering
ToRectangularForm[{magnitude,angle}] where the angle is in degrees# CapacitanceToRectangular
Takes a capacitance and the omega of the voltage/current source from the time domain and converts it to rectangular form
Enter it either as
CapacitanceToRectangular[capacitance,omega]
or
CapacitanceToRectangular[capacitance,omega,unit]# CapacitanceToPolar
Takes a capacitance and the omega of the voltage/current source from the time domain and converts it to polar form in degrees
Enter it either as
CapacitanceToPolar[capacitance,omega]
or
CapacitanceToPolar[capacitance,omega,unit]# InductanceToRectangular
Takes an inductance (in Henry's) and the omega of the voltage/current source from the time domain and converts it to rectangular form
Enter it either as
InductanceToRectangular[inductance,omega]
or
InductanceToRectangular[inductance,omega,unit]# InductanceToPolar
Takes an inductance and the omega of the voltage/current source from the time domain and converts it to polar form in degrees
Enter it either as
InductanceToPolar[inductance,omega]
or
InductanceToPolar[inductance,omega,unit]# Add Packages To Mathematica
To be able to use these extension functions as if they were built into Mathematica
you must copy the notebook file in the same directory as your initialization file
(this is a file that's ran every time you start Mathematica).
On Windows: C:\Users\[username]\AppData\Roaming\Mathematica\Kernel\
On Mac: MacHD\Users\[username]\Library\Mathematica\Kernel# Edit init.m
In the same path you just placed the WalkFuncs & ElectricalEngineering package files either copy the init.m file found here or just add the lines
```<< WalkFuncs.wl ``````<< ElectricalEngineering.wl ```
##### WalkFuncs Package is not original the basis of that package came from code found online that I slightly tweaked to handle multiple variables and error checking.