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.
There are 100cm in 1m, divide 100 by 3 and you get 33, multiply that by 12 and you get 396 volts/m.
Hope this is correct and helps.
Answer:
Explanation:
Force of friction at car B ( break was applied by car B ) =μ mg = .65 x 2100 X 9.8 = 13377 N .
work done by friction = 13377 x 7.30 = 97652.1 J
If v be the common velocity of both the cars after collision
kinetic energy of both the cars = 1/2 ( 2100 + 1500 ) x v²
= 1800 v²
so , applying work - energy theory ,
1800 v² = 97652.1
v² = 54.25
v = 7.365 m /s
This is the common velocity of both the cars .
To know the speed of car A , we shall apply law of conservation of momentum .Let the speed of car A before collision be v₁ .
So , momentum before collision = momentum after collision of both the cars
1500 x v₁ = ( 1500 + 2100 ) x 7.365
v₁ = 17.676 m /s
= 63.63 mph .
( b )
yes Car A was crossing speed limit by a difference of
63.63 - 35 = 28.63 mph.
Answer:
, inside the plane
Explanation:
We need to calculate the magnitude and direction of the magnetic field produced by each wire first, using the formula

where
is the vacuum permeability
I is the current
r is the distance from the wire
For the top wire,
I = 4.00 A
r = d/2 = 0.105 m (since we are evaluating the field half-way between the two wires)
so

And using the right-hand rule (thumb in the same direction as the current (to the right), other fingers wrapped around the thumb indicating the direction of the magnetic field lines), we find that the direction of the field lines at point P is inside the plane
For the bottom wire,
I = 5.90 A
r = 0.105 m
so

And using the right-hand rule (thumb in the same direction as the current (to the left), other fingers wrapped around the thumb indicating the direction of the magnetic field lines), we find that the direction of the field lines at point P is also inside the plane
So both field add together at point P, and the magnitude of the resultant field is:

And the direction is inside the plane.