Aircraft Design Povver Loading Objective: Create a power loading class (model th
ID: 3571762 • Letter: A
Question
Aircraft Design Povver Loading Objective: Create a power loading class (model that estimates power loading for 7 types of aircraft. What is Power Loading? Power loading is a term that dates to the earliest days of aircraft design, and it is simply the weight of the aircraft divided by its power W/hp, where weightis in pounds Power loadings typically range from 10 to 15 pounds per horsepower for small aircraft. A large power loading indicates a small engine for a given aircraft weight. High performance aircraft have power loadings aslowas 6 lbs/hp. Fields vmax is the maximum desired velocity of the aircraft in knots. hp is the maximum estimated horsepower of an engine in lbs. Methods Provide seven distinct methods that each return a value based upon the following formulas ixed Gear 215V 172V hp Acrobat hp Retract Gear WM 276V 511V. Ragwing hp Aluminum Fixed Gear W 248V 325V hp Ultralight hp Composit Retract Gear WK 680V hp ComposExplanation / Answer
//PowerLoading.java
public class PowerLoading {
private double vmax;
private double hp;
public PowerLoading(double vmax, double hp) {
this.vmax=vmax;
this.hp=hp;
}
//Returns the weight of fixed gear almunimum
public double getWtOfFixedGear(){
double W=215.0*Math.pow(vmax,-0.61);
return W/hp;
}
//Returns the weight of retract gear almunimum
public double getWtOfRectractGear(){
double W=276*Math.pow(vmax,-0.65);
return W/hp;
}
//Returns the weight of fixed gear composite
public double getWtOfFixedGearComposite(){
double W=248*Math.pow(vmax,-0.61);
return W/hp;
}
//Returns the weight of fixed gear almunimum
public double getWtOfRectractGearComposite(){
double W=680*Math.pow(vmax,-0.39);
return W/hp;
}
//Returns the weight of Acrobatic aeroplane
public double getWtOfAcrobatic(){
double W=172*Math.pow(vmax,-0.61);
return W/hp;
}
//Returns the weight of ragwing aeroplane
public double getWtOfRagwing(){
double W=511*Math.pow(vmax,-0.75);
return W/hp;
}
//Returns the weight of ultralight almunimum
public double getWtOfUltralight(){
double W=325*Math.pow(vmax,-0.75);
return W/hp;
}
//Returns maximum take off weight
public double MTOW(double pwrlding){
return pwrlding*hp;
}
}
-----------------------------------------------------------
//Tester.java
public class Tester {
public static void main(String[] args) {
//Set vmax and hp
double vmax=150;
double hp=180;
//Create aninstance of PowerLoadig with vmax and hp
PowerLoading ploadin=
new PowerLoading(vmax,hp);
System.out.println("vmax = "+vmax+" knot");
System.out.println("hp = "+hp+" jp");
double pl=ploadin.getWtOfFixedGear();
System.out.printf("Power loading of fixed grear : %5.2f ",pl);
System.out.println("MTOW = "+ploadin.MTOW(pl));
pl=ploadin.getWtOfAcrobatic();
System.out.printf("Power loading of Acrobatic : %5.2f ",pl);
System.out.println("MTOW = "+ploadin.MTOW(pl));
pl=ploadin.getWtOfFixedGearComposite();
System.out.printf("Power loading of FixedGear Composite : %5.2f ",pl);
System.out.println("MTOW = "+ploadin.MTOW(pl));
pl=ploadin.getWtOfRagwing();
System.out.printf("Power loading of Ragwing : %5.2f ",pl);
System.out.println("MTOW = "+ploadin.MTOW(pl));
pl=ploadin.getWtOfRectractGear();
System.out.printf("Power loading of Rectract Gear : %5.2f ",pl);
System.out.println("MTOW = "+ploadin.MTOW(pl));
pl=ploadin.getWtOfRectractGearComposite();
System.out.printf("Power loading of Rectract Gear Composite : %5.2f ",pl);
System.out.println("MTOW = "+ploadin.MTOW(pl));
}
}
-----------------------------------------------------------
Output:
vmax = 150.0 knot
hp = 180.0 jp
Power loading of fixed grear : 0.06
MTOW = 10.116325436157744
Power loading of Acrobatic : 0.04
MTOW = 8.093060348926194
Power loading of FixedGear Composite : 0.06
MTOW = 11.669063758916838
Power loading of Ragwing : 0.07
MTOW = 11.922091642784522
Power loading of Rectract Gear : 0.06
MTOW = 10.627956389760246
Power loading of Rectract Gear Composite : 0.54
MTOW = 96.34591856673724
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.