Community Profile

photo

Ranil Fernando


Actif depuis 2018

Followers: 0   Following: 0

Contact

Statistiques

  • First Answer
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

A répondu
Write a function called approximate_e that uses the following formula to compute e, Euler’s number: = 1 ! ∞ = 1+1+ 1 2 + 1 6 + 1 24 +⋯ Instead of going to infinity, the function stops at the smallest k for which the approximation differs from
I'm getting the bellow error for my code when using the grader; Any one hen help me with why, many thanks. But the code works j...

presque 6 ans il y a | 0

Question


I'm getting this error("Operands to the || and && operators must be convertible to logical scalar values") for the below code, can anyone help me with this error ?
function day_diff = day_diff(month1,day1,month2,day2) days_mn = [31 28 31 30 31 30 31 31 30 31 30 31]; if mo...

environ 6 ans il y a | 1 réponse | 0

1

réponse