Plotting a non-closed form of an equation

In summary, the person is seeking help with plotting a function for an assignment, but is having trouble finding a solution using Mathematica or Matlab. They have received a potential solution but are unsure of its accuracy and need to further work with it. They also clarify that z must not be greater than 1 in absolute value and mention that z is actually a symbol for polarization.
  • #1
rubenvb
9
0
Hi,

I need to plot this function z(B) with B=0...100 for an assignment:

[tex](1+z)^{\frac{2}{3}}-(1-z)^{\frac{2}{3}} = B[/tex]

But can't seem to discover how. Mathematica can't calculate the inverse (for rather obvious reasons), and neither can Matlab.

A solution in either program is fine. Thanks!
 
Physics news on Phys.org
  • #2
This is just a start and I have some doubts about it's accuracy. The resulting solution has roots which Mathematica extracts default values which may not be the values you want. Would need to work with it further and back-substitute values both for z and b to make sure your answer is correct. For example, what happens to (1-z)^(2/3) when z becomes greater than one?

Code:
mysols = z /. Solve[(1 + z)^(2/3) - (1 - z)^(2/3) == b, z]
Plot[Re[mysols], {b, 0, 100}]
 
Last edited:
  • #3
jackmell said:
For example, what happens to (1-z)^(2/3) when z becomes greater than one?

Thanks for the answer, will check on it tomorrow (too late here now). z is defined to be no greater than 1 in absolute value, so the expression is symmetrical in z and there is no z>1.

PS: z is actually [tex]\zeta[/tex]=polarisation)
 

1. What is a non-closed form equation?

A non-closed form equation is an equation that cannot be solved algebraically to obtain an exact solution. This means that the equation cannot be simplified or rearranged to find a single solution.

2. Why would you need to plot a non-closed form equation?

Plotting a non-closed form equation can help visualize the behavior of the equation and identify any patterns or relationships between variables. It can also be useful in identifying any potential solutions or finding approximate solutions.

3. How do you plot a non-closed form equation?

To plot a non-closed form equation, you can use a graphing calculator or software, such as MATLAB or Python, to input the equation and generate a graph. You can also plot the equation by hand using a table of values or by using a graphing tool.

4. What are some common types of non-closed form equations?

Some common types of non-closed form equations include exponential equations, logarithmic equations, and trigonometric equations. These equations often have variables in the exponent or inside a trigonometric function, making it difficult to find an exact solution.

5. How do you interpret the graph of a non-closed form equation?

The graph of a non-closed form equation can show the relationship between variables and the behavior of the equation at different values. It can also help identify any critical points or asymptotes. Additionally, the graph can be used to estimate solutions or make predictions about the behavior of the equation.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
939
  • Beyond the Standard Models
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
898
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
10
Views
2K
Back
Top