function

Topics: 4.3

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   3 Replies   Last post: January 5, 2013 2:28pm UTC
Anup  Paul

Anup Paul

January 5, 2013 11:20am UTC

function



Can anyone please help to write the above equation

Y=X0*(1+sin*(w*t))

where

w=2*pi*f (rad/s), t=argument(s)

I have tried with analytical function after defining w in variables and all other constants in parameters.

when I tried to plot it shows following errors:

syntax error in expression
Expression: ()[1/s]
Sub Expression: ()[1/s]
Position 1

rgds


Anup

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

PT

PT

January 5, 2013 11:23am UTC in response to Anup Paul

Re: function

Y=X0*(1+sin*(w*t))

try following
Y=X0*(1+sin(w*t))

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Anup  Paul

Anup Paul

January 5, 2013 11:26am UTC in response to PT

Re: function

Hi PT

same problem!!!!


rgds

Anup

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

January 5, 2013 2:28pm UTC in response to Anup Paul

Re: function

Hi

could it be a naming conflict ?
In which physics are you working ?

COMSOL uses many internal variables, that you are often allowed to reuse but then you change the behaviour of your physics.

most single letter names are usedwitrh special menaings i.e. solid displacements such as r,s,t, u,v,w, x,y,z, ...
also in upper cases i.e. "Solid" R,X,Y,Z to differentiate the Frames ...


--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines