Answer:
class TriangleNumbers
{
public static void main (String[] args)
{
for (int number = 1; number <= 10; ++number) {
int sum = 1;
System.out.print("1");
for (int summed = 2; summed <= number; ++summed) {
sum += summed;
System.out.print(" + " + Integer.toString(summed));
}
System.out.print(" = " + Integer.toString(sum) + '\n');
}
}
}
Explanation:
We need to run the code for each of the 10 lines. Each time we sum numbers from 1 to n. We start with 1, then add numbers from 2 to n (and print the operation). At the end, we always print the equals sign, the sum and a newline character.
Answer:
Explanation:
It wouldn't work because the wind energy she would be collecting would actually come from the car engine.
The relative wind velocity observed from a moving vehicle is the sum of the actual wind velocity and the velovity of the vehicle.
u' = u + v
While running a car will generate a rather high wind velocity, and increase the power generated by a wind turbine, the turbine would only be able to convert part of the wind energy into electricity while adding a lot of drag. In the end, it would generate less energy that what the drag casuses the car to waste to move the turbine.
Regenerative braking uses an electric generator connected to the wheel axle to recover part of the kinetic energy eliminated when one brakes the vehicle. Normal brakes dissipate this energy as heat, a regenerative brake uses it to recharge a batttery. Note that is is a fraction of the energy that is recovered, not all of it.
A "regenerative accelerator" makes no sense. Braking is taking kinetic energy out of the vehicle, while accelerating is adding kinetic energy to it. Cars accelerate using the power from their engines.
Answer:
1.693242
Explanation:
The colors in the Light emitting diodes have been identified by wavelength which is measured in nano-meters. Wavelength is a function of LED chip material. The LED diode which has a = 632 then A1 will be 1.63242, this is calculated by 1 / 632. Wavelength are important for human eye sensitivity. The colors emitted from the LED will depend on the semiconductor material.