14.07.2013 Views

3.5 Space Curves in Matlab

3.5 Space Curves in Matlab

3.5 Space Curves in Matlab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

and add transparency by sett<strong>in</strong>g both<br />

FaceAlpha and EdgeAlpha equal<br />

to 0.5. Set the axis equal. Use <strong>Matlab</strong>’s<br />

l<strong>in</strong>e command to superimpose<br />

the conical spiral hav<strong>in</strong>g parmetric equations<br />

x = t cos 20t<br />

y = t s<strong>in</strong> 20t<br />

z = t<br />

over the time doma<strong>in</strong> 0 ≤ t ≤ 1. Use<br />

handle graphics to set the Color of<br />

the conical spiral to a color of your<br />

choice and set the L<strong>in</strong>eWidth to a<br />

thickness of 2 po<strong>in</strong>ts.<br />

14. Sketch the cyl<strong>in</strong>der def<strong>in</strong>ed by<br />

the parametric equations<br />

x = 2 cos θ<br />

y = 2 s<strong>in</strong> θ<br />

z = z,<br />

where 0 ≤ z ≤ 5 and 0 ≤ θ ≤ 2π.<br />

Set the EdgeColor to a shade of gray<br />

and add transparency by sett<strong>in</strong>g both<br />

FaceAlpha and EdgeAlpha equal<br />

to 0.5. Set the axis equal. Use <strong>Matlab</strong>’s<br />

l<strong>in</strong>e command to superimpose<br />

the helix hav<strong>in</strong>g parmetric equations<br />

x = 2 cos 5t<br />

y = 2 s<strong>in</strong> 5t<br />

z = t,<br />

over the time doma<strong>in</strong> 0 ≤ t ≤ 5. Use<br />

handle graphics to set the Color of<br />

the helix to a color of your choice and<br />

set the L<strong>in</strong>eWidth to a thickness of<br />

2 po<strong>in</strong>ts.<br />

15. Challenge. The <strong>in</strong>tersection of<br />

a sphere and a plane that passes through<br />

Section <strong>3.5</strong> <strong>Space</strong> <strong>Curves</strong> <strong>in</strong> <strong>Matlab</strong> 253<br />

the center of the sphere is called a<br />

great circle. Sketch the equation of<br />

a sphere of radius 1, then sketch the<br />

plane y = x and show that the <strong>in</strong>tersection<br />

is a great circle. F<strong>in</strong>d the<br />

parametric equations of this great circle<br />

and add it to your plot.

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

Saved successfully!

Ooh no, something went wrong!