[Solved]Matrix Calculator Write Simple Program Matrix Computations Commence Inputting Two 2×2 Mat Q37191735

Please use C++, thank you!

. Matrix Calculator Write a simple program to do matrix computations. It should commence by inputting two 2x2 matrices, then

. Matrix Calculator Write a simple program to do matrix computations. It should commence by inputting two 2×2 matrices, then asking which operation to perform. The user should be able to respond with +, -, or *, and then the program should print the appropriate computed matrix. Write separate functions to read the input, perform the calculations, and write the output Show transcribed image text . Matrix Calculator Write a simple program to do matrix computations. It should commence by inputting two 2×2 matrices, then asking which operation to perform. The user should be able to respond with +, -, or *, and then the program should print the appropriate computed matrix. Write separate functions to read the input, perform the calculations, and write the output

Expert Answer


Answer to . Matrix Calculator Write a simple program to do matrix computations. It should commence by inputting two 2×2 matrices, … . . .

[Solved]Mean List Numbers Arithmetic Average Median List Middle Value Values Placed Order Example Q37235670

A. The mean of a list of numbers is its arithmetic average. Themedian of a list is its middle value when the values are placed inorder. For example, if an ordered list contains 1, 2, 3, 4, 5, 6,10, 11, and 12, then the mean is 6, and their median is 5. Write anapplication that allows you to enter nine integers and displays thevalues, their mean, and their median.

B. Revise the MeanMedian class so that the user can enter anynumber of values up to 20. If the list has an even number ofvalues, the median is the numeric average of the values in the twomiddle positions. Allow the user to enter 9999 toquit entering numbers.

Expert Answer


Answer to A. The mean of a list of numbers is its arithmetic average. The median of a list is its middle value when the values are… . . .

[Solved]Person Employee Customer Design Class Named Persondata Following Member Variables Name Ad Q37298651

I. Person, Employee, and Customer Design a class named PersonData with the following member variables: name, address, contact

customer name: John Talor address: 318 Jane Rd, Troy AL 36081 contact: 334-356-788 gender: M customerlD; c345678 review: good

I. Person, Employee, and Customer Design a class named PersonData with the following member variables: name, address, contact, gender Write the appropriate accessor and mutator functions for these member variables Next, design a class named Customer, which is derived from the Person class. The Customer class should have the following member variables: custanerR, review Write the appropriate accessor and mutator functions for these member variables. Next, design a class named Employee, which is derived from the Person class. The Employee class should have the following member variables: empleveelR vearSalarv Write the appropriate accessor and mutator functions for these member variables In the main function, please define an object customer1 under the class Customer and an object employeel under the class Employee. The initial information of these two objects are shown as following: employeel: name: Alice White address: 123 University Ave, Troy AL 36081 contact: awhite@gmail.com gender: F emploveeID: e12345 yearSalary: 100000.00 customer name: John Talor address: 318 Jane Rd, Troy AL 36081 contact: 334-356-788 gender: M customerlD; c345678 review: good The main function will call special functions to display the initial information of these tow objects. Then the main function will ask user to input the new value of xearSalarx for employeel. Ihen the main function will call the special function again to display the update information of employeel Answer: Show transcribed image text I. Person, Employee, and Customer Design a class named PersonData with the following member variables: name, address, contact, gender Write the appropriate accessor and mutator functions for these member variables Next, design a class named Customer, which is derived from the Person class. The Customer class should have the following member variables: custanerR, review Write the appropriate accessor and mutator functions for these member variables. Next, design a class named Employee, which is derived from the Person class. The Employee class should have the following member variables: empleveelR vearSalarv Write the appropriate accessor and mutator functions for these member variables In the main function, please define an object customer1 under the class Customer and an object employeel under the class Employee. The initial information of these two objects are shown as following: employeel: name: Alice White address: 123 University Ave, Troy AL 36081 contact: awhite@gmail.com gender: F emploveeID: e12345 yearSalary: 100000.00
customer name: John Talor address: 318 Jane Rd, Troy AL 36081 contact: 334-356-788 gender: M customerlD; c345678 review: good The main function will call special functions to display the initial information of these tow objects. Then the main function will ask user to input the new value of xearSalarx for employeel. Ihen the main function will call the special function again to display the update information of employeel Answer:

Expert Answer


Answer to I. Person, Employee, and Customer Design a class named PersonData with the following member variables: name, address, co… . . .

[Solved]N1 Equation 2 B Ks Equation 2 C Two Ks Equation 2 D Ida Equation 3 E Explain Equation 4 5 Q37156596

