mgreminger / EngineeringPaper.xyz

EngineeringPaper.xyz is a web app that makes it easy to create, save, and share engineering calculations.
https://EngineeringPaper.xyz
MIT License
119 stars 8 forks source link

Add Singularity Function Plotting and Evaluation #248

Open memtech3 opened 5 months ago

memtech3 commented 5 months ago

It would be super cool if I could enter functions in singularity function notation and have engineeringpaper plot them, perform integrals and derivatives on them, and allow me to evaluate for values at different input parameters.

mgreminger commented 5 months ago

It depends on the type of singularity function you're talking about, but you're able to create the type of singularity functions required for beam shear and moment diagrams by creating a piecewise function. See this example: https://engineeringpaper.xyz/QuWUrrGDWEZMM3PZrsppgQ

Derivatives and integrals won't work with piecewise functions.

memtech3 commented 5 months ago

I'd like to be able to use as well as take integrals and derivatives of functions in Macaulay bracket form image