Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline sid87pl  
#1 Posted : 27 July 2014 17:59:10(UTC)
sid87pl

Rank: Newbie

Groups: Registered
Joined: 27/07/2014(UTC)
Posts: 1
Poland
Location: UK

Hi guys,

Recently, I have tried to integrate function of the form:

f(x)= if x<100
g(x)
else
h(x)

over x=(0-105) using build in integral operator. However, there is an error: 'x-not defined'. I can easily overcome this problem by simply writing:

Int(f(x)) [from 0 to 100] + Int(g(x)) [from 100 to 105]

However, I think that a possibility of using user-created conditional functions in Integral or Derivative operators could be a very useful feature.

Best,
Daniel

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 27 July 2014 19:41:54(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello,

Do you use the Interactive SMath Handbook by Martin Kraska (Interactive books from Gallery) as the default Reference Book inside SMath?
Read the part about Integration from this book, please.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.