Engr 103. SFSU. Fall 2016. A. Tabrizi. School of Engine
Added on - 18 Sep 2019
Engr 103SFSU Fall 2016A. Tabrizi School of Engineering All SectionsAssignment NO 4Write a C program to read in a 2-dimestional arrays and store this array inARYwhose dimensionsMandNare read in.A)Write a function calledCOPYRthat will copy all the elements of thegiven double arrayARYrow by row to a single array calledVCTRB)Write a function calledCOPYCthat will copy all the elements of theGiven double arrayARYcolumn by column to a single array calledVCTCC)Write a function calledPOLYNOMIALthat will calculate all theelements of the double array ARY one by one with the givenpolynomial function calledPOLY.You will store the new doublearray values toCALCULATEDdouble arrays.POLY(X)=2X3+ 5X2+ 3Sin(X) – 4COS(X)The double arrayARYgiven as:2.1 3.5 1.1 5.5ARY = 0.5 3.5 4.6 0.755.3 0.95 0.3 1.2Note:a)Draw the flow chart.b)Display the given matrix and calculated matrix and arrays with aproper formatting.Extra Credit1)for extra credit, use external file(s) to input all the given data.2)Not only you display the interactive output (Part b), your outputshould be copied to an external file.3)Display all the external file(s).