Answer:
Java program is explained below
Explanation:
import java.util.HashSet;
import java.util.Map;
import java.util.TreeMap;
public class TruckRace1 {
public static HashSet<String> getPIDs (Map<String,String>nameToPID ){
HashSet<String> pidSet = new HashSet<>();
for(String ids: nameToPID.values()){
pidSet.add(ids);
}
return pidSet;
}
public static void main(String[] args) {
Map<String,String> pids = new TreeMap<>();
pids.put("John","123");
pids.put("Jason","124");
pids.put("Peter","125");
pids.put("Alice","126");
pids.put("Peny","129");
HashSet<String> ids = getPIDs(pids);
for(String id:ids){
System.out.println(id);
}
}
}
Answer:
56 J
Explanation:
Formula to find the kinetic energy is :
E_kEk = \frac{1}{2}21 × m × v²
Here ,
m ⇒ mass
v ⇒ velocity
Let us solve now
E_kEk = \frac{1}{2}21 × m × v²
= \frac{1}{2}21 × 7 kg × ( 4 ms⁻¹ )²
= \frac{1}{2}21 × 7 × 16
= \frac{1}{2}21 × 112
= 56 J
Hope this helps you :-)
Let me know if you have any other questions :-)
So that they can lower the I2R losses
Answer:
The main advantage of using the the excel that help in navigating the databases and helps in data analytics. It basically exploring huge information and databases are predominantly the information purging methods in exceed expectations which aides in preparing information in an expedient and proficient way.
The information purging procedure incorporate VBA macros or rotate tables, mapping instruments, report causing utilizing progressed to exceed expectations devices and furthermore has the upside of reconciliation with different virtual products.
The disadvantage are as follows:
- It is difficult for sharing the spreadsheet in the system.
- It also face difficulty while observing the any type of the regular tends in the given data.