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.
Answer:
the recycle bin?
Explanation:
usually when you overwrite something or delete it, it doesn't get entirely deleted rather stored in the recycle bin on your desktop i believe, and so you could retrieve applications through there
#1) Which type of media is most likely to involve terrestrial transmissions sent from huge towers?
Answer: Television. Terrestrial television or broadcast television is a type of television broadcasting in which the television signal is transmitted by radio waves from the terrestrial (Earth based) transmitter of a television station to a TV receiver having an antenna.
A technician a mobile device that has no sound. A technician should check If the volume is muted first.
Explanation:
- Improper audio settings in your computer can also cause your speakers plugged in but no sound. So you should check the following audio settings to fix your sound problem.
- An on-screen display appears with incall options. Tap the Mute icon. A microphone icon with a diagonal line through it.
- Just restart your phone as usual to refresh the device.
- Disable Bluetooth on your phone. Sometimes the Bluetooth feature would result in the speaker problem so here you are able to navigate to Settings> Bluetooth to switch off the feature to settle the problem.
- The earpiece may be damaged. This is because the dedicated noise canceling mic is damaged.
- You might have the sound muted or turned down low in the app. Check the media volume if nothing works out.