Question: Make a MATLAB for this algorithm. Task-1: Algorithm for-material X-and Y. 1. Start. I limit. 9 5.If-material- X-is-less than-40-and-material- Y-is-greater-than-material- X, display-the-ratio-of- X-o- Y q

Task-1: Algorithm for-material X-and Y. 1. Start. I limit." 9 5.If-material- X-is-less than-40-and-material- Y-is-greater-than-material- X, display-the-ratio-of- X-o- Y q "Unknown, tankmay-overflow." 7. End "A-mixing tank-is-used to blend two-materials- X-and Y-to obtain-new-material Z Material X-must beless than-40-litre-while material Y-can-be-any-value. If-material-X-is-bigger, display the ratio of X-to-Y.If: material X-is-equal to Y. add both-materials, Otherwise, display that the amount is unknown, tank-mayaverflow." Task-1: Algorithm for-material X-and Y. 1. Start. I limit." 9 5.If-material- X-is-less than-40-and-material- Y-is-greater-than-material- X, display-the-ratio-of- X-o- Y q "Unknown, tankmay-overflow." 7. End "A-mixing tank-is-used to blend two-materials- X-and Y-to obtain-new-material Z Material X-must beless than-40-litre-while material Y-can-be-any-value. If-material-X-is-bigger, display the ratio of X-to-Y.If: material X-is-equal to Y. add both-materials, Otherwise, display that the amount is unknown, tank-mayaverflow
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
