heaviside step functions, or singularity functions and plotting them

heaviside step functions, or singularity functions and plotting them - 消息

#1 已发布: 2012/3/15 10:29:37
pjlord28

pjlord28

0个赞,共3个帖子。

组: 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 已发布: 2012/3/15 10:42:00
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2012/3/15 10:52:51
pjlord28

pjlord28

0个赞,共3个帖子。

组: 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 已发布: 2012/3/15 11:02:34
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: 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位用户喜欢此帖子
Davide Carpi 2012/3/15 11:06:00, Andrey Ivashov 2012/3/18 09:21:00
#5 已发布: 2012/3/15 11:05:05
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2012/3/15 14:58:03
pjlord28

pjlord28

0个赞,共3个帖子。

组: 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.
  • 有新帖
  • 无新帖