Final answer:
To find the length of the train and its speed, we can use the formula Length = Speed x Time. By setting up and solving equations, we can find that the length of the train is 200 meters and the speed of the train is 20 m/s.
Step-by-step explanation:
To find the length of the train, we can use the formula:
Length = Speed x Time
Given that the train takes 10 seconds to pass you and 30 seconds to pass the bridge, we can calculate:
Length of train = Speed of train x Time taken to pass you = Speed x 10
Length of train + Length of bridge = Speed of train x Time taken to pass the bridge = Speed x 30
Substituting the values, we have:
Speed x 10 + 100 = Speed x 30
Simplifying the equation, we get:
Speed = 400/20 = 20 m/s
Substituting the value of speed back into the first equation, we have:
Length of train = 20 x 10 = 200 meters
Therefore, the length of the train is 200 meters and the speed of the train is 20 m/s.