Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Can anyone help me out with these problems?

Subject: Can anyone help me out with these problems?

From: John

Date: 29 Nov, 2008 03:16:02

Message: 1 of 3

I have gone over these problems and I am stuck. If anyone can help me at any part of this, it will be appreciated.

4.3.1 Convergence of the bisection method
Implement the bisection method in a computer code, and compute the roots of the quadratic equation
x2 − 2 x + 0.9 = 0. Prepare and discuss a graph of the error against the iteration count, k.

4.5.2 Newton’s method
(a) Compute all zeros of the function f(x) = ln |x|+3−3.1 x2, accurate to the eighth decimal place.
Explain your choice of initial guess.

4.5.3 More on Newton’s method
(a) The function f(x) = x ln x has a root at x = 0. What is the rate of convergence of Newton’s
method toward this root?

4.5.4 Redlich-Kwong equation of state
Write a program that produces and prints a table showing the molecular volume of hydrogen for
fifteen combinations corresponding to pressure p = 1, 2, 3, 4, and 5 atm and temperature T = 200,
300, and 400 ◦K, based on the Redlich-Kwong equation of state (4.1.10). For the initial guess, use the
predictions of the ideal gas law. Discuss the physical significance of your results. Perry’s Chemical
Engineer’s Handbook (McGraw-Hill, fifth edition, pp. 3–41, 3–104) gives the following information
for hydrogen: Chemical formula: H2; Boiling Point at 1 atm: −252.7◦C; critical conditions: Tc =
−239.9◦C; Pc = 12.8 atm.

4.5.5 Viscous flow in a corner
The nonlinear equation
sin[2(x − 1) ] = (1 − x) sin(2 ), (1)
describes viscous flow in a corner bounded by two intersecting walls with aperture angle 2 ; the
variable x is a measure of the strength of the flow. A trivial solution for any is x = 1. Find and
plot another solution branch, X( ), in the range 0 < < .

4.6.4 A system of two equations
Compute one solution of the system
(x − 2)2 + (y − 3)3 + (x − 2.1)(y − 3.1) = 2.81, 10 e−x + 5 e1−y = 0.7468, (1)
using (a) Newton’s method, and (b) Newton’s method with the Jacobian evaluated only at the
beginning and then held constant. Compare the respective rates of convergence.

Subject: Can anyone help me out with these problems?

From: Roger Stafford

Date: 29 Nov, 2008 03:46:01

Message: 2 of 3

"john " <john@yahoo.com> wrote in message <ggqc5i$oae$1@fred.mathworks.com>...
> I have gone over these problems and I am stuck. If anyone can help me at any part of this, it will be appreciated.
> ..............

  If you have any particular feature of one of these problems that involves some Matlab coding techniques, you might be able to persuade someone in this group to help you with it, but surely not unless you have already made significant progress on it yourself. We are not in the business of doing general homework assignments, but only that of answering certain specific questions concerned with the use of Matlab.

Roger Stafford

Subject: Can anyone help me out with these problems?

From: Anyone

Date: 29 Nov, 2008 20:09:45

Message: 3 of 3

john wrote on 28-Nov-08 19:16 :
> I have gone over these problems and I am stuck. If anyone can help me at any part of this, it will be appreciated.

Help --> Matlab --> Getting Started
(you're welcome)

[snippage]

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us