The yesteryear of plot surveying is as a matter of fact
interesting and march to a different drummer and it is in fact a well-known of
the oldest professions in the world. In today’s start we shall regard at the
antiquity of territory surveying and at which point it has influenced late land
surveying.
Thursday, 5 January 2017
Tuesday, 3 January 2017
C# and VB.net code for land area computation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AREA
{
class Program
{
static void Main(string[] args)
{
double SUMA1=0;
double SUMA2 = 0;
double innorth;
double ineast;
int
n;
Console.WriteLine("enter number of stations");
n = int.Parse(Console.ReadLine());
Console.WriteLine("enter initial Northing");
innorth = double.Parse(Console.ReadLine());
Console.WriteLine("enter initial Easting");
ineast = double.Parse(Console.ReadLine ());
for
(int i = 1; i <= n; i++)
{
if (i == n) { Console.WriteLine("enter initial
Northing");
}
else
{
Console.WriteLine("enter next
Northing");
}
double n1 = double.Parse(Console.ReadLine());
if (i == n) { Console.WriteLine("enter initial
Easting");
}
else
{
Console.WriteLine("enter next
Easting");
}
double e1 = double.Parse(Console.ReadLine());
double A1 = innorth * e1;
double A2 = ineast * n1;
SUMA1 = SUMA1 + A1;
SUMA2 = SUMA2 + A2;
Console.WriteLine("A1= "+A1);
Console.WriteLine("A2= "+A2);
innorth =n1;
ineast = e1;
}
Console.WriteLine("SUM(A1)= " + SUMA1);
Console.WriteLine("SUM(A2)= " + SUMA2);
double areaa = (Math.Abs(SUMA1 - SUMA2))
/ 2;
Console.WriteLine("AREA = "+areaa );
Console.ReadKey();
}
}
}
Subscribe to:
Posts (Atom)
History of Land Surveying
The yesteryear of plot surveying is as a matter of fact interesting and march to a different drummer and it is in fact a well-known...
-
AREA COMPUTATION PROCEDURE USING CROSS COORDINATE METHOD To compute area of a parcel of land with vertices coordinates given below; A...
-
The yesteryear of plot surveying is as a matter of fact interesting and march to a different drummer and it is in fact a well-known...
-
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; name...