Complete the multiplication given below:
3 3 ##
#--- * 2--- = 14---
7 # 14
where each hash(#) represents a digit, whether same or different.
Note: Numerator is strictly less than the denominator. Accordingly, fractions like: (7+7/3) or (8+11/11) are NOT permissible.
Program:
for a0=1:9
a=sym(a0);
for b0=4:9
b=sym(b0);
for c0=10:13
c=sym(c0);
lhs=(a+sym(3)/7)*(2+3/b);
rhs=14+c/14;
if lhs==rhs
disp([a b c])
end
end
end
end
Output:
[5, 4, 13]
Meaning:
3 3 13
5--- * 2--- = 14---
7 4 14
|
Posted by Charlie
on 2022-05-03 08:24:10 |