Answer:
Explanation:
try
clc
clear
close all
x=linspace(0,2*pi,7);
z=cos(pi.*x./3)
% the output on mine is to 4 decimals so it looks a bit different than what the output on your example is , but, I think if you change the format to decimal 2 it will look the same :)
False.
The different between break and continue instruction is that with break you exit the loop, and with continue you skip to the next iteration.
So, for example, a loop like
for(i = 1; i <= 10; i++){
if(i <= 5){
print(i);
} else {
break;
}
}
will print 1,2,3,4,5, because when i=6 you will enter the else branch and you will exit the loop because of the break instruction.
On the other hand, a loop like
for(i = 1; i <= 10; i++){
if(i % 2 == 0){
print(i);
} else {
continue;
}
}
Will print 2,4,6,8,10, because if i is even you print it, and if i is odd you will simply skip to the next iteration.
D. Rasterize
This answer makes the most since
There is a set amount of energy in the universe and you cannot destroy or create energy.
<u>Explanation:</u>
<em>Remember, </em>Malware is a word coined from the words Malicious-Software (Mal...ware). Thus, Malware could be defined as software that is intentionally designed by cybercriminals to gain access or cause damage to a computer or network.
a. Cindy may learn the difference between these two techniques used to create a malware attack:
- through downloads from malicious websites: An attacker may design a malicious website; in which unsuspecting users who visit the site may click to download certain files, but these are actually malware software been installed.
- through malicious emails: This email may contain attachments which if opened or downloaded by an unsuspecting user would infect their computer with malware.
b. Here are some common suggestions;
- Never open attachments from strange email addresses.
- install a paid antivirus software.
- be mindful of websites with too many ads.