Answer:
clc%clears screen
clear all%clears history
close all%closes all files
p=250;
M=[];
for i=1:100000
re=0;
S=0;
while(S<=1)
S=S+rand;
re=re+100;
end
M(i)=re;
end
disp('Expected received money is');
mean(M)
disp('Since expcted is greater than what we pay. So, we will play')
Step-by-step explanation:
Answer:
D
Step-by-step explanation:
if you have 37 and however many you eat you subtract from that 37 giving you R
The miles he drove North on Avenue B is 24 miles.
<h3>What is Pythagoras theorem? </h3>
According to the Pythagoras theorem, the square of the hypotenuse is the sum of the square of the opposite sides.
The Pythagoras theorem: a² + b² = c²
Where:
- a = length
- b = base = 7 miles
- c = hypotenuse = 25 miles
<h3>How many miles did he drive north of Avenue B? </h3>
25² - 7²
625 - 49 = 576
√576 = 24 miles
Please find attached the required diagram. To learn more about Pythagoras theorem, please check: brainly.com/question/14580675