1) IDA II IDB II Ni Key (2) E(Kg.ΙΚ, ll IDA 11 ID., 11 NI) distribution, I IDAD steps (3) E(K. IK, IDAD (4) E(K,,N2) steps (5a. what is N1 in equation 2 ?b. why is there Ks in equation 2 ?c. why is there two Ks in equation 2 ?d. why is there IDA in equation 3 ?e. explain equation 4,5 ?1) IDA II IDB II Ni Key (2) E(Kg.ΙΚ, ll IDA 11 ID., 11 NI) distribution, I IDAD steps (3) E(K. IK, IDAD (4) E(K,,N2) steps (5) E(K. (N2) Figure 14.3 Key Distribution Scenario Show transcribed image text 1) IDA II IDB II Ni Key (2) E(Kg.ΙΚ, ll IDA 11 ID., 11 NI) distribution, I IDAD steps (3) E(K. IK, IDAD (4) E(K,,N2) steps (5) E(K. (N2) Figure 14.3 Key Distribution Scenario

Expert Answer


Answer to a. what is N1 in equation 2 ?b. why is there Ks in equation 2 ?c. why is there two Ks in equation 2 ?d. why is there IDA… . . .

[Solved]Please Explain Words Advantage Object Oriented Programming B Dynamic Programming 2 Please Q37281779

i need the answer for question 1 part a and b
a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2.a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++ Show transcribed image text a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++

Expert Answer


Answer to a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming… . . .

[Solved]Please Code 2 Different Ways Convert Uniqueptr Owning Name Object Sharedptr Owns Object E Q37271584

a. Please code in 2 different ways to convert a unique_ptrowning a Name object to a shared_ptr which owns the same object.Then explain which way the best way is.

b.LinkedBag bagA contains: ‘M’, ‘i’, ‘c’, ‘k’, ‘e’, ‘y’ vectorvec contains: ‘M’, ‘o’, ‘u’, ‘s’, ‘e’ Use a copy constructor tocreate LinkedBag bagX using bagA. Then add entries from vector vecto bagX. Then remove all ‘e’ from bagX. Please explain in detailhow each step works and what bagX contains after the steps areexecuted. Please use linked Nodes diagrams in your answers.

Expert Answer


Answer to a. Please code in 2 different ways to convert a unique_ptr owning a Name object to a shared_ptr which owns the same obje… . . .

[Solved]Please Explain Words Advantage Object Oriented Programming B Dynamic Programming 2 Please Q37282293

i need the answer for q 3 and also attaching handout withthat
a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2.# include< iostream> # include<vector> using namespace std; typedef vector char> row typedef vector<row> matrix; void printlcconst int number of rows-Y.size0: const int number of columns-X.size0: cout<<X.size0Ysize0<Cendl; matrix B; //cout<B now haselse clij C[ii-1]; cout<Here is your longest subsequence<<endl; printlcs(B, X, number of rows-1, number_of columns-D: cout<if (Bliil L) printlcs(B.X,ij-l);a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++ # include< iostream> # include<vector> using namespace std; typedef vector char> row typedef vector<row> matrix; void printlcs(matrix B, vector<char> X, int i, int j); //we view matrix as an array of rows int mainO vector char> X(1,0); vector<char> Y(1,0); char next cout<<“enter your first sequence. Type # when you are done” <<endl do cin>>next if(next!:-‘#’) X.push back(next): /while( next! ‘); cout<<“enter your second sequence. Type # when you are done”<<endl: 0 cin>>next if(next! ) Ypush back(next); /while(next=’#’); const int number of rows-Y.size0: const int number of columns-X.size0: cout<<X.size0Ysize0<Cendl; matrix B; //cout<“B now has a size “<B.size0<endl; B.resize(number of rows); for int j 0; j number of rows:jt+) 昕].resize( number-of-columns); matrix C C.resize(number of rows); forG 0:j<number_of rows; j++) C].resize(number of columns); forj 0 j< number of columns; j++) for(j-0; j< number of BUIIoj-0 for(int i-l; inumber of rows; i+) for(int j= l ; J< number-of columns; j++) else clij C[ii-1]; cout<“Here is your longest subsequence”<<endl; printlcs(B, X, number of rows-1, number_of columns-D: cout<<endl; return 0; void printlcs(matrix B, vector char> X, int i, int j) return; if(B[il D) printlcs(B.X,?,?); printles(B,X,i-1j); if (Bliil L) printlcs(B.X,ij-l); Show transcribed image text a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++
# include # include using namespace std; typedef vector char> row typedef vector matrix; void printlcs(matrix B, vector X, int i, int j); //we view matrix as an array of rows int mainO vector char> X(1,0); vector Y(1,0); char next cout

Expert Answer


Answer to a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming… . . .

[Solved]Please Explain Words Advantage Object Oriented Programming B Dynamic Programming 2 Please Q37282413

i want answer of question 4
a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2.a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++ Show transcribed image text a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++

Expert Answer


Answer to a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming… . . .

[Solved]Please Explain Words Advantage Object Oriented Programming B Dynamic Programming 2 Please Q37282563

i want answer of q 7
a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2.a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++ Show transcribed image text a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++

Expert Answer


Answer to a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming… . . .

[Solved]Please Explain Words Advantage Object Oriented Programming B Dynamic Programming 2 Please Q37282534

i need answer of q 6
a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2.a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++ Show transcribed image text a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming? 2. Please illustrate simple inheritance in C++ (grand parent, parent, child classes). You can make up your own example or reformulate an example from a handout (rename the classes, change member functions) 3. Please submit working LCS code based on the Handout. 4.Please provide an information how LCS algorithm works with a matrix with numbers and arrows (as we did in the class). Your own example should provide two strings that have more than one LCS Explain which LCS can be found by the algorithm in question and how would you modify the algorithm so that all LCSs can be discovered.This is not a coding question. You need to provide informal explanations and a picture of your matrix. 5. Please provide your own example of all steps of Dijkstra Algorithm execution. Explain how you find the shortest path. Please provide a code or a pseudocode with the function printing the shortest path. 6. Please give an example of a C++ code with dynamic and static objects. Please put “cout statements” in the definitions of constructors and destructors. Explain the output. 7. Please provide a C++code that has only one line in mainO with an object creation, which produces 4 lines of the output. 8. Please provide an example or use the Handout example to explain the role of virtual function in C++ 9. Please explain the concept of Multiple Inheritance in C++

Expert Answer


Answer to a. Please explain in your own words what is the advantage of Object Oriented Programming. b. What is Dynamic Programming… . . .