The surface of Venus is said to be without any features except for randomly size
ID: 643177 • Letter: T
Question
The surface of Venus is said to be without any features except for randomly sized craters in random locations. A map from Monte Carlo simulation of meteors hitting a smooth spherical planet was essentially identical to a map produced by satellite radar.
Create a Monte Carlo simulation of meteor craters on Venus.
Meteor diameter
Crater diameter
Impacts per million years
50 m
2000 m
100
5m
360 m
10000
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.
Meteor diameter
Crater diameter
Impacts per million years
50 m
2000 m
100
5m
360 m
10000
Explanation / Answer
#include<stdio.h>
int main(){
int diameter, location,years=100,i;
printf("Enter diamater of Meteor ");
scanf("%d",&diameter);
printf("Enter location in meters: ");
scanf("%d",location);
printf("diamater location years");
return 0;
for(i=100;i<10000;i++){
if((years%100)==0){
printf("%d %d %d ",diameter,location,years);
diameter=diameter-(diameter*0.4);
location = location-(location*0.4);
}
else{
years++;
}
}
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.