Question

3. The function f (x) = ln(x) is defıned over the real numbers (R1) for x E (0, oo) (though MATLAB will report ln(0) as -Inf)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
close all
x=input('Enter x: ');
if(x<=0)
error('x is less than 0 where function is undefined');
elseif(x<1)
warning('f(x) will be less than 0');
fprintf('ln(x)=%f\n',log(x));
else
fprintf('ln(x)=%f\n',log(x));
end

MATLAB R2018a Search Documentation Log In HOME PLOTS APPS EDITOR PUBLISH VEW Find Files Insert Run Section Go To Compare Comm

Note: Brother according to HomeworkLib's policy we are only allowed to answer first part if there are many. So, I request you to post other part as separate posts.

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
3. The function f (x) = ln(x) is defıned over the real numbers (R1) for x...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Suppose that f(x)=ln(8x+6) (A) List all the critical values of f(x). Note: If there are no critic...

    Suppose that f(x)=ln(8x+6) (A) List all the critical values of f(x). Note: If there are no critical values, enter 'NONE'. (B) Use interval notation to indicate where f(x)f(x) is increasing. Note: Use 'INF' for ∞, '-INF' for −∞, and use 'U' for the union symbol. If there is no interval, enter 'NONE'. Increasing: (C) Use interval notation to indicate where f(x) is decreasing. Decreasing: (D) List the xx values of all local maxima of f(x). If there are no local...

  • Consider the following functions: • f(x) = X-6 X-6 9 . g(x) = x2 + 11x...

    Consider the following functions: • f(x) = X-6 X-6 9 . g(x) = x2 + 11x + 24 • h(x) = V3 – 6x Use interval notation to describe the domain of each function: Type "inf" and "-inf" for oo and --oo, respectively. Type the capital letter "U" to represent the symbol U. Type the capital letter "R" to represent the symbol R. a. The domain of f(x) is I b. The domain of g(x) is c. The domain of...

  • Question For this problem, consider the function on the domain of all real numbers. (a) The value of is Oo . (If you ne...

    Question For this problem, consider the function on the domain of all real numbers. (a) The value of is Oo . (If you need to use -co or o, enter-infinity or infinity.) (b) The value of f(x) limx→- is O0 X . (If you need to use -oo or co, enter -infinity or infinity.) (c) There are two x-intercepts; list these in increasing order: s- t- (d) The intercepts in part (c) divide the number line into three intervals. From...

  • Why is 0 one of the critical points? Part 1: Identify Critical Numbers Consider the function f(x) = x - 3x5 Σ The domain...

    Why is 0 one of the critical points? Part 1: Identify Critical Numbers Consider the function f(x) = x - 3x5 Σ The domain of f is: (-Inf,Inf) f'(x) =1-x^(-2)/(3) The critical number(s) of f are x = Σ 1,-1,0 -3 IT N/M Part 1: Identify Critical Numbers Consider the function f(x) = x - 3x5 Σ The domain of f is: (-Inf,Inf) f'(x) =1-x^(-2)/(3) The critical number(s) of f are x = Σ 1,-1,0 -3 IT N/M

  • What is the average value of the function f(x)=e^3x on the interval [0, ln(2)]?

    What is the average value of the function f(x)=e^3x on the interval [0, ln(2)]?

  • 3. (a) Write a MatLab program that calculates for the function F(x, y) = ln(x + Va,2-y2) The prog...

    3. (a) Write a MatLab program that calculates for the function F(x, y) = ln(x + Va,2-y2) The program should use pretty) to display both the original function and the differentiated result, and also use fprintf() to print a label such as "F(x,y) -" and "dF/dxdy - " in front of both the function and the derivative. Then have your program also print out the derivative again after it uses simplify() on the result (b) Find the Taylor expansion of...

  • Consider the function f (x) = ln (1 + x). (a) Enter the degree-n term in...

    Consider the function f (x) = ln (1 + x). (a) Enter the degree-n term in the Taylor Series around x = 0. (b) Enter the error term En (z) which will also be a function of x and n. (c) Find an upper bound for the absolute value of the error term when x > 0. It may help to remember that z is between x and 0. (d) Use this formula to find how many terms are needed...

  • Using interval notation, determine the largest domain over which the given function is one-to-one. Then, provide...

    Using interval notation, determine the largest domain over which the given function is one-to-one. Then, provide the equation for the inverse of the function that is restricted to that domain. If two equally large domains exist over which the given function is one-to-one, you may use either domain. However, be certain that the equation for the inverse function you submit is appropriate for the particular domain you choose. f(x) = x² + 18x (Give your answer as an interval in...

  • Only g and h needs answers (1 point) Book Problem 3 Consider the function f(x) =...

    Only g and h needs answers (1 point) Book Problem 3 Consider the function f(x) = x + 2 cos(x), 0<x<21. For the following questions, write inf for , -inf for - , U for the union symbol, and NA (ie. not applicable) if no such answer exists. a.) f'(x) = 1-2sinx b.) f(x) is increasing on the interval(s) (0,pi/6)U(5pi/6,2pi) c.) f(x) is decreasing on the interval(s) (pi/6,5pi/6) d.) f(x) has a local minimum at 5pi/6 e.) f(x) has a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT