We need to find the value of the expression:
fg(h(2,5,7,3),4,6,8)
Step 1: Evaluate h(2,5,7,3)
For the function h(p,q,r,s) with p=2,q=5,r=7,s=3:
- p×q=2×5=10
- r×s=7×3=21
Since (r×s)>(p×q), we compute the remainder of p×qr×s:
h(2,5,7,3)=21(mod10)=1
Step 2: Evaluate the outer function fg(1,4,6,8)
Based on the definition of the combined function fgh(p,q,r,s)=f(p,q,r,s)×g(p,q,r,s)×h(p,q,r,s), the function fg(p,q,r,s) is defined as:
fg(p,q,r,s)=f(p,q,r,s)×g(p,q,r,s)
For the arguments (1,4,6,8):
- f(1,4,6,8)=max(1,4,6,8)=8
- g(1,4,6,8)=min(1,4,6,8)=1
Thus, we have:
fg(1,4,6,8)=8×1=8
The final value is 8.