Explanation:
Let solve the program using Java programming language
Method: method means group of statements to perform some operation.
let call the method sum.
Parameters: list of variables that are use in the method for declaration.
<u>The code</u>
public int sum (int number)
int answer;
if (number == 1)
answer = number;
else
{
int half = number/2;
int span = number - half;
answer = sum(half) + sum(span) + (half * span);
}
answer result;
}
Firstly we defined the method called sum(), the method takes only one parameter which is number and return the answer(sum of the integers 1 and N).
if the number is equal to 1, so it will return the number and if the number is not equal to 1 it will divide the number by 2 and get the span(span used to shift upper range).And result will add sum of half, sum of span and product of half span.
Answer:
Orbital period of the planet will be 207.06 year
Explanation:
We have given the planet have the semi major axis as 35 au
We have to find the orbital period of the planet
From Keplar's third law there is relation between the orbital period and semi major axis which is t 
So 


So orbital period of the planet will be 207.06 year
Answer:
It should be b hope it helps :)
Explanation:
Answer:
182.9 Volts
Explanation:
R = resistance of the resistor = 50 Ω
C = capacitance of the capacitor = 200 μF = 200 x 10⁻⁶ F
L = Inductance of the inductor = 120 mH = 0.12 H
f = frequency = 60 Hz
Capacitive reactance is given as
X = (2πfC)⁻¹
X = (2(3.14) (60) (200 x 10⁻⁶))⁻¹
X = 13.3 Ω
Inductive reactance is given as
X' = 2πfL
X' = 2(3.14) (60) (0.12)
X' = 45.2 Ω
Impedance of the circuit is given as
z = √(R² + (X' - X)²)
z = √(50² + (45.2 - 13.3)²)
z = 59.31 Ω
V = rms emf of the source = 240 Volts
rms voltage across the inductor is given as
V' = V z⁻¹ X'
V' = (240) (59.31)⁻¹ (45.2)
V' = 182.9 Volts