fail v. not work

hhtt21

Key Member
Joined
Jun 12, 2016
Member Type
Student or Learner
Native Language
Turkish
Home Country
Turkey
Current Location
Turkey
"If f(x) is not continuous, the method may fail. This sentence is about mathematics. It is about a method to find root of a function. So I would like to ask you
if this conveys the same idea as the original?

2. "If f(x) is not continuous, the method may not work?

Thank you.
 

GoesStation

No Longer With Us
Joined
Dec 22, 2015
Member Type
Interested in Language
Native Language
American English
Home Country
United States
Current Location
United States
Some software thinks it's possible.
Successful Failure.jpg
 

hhtt21

Key Member
Joined
Jun 12, 2016
Member Type
Student or Learner
Native Language
Turkish
Home Country
Turkey
Current Location
Turkey
But if somebody write an algorithm using this method, for example in Matlab, the program code/algorithm will work but if the results fly off the root, the code fails, even though the program appeared to worked.

Thank you.
 

Tdol

Editor, UsingEnglish.com
Staff member
Joined
Nov 13, 2002
Member Type
Native Language
British English
Home Country
UK
Current Location
Japan
Just because someone coded in the constant '100,000' instead of the correct value of '100' and you got a ridiculous answer doesn't mean the algorithm/code failed/didn't work. It gave you exactly the answer that it should have.

Sounds like a case of GIGO. :up:
 
Top