Question

2. Use Qins method to compute (without using MATLAB) the value of p(4.1), where p(x) = 2 + x + (x-4)s_ 6(x-4) + 4(x-4). 3. Consider the floating point system with β = 2, t 3, L =-1, U = 2. (a) How many floating point numbers are there in this system? (b) Find the smallest and largest positive floating point numbers (in decimal) in this system. (c) Find the machine precision η (in decimal) of the floating point system if rounding is used d) Find the machine precision η (in decimal) of the floating point system if chopping is used (d) By modifying the Matlab code given in the text, plot the set of all numbers in this floating -point system.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

2 PAPERISTCDsts Page 80 634 267 e f(y、1 2 纠 2 2- 2

Add a comment
Know the answer?
Add Answer to:
2. Use Qin's method to compute (without using MATLAB) the value of p(4.1), where p(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
  • 2.4 Recall from class that MATLAB uses standard (IEEE) double-precision floating point notation: 52 bits 11...

    2.4 Recall from class that MATLAB uses standard (IEEE) double-precision floating point notation: 52 bits 11 bits where each bit b Any Number- +/- (1.bbb...bbb)2 x 2 (bbb..bb2 102310 represents the digit 0 or 1. That is, the mantissa is always assumed to start with a 1, with 52 bits afterwards, and the exponent is an eleven bit integer (from 000..001 to 111...110) biased by subtracting 1023 Well, in "my college days" the standard was single-precision floating point notation in...

  • numerical methods 4. A floating point system (8.t, L.U) = (4,5, -2,3) 2 (1). Determine the...

    numerical methods 4. A floating point system (8.t, L.U) = (4,5, -2,3) 2 (1). Determine the largest number represented by the system and give its decimal value (Answer: 3.3333 x 4 = 255.75) (2). Determine the smallest number represented by the system and give its decimal value (Answer: 1.0000 x 1-2 = 0.0625) (3). Determine how many distinct numbers that can be represented by the system (Answer: 2 x 3 x 44 x 6 + 1 = 9217 ) (4)....

  • MATLAB QUESTION !!! PLEASE USE MATLAB FOR BOTH QUESTIONS!!! THANKS 3) Below is a matrix of...

    MATLAB QUESTION !!! PLEASE USE MATLAB FOR BOTH QUESTIONS!!! THANKS 3) Below is a matrix of random numbers. Find the mean, median, and mode of the matrix. B=[0 1 2 3 4 50689 23092 6 8 407] Sort Matrix Z so that the largest numbers of each row are in the first column and smallest numbers descend towards the last column. Must use sort function. 4) Create a matrix X so that the first row has values from 0 to...

  • Matlab help 1) Given the functions x1()= tu()-tuft-1) and X2(t)=10e-5,11(), do the following: 1. Plotx,(t) and x2(0) using MATLAB 2. Use MATLAB to find and plot x(0=x:@*.x2(t), where * denotes co...

    Matlab help 1) Given the functions x1()= tu()-tuft-1) and X2(t)=10e-5,11(), do the following: 1. Plotx,(t) and x2(0) using MATLAB 2. Use MATLAB to find and plot x(0=x:@*.x2(t), where * denotes convolution. 3. Find x(t)=x;()*X2(1) by hand using Laplace transforms. 4. Plot the result of part 3 in MATLAB and compare it to that found in part 2. 2) Given the transfer function shown below, do the following: 1. Find the system's impulse response and plot it using MATLAB 2. Repeat...

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

  • using matlab 3. [1:2] Find a root (value of x for which f(x)-0) of f(x) =...

    using matlab 3. [1:2] Find a root (value of x for which f(x)-0) of f(x) = a x^3 + bx^2 + c x + d using Newton's interation: xnew = x -f(x)/(x). Note that f'(x) is the first derivative off with respect to x. Then x=xnew. Start with x=0 and iterate until f(xnew) < 1.0-4. Use values (a,b,c,d]=[-0.02, 0.09, -1.1, 3.2). Plot the polynomial vs x in the range (-10 10). Mark the zero point.

  • Using MATLAB or FreeMat ---------------------------- Bisection Method and Accuracy of Rootfinding Consider the function f(0) =...

    Using MATLAB or FreeMat ---------------------------- Bisection Method and Accuracy of Rootfinding Consider the function f(0) = 3 cos 2r cos 4-2 cos Garcos 3r - 6 cos 2r sin 2r-5.03r +5/2. This function has exactly one root in the interval <I<1. Your assignment is to find this root accurately to 10 decimal places, if possible. Use MATLAB, which does all calculations in double precision, equivalent to about 16 decimal digits. You should use the Bisection Method as described below to...

  • Newton's Method in MATLAB During this module, we are going to use Newton's method to compute...

    Newton's Method in MATLAB During this module, we are going to use Newton's method to compute the root(s) of the function f(x) = x° + 3x² – 2x – 4 Since we need an initial approximation ('guess') of each root to use in Newton's method, let's plot the function f(x) to see many roots there are, and approximately where they lie. Exercise 1 Use MATLAB to create a plot of the function f(x) that clearly shows the locations of its...

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