Answer:
see description
Explanation:
clicking in new script, we type the following:
%inputs and variables
N = input('Enter N : ');
values = input('Enter values : ');
positive=0;
negatives=0;
zero=0;
%for loop
for c = 1:N
if values(c) > 0
positive = positive + 1;
elseif values(c) < 0
negatives = negatives + 1;
else
zero = zero + 1;
end
end
positive
negatives
zero
so we basically loop the array and add one to counters each time we read an element from the input, for example if we enter:
Example input
Enter N : 5
Enter values : [1,-1,0,2,352]
positive = 3
negatives = 1
zero = 1
Answer:
18, 13, 19
Explanation:
Number of computer programmers proficient only in Java = 45 - ( 1+1+6) = 37
Number of computer programmers proficient only in C++ = 30 - (6+1+5) = 18
Number of computer programmers proficient only in python = 20 - ( 1+1+5) = 13
Number of computer programmers are not proficient in any of these three languages = 100 - ( 37 + 18 + 13 + 1+ 1+ 5+ 6 ) = 100 - 81 = 19
Responses from the somatic nervous system, essentially via electromyogram. ( via adding responses through your body in order to add abstract or involuntary actions)
Responses from the autonomous nervous system that include blood pressure, heart rate, temperature and stomach pH, among others.
Response from the central nervous system obtained via electroencephalogram, which detects brain rates (alpha, theta, SM and MU waves).
Answer:
7 characters.
Explanation:
Here we have 26(small letters)+26(capital letters)+10(number from 0-9)=62
As we are having more number of possibilities for each character of the password, We will need a smaller length to reach the same or better level of security.
If we take 6 characters long password we will have 626 = 56,800,235,584 possibilities, which is less secure than the previous 8 characters long password.
But if we take 7 characters long password we will have 627 = 3,521,614,606,208 possibilities, which is almost 17 times larger than the previous password and has a smaller length when compared to the previous password.
Answer:
The theoretical maximum capacity in bps for this link is 114.3 Gbps
Explanation:
The maximum capacity in bits per second can be calculated by Shannon's channel capacity formula:
<u>C = B*log₂(1 + SNR)</u>
Where B = bandwidth of the channel in Hz
SNR = Signal to Noise Ratio
We need to use SNR in linear scale not in dB scale so,
SNR = 10log₁₀ (20)
SNR = 13.01
Bandwidth = 60GHz - 30GHz = 30GHz
C = B*log₂(1 + SNR)
= (30*10⁹)*log₂ (1 + 13.01)
= 1.143*10¹¹ bps
C = 114.3 Gbps