using System;
using L=Science.Physics.GeneralPhysics;
namespace Serway.Chapter04
{
///
/// Example11: Which Way Should We Head?
/// If the boat of the preceding example travels with the same
/// speed of 10.0 km/h relative to the river and is to travel
/// due north, as shown in Figure 4.25,
/// what should its heading be?
/// \theta = 30^{\circle}
///
public class Example11
{
public Example11()
{
}
private string result;
public string Result
{
get{return result;}
}
public void Compute()
{
L.Velocity water = new L.Velocity();
water.X = 5.0;
double theta = Math.Asin(water.X/10.0)*180/Math.PI;
result += theta.ToString();
}
}
}
//30