# Force FindFormula to avoid Piecewise in the result?

Is it possible to provide any arguments to FindFormula to force it to avoid using Piecewise in the result, but instead try to find the best fit using expressions constructed only from functions specified in TargetFunctions option?

• Does adding SpecificityGoal-> "Low" help? The documentation states that this results in simpler fits. My unsolicited advice is to avoid FindFormula completely or accept the fits that it provides. Any calculations with a piecewise fit will still be performed by a computer and not by hand so what exactly is the downside to having a piecewise result? – JimB May 6 at 5:05
• @JimB I need a smooth (infinitely differentiable) function. Piecewise results often are not even continuous. – Vladimir Reshetnikov May 6 at 18:12