# C++ extra credits project

on
Hi ,

i want to write a program using functions , read /write files , classes , matrices for an extra credit.

I would like to be related to aerospace. Do u have any idea or any link i would get an idea ?
Comment
Watch Question

Do more with

EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
I did this at work once. You are given the path of a satellite (assume a great circle at height h above the Earth). You need to draw a map showing the azimuth and elevation as a function of time of the tracking telemetry station at a given (lat,lon). Make your assumptions and identify when the satellite is visible to the station.

Commented:
thanks , do u have some more info , like pseudo code on how to do this ? I mean what kind of equations do i need ?

Commented:
I'd have to think about that - it's been 30 years.

Commented:
Matrices + aerospace = finite element analysis to me :-) Why not try implementing a finite element analysis where you read the node data from a file and write the output to file.

Cheers,
Chris

Commented:
can you give me an example chris ? I am not following you sir.
Commented:
http://en.wikipedia.org/wiki/Finite_element_method

Finite Element Analysis was primarily developed in the 1950's to solve stress analysis problems in Aeronautics.

Its twenty years since I developed a piece of software using it as part of my Bachelor's Civil Engineering dissertation as a student. The analysis lends itself to use of matrices. It would be too much to write a general FEA program but writing a program to solve a fairly specific problem e.g. deflection of a cantilever beam subjected to point loads at different positions on the beam (read the positions from a file) could be accomplished.

Cheers,
Chris

Commented:
Use rotation matrix (function of time) to rotate the satellite in great circle. For the given satellite height, you can figure out its angular velocity for its orbit.

For a given time, t, compute the lat/lon of the satellite; then compute the azimuth/elevation of the directional antennae at its station to point to the satellite.

Increment by some delta time, and write to file:  time    azimuth     elevation    sat-lat/lon.
Author of the Year 2009

Commented:
Based upon the question text, this does not need to be particularly complex or use a great deal of higher math.

Here's a thought:
A 2D matrix has elevation data; e.g., as collected from radar of a Mars lander.   You need to cycle through the data to locate the largest, flattest area and then select a point that is at or near the center of that area.

Commented:
The math required for the satellite tracking azimuth/elevation problem requires rotation matrix, and vector addition, subtraction, dot products, and cross products - basically junior level (or advanced sophomore level).

Do more with