Respuesta :

they both are valuable components whilst conducting an experiment.
Well dependent variables are example cost and independent would be time. 

Where time would affect the cost of something:
For example if u went to the store they would usually give clearance after a period of time due to how popular the item is. As time passes by the items cost would decrease because of new items coming in!