i need someone to answer to this grammatical question :
this is the main sentence; "My laptop crashed while it was opening the file."
and the sentence that has been changed is : "The next day in class , my laptop crashed opening the file."
what happend to the second sentence what did we do?
This is an example of a participle clause. Here's an explanation from the British Council:
Participle clauses are a form of adverbial clause which enables us to say information in a more economical way. We can use participle clauses when the participle and the verb in the main clause have the same subject.
Because the subject of both parts of your sentence is the same - my laptop -you can reduce the past continuous form to just a participle (opening). The rest of the clause - 'while it was' - is understood. It's a neat way of saving unnecessary words.
You can write the end of the first sentence points. And then later write sequel sentence