Weather Observation Station 18

Sort by

recency

|

2355 Discussions

|

  • + 0 comments

    SELECT ROUND(ABS(MIN(LAT_N) - MAX(LAT_N)) + ABS(MIN(LONG_W) - MAX(LONG_W)), 4) AS manhattan_distance FROM STATION;

  • + 0 comments

    For MySQL

    SELECT ROUND(MAX(lat_n)-MIN(lat_n) + MAX(long_w)-MIN(long_w), 4) FROM station;
    
  • + 0 comments

    select round(abs(max(lat_n)-min(lat_n))+abs(max(long_w)-min(long_w)),4) from station manhanttan distance = |x_1 - x_2| + |y_1 - y_2| we known if i have one vector a have coordinate (x,y) examples (1,1) , (3,4) if we want to calculate distance vector (1,1) to (3,4) , we could manhanttan distanstance

  • + 0 comments

    actually i did not understand this question plese anyone expalin it

  • + 0 comments

    SELECT ROUND( ABS(MIN(LAT_N) - MAX(LAT_N)) + ABS(MIN(LONG_W) - MAX(LONG_W)), 4 ) AS Manhattan_Distance FROM STATION;