You are on page 1of 1

In[19]:= ρ1 = 2;

A = 10;
G = 0.0000000000667430;
ψ1 = 20;
2 * π * G * ρ1
x= ;
A
In[24]:= ψ[z_] = 2 * A * Log[Cosh[Sqrt[x] * z]] + ψ1
Out[24]= 20 + 20 LogCosh9.15815 × 10-6 z

In[30]:= Plot[ψ[z], {z, 1, 10}, PlotRange → Full]

20

20

Out[30]=
20

20

2 4 6 8 10

ρ1
In[27]:= ρ2[z_] =
Cosh[Sqrt[x] * z]2
2
Out[27]= 2 Sech9.15815 × 10-6 z

In[31]:= Plot[ρ2[z], {z, 1, 10}, PlotRange → Full, PlotStyle → Green]


2

Out[31]=

2 4 6 8 10

You might also like