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:
The answer is one in a half
A could be 2 while B could be 3, so -2a+3b turns into -4+9, which equals 5.
From what I know you can't really solve a a single equation with two-variables so it's just a matter of trial and error.
Just try plugging in a small number like 2 for a just to try it and you get 8b^2=72.
Divide everything by 8 to isolate b and you get that b^2=9.
Square root everything and you'll find that b=3. This is just one possible combination, I'm sure there are many more but this is obviously the one that was intended to be found.
Now that we know that a=2 and b=3 just plug them into the equation.
-2(2)+3(3)=?
-4+9=?
5
Sorry about having to use this ^ symbol, the equation maker is not working.
Step-by-step explanation:
20 each because it's like tgat