Answer:
%Program prompts user to input vector
v = input('Enter the input vector: ');
%Program shows the value that user entered
fprintf('The input vector:\n ')
disp(v)
%Loop for checking all array elements
for i = 1 : length(v)
%check if the element is a positive number
if v(i) > 0
%double the element
v(i) = v(i) * 2;
%else the element is negative number.
else
%triple the element
v(i) = v(i) * 3;
end
end
%display the modified vector
fprintf('The modified vector:\n ')
disp(v)
Answer:
C
Explanation:
One of the disadvantages of solar cells is that electricity storage systems are not readily available. Excess energy generated by the solar panels are wasted except they are stored by solar batteries for later use. There are various systems for storing electricity from solar cells apart from solar batteries which is the common storage system. An example of another electricity storage system for solar cell is using the water electrolyzer to store solar energy which can be used to later generate hydroelectricity.
Advantages of a solar cell includes Renewable energy, Economy-friendly and environmental-friendly energy and good durability
Answer:
If you mean two sides are 7 and two sides are 14 then you'd have 42
and for the second you'd have 14
Explanation:
7 + 7 = 14, 14 + 14 = 28, 14 + 28 = 42
3 + 3 = 6, 4 + 4 = 8, 8 + 6 = 14
Answer:
attached below
Explanation:
a) G(s) = 1 / s( s+2)(s + 4 )
Bode asymptotic magnitude and asymptotic phase plots
attached below
b) G(s) = (s+5)/(s+2)(s+4)
phase angles = tan^-1 w/s , -tan^-1 w/s , tan^-1 w/4
attached below
c) G(s)= (s+3)(s+5)/s(s+2)(s+4)
solution attached below