Integration of a step function

Integration of a step function - Stress analysis of a beam - Messages

#1 Posted: 6/18/2014 3:47:30 PM
Joe

Joe

0 likes in 2 posts.

Group: User

I am doing some stress analysis of a beam and part of my calculation is finding the weight by integrating the cross sectional area of the beam and multiplying it by the density. the issue I'm having is that when i use the Definite Integral feature i get the error stating that x is not defined.
Notched beam analysis.sm (8.37 KiB) downloaded 302 time(s).
#2 Posted: 6/18/2014 4:21:39 PM
Martin Kraska

Martin Kraska

1,260 likes in 2,186 posts.

Group: Moderator

The built-in integration function cannot handle functions with if statements and integration variables with units.

You can use cases() for piecewise continuous functions and you can make the integration variable dimensionless.
You might want to increase the number of intervals for integration (Tools> Settings) in order to get more precise results (no adaptive numeric procedure).

integral.PNG
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • New Posts
  • No New Posts