Hey everyone. I'm writing a piece of software that will determine the area between two lines. Here's what the software does:(adsbygoogle = window.adsbygoogle || []).push({});

You input a starting elevation (below ground), say 30 ft, then you specify the ending elevation (below ground) say 37 ft. And the distance between the two is say 150 ft. I need to determine the slop of the line between those two points.

Then you can specify different stations. So station one would be at 25 ft from the starting point. I need to find the area between the ground level, and the line that I previously found the slope for.

I've attached an image to help you understand what I'm trying to do. If you have any questions let me know! this program is the working version, but I don't have the source code. That's why I'm re-writing it. The different colors represent different depth categories.

Thanks for any help!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Area between two lines

**Physics Forums | Science Articles, Homework Help, Discussion**