X = 5, y = -2
-x +3 = 2x - 12
-3x = -15
3x = 15
x = 5
y = -5+3
y=-2
Answer: 11
The code would print 11 as x=x-4 basically sets x to what x was and subtracts it by 4 which means 15 was its previous value and it takes 4 away from it so it is now 11. Then because the loop condition is x=11 the loop condition has been met and will now go and display x.
A = 11/5, let me know if you need me to tell you how i got it (show my work)
To solve this, you can first solve each expression:
35 / 6 = 5.83333
5 + 3/10 = 5.3
5 = 5
35 / 10 = 3.5
15 / 5 = 5
5 + 5/6 = 5.8333333
3 = 3
10 * 1/2 = 5
So, the tiles of 5, 15*1/5, and 10*1/2 all equal 5.
The tiles of 35/6 and 5+5/6 equal 5.83333.
The remaining tiles to not have matches.
That is a 30 60 90 triangle
The "short" side (DE) equals the middle side (FE) times (1 / sq rt(3))
short side = 8 * sqrt(3) * (1 / sq rt(3) = 8
Hypotenuse (DF) is 2 times the short side which equals 16.
Source:
http://www.1728.org/trig2.htm