16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.3. VARIATIONAL CALCULUS MODELS 191<br />

ray. By plotting a light ray path for physically reasonable parameter values,<br />

discuss how your answer may be related to the phenomenon of mirages.<br />

Problem 4-37: A di®erent refractive index<br />

Making use of Fermat's principle, prove that a light ray will follow a semicircular<br />

path in a medium whose refractive index n(x; y) equals1=y. Plot a typical path.<br />

Problem 4-38: Geodesic<br />

The geodesic between two points is the curve that gives the shortest distance.<br />

Show that the geodesics on the surface of a sphere are the arcs of great circles.<br />

(A great circle is a curve resulting from the intersection of a sphere with a plane<br />

passing through the center of that sphere.) Create a three-dimensional plot of<br />

the geodesic between New York City and Sydney, Australia, assuming that the<br />

Earth is spherical. You will have to look up the necessary parameter values.<br />

4.3.2 Queen Dido Wasn't a Dodo<br />

Mathematics is the queen of the sciences.<br />

Carl Friedrich Gauss, German mathematician (1777{1855)<br />

According to the Aeneid, written by the Roman poet Virgil in the ¯rst century<br />

BC, the Phoenician Queen Dido was able to convince the North African<br />

ruler King Jambas to give her as much land as she could enclose with an oxhide.<br />

Being rather clever, she had the hide cut into very thin strips, the ends<br />

stitched together, and was able to stake out a sizable area along the Mediterranean<br />

coast on which she built the city of Carthage (now Tunis). Queen Dido's<br />

problem was to lay out the joined oxhide strips that had a total ¯xed length in<br />

such a way as to maximize the area enclosed. Can you suggest what shape the<br />

perimeter traced out by the joined strips might take? Problems of this type<br />

that involve maximizing an area enclosed by a perimeter of ¯xed length are<br />

called isoperimetric (constant perimeter) problems.<br />

A recipe is now given to solve Queen Dido's problem. A strip of oxhide of<br />

¯xed length L>ais connected at its ends to the points (x =0,y =0)and<br />

(x = a, y = 0). The area enclosed by a strip of shape y(x) andthex-axis<br />

between x =0andx = a is A = R a<br />

y(x) dx and the length of the strip is given<br />

by L = R a<br />

p 0<br />

1+(y0 ) 2 7 dx: If, say, a = 1 milion and L =1:5 milion, what is<br />

0<br />

the shape y(x) that maximizes the area subject to the length constraint? Plot<br />

y(x) and determine the value of the maximum area.<br />

If the integrands of A and L are labeled as F and G, respectively, the shape<br />

y(x) may be found by solving the Euler{Lagrange equation of the previous<br />

subsection with F replaced by FF = F + ¸G,where¸ is an undetermined<br />

parameter. See, e.g., references [MW71] and [Boa83].<br />

The VariationalCalculus package is loaded,<br />

> restart: with(VariationalCalculus):<br />

7 A milion is a Roman mile, so this recipe involve one very big oxhide!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!