How do I write a function that uses a, b and c as inputs to characterize ((i.e., non-equal real, equal real or non-equal complex roots) and compute the roots of the quadratic equation.
Kshitij Singh answered .
2025-11-20
try something like this:
d = 50; y = 2020; out = datestr(datetime(y,1,0)+d, 'dddd')
result;
>> out
out =
'Wednesday'