m/main_page.jsp
Let's say you are a mechanical engineer. Help solve the following problem statement. Given 3 mechanical gears that are connected to each other as depict
image below find out how many times Gear3 will rotate given the radius of all three gears, and the number of times Gearl is rotated.
Answers
Answered by
0
Answer:
......
..
..........
............................
Answered by
0
Answer:
I THINK THIS MIGHT HELP YOU I THINK IT IS THE SOLUTION
(rotations*gear1 radius)/gear3 radius
Explanation:
given gear1,gear2,gear3 radius and no of times gear 1 is rotated.
we need to find the how many times gear3 rotated.
so no of times gear 3 rotated is=no of times gear1 rotated* gear1 radius)/ gear3 radius
Ex1:
Input
1 10 1
100
Output
100
explanation:
100*1/1=100
Ex2:
Input
1 18 36
1800
Output
50
explanation:
1800*1/36=50
Ex3:
Input
3 6 4
50
output
37.5~37
explanation:
50*3/4=37.5
Ex4:
Input
4 7 3
output
66.4~66
explanation:
50*4/3=66.4
code in c++;
#include<bits/stdc++.h>
using namespace std;
int main(){
int g1,g2,g3,r,ans;
cin>>g1>>g2>>g3>>r;
ans=(g1*r)/g3;
cout<<ans;
}
Similar questions