Time to Complete Work Together
Duration: 2 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- TCS One Shot Free Videos & Notes: TCS Preparation
- Numerical Ability (Foundation Section): Ratio and Proportion (Ratios), Divisibility Rules, Data Interpretation, Mixture and Alligation, Permutation and Combination, Logarithm, Number System, HCF LCM, Sequence and Series (Series), Speed Time and Distance, Percentage, Average, Powers and Exponents (Surds and Indices), Algebra, Probability, Profit and Loss, Simple Interest and Compound Interest, Time and Work, Pipe and Cistern, Mensuration and Geometry, Mental Ability, Age Problems, Statistics, Arithmetic, Partnership, Speed Mathematics and Basic Mathematics
- Reasoning Ability (Foundation Section): Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Seating Arrangements, Blood Relations, Directions (Direction Test), Analytical Reasoning (Counting Figures Reasoning), Puzzle Solving (Puzzles), Calendar, Clock, Cubes & Dices, Selection Decision Table (Decision Making), Crypt Arithmetic, Venn Diagram, Data Arrangement, Inequality, Analogy, Ranking, Order and Sequence, Logical Sequence Of Words
- New Pattern-Verbal Ability (Foundation Section): Sentence Completion (Fill in the blanks), English Writing Ability
- Old Pattern-Verbal Ability (Foundation Section): Vocabulary, Noun, Subject Verb Agreement (Verb Noun Agreement), Adjectives, Tenses, Pronoun, Preposition, Articles, Direct and Indirect Speech, Conjunction, Modals, Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Sentence Correction (Error Correction), Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Verbal Analogy (Word Based Analogy), Active Passive Voice (Voice), Determiner, Facts, Inference and Judgements, Adverb, Cloze Test (Cloze Passage), Sentence Construction, Verb
- Advanced Quantitative Ability: TCS NQT Advanced Quantitative Ability
- Advanced Reasoning Ability: TCS NQT Advanced Reasoning Ability
- Advanced Coding: Coding Questions by Yash Sir, C Programming by Yash Sir, Python for Placements by Yash Sir, DSA using Python, Object Oriented Programming (OOPS), Programming in C++, Java
- TCS Full Length Mock Test:
- TCS Interview & Resume Prep: MR & HR Interview Preparation, TCS Interview Preparation, Mock Interview, Interview Recordings, Resume Preparation, Resume Review
- Mega Test:
- Grand Test:
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
This video is a programming tutorial from Knowledge Gate, presented by an instructor named Yash Jain Sir. The lesson focuses on solving a classic work-rate problem using C programming. The problem states that three individuals, Ajay Devgan, Shraddha Kapoor, and Deepika Padukone, can each make a 'Vimal Packet' in 'x', 'y', and 'z' days respectively, and asks for the time it takes for them to complete the packet together. The instructor first explains the mathematical concept, using the formula for combined work rate: 1 / (1/x + 1/y + 1/z), which simplifies to (x*y*z) / (x*y + y*z + x*z). He then demonstrates the solution by writing a C program. The code includes the necessary header files, declares variables, uses scanf to take user input for x, y, and z, and prints the result using printf with a precision of two decimal places. The video uses a humorous meme format with images of the actors to illustrate the problem, and the instructor's on-screen handwriting reinforces the mathematical derivation.
Chapters
0:00 – 2:00 00:00-02:00
The video begins with the Knowledge Gate logo, followed by a slide showing the company's various educational offerings like GATE, Placement Prep, and Coding. The main content starts with a problem statement presented on a slide. The text reads: 'If Ajay Devgan makes a Vimal Packet in 'x' days, Shraddha Kapoor makes the same packet in 'y' days, and Deepika Padukone makes the same packet in 'z' days. You need to write a program where the inputs 'x', 'y', and 'z' are taken from the user and the output is the number of Vimal days it will take for all three to work together.' The slide uses images of the actors to represent the characters in the problem. The instructor, Yash Jain Sir, is visible in a small window at the bottom right. He begins to explain the problem, and on the right side of the screen, he starts writing the mathematical formula for the combined work rate, starting with '1 packet = 1/x + 1/y + 1/z'.
2:00 – 2:29 02:00-02:29
The instructor continues to derive the formula for the combined work rate. He writes '1 packet = 1/x + 1/y + 1/z' and then simplifies it to '1 packet = (yz + xz + xy) / (xyz)'. He then inverts the equation to find the time, writing '1 packet = (xyz) / (xy + yz + xz)'. He labels the variables A, B, and C as x, y, and z respectively. The instructor then transitions to coding, and the screen changes to display a C program. The code includes '#include <stdio.h>', a main function, and variables 'double x, y, z;'. He writes the scanf function to read the inputs and the printf function to output the result, which is the formula '(x*y*z) / ((x*y) + (y*z) + (x*z))'. He emphasizes the use of double for floating-point precision and the %.2lf format specifier for two decimal places.
The video provides a clear, step-by-step tutorial on solving a work-rate problem using programming. It begins with a real-world scenario presented in a humorous, relatable way using popular actors. The instructor first establishes the mathematical foundation by deriving the formula for combined work rate. He then bridges the gap to computer science by demonstrating how to implement this formula in a C program. The progression from conceptual understanding to practical coding is logical and effective, making the lesson accessible for students learning both mathematics and programming.

