Create a function that calculate the cross product of two


Question 1: Create a function that returns true if the input is a logical array and false otherwise.
• Function Name: isLogical
• Input: single input which may be any data class (this function does not have multiple inputs)
• Output: the output is true or false

Question 2: Create a function that calculate the cross product of two numeric vectors
• Function Name: calcCrossProduct
• Input: two inputs. Be sure to test that the two inputs are vectors of length 3.
• Output: IF input is as defined - a vector of length 3
IF input is not as defined - the function returns NaN.
You need to make well-formed and clean code and you should not copy and paste the code from other source.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Create a function that calculate the cross product of two
Reference No:- TGS0949148

Expected delivery within 24 Hours