Sandbox: Difference between revisions

From HelioWiki Home Page
Jump to navigation Jump to search
imported>Schriste
No edit summary
imported>Wikisysop
No edit summary
 
Line 32: Line 32:
A = \frac{1}{\int f dx}
A = \frac{1}{\int f dx}
</math>
</math>
<inputbox>
type=search
width=42
buttonlabel=Go
searchbuttonlabel=Search
break=no
</inputbox>

Latest revision as of 15:07, 5 November 2009

// Hello World in Microsoft C# ("C-Sharp").

using System;

class HelloWorld
{
    public static int Main(String[] args)
    {
        Console.WriteLine("Hello, World!");
        return 0;
    }
}
phi = (90.0-latitude)/!radeg
theta = longitude/!radeg

x = (1.+height) * sin(phi) * cos(theta)
y = (1.+height) * sin(theta) * sin(phi)
z = (1.+height) * cos(phi)

IF keyword_set(debug) THEN stop

return, [transpose(x), transpose(y), transpose(z)]

END

<math> A = \frac{1}{\int f dx} </math>