Question

Demonstrate your understanding of Map Algebra and logical operators by filling values to the empt...

Demonstrate your understanding of Map Algebra and logical operators by filling values to the empty cells. Operations are carried out from left to right. No zero values are considered True and zeros False. In the output, True is represented as 1, False 0

                Raster A                                          Raster B                                            Raster C

0

0

1

0

2

2

0

1

1

2

1

1

0

0

2

0

0

3

0

0

0

0

0

1

0

0

2

Map Algebra:

    (A - B)                                            (A+B+C)                                    (A*C) + (B*C)

Logical Operations:

   (A or B)                                           (A and C)                                     (A or (B and C))

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Map algebra is pretty straightforward. We use the values for cells in the same location stored as different variables and perform the operations mentioned. Thus,

A - B is

0 -2 -1
2 1 -1
0 0 -1

A + B +C is

0 3 4
2 1 6
0 0 3

(A*C)+(B*C) is

0 2 3
0 0 9
0 0 2

The logical OR operator returns true if any one value is true, while AND returns true only if all values are true. Since non-zero values are true,

A or B is

0 1 1
1 1 1
0 0 1

In these cases, the value of true is specified as 1, therefore, we return a value of 1 whenever the statement is true.

A and C is

0 0 1
0 0 1
0 0 0

A or (B and C) is

0 1 1
1 1 1
0 0 1
Add a comment
Know the answer?
Add Answer to:
Demonstrate your understanding of Map Algebra and logical operators by filling values to the empt...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • (5pts) 19. Determine the logical values of C and D by filling in the truth table...

    (5pts) 19. Determine the logical values of C and D by filling in the truth table for all possible values of A and B for the circuits shown below. А B D С B 0 С А 0 0 D 1 1 0 (5pts) 20. Which of the following statements are true? a. Digital logic gates do not need extra voltage supply b. At least two basic logic gates are required to build an XOR circuit C. The truth table...

  • Shown within the work of the question below, what does the F' from filling in the empty cells of a K-map with 0'...

    Shown within the work of the question below, what does the F' from filling in the empty cells of a K-map with 0's give you? And what does the F' from taking the complement using boolean algebra give you? Why are these " F' "s not the same? 1. (a)Simplify the following two functions, which are given in terms of Karnaugh maps, in SOP (Sum of Products) form: y4 wx 00 01 11| 10 yz wx 00 | 01 11...

  • 1. This question is intended to demonstrate your understanding of basic concepts. (a) Circle all rank...

    1. This question is intended to demonstrate your understanding of basic concepts. (a) Circle all rank 2 matrices below. Give a brief justification. [1 3 6 0] 1 3 6 0] (1 3 6 0 1 1 3 6 0] (i). 0 2 9 1 (i). 0 2 9 1 (iii) 0 2 9 1 (iv) 0 2 9 1 LO 0 0 0 0 1 0 0 1 1 -3 -1 0 0 1 3 (b) Circle all matrices...

  • C++ 10:19 AM Tue Oct 9 csive csicuny edu le. Original 3_1 Boolean and A&&B&&c and...

    C++ 10:19 AM Tue Oct 9 csive csicuny edu le. Original 3_1 Boolean and A&&B&&c and AllBIIC in a table with 3 columns Hand in HW #4 36 pts Read study SECs 3.1-3.3 1. Evaluate the following conditional expressions (T or F). 4 pts 2. FLOWCHART THE FOLLOWING (condensed) CODE in et int main) 8 PTS ( int number; cout <"Enter an integer:"; cin >>number if ( number>0) cout <You entered a positive integer:"< number < endl; else if (number...

  • Please do it by C++ programming! By completing this project, you will demonstrate your understanding of:...

    Please do it by C++ programming! By completing this project, you will demonstrate your understanding of: 1) Arithmetic operations (addition, subtraction, multiplication, division, modulus) 2) Conditional statements (If, If-Else, If-ElseIf-Else, Conditional Operator, Switch) 3) Precondition, postcondition, and indexing loops (Do-While, While, For) 4) Standard text file operations (open, close, read, write) 5) Modularizing code by breaking into functions (including functions with input parameters, and ones that return a specific data type) There is a number guessing game similar to MasterMind...

  • Question 21 The loop condition can be a complex condition involving several operators. True OR False...

    Question 21 The loop condition can be a complex condition involving several operators. True OR False Question 22 final int MAX = 25, LIMIT = 100; int num1 = 12, num2 = 25, num3 = 87; if(num3-5 >= 2*LIMIT) { System.out.println ("apple"); } else { System.out.println ("orange"); } System.out.println("grape"); What prints? A. Apple B. Orange C. Grape D. apple grape E. orange grape F. Nothing. Question 23 When we use a while loop, we always know in advance how many...

  • Here is the code I have so far. I'm trying to figure out how to implement...

    Here is the code I have so far. I'm trying to figure out how to implement a boolean and use precedence. The 2nd expression should be 14 but it comes out as 28 so I'm definitely not understanding. #include <stack> #include <iostream> #include <string> using namespace std; // Function to find precedence of // operators. int precedence(char op) {    if (op == '+' || op == '-')        return 1;    if (op == '*' || op ==...

  • coould someone help me with these questions 1. A child class that is a specialization of...

    coould someone help me with these questions 1. A child class that is a specialization of the parent dlass is said to have an "is-a" relationship. True or False A variable must be created with assignment statement before it can be used in an expression. 2. True or false When using inheritance to define a new class, the new class is called a 3. a. subclass b. child class c. derived class d. all of the above method must be...

  • Please solve the questions and show the steps for the answer and make it clear !!...

    Please solve the questions and show the steps for the answer and make it clear !! Thank you 1. Indicate whether the following statements are true or false (5 pts each) An analog system contains devices that manipulate physical quantities that are represented in digital form; the quantity varies over a continuous range of values. a. If false, make the corrections: A digital system is most often electronic; however, it can also be mechanical, magnetic, or pneumatic. b. If false,...

  • . Question 1 (40 marks) This question asks you to demonstrate your understanding of the following...

    . Question 1 (40 marks) This question asks you to demonstrate your understanding of the following learning objectives LO 1.6 Express the Laplace Transform of common mathematical functions and linear ordinary differential equations using both first principles and mathematical tables. LO 1.7 Construct transfer functions for linear dynamic systems from (i) differential equations and (ii) reduction of block diagrams. LO1.8 Determine the time response of a Linear SISO system to an arbitrary input and having arbitrary initial conditions. LO 1.9...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT