The total number of trips that the vehicle has to make based on the given sequence of operation is 120 trips.
<em>"Your</em><em> </em><em>question is not complete, it seems to be missing the following information;"</em>
The sequence of operation is A - E - D - C - B - A - F
The given parameters;
- <em>number of pieces that will flow from the first machine A to machine F, = 2,000 pieces</em>
- <em>initial unit load specified in the first machine, L₁ = 50</em>
- <em>final unit load, L₂ = 100 </em>
- <em>the capacity of the vehicle = 1 unit load</em>
<em />
The given sequence of operation of the vehicle;
A - E - D - C - B - A - F
<em>the vehicle makes </em><em>6 trips</em><em> for </em><em>100</em><em> unit </em><em>loads</em>
The total number of trips that the vehicle has to make, in order to transport the 2000 pieces of the load given, is calculated as follows.
100 unit loads ----------------- 6 trips
2000 unit loads --------------- ?
Thus, the total number of trips that the vehicle has to make based on the given sequence of operation is 120 trips.
Learn more here:brainly.com/question/21468592
Answer:
See explaination
Explanation:
#include <iostream>
#include<string.h>
using namespace std;
bool isPalindrome(string str, int lower, int upper){
if(str.length() == 0 || lower>=upper){
return true;
}
else{
if(str.at(lower) == str.at(upper)){
return isPalindrome(str,lower+1,upper-1);
}
else{
return false;
}
}
}
int main(){
string input;
cout<<"Enter string: ";
cin>>input;
if(isPalindrome(input,0,input.length()-1)){
cout<<input<<" is a palindrome"<<endl;
}
else{
cout<<input<<" is NOT a palindrome"<<endl;
}
return 0;
}