Answer:
- #include <iostream>
- using namespace std;
- void printLarger(int a, int b){
-
- if(a > b){
- cout<<a;
- }else{
- cout<<b;
- }
- }
- int main()
- {
- printLarger(4, 5);
- return 0;
- }
Explanation:
The solution code is written in C++.
Firstly define a function printLarger that has two parameters, a and b with both of them are integer type (Line 5). In the function, create an if condition to check if a bigger than b, print a to terminal (Line 7-8). Otherwise print b (Line 9-10).
In the main program, test the function by passing 4 and 5 as arguments (Line 16) and we shall get 5 printed.
Answer:
Technician B
Explanation:
Resistance,
where V is the voltage and I is the current in amps
Therefore, 
Power=VI=12*12=144 W
Therefore, the power is 144 W and resistance is 1 Ohm. This implies that technician A is wrong while technician B is correct
Answer:
Explanation:
Pie charts generally should have no more than eight segments.
Answer:
a. 3.17*10¹⁹ b. 3.17*10¹⁴
Explanation:
a. Area A = 1cm²
Thickness h = 0.1cm
Energy of photon E = hf=hc/λ
Where f = frequency; c=speed of light; λ=wavelength = 6300Α=6300*10⁻¹⁰;
Planck's constant h = 6.626*10⁻³⁴ joule-seconds; speed of light c = 3*10⁸
Therefore E = (6.626*10⁻³⁴)*3*10⁸/6300*10⁻¹⁰=3.155*10¹⁹J
1Watt of light releases 3.17*10¹⁸ photons per second.
Volume of sample = Area * Thickness = 1*0.1=0.1cm³
Therefore, number of electron hole pairs that are generated per unit volume per unit time = 3.17*10¹⁸/0.1 = 3.17*10¹⁹photon/cm³-s
b. Steady state excess carrier concentration = 3.17*10¹⁹*10μs
=3.17*10¹⁹*10*10⁻⁶
=3.17*10¹⁴/cm³