Cartesian Oval in Maple13 OR Mathematica7

  • Thread starter Questioneer
  • Start date
  • Tags
    Cartesian
In summary, a Cartesian Oval is a type of algebraic curve defined by the sum of distances from two fixed points. It can be represented in Maple13 and Mathematica7 using specific commands. It can only have two foci and has applications in optics and celestial mechanics. Interesting properties include being generated by rotating a circle and having constant curvature and area.
  • #1
Questioneer
7
0
I'm attempting to get an output of a specific Cartesian oval (or oval of descartes, the perfect imaging system in physical optics- viz. perfectly stigmatic imaging). Algebraically I've deduced the equation to be

3/2 Sqrt[(30 - x)^2 + y^2] + Sqrt[x^2 + y^2] == 7/20 (Mathematica input).

I'm kind of new to math programs, so for Mathematica I used the ContourPlot command- the website said it would work fine for implicit functions. I tried it on a simple circle and it worked fine. For the parameters I set up (-20<x<20, -20<y<20) it showed nothing.

For Maple13, I input

> implicitplot(7/(20)=sqrt( x^(2)+y^(2)) + 3/(2)sqrt((30-x)^(2)+y^(2)), x =-20..20, y=-20..20);

and it reads

Error, invalid >

.

For the oval there are four things that need to be known. index of refraction of both medium, and the object distance and image distance. From this point I'm solving for a triangle that has a base of the object and image distance summed, and the arms are equal to the distance traveled through air (medium 1) and the unknown medium 2 with refraction index 1.5. The object distance is 20 cm and the image distance is 10 cm. It first travels through air which has an index of 1.00

Using pen and paper I see no reason why it would be an invalid function, even though implicit. For example, by definition of my cartesian system, the smallest value x (the distance of the object to the interface, which I define to be s0=20 cm) should yield a y value of 0. It does.

The general function for any cartesian oval or oval of descartes is:

n1*Sqrt[x^2+y^2] + n2*Sqrt[(s0+s1-x)^2 + y^2] == n1s0 + n2s1. The general function is attached as a .png file.

Please help- this is the most frustrating feeling!
Attached Thumbnails
 
Physics news on Phys.org
  • #2

Thank you for sharing your experience and the equation you are trying to solve. I understand how frustrating it can be when a mathematical program does not produce the desired output.

After reviewing your equation and the steps you have taken, I have a few suggestions that may help you find a solution.

1. Check the syntax of your equation: Make sure that all the brackets, parentheses, and operators are correctly placed. In your Mathematica input, there seems to be a missing closing bracket after "x^2". Also, in your Maple input, the "=" sign should be replaced with "==". These small errors can cause the program to produce an error.

2. Try different plotting functions: Instead of using the ContourPlot function in Mathematica, you could try using the RegionPlot or Plot3D functions. In Maple, you could try using the plot3d or implicitplot3d functions. These functions may give you a better visualization of your oval.

3. Experiment with different parameters: In your equation, the parameters n1 and n2 represent the refractive indices of the two media. You could try changing these values to see how it affects the shape of your oval.

4. Consider using a numerical solver: Since your equation is implicit, it may be easier to solve it numerically using a solver such as FindRoot in Mathematica or fsolve in Maple. These solvers may give you a more accurate solution compared to plotting functions.

I hope these suggestions help you in your quest to find the solution to your equation. If you continue to face difficulties, please do not hesitate to reach out for further assistance. Good luck!
 

Related to Cartesian Oval in Maple13 OR Mathematica7

1. What is a Cartesian Oval?

A Cartesian Oval is a type of algebraic curve that is the locus of points where the sum of the distances from two fixed points (called foci) is constant. It is also known as an oval of Cassini or Cassini's oval after the Italian mathematician Giovanni Domenico Cassini.

2. How is a Cartesian Oval represented in Maple13 or Mathematica7?

In Maple13, a Cartesian Oval can be represented using the "implicitplot" command, which takes in the equation of the curve. In Mathematica7, the "ContourPlot" command can be used with the equation of the curve to plot it.

3. Can a Cartesian Oval have more than two foci?

No, a Cartesian Oval can only have two foci. This is because the definition of a Cartesian Oval is based on the sum of distances from two fixed points.

4. What are some real-life applications of Cartesian Ovals?

Cartesian Ovals have applications in optics, specifically in the design of lenses and mirrors. They are also used in the study of celestial mechanics, particularly in the study of planetary orbits.

5. Are there any interesting properties of Cartesian Ovals?

Yes, Cartesian Ovals have several interesting properties, including the fact that they can be generated by rotating a circle around one of its diameters. They also have a constant curvature, and the area enclosed by a Cartesian Oval is always equal to the area of the circle used to generate it.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
3K
  • Advanced Physics Homework Help
Replies
1
Views
1K
  • Classical Physics
Replies
4
Views
710
  • Advanced Physics Homework Help
Replies
1
Views
3K
  • Introductory Physics Homework Help
Replies
1
Views
971
  • Advanced Physics Homework Help
Replies
11
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
12
Views
2K
  • Introductory Physics Homework Help
Replies
15
Views
5K
  • Introductory Physics Homework Help
Replies
6
Views
2K
Back
Top