Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Now, write a function solveLin() that will accept six numbers as formal arguments:u, v, r, s along with b1 and b2. Provided an answer
3. Now, write a function solveLin() that will accept six numbers as formal arguments:u, v, r, s along with b1 and b2. Provided an answer exists, the function should return the answer to the following set of equations:
ux + vy = b1
rx + sy = b2
That is, what are the values for x and y that solve these equations.
Check to make sure your function is correct by calling the function with the parameters given in Question 2. That is the call solveLin(u=3,v=2,r=1,s=1,b1=12,b2=5) should result in the following printed out
x = 2
y = 3
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started