<span>Int var1 = 0b0001;
int var2 = 0b1111;
int results1 = var1 & var2;
int results2 = var1 | var2;
int results3 = var1 ^ var2;
int printit = results1 + results2 + results3;
what are the values for results1, results2, results3 and printit after executing the code?
notes:
1. faster responses will be obtained if your code is presented line by line (in a file) before posting.
2. please specify language, many languages use the same syntax but could have differences in interpretation
-------------------------------------------------------------------------------
Assuming Java as the language. C is similar.
</span><span><span>& bitwise AND &
^ </span><span>bitwise exclusive OR
</span><span>| bitwise inclusive OR
So
results1=var1&var2=0b0001&0b1111=0b0001
results2=var1|var2=0b0001&0b1111=0b1111
results3=var1^var2=0b0001&0b1111=0b1110
printit=results1+results2+results3=0b0001+0b1111+0b1110
=0b10000+0b1110
=0b11110
Note: by default, int has 4 signed bytes, ranging from decimal -2147483648 to +2147483647
</span></span>
Answer:
×
= 
Step-by-step explanation:
× 
To solve the above, we need to follow the steps below;
4k+2 can be factorize, so that;
4k +2 = 2 (2k + 1)
k² - 4 can also be be expanded, so that;
k² - 4 = (k-2)(k+2)
Lets replace 4k +2 by 2 (2k + 1)
and
k² - 4 by (k-2)(k+2) in the expression given
× 
× 
(2k+1) at the numerator will cancel-out (2k+1) at the denominator, also (k-2) at the numerator will cancel-out (k-2) at the denominator,
So our expression becomes;

Therefore,
×
= 
14 + 2x = 62 14 - 14 + 2x = 62 - 14. subtract 14 from both sides 2x = 48 48 ÷ 2 = 24. x = 24
Did this help?
There are 2 parts to this question. 1. One would be to calculate the interest based on your balance and 2. then to add the late fee. Use the formula i = prt to calculate your simple interest. <em>i</em> represents the interest you will pay, <em>p</em> stands for the principal (balance on your credit card), and <em>t</em> stands for the period of time (related to a period of a year/annual percentage rate). The $1998 balance times 0.145 times 1/12 gives the interest amount of $24.14. So, $1998 + $24.14 + $37 = $2059.14 balance.