Exemplo n.º 1
0
 public LineEquation(SlopeInterceptEquation slopeInterceptEquation)
 {
     SlopeInterceptEquation = slopeInterceptEquation;
     X = null;
 }
Exemplo n.º 2
0
 public double CalculateYValue(double x) => SlopeInterceptEquation?.CalculateY(x) ?? X !.Value;