Answer:
Earthquake
Explanation:
Around 3 million people were affected by this disaster and it was the most devastating natural disaster ever experienced in Haiti. Roughly 250,000 lives were lost and 300,000 people were injured.
Answer:
Explanation:
i) On a cold day, Capacity = (66 X 910 X 10∧-9) F
Charge, Q = (66 X 910 X 10∧-9) X 5050 = 0.30 Columb
Current, I= 5050/131013 = 0.039 Amp (where Resistance = 131013 ohms)
Time, t= 0.30/0.039 = 7.7 seconds
ii) On a humid day, Capacity = (77 X 910 X 10∧-9) F
Charge, Q = ( 77 X 910 X 10∧-9) X 5050 = 0.35 Columb
Current, I= 5050/6106 = 0.83 Amp ( where Resistance = 6106 ohms)
Time, t= 0.35/0.83 = 0.42 h or 0.42 X 60 mins = 25 mins
No. social media makes people share too much information about their personal lives.
Answer:
The sum of all positive even values in arr
Explanation:
We have an array named arr holding int values
Inside the method mystery:
Two variables s1 and s2 are initialized as 0
A for loop is created iterating through the arr array. Inside the loop:
num is set to the ith position of the arr (num will hold the each value in arr)
Then, we have an if statement that checks if num is greater than 0 (if it is positive number) and if num mod 2 is equal to 0 (if it is an even number). If these conditions are satisfied, num will be added to the s1 (cumulative sum). If num is less than 0 (if it is a negative number), num will be added to the s2 (cumulative sum).
When the loop is done, the value of s1 and s2 is printed.
As you can see, s1 holds the sum of positive even values in the arr