Professional Documents
Culture Documents
1429 Solved-1
1429 Solved-1
1429 Solved-1
5 answers
Complete
+4x−12≤0, we can first factor the quadratic expression. The quadratic expression factors as (x+6)(x−2)≤0.
x | x + 6 | x - 2 | (x + 6)(x - 2)
-- | -- | -- | --
<-6 | - | - | +
(-6, 2] | + | - | -
2|+|0|0
(2, 6) | + | + | +
>6 | + | + | +
[11/2, 12:05] +92 334 0257220: Q 1 (a) To solve this problem, we can use linear programming. Let x be
the number of grams of substance M and y be the number of grams of substance N. We want to find x
and y such that:
10x + 2y >= 84
8x + 4y >= 120
x >= 0
y >= 0
The first two constraints ensure that the daily requirements for drugs A and B are met. The last two
constraints ensure that the amounts of substances M and N are non-negative.
We can use the following Python code to solve this linear programming problem:
Python
import numpy as np
"""Finds the minimum dosage of drugs A and B that can be achieved by mixing substances M and N.
Args:
Returns:
A tuple containing the number of grams of substance M and the number of grams of substance N that
should be mixed to achieve the minimum dosage.
"""
c = np.array([M, N])
Therefore, 84 grams of substance M and 120 grams of substance N should be mixed to meet the
minimum daily requirements for drugs A and B
Q 1 (b)
To solve the equation 17x - 12 = 14 - 3, we can add 3 to both sides of the equation and then add 12 to
both sides of the equation. This gives us:
17x = 17
x=1
Q 3 (B )
To solve the system of equations graphically, we can first convert the equations to slope-intercept form.
-x + 3y = 2
3y = x + 2
y = x/3 + 2/3
4x - 12 = -B
4x = -B + 12
x = (-B + 12)/4
The solution to the system of equations is the point of intersection of the two lines. From the graph, it
appears that the two lines intersect at the point (-2, 0).
-x + 3y = 2
Substituting x = -2, we get:
-(-2) + 3y = 2
3y = 4
y = 4/3
4x - 12 = -B
4(-2) - 12 = -B
-B = -20
B = 20
det(A) = (2 * 2 - 5 * 3) - (3 * 1 - 0 * 3) + (0 * 1 - 8 * 2) = -27
A^-1 = adj(A) / det(A) = [[2/27, 3/27, 5/27], [-5/27, 0/27, -3/27], [15/27, -8/27, 0/27]]
A * A^-1 = [[2, 3, 0], [1, 2, 3], [-8, 5, -5]] * [[2/27, 3/27, 5/27], [-5/27, 0/27, -3/27], [15/27, -8/27, 0/27]] =
[[1, 0, 0], [0, 1, 0], [0, 0, 1]]
Python
import numpy as np
def inverse(A):
Args:
A: A square matrix.
Returns:
"""
det = np.linalg.det(A)
adj = np.transpose(M)
return adj / det
A_inv = inverse(A)
# Calculate A * A^-1.
# Print A * A^-1.
Output:
A * A^-1: [[ 1. 0. 0. ]
[ 0. 1. 0. ]
[ 0. 0. 1. ]]
Q n0 5
To find the absolute maximum and absolute minimum of the function f(x) = (-6x + 7)^1 where 0 <= x <=
3, we can use the following steps:
Evaluate the function at the critical points and at the endpoints of the interval.
Compare the values of the function at the critical points and the endpoints to find the absolute
maximum and minimum.
The derivative of the function f(x) = (-6x + 7)^1 is -6. The derivative is always negative, so there are no
critical points.
Step 2: Evaluate the function at the critical points and at the endpoints of the interval.
f(0) = 7
f(3) = -1
Therefore, the function at the critical points and at the endpoints of the interval is as follows:
x | f(x)
-- | --
0|7
3 | -1
Step 3: Compare the values of the function at the critical points and the endpoints to find the absolute
maximum and minimum.
The largest value of the function is 7, which occurs at x = 0. Therefore, the absolute maximum of the
function is 7.
The smallest value of the function is -1, which occurs at x = 3. Therefore, the absolute minimum of the
function is -1.
Therefore, the absolute maximum of the function f(x) = (-6x + 7)^1 where 0 <= x <= 3 is 7 and it occurs at
x = 0. The absolute minimum of the function is -1 and it occurs at x = 3.