Assignment Solution:
3 3 OP_MUL 2 2 OP_MUL OP_ADD
3 3 OP_MUL 2 2 OP_MUL OP_ADD
2 2 op_mul 3 3 op_mul op_add
Assignment Answer:
*I understood the assignment, but Iām a little confused why BitcoinIDE shows the execution 0xD, shouldnāt it show 13?
0xD is 13 in HEX.
Thankyou! https://www.wikihow.com/Understand-Hexadecimal
Hereās a link for anyone thatās doesnāt understand HEX, the video helped me.
2 2 op_mul 3 3 op_mul op_add
The answer ist the following.
2 2 OP_MUL 3 3 OP_MUL OP_ADD
The code for [(2x2)+(3x3)] is as follows:
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add
Answer:
2 2 OP_MUL 3 3 OP_MUL OP_ADD
Answer: 3 3 OP_MUL 2 2 OP_MUL OP_ADD
Answer
2 2 OP_MUL 3 3 OP_ADD OP_ ADD
2 2 op_mult 3 3 op_mult op_add
Answer
2 2 OP_MUL 3 3 OP_MUL OP_ADD
(2x2) + (3x3) = 2 2 OP_MUL 3 3 OP_MUL OP_ADD
Assignment exercise:
2 2 op_mul 3 3 op_mul op_add
Assignment Answer ! Bitcoin IDE :
2 2 OP_MUL 3 3 OP_MUL op_ADD
Answer : 2 2 OP_MUL
3 3 OP_MUL OP_ADD
Assignment Answer
2 2 OP_MUL 3 OP_ADD 3 OP_ MUL
This would not give the correct result. The program would execute 2 * 2 (= 4), then add 3 which would result in 7 and then multiply with 3. The formula would end up being (2 * 2 + 3) * 3.
You are close, try again