photo

Ranil Fernando


Con actividad desde 2018

Followers: 0   Following: 0

Mensaje

Estadística

  • First Answer
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Respondida
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...

más de 6 años hace | 0

Pregunta


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...

más de 6 años hace | 1 respuesta | 0

1

respuesta