IF function and plotting a function

IF function and plotting a function - Messages

#1 Posted: 2021/1/12 17:11:18
Tow Wai Lim

Tow Wai Lim

0 likes in 42 posts.

Group: User

Hi All,

A simple IF function to return value between a range. The equation and IF function is showing it is working. But can't manage to plot. Some tips is appreciated.

Thank

Capture6.JPG

Page3.sm (8.63 KiB) downloaded 668 time(s).
#2 Posted: 2021/1/12 17:25:30
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

You didn't provide an argument to your function.

I also used cases() and lele() to re-write your function (this is just cosmetics, not related to the original problem)

Page3.png
Page3.sm (8.87 KiB) downloaded 729 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 2021/1/12 17:44:11
Tow Wai Lim

Tow Wai Lim

0 likes in 42 posts.

Group: User

Hi MKraska,

Thanks for the tips... such hidden function. Lucky this forum is extermely supportive.... A big KUDOS to you Martin. Cheers
#4 Posted: 2021/1/13 10:47:54
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

...

Otherwise.PNG
  • New Posts
  • No New Posts