What value should be provided at position X on line number 6 so that 4000 tosses of the coin can be simulated? 1 v = [1 60-8 599 71; 2 count 3 Bfor n=l:length (v) a = v(n); 5E while a > 0 0; %3D 4...


What value should be provided at position X on line number 6 so that 4000 tosses of the coin can be simulated?


1 v = [1 60-8 599 71;<br>2 count<br>3 Bfor n=l:length (v)<br>a = v(n);<br>5E while a > 0<br>0;<br>%3D<br>4<br>--a;<br>7<br>++count;<br>8<br>end<br>display (a);<br>10 Lend<br>11 display (n);<br>12 display (count);<br>

Extracted text: 1 v = [1 60-8 599 71; 2 count 3 Bfor n=l:length (v) a = v(n); 5E while a > 0 0; %3D 4 --a; 7 ++count; 8 end display (a); 10 Lend 11 display (n); 12 display (count);

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here