// ------------------------------------ // function setMotor(f) { var index = f.selectedIndex; if (index == 1) //ADC 203-06-4001 { f.form.motorVoltage.value = 120 f.form.motorWeight.value = 120 f.form.motorHP.value = 17.50 f.form.motorMaxRpm.value = 8000 f.form.motorA.value = 16796 f.form.motorB.value = 0.2090 f.form.motorC.value = -3380 f.form.motorD.value = 108 f.form.motorK.value = 0.0118 f.form.motorN.value = 1.4300 } else if (index == 2) //ADC A89 { f.form.motorVoltage.value = 50 f.form.motorWeight.value = 50 f.form.motorHP.value = 12.50 f.form.motorMaxRpm.value = 6000 f.form.motorA.value = 10680 f.form.motorB.value = 0.1080 f.form.motorC.value = -5359 f.form.motorD.value = 50 f.form.motorK.value = 0.0155 f.form.motorN.value = 1.3800 } else if (index == 3) //ADC FB-4001A { f.form.motorVoltage.value = 144 f.form.motorWeight.value = 143 f.form.motorHP.value = 28.50 f.form.motorMaxRpm.value = 7000 f.form.motorA.value = 46264 f.form.motorB.value = 0.9070 f.form.motorC.value = 2068 f.form.motorD.value = 120 f.form.motorK.value = 0.0085 f.form.motorN.value = 1.5500 } else if (index == 4) //ADC L91-4003 { f.form.motorVoltage.value = 120 f.form.motorWeight.value = 100 f.form.motorHP.value = 28.50 f.form.motorMaxRpm.value = 8000 f.form.motorA.value = 14934 f.form.motorB.value = 0.2180 f.form.motorC.value = -2714 f.form.motorD.value = 108 f.form.motorK.value = 0.0232 f.form.motorN.value = 1.3100 } else if (index == 5) //ADC XP1263 { f.form.motorVoltage.value = 168 f.form.motorWeight.value = 120 f.form.motorHP.value = 28.50 f.form.motorMaxRpm.value = 8000 f.form.motorA.value = 23633 f.form.motorB.value = 0.4470 f.form.motorC.value = 617 f.form.motorD.value = 168 f.form.motorK.value = 0.0172 f.form.motorN.value = 1.4300 } else if (index == 6) //GE 5BT1346B50 { f.form.motorVoltage.value = 120 f.form.motorWeight.value = 100 f.form.motorHP.value = 22.00 f.form.motorMaxRpm.value = 9000 f.form.motorA.value = 21592 f.form.motorB.value = 0.2060 f.form.motorC.value = -62999 f.form.motorD.value = 108 f.form.motorK.value = 0.0076 f.form.motorN.value = 1.5000 } else if (index == 7) //Kostov { f.form.motorVoltage.value = 144 f.form.motorWeight.value = 173 f.form.motorHP.value = 30.00 f.form.motorMaxRpm.value = 4000 f.form.motorA.value = 24414 f.form.motorB.value = 0.0710 f.form.motorC.value = -14737 f.form.motorD.value = 144 f.form.motorK.value = 0.0167 f.form.motorN.value = 1.4600 } else if (index == 8) //Prestolite 4001 { f.form.motorVoltage.value = 96 f.form.motorWeight.value = 105 f.form.motorHP.value = 20.00 f.form.motorMaxRpm.value = 6000 f.form.motorA.value = 12000 f.form.motorB.value = 0.1800 f.form.motorC.value = -2428 f.form.motorD.value = 96 f.form.motorK.value = 0.0084 f.form.motorN.value = 1.4880 } else if (index == 9) //Siemens 1PV5105WS12 { f.form.motorVoltage.value = 380 f.form.motorWeight.value = 108 f.form.motorHP.value = 24.50 f.form.motorMaxRpm.value = 10000 f.form.motorA.value = 0 f.form.motorB.value = 0.0000 f.form.motorC.value = 0 f.form.motorD.value = 280 f.form.motorK.value = 0.0000 f.form.motorN.value = 0.0000 } else if (index == 10) //Siemens 1PV5133WS18 { f.form.motorVoltage.value = 380 f.form.motorWeight.value = 150 f.form.motorHP.value = 40.70 f.form.motorMaxRpm.value = 9700 f.form.motorA.value = 0 f.form.motorB.value = 0.0000 f.form.motorC.value = 0 f.form.motorD.value = 280 f.form.motorK.value = 0.0000 f.form.motorN.value = 0.0000 } else if (index == 11) //Warp 9 { f.form.motorVoltage.value = 192 f.form.motorWeight.value = 135 f.form.motorHP.value = 35.00 f.form.motorMaxRpm.value = 5000 f.form.motorA.value = 46239 f.form.motorB.value = 0.4564 f.form.motorC.value = 2436 f.form.motorD.value = 303 f.form.motorK.value = 0.0069 f.form.motorN.value = 1.5845 } } // ------------------------------------ // function setBattery(f) { var index = f.selectedIndex; if (index == 1) // 12105 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 68.00 f.form.puekertExp.value = 1.180 f.form.puekertNum.value = 142.000 f.form.batteryResistance.value = 0.00380 } else if (index == 2) // 9A31 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 69.00 f.form.puekertExp.value = 1.145 f.form.puekertNum.value = 126.316 f.form.batteryResistance.value = 0.00080 } else if (index == 3) // 9A78DT { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 45.00 f.form.puekertExp.value = 1.043 f.form.puekertNum.value = 57.460 f.form.batteryResistance.value = 0.03000 } else if (index == 4) // D31T { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 60.00 f.form.puekertExp.value = 1.079 f.form.puekertNum.value = 83.235 f.form.batteryResistance.value = 0.00250 } else if (index == 5) // D34M { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 43.50 f.form.puekertExp.value = 1.043 f.form.puekertNum.value = 57.456 f.form.batteryResistance.value = 0.00250 } else if (index == 6) // D750 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 45.00 f.form.puekertExp.value = 1.110 f.form.puekertNum.value = 74.000 f.form.batteryResistance.value = 0.00280 } else if (index == 7) // DCS100 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 69.00 f.form.puekertExp.value = 1.200 f.form.puekertNum.value = 142.000 f.form.batteryResistance.value = 0.00350 } else if (index == 8) // Hawker PC2150 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 75.00 f.form.puekertExp.value = 1.113 f.form.puekertNum.value = 120.000 f.form.batteryResistance.value = 0.00220 } else if (index == 9) // J-150 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 84.00 f.form.puekertExp.value = 1.313 f.form.puekertNum.value = 331.455 f.form.batteryResistance.value = 0.00360 } else if (index == 10) // MK 8G31 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 72.00 f.form.puekertExp.value = 1.570 f.form.puekertNum.value = 783.390 f.form.batteryResistance.value = 0.00360 } else if (index == 11) // Orbital 34XCD { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 41.00 f.form.puekertExp.value = 1.080 f.form.puekertNum.value = 54.000 f.form.batteryResistance.value = 0.00280 } else if (index == 12) // SCS200 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 60.00 f.form.puekertExp.value = 1.226 f.form.puekertNum.value = 172.574 f.form.batteryResistance.value = 0.00400 } else if (index == 13) // T-105 { f.form.batteryVoltage.value = 6.00 f.form.batteryWeight.value = 61.00 f.form.puekertExp.value = 1.240 f.form.puekertNum.value = 447.000 f.form.batteryResistance.value = 0.00400 } else if (index == 14) // T-145 { f.form.batteryVoltage.value = 6.00 f.form.batteryWeight.value = 71.00 f.form.puekertExp.value = 1.134 f.form.puekertNum.value = 345.500 f.form.batteryResistance.value = 0.00360 } else if (index == 15) // T-875 { f.form.batteryVoltage.value = 8.00 f.form.batteryWeight.value = 63.00 f.form.puekertExp.value = 1.300 f.form.puekertNum.value = 323.470 f.form.batteryResistance.value = 0.00800 } else if (index == 16) // TS-IC24v90 { f.form.batteryVoltage.value = 24.00 f.form.batteryWeight.value = 52.00 f.form.puekertExp.value = 1.056 f.form.puekertNum.value = 54.846 f.form.batteryResistance.value = 0.00600 } else if (index == 17) // U24-XP { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 34.00 f.form.puekertExp.value = 1.036 f.form.puekertNum.value = 106.195 f.form.batteryResistance.value = 0.00600 } else if (index == 18) // UB121100 { f.form.batteryVoltage.value = 12.00 f.form.batteryWeight.value = 73.00 f.form.puekertExp.value = 1.113 f.form.puekertNum.value = 124.898 f.form.batteryResistance.value = 0.00400 } else if (index == 19) // US-125 { f.form.batteryVoltage.value = 6.00 f.form.batteryWeight.value = 67.00 f.form.puekertExp.value = 1.455 f.form.puekertNum.value = 721.128 f.form.batteryResistance.value = 0.00360 } } // ------------------------------------ // function setController(f) { var index = f.selectedIndex; if (index == 1) // Auburn Kodiak C600 { f.form.controllerMinVolt.value = 72 f.form.controllerMaxVolt.value = 120 f.form.controllerMaxAmps.value = 550 f.form.controllerWeight.value = 50.0 f.form.controllerEfficiency.value = 95 } else if (index == 2) // Curtis 1231C { f.form.controllerMinVolt.value = 72 f.form.controllerMaxVolt.value = 120 f.form.controllerMaxAmps.value = 550 f.form.controllerWeight.value = 20.0 f.form.controllerEfficiency.value = 95 } else if (index == 3) // Kelly KDH14651B { f.form.controllerMinVolt.value = 24 f.form.controllerMaxVolt.value = 168 f.form.controllerMaxAmps.value = 650 f.form.controllerWeight.value = 10.0 f.form.controllerEfficiency.value = 99 } else if (index == 4) // Siemens Inverter { f.form.controllerMinVolt.value = 110 f.form.controllerMaxVolt.value = 350 f.form.controllerMaxAmps.value = 400 f.form.controllerWeight.value = 59.0 f.form.controllerEfficiency.value = 94 } else if (index == 5) // Zilla 1k { f.form.controllerMinVolt.value = 72 f.form.controllerMaxVolt.value = 348 f.form.controllerMaxAmps.value = 1000 f.form.controllerWeight.value = 15.5 f.form.controllerEfficiency.value = 98 } else if (index == 6) // Zilla 2K { f.form.controllerMinVolt.value = 72 f.form.controllerMaxVolt.value = 348 f.form.controllerMaxAmps.value = 2000 f.form.controllerWeight.value = 29.5 f.form.controllerEfficiency.value = 98 } } // ------------------------------------ // function setVehicle(f) { var index = f.selectedIndex; if (index == 1) // 1969 Volkswagen Beetle { f.form.dragCoefficient.value = 0.42 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 1980 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 15.68 f.form.gearRatio2.value = 8.50 f.form.gearRatio3.value = 5.20 f.form.gearRatio4.value = 3.63 f.form.gearRatio5.value = 0.00 } else if (index == 2) // 1970 Porsche 914 (add 220# for 1975) { f.form.dragCoefficient.value = 0.36 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 1985 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.69 f.form.gearRatio2.value = 8.37 f.form.gearRatio3.value = 5.58 f.form.gearRatio4.value = 4.12 f.form.gearRatio5.value = 3.14 } else if (index == 3) // 1975 280Z { f.form.dragCoefficient.value = 0.45 f.form.frontArea.value = 22.00 f.form.curb_weight.value = 2824 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 11.77 f.form.gearRatio2.value = 7.37 f.form.gearRatio3.value = 4.64 f.form.gearRatio4.value = 3.55 f.form.gearRatio5.value = 3.05 } else if (index == 4) // 1979 Citroen GS { f.form.dragCoefficient.value = 0.33 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2075 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 15.71 f.form.gearRatio2.value = 9.52 f.form.gearRatio3.value = 6.27 f.form.gearRatio4.value = 4.62 f.form.gearRatio5.value = 0.00 } else if (index == 5) // 1980 MGB (4-speed) { f.form.dragCoefficient.value = 0.40 f.form.frontArea.value = 17.00 f.form.curb_weight.value = 2505 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 12.99 f.form.gearRatio2.value = 8.46 f.form.gearRatio3.value = 5.38 f.form.gearRatio4.value = 3.90 f.form.gearRatio5.value = 0.00 } else if (index == 6) // 1982 DeLorean { f.form.dragCoefficient.value = 0.34 f.form.frontArea.value = 22.00 f.form.curb_weight.value = 2880 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 11.56 f.form.gearRatio2.value = 7.09 f.form.gearRatio3.value = 4.75 f.form.gearRatio4.value = 3.65 f.form.gearRatio5.value = 2.82 } else if (index == 7) // 1982 Fiat X1/9 { f.form.dragCoefficient.value = 0.38 f.form.frontArea.value = 17.00 f.form.curb_weight.value = 2375 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 14.61 f.form.gearRatio2.value = 9.14 f.form.gearRatio3.value = 5.92 f.form.gearRatio4.value = 4.24 f.form.gearRatio5.value = 3.51 } else if (index == 8) // 1983 Volkswagen Rabbit GTI { f.form.dragCoefficient.value = 0.36 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2200 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.75 f.form.gearRatio2.value = 8.35 f.form.gearRatio3.value = 5.67 f.form.gearRatio4.value = 4.45 f.form.gearRatio5.value = 3.59 } else if (index == 9) // 1986 Acura Integra RS { f.form.dragCoefficient.value = 0.32 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2640 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.35 f.form.gearRatio2.value = 8.17 f.form.gearRatio3.value = 5.68 f.form.gearRatio4.value = 4.33 f.form.gearRatio5.value = 3.58 } else if (index == 10) // 1986 Mazda RX-7 GXL { f.form.dragCoefficient.value = 0.31 f.form.frontArea.value = 19.00 f.form.curb_weight.value = 2885 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 14.27 f.form.gearRatio2.value = 8.20 f.form.gearRatio3.value = 5.62 f.form.gearRatio4.value = 4.10 f.form.gearRatio5.value = 2.91 } else if (index == 11) // 1986 Porsche 924S { f.form.dragCoefficient.value = 0.35 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2910 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 14.00 f.form.gearRatio2.value = 8.29 f.form.gearRatio3.value = 5.68 f.form.gearRatio4.value = 4.16 f.form.gearRatio5.value = 3.23 } else if (index == 12) // 1986 Porshe 911 Carrera { f.form.dragCoefficient.value = 0.32 f.form.frontArea.value = 19.00 f.form.curb_weight.value = 2965 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.27 f.form.gearRatio2.value = 6.92 f.form.gearRatio3.value = 4.84 f.form.gearRatio4.value = 3.86 f.form.gearRatio5.value = 3.05 } else if (index == 13) // 1986 Toyota MR2 { f.form.dragCoefficient.value = 0.31 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2525 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.66 f.form.gearRatio2.value = 8.19 f.form.gearRatio3.value = 5.64 f.form.gearRatio4.value = 4.18 f.form.gearRatio5.value = 3.54 } else if (index == 14) // 1988 Honda Civic DX Hatchback { f.form.dragCoefficient.value = 0.30 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2088 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.09 f.form.gearRatio2.value = 7.05 f.form.gearRatio3.value = 4.69 f.form.gearRatio4.value = 3.49 f.form.gearRatio5.value = 2.87 } else if (index == 15) // 1989 Daihatsu Charade { f.form.dragCoefficient.value = 0.35 f.form.frontArea.value = 17.00 f.form.curb_weight.value = 2155 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 14.34 f.form.gearRatio2.value = 8.54 f.form.gearRatio3.value = 5.80 f.form.gearRatio4.value = 3.99 f.form.gearRatio5.value = 3.29 } else if (index == 16) // 1990 Chevrolet Beretta GT { f.form.dragCoefficient.value = 0.32 f.form.frontArea.value = 21.00 f.form.curb_weight.value = 2925 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.64 f.form.gearRatio2.value = 7.40 f.form.gearRatio3.value = 4.98 f.form.gearRatio4.value = 3.39 f.form.gearRatio5.value = 2.60 } else if (index == 17) // 1990 Ford Probe { f.form.dragCoefficient.value = 0.33 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2700 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.57 f.form.gearRatio2.value = 7.50 f.form.gearRatio3.value = 5.04 f.form.gearRatio4.value = 3.73 f.form.gearRatio5.value = 2.95 } else if (index == 18) // 1990 Honda CRX SI { f.form.dragCoefficient.value = 0.30 f.form.frontArea.value = 17.00 f.form.curb_weight.value = 2255 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.81 f.form.gearRatio2.value = 8.03 f.form.gearRatio3.value = 5.36 f.form.gearRatio4.value = 4.00 f.form.gearRatio5.value = 3.27 } else if (index == 19) // 1991 BMW 318IS { f.form.dragCoefficient.value = 0.33 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2785 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 15.25 f.form.gearRatio2.value = 8.28 f.form.gearRatio3.value = 5.41 f.form.gearRatio4.value = 4.10 f.form.gearRatio5.value = 3.32 } else if (index == 20) // 1992 Ford Festiva GL { f.form.dragCoefficient.value = 0.36 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2070 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.35 f.form.gearRatio2.value = 6.95 f.form.gearRatio3.value = 4.58 f.form.gearRatio4.value = 3.08 f.form.gearRatio5.value = 2.47 } else if (index == 21) // 1992 Geo Metro { f.form.dragCoefficient.value = 0.36 f.form.frontArea.value = 17.00 f.form.curb_weight.value = 1890 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 14.02 f.form.gearRatio2.value = 7.75 f.form.gearRatio3.value = 5.25 f.form.gearRatio4.value = 3.73 f.form.gearRatio5.value = 3.12 } else if (index == 22) // 1992 Geo Storm GSI { f.form.dragCoefficient.value = 0.34 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2640 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 15.29 f.form.gearRatio2.value = 8.86 f.form.gearRatio3.value = 5.97 f.form.gearRatio4.value = 4.24 f.form.gearRatio5.value = 3.42 } else if (index == 23) // 1992 Subaru Justy { f.form.dragCoefficient.value = 0.36 f.form.frontArea.value = 17.00 f.form.curb_weight.value = 1930 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 14.74 f.form.gearRatio2.value = 8.16 f.form.gearRatio3.value = 5.47 f.form.gearRatio4.value = 3.79 f.form.gearRatio5.value = 3.26 } else if (index == 24) // 1993 Dodge Colt GL { f.form.dragCoefficient.value = 0.34 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2690 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.51 f.form.gearRatio2.value = 7.84 f.form.gearRatio3.value = 5.19 f.form.gearRatio4.value = 3.78 f.form.gearRatio5.value = 3.14 } else if (index == 25) // 1993 Ford Probe { f.form.dragCoefficient.value = 0.33 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2700 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.57 f.form.gearRatio2.value = 7.50 f.form.gearRatio3.value = 5.04 f.form.gearRatio4.value = 3.73 f.form.gearRatio5.value = 2.95 } else if (index == 26) // 1993 Ford Ranger XLT (Auto) { f.form.dragCoefficient.value = 0.45 f.form.frontArea.value = 23.00 f.form.curb_weight.value = 3500 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 8.77 f.form.gearRatio2.value = 5.22 f.form.gearRatio3.value = 3.55 f.form.gearRatio4.value = 2.63 f.form.gearRatio5.value = 0.00 } else if (index == 27) // 1993 Mitsubishi Mirage Coupe LS { f.form.dragCoefficient.value = 0.32 f.form.frontArea.value = 19.00 f.form.curb_weight.value = 2300 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.28 f.form.gearRatio2.value = 7.31 f.form.gearRatio3.value = 4.84 f.form.gearRatio4.value = 3.53 f.form.gearRatio5.value = 2.93 } else if (index == 28) // 1994 Chevrolet S-10LS Extended Cab (Auto) { f.form.dragCoefficient.value = 0.45 f.form.frontArea.value = 23.00 f.form.curb_weight.value = 3240 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 10.46 f.form.gearRatio2.value = 5.57 f.form.gearRatio3.value = 3.42 f.form.gearRatio4.value = 2.39 f.form.gearRatio5.value = 0.00 } else if (index == 29) // 1995 Dodge Neon Sport Coupe { f.form.dragCoefficient.value = 0.36 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2640 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.95 f.form.gearRatio2.value = 8.39 f.form.gearRatio3.value = 5.36 f.form.gearRatio4.value = 4.06 f.form.gearRatio5.value = 3.19 } else if (index == 30) // 1995 Mazda Protege ES { f.form.dragCoefficient.value = 0.34 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2760 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.60 f.form.gearRatio2.value = 7.52 f.form.gearRatio3.value = 5.38 f.form.gearRatio4.value = 4.23 f.form.gearRatio5.value = 3.29 } else if (index == 31) // 1995 Nissan Sentra GXE { f.form.dragCoefficient.value = 0.34 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2610 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.62 f.form.gearRatio2.value = 7.43 f.form.gearRatio3.value = 4.89 f.form.gearRatio4.value = 3.49 f.form.gearRatio5.value = 2.77 } else if (index == 32) // 1996 Saturn SC2 { f.form.dragCoefficient.value = 0.33 f.form.frontArea.value = 19.00 f.form.curb_weight.value = 2570 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.20 f.form.gearRatio2.value = 8.37 f.form.gearRatio3.value = 5.77 f.form.gearRatio4.value = 4.18 f.form.gearRatio5.value = 2.97 } else if (index == 33) // 1997 Ford Escort LX { f.form.dragCoefficient.value = 0.36 f.form.frontArea.value = 20.00 f.form.curb_weight.value = 2700 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.74 f.form.gearRatio2.value = 7.05 f.form.gearRatio3.value = 4.74 f.form.gearRatio4.value = 3.50 f.form.gearRatio5.value = 2.77 } else if (index == 34) // 1997 Honda Accord MT { f.form.dragCoefficient.value = 0.32 f.form.frontArea.value = 23.00 f.form.curb_weight.value = 2951 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 14.10 f.form.gearRatio2.value = 7.71 f.form.gearRatio3.value = 5.25 f.form.gearRatio4.value = 3.98 f.form.gearRatio5.value = 3.22 } else if (index == 35) // 1997 Hyundai Tiburon { f.form.dragCoefficient.value = 0.32 f.form.frontArea.value = 19.00 f.form.curb_weight.value = 2810 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.71 f.form.gearRatio2.value = 7.49 f.form.gearRatio3.value = 5.34 f.form.gearRatio4.value = 4.07 f.form.gearRatio5.value = 3.23 } else if (index == 36) // 1998 Chevrolet Prizm LSI { f.form.dragCoefficient.value = 0.34 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2640 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 11.79 f.form.gearRatio2.value = 7.07 f.form.gearRatio3.value = 4.87 f.form.gearRatio4.value = 3.31 f.form.gearRatio5.value = 2.72 } else if (index == 37) // 1998 Mazda Miata { f.form.dragCoefficient.value = 0.38 f.form.frontArea.value = 17.00 f.form.curb_weight.value = 2620 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 13.50 f.form.gearRatio2.value = 8.13 f.form.gearRatio3.value = 5.72 f.form.gearRatio4.value = 4.30 f.form.gearRatio5.value = 3.48 } else if (index == 38) // 1999 Toyota Corolla LE { f.form.dragCoefficient.value = 0.31 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2415 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 3.17 f.form.gearRatio2.value = 1.90 f.form.gearRatio3.value = 1.31 f.form.gearRatio4.value = 0.88 f.form.gearRatio5.value = 0.72 } else if (index == 39) // 2003 Honda Insight 5spd { f.form.dragCoefficient.value = 0.25 f.form.frontArea.value = 20.50 f.form.curb_weight.value = 1878 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 11.10 f.form.gearRatio2.value = 5.61 f.form.gearRatio3.value = 3.52 f.form.gearRatio4.value = 2.75 f.form.gearRatio5.value = 2.28 } else if (index == 40) // 2004 Toyota Prius { f.form.dragCoefficient.value = 0.26 f.form.frontArea.value = 24.00 f.form.curb_weight.value = 2890 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 13.36 f.form.gearRatio2.value = 10.28 f.form.gearRatio3.value = 5.75 f.form.gearRatio4.value = 4.11 f.form.gearRatio5.value = 3.10 } else if (index == 41) // 2005 Ford F250 { f.form.dragCoefficient.value = 0.48 f.form.frontArea.value = 28.00 f.form.curb_weight.value = 6100 f.form.drive_efficiency.value = 0.89 f.form.gearRatio1.value = 5.79 f.form.gearRatio2.value = 3.30 f.form.gearRatio3.value = 2.10 f.form.gearRatio4.value = 1.30 f.form.gearRatio5.value = 1.00 } else if (index == 42) // aerodynamic small car (front wheel drive) { f.form.dragCoefficient.value = 0.30 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2500 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.01 f.form.gearRatio2.value = 7.82 f.form.gearRatio3.value = 5.16 f.form.gearRatio4.value = 3.81 f.form.gearRatio5.value = 2.79 } else if (index == 43) // aerodynamic small car (rear wheel drive) { f.form.dragCoefficient.value = 0.30 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2000 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 12.01 f.form.gearRatio2.value = 7.82 f.form.gearRatio3.value = 5.16 f.form.gearRatio4.value = 3.81 f.form.gearRatio5.value = 2.79 } else if (index == 44) // aerodynamic small truck (rear wheel drive) { f.form.dragCoefficient.value = 0.42 f.form.frontArea.value = 24.00 f.form.curb_weight.value = 3000 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 13.66 f.form.gearRatio2.value = 7.18 f.form.gearRatio3.value = 4.73 f.form.gearRatio4.value = 3.45 f.form.gearRatio5.value = 2.90 } else if (index == 45) // Fiat Pálio 1.0 EX 1999 { f.form.dragCoefficient.value = 0.34 f.form.frontArea.value = 25.30 f.form.curb_weight.value = 1995 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 4.27 f.form.gearRatio2.value = 2.24 f.form.gearRatio3.value = 1.52 f.form.gearRatio4.value = 1.16 f.form.gearRatio5.value = 0.92 } else if (index == 46) // non-aerodynamic small car (front wheel drive) { f.form.dragCoefficient.value = 0.35 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2500 f.form.drive_efficiency.value = 0.91 f.form.gearRatio1.value = 12.01 f.form.gearRatio2.value = 7.82 f.form.gearRatio3.value = 5.16 f.form.gearRatio4.value = 3.81 f.form.gearRatio5.value = 2.79 } else if (index == 47) // non-aerodynamic small car (rear wheel drive) { f.form.dragCoefficient.value = 0.35 f.form.frontArea.value = 18.00 f.form.curb_weight.value = 2000 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 12.01 f.form.gearRatio2.value = 7.82 f.form.gearRatio3.value = 5.16 f.form.gearRatio4.value = 3.81 f.form.gearRatio5.value = 2.79 } else if (index == 48) // non-aerodynamic small truck (rear wheel drive) { f.form.dragCoefficient.value = 0.46 f.form.frontArea.value = 24.00 f.form.curb_weight.value = 3000 f.form.drive_efficiency.value = 0.90 f.form.gearRatio1.value = 13.66 f.form.gearRatio2.value = 7.18 f.form.gearRatio3.value = 4.73 f.form.gearRatio4.value = 3.45 f.form.gearRatio5.value = 2.90 } }