T O P I C R E V I E W |
insitutem |
Posted - 09/06/2004 : 04:05:36 AM Origin Version (Select Help-->About Origin): 6.1 Operating System: win xp pro
How do I define functions in intervals?
Example:
f1(x)=sin(10*x) for x<5 f1(x)=10*sin(10*x) for x=>5
Hope somebody can help.
|
3 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 09/06/2004 : 07:28:37 AM You must have copied/pasted the whole line into the function box because Origin only crashes for me if I include 'f1(x)=' in the function. Use only the RHS...
x<5?sin(10*x):10*sin(10*x)
Mike Buess Origin WebRing Member |
insitutem |
Posted - 09/06/2004 : 06:37:41 AM Interesting, that shuts down Origin!
|
rlewis |
Posted - 09/06/2004 : 04:57:12 AM Try ....
f1(x)=(x<5?sin(10*x):(10*sin(10*x)));
|