C++ and OpenGL. Just Numbers 3 and 4 from attachment. Please see attachment.

Using Visual C++ and your OpenGL configured environment, write an application that displays a

graphical scene that displays a top-down, 2-D (non-animated) view of the Sun and at least 4

planets of our solar system. You can assume elliptical orbits for all of the planets in your scene.

Sizes of the ellipses should be scaled to the actual distances from the Sun. You should include

circles representing each of the planets and the Sun in your scene. Sizes of the objects should be

scaled proportional to their actual size (with the exception of the Sun as it will be most likely too

large to have other planet be visible). Be sure to label each of your planets and the Sun. In the

word document you submit, describe exactly how you scaled your planets and elliptical orbits.

Be sure to reference your source for planet size, and distance from the Sun. (

4. Using Visual C++ and your OpenGL configured environment, write an application that calculates

and plots the 2D parabolic trajectories for an object whose starting position is p1 = (500,400)

with velocities, v = (30m/s,40 m/s), for at least 4 different planets including Earth. Plot the

trajectories using different line colors and styles for values of time increments of 1 second. Plot

the trajectories only up to the first negative Y value. For example, the last 3 plotted points (x,y)

might be

860 174.4

890 91.9

920 -0.4

No additional points beyond the first negative value should be plotted.

Label the trajectories corresponding to the planets selected. Be sure to reference your source

used for the gravity for the planets. Be sure your plot is well-organized, includes grid lines, x and

y axis, x-axis and y-axis labels, and legends. Each trajectory should use a different symbol or

shape or color.

Kemahiran: Pengaturcaraan C, Pengaturcaraan C++, Java, Matlab and Mathematica, OpenGL

Lihat lagi: java distance, c.v. example, at just, animated view

Tentang Majikan:
( 37 ulasan ) Whitehouse Station, United States

ID Projek: #10110737

Dianugerahkan kepada:


Hired by the Employer

$40 USD dalam 2 hari
(6 Ulasan)