I have a function f(x) that equals x if x < 1 and x^2 elsewhere.
How would I go about putting all the values of f(x) into ano...
Asked 1 year ago
I have a question that asks me to generate a sequence of 25 independent Bernoulli RVs where p = .8. I want to see how many rando...
Asked 6 months ago
I have an array x which is equal to [1:50].
I am trying to remove all the elements that are divisible by 3, 4, and 5.
I have a funtion ...
erfx(n) = ( 2 / sqrt(pi) ) * ( ( ( (-1).^i ) * ( x.^((2*i)+1) ) ) / ( ( (2*i) + 1 ) * ( factorial(i) ) )...
Join the conversation