about | help | code help+videos | done | prefs |
Given the slopes and y-intercepts for two equations in a system, return how many solutions the system has: none, one, or infinitely many. The equations are guaranteed not to represent vertical or horizontal lines. howManySolutionsSys(2, 5, -2, 5) → 'one' howManySolutionsSys(2, 5, 2, 5) → 'infinitely many' howManySolutionsSys(0.375, 4, 0.375, -2) → 'none' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 175
Copyright Nick Parlante 2017 - privacy