9514 1404 393
Answer:
(x, y, z) = (1/3, 2/3, 1)
Step-by-step explanation:
We can use the first equation to write an expression for x that can be substituted into the other equations.
x = 1 -y
2(1 -y) -y +z = 1 ⇒ -3y +z = -1
(1 -y) +2y +z = 8/3 ⇒ y +z = 5/3
Subtracting the first of these equations from the second gives ...
(y +z) -(-3y +z) = (5/3) -(-1)
4y = 8/3
y = 2/3
z = 5/3 -y = 1
x = 1 -y = 1/3
The solution is (x, y, z) = (1/3, 2/3, 1).
Answer:
Written in Python
def sums(n):
total = 0
for i in range(1,n+1):
if i%2 == 0:
total = total + i*2
else:
total = total + i
return(total)
Step-by-step explanation:
The function is written in Python
def sums(n):
This initializes total to 0
total = 0
This iterates through the integers that makes up n i.e. 1,2,3.....n
for i in range(1,n+1):
This checks if current digit is even
if i%2 == 0:
If yes, it adds the double of the digit
total = total + i*2
else:
If otherwise, it adds the digit
total = total + i
This prints the calculated sum or total
return(total)
To call the function from main, use the following:
print(sums(n))
Where n is a positive integer. i.e. 
Divide both numbers by 20
20/20 and 100/20= 1/5
So 1/5 is the answer
Answer:
26
Step-by-step explanation:
N = 4a + 6b
Let a=2 and b=3
N = 4*2 + 6*3
Multiply
N = 8+18
Add
N =26