Recent content by renolovexoxo

  1. R

    Constructing a Function g: R2→R Limiting x→a but not Limiting ||x||→||a||

    I hope this is in the right place, it feels like calculus, but it's the last part of my analysis problem. Construct an example where g: R2->R lim x->a g(x) exists but lim ||x||->||a|| g(x) does not exist I'm having a very hard time coming up with something to put this together. I think...
  2. R

    Finding Gamma Distribution Confidence Interval

    I've been working on this problem for a while, but I am really not sure that I'm doing it right. Here is the statement: Let Y1; Y2; : : : ; Yn be i.i.d. from a gamma distribution with known shape parameter alpha and unknownscale parameter beta. Find a (1-alpha )% condfidence interval for the...
  3. R

    MATLAB What is the error in running Newton's Method in Matlab for a specific function?

    Error using inlineeval (line 15) Error in inline expression ==> 2.71828^x-ln(2)*2^(-1*x)-2*sin(x) Undefined function 'ln' for input arguments of type 'double'. Error in inline/subsref (line 24) INLINE_OUT_ = inlineeval(INLINE_INPUTS_, INLINE_OBJ_.inputExpr, INLINE_OBJ_.expr); Error in...
  4. R

    MATLAB Implementing Bisection Method in Matlab: Troubleshooting Error Message

    Okay, that worked great! Thank you. Last question, just because I have a hard time in Matlab. When I'm looking at the solution, do I want to display c or f(c) to get the root? It would be c, correct?
  5. R

    MATLAB What is the error in running Newton's Method in Matlab for a specific function?

    I've been using this for a Newton Approximation in Matlab function x = Newton(f, fp, x, nmax, e) % f is an inline function which we apply Newton's method on % fp is an inline function that is the derivative of function f % x is the initial guess of the root % nmax is the total number...
  6. R

    MATLAB Implementing Bisection Method in Matlab: Troubleshooting Error Message

    Here is the code I have, but I keep getting the error message: Undefined function 'f' for input arguments of type 'double'. I don't know what I have that is causing this. Does anybody see what's wrong with my code? MaxIt = 1000; epsilon = 10^-5; a=1; b=2; c = (b+a)/2; NumIt = 0...
  7. R

    MATLAB Solving Integral Approximations with MatLab

    I have this problem to do, involving estimating the error for the derivative as well as the Gaussian Approximation. I am having a lot of trouble figuring out if I can alter this code or if I have to write something new. This is the first time I've ever used MatLab, and I could use some help if...
  8. R

    MatLab Integration Approximations for Given Function

    Thank you for the help, but you don't need to make me feel bad for not understanding something you see is obvious. I do appreciate you pointing it out to me, I was having hard time seeing if it was the composite version.
  9. R

    MatLab Integration Approximations for Given Function

    Homework Statement I need to answer the attached question, but we haven't done anything similar in class and the book isn't proving to be helpful for me. I'm not sure if I have to use matlab, we were given this code but I can't even understand what it is calculating. % f(x), the function...
  10. R

    Error Bounds for derivative estimation

    No, It is when I move to evaluate it for x=1.3. I was given x values for 1.1, 1.2, 1.3, and 1.4. When I evaluate 1.3, what is the range of possible y values that I can consider? Does it stay between (1.1, 1.3) or do I move to include the points I used in my derivative estimation?
  11. R

    Error Bounds for derivative estimation

    I'm sorry, I meant e^x, I copied it from somewhere else and didn't catch the format change. I'm sorry about that! I want to know (h^2)/3 * e^x, so the error was defined by h^2/3 * e^1.3
  12. R

    Error Bounds for derivative estimation

    So we are estimated derivatives using a three point formula in class and the giving bounds for the error. I was given a table of x1=1.1, x2=1.2, x3=1.3, x4=1.4. I have to find an error bound to estimate the error for x=1.1 and 1.3 for f(x)=ex In class we did x=1.1 as follows...
  13. R

    Using second Principle of Mathematical Induction Proof

    Thank you. That makes a lot more sense now.
  14. R

    Using second Principle of Mathematical Induction Proof

    I'm sorry, but I still don't really understand what it is saying. I've read it several times and really am having a hard time. We didn't go over any examples of anything like this in class.
Back
Top