heaviside step functions, or singularity functions and plotting them

heaviside step functions, or singularity functions and plotting them - Messages

#1 Posted: 3/15/2012 10:29:37 AM
pjlord28

pjlord28

0 likes in 3 posts.

Group: User

I am doing a beam loading problem and I want to make up my own smath file to do so. The beam calculator on this website is very good, and usefull and the plots are nice. I just am learning the program and want to program an example myself.


how do you use heaviside step functions or singularity functions?

i wrote out a quick "if" statement to get the heaviside function to kind of work.


also how do you plot a function? like Q(x) for example

#2 Posted: 3/15/2012 10:42:00 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hi

the heaviside function it's very easy to do:


http://www.mediafire.com/?tnbdj5e5bdt5swb


regards

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 3/15/2012 10:52:51 AM
pjlord28

pjlord28

0 likes in 3 posts.

Group: User

Wrote

Hi

the heaviside function it's very easy to do:


http://www.mediafire.com/?tnbdj5e5bdt5swb


regards

w3b5urf3r




that is kind of what i have. i am trying to plot the equations on the bottom of this program


http://www.mediafire.com/?foyewp8d6n2wb7h
#4 Posted: 3/15/2012 11:02:34 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Hi,
I work with SMath in beam problems and I use my own version of Singularity Functions.
It´s very simple:
[MATH]fsin(x;a;n)x-a)^n*(x>a)*(n≥0)[/MATH]

So, if you need a heavyside function, n=0. For a ramp function n=1, and so on.
In this file you can view a complete example for a 3 support loaded beam.

Regards,

Oscar Campo
2 users liked this post
Davide Carpi 3/15/2012 11:06:00 AM, Andrey Ivashov 3/18/2012 9:21:00 AM
#5 Posted: 3/15/2012 11:05:05 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote



that is kind of what i have. i am trying to plot the equations on the bottom of this program

http://www.mediafire.com/?foyewp8d6n2wb7h



there are some errors dues to units congruency

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Posted: 3/15/2012 2:58:03 PM
pjlord28

pjlord28

0 likes in 3 posts.

Group: User

Wrote

Wrote



that is kind of what i have. i am trying to plot the equations on the bottom of this program

http://www.mediafire.com/?foyewp8d6n2wb7h



there are some errors dues to units congruency




i cant figure this out. sorry i guess i am too new a of a user.
  • New Posts New Posts
  • No New Posts No New Posts