IF function and plotting a function

IF function and plotting a function - Messages

#1 Posted: 1/12/2021 5:11:18 PM
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 KiB) downloaded 20 time(s).
#2 Posted: 1/12/2021 5:25:30 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 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 KiB) downloaded 33 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 1/12/2021 5:44:11 PM
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: 1/13/2021 10:47:54 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

...

Otherwise.PNG
  • New Posts New Posts
  • No New Posts No New Posts