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

I will award 1500 points. a) Use a C program to predict the number of meteors of

ID: 645079 • Letter: I

Question

I will award 1500 points.

a) Use a C program to predict the number of meteors of each size expected to impact Venus in a 1000 year interval, Have your program print out the sizes of meteors during the run. (Due with this homework)

b) Modify your C program to estimate a location for each hit on a Cartesian grid during the same 1000 year interval. Have your program print of the sizes and location coordinates of the craters during the run. (Due with next homework)

Someone help please. I just need part b asnwered. I will award 1500 points.

Assume that the surface of Venus is a flat circular disk with a radius of 6050 km. Assume all meteor paths are perpendicular to the model of Venus as a flat disk. Assume that two sizes of meteors will hit Venus, each size has a different probability of hitting Venus, and each meteor of the same diameter will produce a crater of the same diameter. a) Use a C program to predict the number of meteors of each size expected to impact Venus in a 1000 year interval, Have your program print out the sizes of meteors during the run. (Due with this homework) b) Modify your C program to estimate a location for each hit on a Cartesian grid during the same 1000 year interval. Have your program print of the sizes and location coordinates of the craters during the run. (Due with next homework) Someone help please. I just need part b asnwered. I will award 1500 points.

Explanation / Answer

Hope may helps you..

#include<stdio.h>

int main()

{

    unsigned int length, width, averagedepth, volume;

     

    printf("Enter the length of the swimming pool: ");

    scanf("%d", &length);

    printf("Enter the width of the swimming pool: ");

    scanf("%d", &width);

    printf("Enter the average depth of the swimming pool: ");

    scanf("%d", &averagedepth);

    volume = length * width * averagedepth;

     

    printf("The volume of the pool is ");

    printf("%d",volume);

     

    return 0;

     

}