Depending on the context in which you do this, you've also just wasted 2 days of billable time.
If you know it won't work from the start, you're not providing value to your customer by fake considering it.
And I don't think the parent comment suggested to fake work and bill for work not done.
We should always be honest.