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:
Rs 85
Step-by-step explanation:
Cost of 5kgs of rice = Rs 425
Cost of 1 kg of rice = 425/5
= Rs 85
So, the cost of a kg of rice is Rs 85
Answer:
The first equation must be multiplied by -5 to eliminate x variable by addition
Step-by-step explanation:
4 x - 3 y = 1 (1)
5 x + 4 y = 9 (2)
If the second equation is multiplied by 4
5x+4y=9. ×4
We have,
20x+16y=36 (3)
The first equation should be multiplied by -5 to eliminate x variable by addition
4x-3y=1 × -5
We have
-20x+15y=-5 (4)
Add equation (3) and (4) to eliminate x variable
20x+16y=36
-20x+15y=-5
31y=31
Divide both sides by 31
y=1
Substitute y=1 into equation (1)
4 x - 3 y = 1
4x-3(1)=1
4x-3=1
4x=1+3
4x=4
Divide both sides by 4
x=1
To find out how many brothers they have, they need to multiply 4×1= 4
So there are 4 brothers.
I hope this helped :)