is there anyone who can help me plot this? I am currently using Wolfram Cloud but it doesn't allow me to plot these codes. I would really appreciate it. Thank you!
y[s_, B_] := (1 + B*B + 2*B*Sin[s]) ^(1/2)
x[s_, B_] := Integrate [(1 + B*Sin[t] )/y [ t , B] , { t , 0, s}]
undulary = ParametricPlot[{x[s, 0.5 ], y [s , 0.5 ]}, { s , 0, 4*Pi}, PlotPoints -> 100]
Show[undulary, AxesLabel -> { "x ", "y "}, AspectRatio -> 1 /2.9 , PlotRange -> {0 , 4}]
y[s_] := (1 + 1/4 + Sin[s])^(1/2)
soli = NDSolve[{X'[s] == (1 + Sin[s]/2)/y[s] ,X[0]==0},{X}, {s , -4 Pi, 4 Pi}][[1]]
x[s_] := X[s] /.sol1;
c[s] = {x[s] , y[s]};
p2 = ParametricPlot3D[{x[s] , y[s]Cos[u], y[s]Sin[u]},
{s , 0, 3 Pi}, {u, Pi, 2 Pi},
PlotPoints->100, AspectRatio->Automatic,
Boxed->False, Axes->False]
y[s_, B_] := (1 + B*B + 2*B*Sin[s])^(1/2)
x[s_, B_] := Integrate[(1 + B*Sin[t])/y[t, B] , { t , 0, s}]
nodary = ParametricPlot[{x[s, 2], y[s, 2]}, {s , 0, 5*Pi},
AxesLabel ->{ "x ", "y"}, PlotPoints -> 100]
Show[nodary, AxesLabel -> { "x ", "y "} , AspectRatio -> 1 /1.9 ,
PlotRange -> {0 , 3.5}]
y[ s] := (1 + 4 + 4 Sin[s] )^(l/2 )
soi1 = NDSolvet{X'[s] == (1 + 2 Sin[s])/y [s] , X[0] == 0 }, {X },
{s , 0, 6 Pi}][[1]]
x[s_] := X[s] /.sol1;
c[s_] = {x[s], y [s]} ;
p2 = ParametricPlot3D [{x [s] , y[s] Cos[u], y[s] Sin[u]},
{s , 0, 5 Pi}, {u, Pi, 2 Pi}, PlotPoints -> 100,
AspectRatio -> Automatic, Boxed -> False,
Axes -> False]
p3 = ParametricPlot3D [{x [s] , y[s] Cos[u], y[s] Sin[u]},
{s , 0, 5 Pi}, {u, 0, 2 Pi}, PlotPoints->100,
AspectRatio->Automatic, Boxed -> False,
Axes -> False]