Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            ThetaBetaMSolver solver1 = new ThetaBetaMSolver(2.5, 20);

            MachNumber M = new MachNumber();

            M.M = 2.5;
            AngleDeg angle = new AngleDeg();

            angle.angle = 20;

            double           angleDeg = 20;
            double           angleRad = ThetaBetaMSolver.DegToRad(angleDeg);
            ThetaBetaMSolver solver   = new ThetaBetaMSolver(M, angle);
            double           beta     = solver.FindBeta();

            Console.WriteLine("Beta = " + beta + " deg");
            Console.Read();
        }
Ejemplo n.º 2
0
 public ThetaBetaMSolver(MachNumber M, AngleDeg angle)
 {
     m_M         = M.M;
     m_Theta_Deg = angle.angle;
     m_Beta_Deg  = m_Theta_Deg;
 }