Problem with a function
May 01, 2014
02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 01, 2014
02:59 AM
Problem with a function
Hi!
At the end of the attached file i have two functiion, the first seems to work fine the second is similiar but doesent return a value. The graph seem to wok tho, why?
Thanks in advance!
Solved! Go to Solution.
Labels:
- Labels:
-
Other
ACCEPTED SOLUTION
Accepted Solutions
May 01, 2014
03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
2 REPLIES 2
May 01, 2014
03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 01, 2014
03:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 01, 2014
03:24 AM
The function Vbp(x) isn't defined when x > b-1.55, but you are trying to call it with values of x greater than this. You need to specify what the return value should be for all cases for which you call the function. If you want it to be zero for larger values of x then Mike's suggestion is the simplest way of doing this.
Alan
