Answer:
see explaination
Explanation:
MATLAB script:
% MATLAB script that calculates reciprocal Fibonacci constant Ψ
% Initial Values
a0 = 1;
a1 = 1;
% Looping variable
i = 2;
% Reading n value from user
n = input(' Enter n value: ');
% Initializing sum
sum = (1/a0) + (1/a1);
% Loop till i reaches n value
while i <= n
% Finding term in Fibnocii series
a2 = a0 + a1;
% Accumulating Sum
sum = sum + (1/a2);
% Updating previous terms
a0 = a1;
a1 = a2;
% Incrementing loop variable
i = i + 1;
endwhile
% Printing result
printf("\n Reciprocol Fibnocii Constant: %f \n", sum);
See attachment for sample output
Answer:
A and C
Explanation:
The for next loop is used for a fixed number of iterations which is usually indicated in the syntax. It uses a counter that increments on each iteration. The loop terminates when the counter reaches the number of initially specified iterations. It is different from a while loop which depends on a specified condition evaluating to the Boolean 'true'.
<u>The different between 32 bit and 64 bit version:</u>
- The main difference between 32-bit and 64-bit versions is that a 32-bit version can access
memory addresses which is roughly equivalent to 4 GB of memory.
- On the other hand, a 64-bit version can access
memory addresses which equates to a huge amount of memory, 16 exabytes to be precise.
- Nowadays, we observe that almost all the computers have 64-bit processors, which means that they can access any amount of memory over 4 GB till 16 exabytes.
- 64-bit processors have various advantages like the increased speed of operations, smooth multitasking and they can also support video games and software's that have high graphical requirements.
I LIKE IT DO YOU ALSO LOVE IIT