Question
This is matlab questions,please use Julia and give me Julia commands process to slove the questions.

(3) Find an interval [a,b] on which f(x) = x cos(x) and gle) = 7 / 7 satisfies g(x)=f(). Your interval must be in [0,2]. have
(2) Let g(x) = x+1+56 log 14-3x). The function has two zeros on the interval [-1, 10]. Find them to the nearest 1000-th.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: If you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

clc%clears screen
clear all%clears history
close all%closes all files
format long;
f = @(x) x*cos(x)-1/(2*x);
e=1e-6;
a=0.1;
b=1;
ff=@(x) x.*cos(x);
gg=@(x) 1./(2*x);
hold on;
fplot(ff,[0.1,2]);
fplot(gg,[0.1,2]);
fprintf('Interval is [0,%.3f] and [%.3f 2]\n',fzero(f,[0.1,1]),fzero(f,[1.1,1.4]))
legend('f(x)','g(x)');

- 5 x Pradeep G doo G 3 Search Documentation A MATLAB R2018 HOME +s o New Open Save PLOTS la Find Files 3 Compare - Print 3 D

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
This is matlab questions,please use Julia and give me Julia commands process to slove the questions....
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
  • PLEASE USE MATLAB COMMANDS THANK YOU Use Matlab to graph the functions f(x) = 3xsin(3x) and...

    PLEASE USE MATLAB COMMANDS THANK YOU Use Matlab to graph the functions f(x) = 3xsin(3x) and g(x)= 12 - 2x² so that you can read off the point(s) of intersection (if any), accurate up to two decimal places. 1) Write down the Matlab command(s) you used to create the x-vector. 2) Write down the Matlab command(s) you used to produce the vectors containing the f- and g-function values. 3) Write down the Matlab command(s) you used to plot the graphs....

  • 6. Use Matlab to find the point(s) of intersection (if any) between the functions f()10sin(2 5) a...

    6. Use Matlab to find the point(s) of intersection (if any) between the functions f()10sin(2 5) and g(x)-6r-4, accurate to two decimal places. Write down the Matlab commands to produce the x-vector, the vectors representing the f- and g-values and the plot of the graphs. 7. Use Matlab to find the minimum (accurate to two decimal places) of the function in the interval (0,π). 6. Use Matlab to find the point(s) of intersection (if any) between the functions f()10sin(2 5)...

  • MATLAB questions. Please answer everything and explain for question 2. Using the Following Functions G()1672) and...

    MATLAB questions. Please answer everything and explain for question 2. Using the Following Functions G()1672) and H() - 54 S+1 s(s+2) 1. Enter the G(s) and H(s) functions. (Take advantage of using either symbolic tool or entering vector format with Commands like tf to generate the transfer function.) Your goal is to find the following: a) X(s) G(s) H(s) Y(s) Cascade system b) X1(s) G(s) Y(s) Parallel System X2(s) H(s) c) Feedback System (Hint: Use commands like cascade(tf), parallel(tf) and...

  • Solve these commands by Matlab and send a clear pics plz LAB2 Finding roots of functions...

    Solve these commands by Matlab and send a clear pics plz LAB2 Finding roots of functions by using bracketing methods Incremental search Q1. Find the brackets values using incremental serach on the function f(x) = sin(x) from X-tox Ans. >>incsearch() sin(x)...100) number of brackets: ans 0.0317 0.0317 2.2. Find the brackets values using incremental serach on the function f(x) sin(10x) cos(3x) from x = 3 to x = 6 Ans >> Incsearch(x) sin(10x)+cos3x1.3.6) number of brackets: 5 3.2449 3.3061 3.3061...

  • Can someone please help me out with this as soon as possible 7) Use Matlab to...

    Can someone please help me out with this as soon as possible 7) Use Matlab to compute the following infinite sums ? n=1 7) Find the minima and maxima of the following function f(x) = 1 + x² + 3 sin?(x) – 5 cos? (x) Then plot the function f(x) using MATLAB and verify your results.

  • please explain how to do step 5 in matlab commands. med at x=c. 2 The first derivative Ne Scr We investigate the function f(x) 4 12x3+9x2. >> x-linspace (-3,3) >> y-41x.^4-12*x.^3 &gt...

    please explain how to do step 5 in matlab commands. med at x=c. 2 The first derivative Ne Scr We investigate the function f(x) 4 12x3+9x2. >> x-linspace (-3,3) >> y-41x.^4-12*x.^3 >> plot (x,y), grid 9*x."2; + A plot over the interval I-3,3] reveals an apparent "flat section"' with no visible relati extrema. To produce a plot that reveals the true structure of the graph, we replot over the interval [-1,2]: >> x=linspace (-1,2); >> y= 4 * x. ^4-12*x.^3...

  • solve these questions by Matlab 10 9:17 X ull ** - STC Report Lab - للقراءة...

    solve these questions by Matlab 10 9:17 X ull ** - STC Report Lab - للقراءة فقط (1) 28 Hoď → 7 سجل دخولك لتحرير الملف وحفظ التغييرات ا... Problems Problem 1: The following polynomials are given: Py(x) = x + 2x4 - 3x + 7x2 - 8x + 7 Polx) = x + 3x - 5x2 + 9x + 11 P3(x) = x - 2x - 3x +9 P4(x)=x2-5x + 13 Ps(x) = x + 5 Use MATLAB functions...

  • Compute the following problems using Math Lab.   Instructions: Answer All Questions using MATLAB commands. Question 1....

    Compute the following problems using Math Lab.   Instructions: Answer All Questions using MATLAB commands. Question 1. Create a vector of the even whole numbers between 31 and 75. Question 2. Let x [2516] a. Add 16 to each element b. Add 3 to just the odd-index elcments c. Compute the square root of each element d. Compute the square of each element Question 3. Let x 13 268T and y [4 1 3 5] (NB. x and y should be...

  • 2. (10 pts. Please perform the following calculations via MATLAB a. Calculate e3!/pi and round the...

    2. (10 pts. Please perform the following calculations via MATLAB a. Calculate e3!/pi and round the answer to the nearest integer (all via MATLAB commands) b. Calculate cos(wt) for t (time) from 0 seconds to 10 seconds (with 1 second increments – created via colon operator) where w = 30°/seconds c. Please sort the values of the vector given below from smallest to largest and save it as another single column vector and G = [68, 83,61, 70, 75, 82,57,5,...

  • Calculus 1 MAT 201 Final Exam, Spring 1 2019, LAGCC Evaluate the following limits, you may...

    Calculus 1 MAT 201 Final Exam, Spring 1 2019, LAGCC Evaluate the following limits, you may use L'Hospital's rule, if it applies. -V31+4 lim 4-1 -4 a. b. Evaluate the following limit. lim xIn x x-0 2. Evaluate and explain your answer -xsin(x)+cos (x) x+1 130 dx (a.) 130 Differentiate each of the following below using the fundamental theorem of calc part 1 X cos? (1- 51) dt ) g (x) = S_ e (2c) g(t)= J x2t+1 3 Use...

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