How to write method for writing output text file?

The writefile method should write out to the given output file all the integers in the given array, one per line. For this part, the merge method should return a new array big enough to hold the content of the first two arrays (a and b), and then the first two copied into that array, without regard for order.

Write file seems to be doing some ordering, despite the instructions.
Read file seems a bit convoluted. If you can assume that the file does just contain ints then you can read it as strings, split that, then convert to ints. Alternatively ( which I would prefer) create an int array of some sensible size, start reading ints into it directly. If it gets full copy to a larger array. At the end copy to an array of the exact correct size. Copying arrays of ints is very efficient, converting string to int to string to int less so.

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error ...