Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Construct a table of four columns, as follows: [time. distance a distance b dist

ID: 463758 • Letter: C

Question

Construct a table of four columns, as follows: [time. distance a distance b distance Export the table to an excel sheet. Plot the distance as a function of time. Fit the distance using a second order polynomial. Plot the actual distance and the fitted one on the same plot. Use proper labeling. Problem 4 Write a code that will ask the user to define Ike number of rows and columns of a matrix, then fill in that matrix by placing the result of adding the row and column numbers for that cell location. For example: If the user selects 3 for rows and 2 for columns, then: Define a matrix A as follows: Do the following statements without redefining the matrix (don't re-enter the values of A ): Add a new row of 7's at the end of A. (all the new matrix B

Explanation / Answer

#include<stdio.h>

#include<conio.h>

int main()

{

    float a[9][2]={{0,1},{1,1}};

    int row=(sizeof(a)/sizeof(a[0]));

    int col=(sizeof(a)/sizeof(a[0][0]))/row;

    printf("%d ",row);

    printf("%d ",col);

    return 0;

    Void main()       

}