Monday, December 14, 2015

Day 4


There was a previous section to this lecture but it wasn't saved. That section was basically telling us how to use trig functions. This is the application of those skills


These variables are quite clear.  The sind function was used so the user can input an angle in degrees, the most comfortable unit of angle.


These are the questions that correspond to the above solutions

1.    What is the maximum value in each column? 
    2.    In which row does that maximum occur? 
    3.    What is the maximum value in each row? (You’ll have to transpose the matrix to answer this question.) 
    4.    In which column does the maximum occur? 
    5.    What is the maximum value in the entire table?

"a" corresponds to the max value being asked for and "b" corresponds to the position of those values
The last number is the max number in the entire matrix. This excersize is important because we are asking for multiple outputs.








     1.    What is the mean value in each column? 
    2.    What is the median for each column? 
    3.    What is the mean value in each row? 
    4.    What is the median for each row? 
    5.    What is returned when you request the mode? 

    6.    What is the mean for the entire matrix?   

The line of questioning above correspond to the solutions above. 






This is another set of solutions








The answer to question four is that they are the same

 1.    Create the following complex numbers:
   a.       A = 1 + i    
  b.       B = 2 + 3i    
  c.       C = 8 + 2i      
2.    Create a vector   D   of complex numbers whose real components are 2, 4, and 6 and whose imaginary components are    -3,    8, and    -16.    
3.    Find the magnitude (absolute value) of each of the vectors you created in Exercises 1 and 2. 
4.    Find the angle from the horizontal of each of the complex numbers you created in Exercises 1 and 2. 



The print out of A,B,C, and D were ommitted because they are unneccessary. Only the answers to the questions are displayed.

After this class ended 


No comments:

Post a Comment