Jump to content

Mars Hotspot


Sande
 Share

Recommended Posts

  • Replies 873
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
  • 3 weeks later...

I relocated my three mars thingies...

Data points for November are(Data listed in the order it's displayed):
67% -> -25.79989, -6.32813
60% -> -65.65827, 40.78125
50% -> -27.99440, 169.80469

It's rather doubtful that I'll bother doing the math... But there's the data if someone wants to run the number for Novembers hotspot.

Link to comment
Share on other sites

-57 -11 75%
-57 -52 89%

EDIT:
I wrote a java program so that anyone can calculate it.

[code]// USEAGE: java HotspotCalc LAT1 LON1 EFF1 LAT2 LON2 EFF2, etc

public class HotspotCalc {
public static final int nPointsMax = 99;

public static void main(String[] args) {
double[] lon = new double[nPointsMax];
double[] lat = new double[nPointsMax];
double[] eff = new double[nPointsMax];

double bestFit;
double bestFitLat;
double bestFitLong;
double thisFit;
double temp;

bestFit = 99999999;
bestFitLat = 0;
bestFitLong = 0;

int nPoints = args.length / 3;

int ii; int jj; int kk;

//Load the points from command line
for (ii = 0; ii < nPoints * 3; ii += 3) {
lon[ii/3] = Double.parseDouble(args[ii]);
lat[ii/3] = Double.parseDouble(args[ii+1]);
eff[ii/3] = Double.parseDouble(args[ii+2]);
System.out.println ("Point: ("+lon[ii/3]+","+lat[ii/3]+"), "+eff[ii/3]+"%");
}

//Scan through lat, long
for (ii = -90; ii <= 90; ii++ ) {
for (jj = -180; jj <= 180; jj++) {
thisFit = 0;
//Scan through poitns
for (kk = 0; kk < nPoints; kk++) {
//TEMP = sqrt(100 - 125*d(p,x)) -eff)
temp = 100.0 - 125.0*Math.acos(Math.sin(lat[kk]*Math.PI/180.0)*Math.sin(ii*Math.PI/180.0) + Math.cos(lat[kk]*Math.PI/180.0)*Math.cos(ii*Math.PI/180.0)*Math.cos(Math.PI*(lon[kk]-jj)/180.0))/Math.PI -eff[kk];
thisFit += temp * temp;
}
//If this fits the data better than the current best fit, store the lat, long
if (thisFit < bestFit) {
bestFit = thisFit;
bestFitLat = ii;
bestFitLong = jj;
}
}
}

System.out.println ("Best lat: "+bestFitLat);
System.out.println ("Best lon: "+bestFitLong);
System.out.println ("Fit Quality (closest to zero is better): "+(bestFit/nPoints) + " (" +(bestFit)+")");

}

}[/code]

According to it, the best Lat, Long is -31, -72.

Note:
Only include points with eff > 50%!

Edited by Twigz
Link to comment
Share on other sites

[quote name='dealmaster13' timestamp='1288904105' post='2502126']
Base Effectiveness: 98%
Location: -42.00000, -62.00000

Mine Effectiveness: 98%
Location: -44.00000, -62.00000

Colony Effectiveness: 99%
Location: -43.00000, -60.00000

Good luck on 100% hehe
[/quote]

-43.00000, -61.00000 = 99% effectiveness

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...