When you ask a question there is a small camera roll sign on the bottom left and you can just add in the picture you want
Answer:
Computer hardware is any physical device used in or with your machine, whereas software is a collection of codes installed onto your computer's hard drive.
Explanation:
as the best understanding we can say
Hardware refers to the physical and visible components of the system such as a monitor, CPU, keyboard and mouse . Software, on the other hand, refers to a set of instructions which enable the hardware to perform a specific set of tasks
A syntax error is an error in the syntax of a sequence of characters or tokens that is intended to be written in a particular programming language. For compiled languages, syntax errors are detected at compile-time. A program will not compile until all syntax errors are corrected.
Answer:
Calendarium
Explanation:
Fear and superstition were swept away as scientists began to understand natural phenomena, leading to a shift in content for graphic design. In Erhard Ratdolt's Calendarium, sixty diagrams printed in black and yellow were used to scientifically explain solar and lunar eclipses. The understanding of eclipses moved from black magic to predictable fact, and the book contains a three-part mathematical wheel for calculating solar cycles.
Answer:
- sum = 0;
- n = 1;
- f = fibonacci(n);
-
- while f <= 500
- if(mod(f,2)==0)
- sum = sum + f;
- end
- n = n + 1;
- f = fibonacci(n);
- end
-
- disp(sum)
Explanation:
Firstly, let's define several variables which are necessary to hold the value of total of Fibonacci sequence, <em>sum</em>, Fibonacci index,<em> n</em> and Fibonacci term, <em>f</em> (Line 1 - 3). We can get the first Fibonacci term using the Matlab built-in function <em>fibonacci() </em>(Line 3).
Since the Fibonacci term should be less than or equal to 500, create a while condition that meet the requirement (Line 5). Within the while loop, check if the current Fibonacci term is an even number. This can be achieved by using mod() function to calculate the <em>f</em> modulus by 2 (Line 6). If the result is zero, the <em>f</em> is an even number and f value will be added with variable <em>sum</em>.
Next increment the Fibonacci index by 1 and use the same function <em>fibonacci()</em> to get the next Fibonacci term, f, and repeat the same process as described above until the <em>f</em> becomes bigger than 500.
At the end, display the result (Line 13). The result shall be 188.