Open gayatripurigilla opened 6 years ago
Commit id : 19fba34784903b236ca5a146f2340636cbc63e94 It will not take negative values for a and b since Graph Visualization is shown for only positive values for exp 1 -Numerical Approximation .
@aakarsh7599 Please check that in the graph visualization section of experiment , number line is only for positive values i.e. for values 0 and greater than 0 . As you mentioned if in case b=0 , value of a should be negative value according to condition(b>a for experiment ) but graph visualization is not there for all negative values (try for values like a=-10 and b=-5 or for a=-15 and b=0 which will have to show incomplete or wrong graph visualization ) That is the reason the issue is fixed such that it doesn't take negative values for a and b .
same issue #149
Valid fix @VishwanathamSarika
Issue is the same as #149.
code is struck when a=-1 and b=0.printing an error message when such type of inputs are given by the user can be a solution.