I have a question which i got on my discrete maths coursework and i'm struggling to solve it.
The question is: Represent the statement that: “A car is either moving or stationary; if a car is stationary then its brakes are applied; the car does not have its brakes applied therefore the car is moving.”
I believe i have to use formal logic and connectives while solving this question and i have attempted it but not sure if it is correct. My answer was: (p v q) ^ (q > r) ^ (-r > p)
If this is wrong please correct me