How to fix 'ValueError: math domain error' in python?
https://stackoverflow.com/questions/56313605/how-to-fix-valueerror-math-domain-error-in-python
WebMay 26, 2019 · How to fix 'ValueError: math domain error' in python? Asked 4 years, 10 months ago. Modified 4 years, 10 months ago. Viewed 15k times. 1. I am trying to write a program which calculates formula y=√x*x + 3*x - 500, Interval is [x1;x2] and f.e x1=15, x2=25. I tried to use Exception Handling but it didn't help.
DA: 31 PA: 77 MOZ Rank: 75