0
$\begingroup$

I have a two functions:

f[α_, γ_,  u_] := Cosh[u]*Sqrt[1 - [([Sin[α] Sinh[u]]^2)]/[Sqrt[1- γ]*Cosh[u] + Cos[α]]^2];
b[α_, γ_, u_] := -1*[[[Sinh[u]]^2*Sin[α]]/[Sqrt[[1- γ]] Cosh[u] + Cos[α]];

and now I want to do ParametricPlot as

ParametricPlot[f[8 π/5, 0.15, u], b[8 π/5, 0.15, u], {u, -2, 2}]

I am trying to plot between function f and b, but not getting any plot.

$\endgroup$

closed as off-topic by m_goldberg, Henrik Schumacher, José Antonio Díaz Navas, Coolwater, anderstood Feb 16 '18 at 19:31

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, Henrik Schumacher, José Antonio Díaz Navas, Coolwater, anderstood
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ First, you need to add brackets in ParametricPlot. $\endgroup$ – anderstood Feb 16 '18 at 19:31
4
$\begingroup$

After fixing the syntax errors in your code:

f[α_, γ_, u_] := Cosh[u] Sqrt[1 - (Sin[α] Sinh[u])^2]/(Sqrt[1 - γ] Cosh[u] + Cos[α])^2;
b[α_, γ_, u_] := -Sinh[u]^2*Sin[α]/(Sqrt[1 - γ] Cosh[u] +  Cos[α]);
ParametricPlot[{f[8*π/5, 0.15, u], b[8*π/5, 0.15, u]}, {u, -2, 2}]

enter image description here

By plot between function f and b you probably mean something like

Plot[{f[8 π/5, 0.15, u], b[8 π/5, 0.15, u]}, {u, -2, 2}, 
  Filling -> {1 -> {{2}, {Yellow, Red}}}]

enter image description here

$\endgroup$

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