0
$\begingroup$

A clothoid is represented by Clothoid


The Problem

Given the following functions, use Mathematica's Fresnel Integrals to plot the curve. Given Functions


My Attempt

ParametricPlot3D[{R (X[t_] := FresnelC[t], 
    Y[t_] := FresnelS[t])}, {t, -3, 3}, PlotRange -> All, AxesLabel -> {x, y, z}]

What am I doing wrong here?

$\endgroup$

closed as off-topic by m_goldberg, Jens, user9660, MarcoB, Yves Klett Jun 5 '16 at 17:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – m_goldberg, Jens, Community, MarcoB, Yves Klett
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    $\begingroup$ Try ParametricPlot[{FresnelC[t], FresnelS[t]}, {t, -3, 3}, PlotRange -> All, AxesLabel -> {x, y}] instead. $\endgroup$ – Rahul Jun 4 '16 at 21:32
  • $\begingroup$ This is related. $\endgroup$ – J. M. will be back soon Jun 4 '16 at 21:32
  • $\begingroup$ I was SOOO close!! Thanks Rahul! $\endgroup$ – alfredo Jun 4 '16 at 22:56
3
$\begingroup$

You are doing quite a few things wrong. It is really quite simple, though.

ParametricPlot[{FresnelC[t], FresnelS[t]}, {t, -3, 3}, AxesLabel -> {x, y}] 

plot

Let's enumerate your errors.

  1. Trying to promote an inherently 2D plot to a 3D plot.
  2. Trying to define functions with SetDelayed inside a plot's first argument. Using Set would have worked, but making such definitions is entirely unnecessary.
  3. Giving the unnecessary option PlotRange -> All
$\endgroup$
  • 1
    $\begingroup$ "Giving the unnecessary option PlotRange -> All" - it's not always unnecessary; in this case, we were lucky that the automatic PlotRange does not cut off Euler's spiral. $\endgroup$ – J. M. will be back soon Jun 5 '16 at 2:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.