Help with Mathematica: Solving Equations and Calculating Areas

Click For Summary

Discussion Overview

The discussion revolves around using Mathematica for solving mathematical problems, specifically evaluating a tangent function and calculating the area enclosed by two curves. The scope includes technical explanations and practical application of Mathematica functions.

Discussion Character

  • Technical explanation, Homework-related

Main Points Raised

  • One participant seeks help with evaluating the expression Tan[45/Pi + Pi/45] in Mathematica, expressing frustration over not obtaining a numerical result.
  • Another participant suggests using "// N" or the N function to obtain a numerical approximation of the tangent expression.
  • There is a query about how to find the area between two curves, with the participant indicating uncertainty about using integrals.
  • A suggestion is made to plot the two curves to understand their intersection and the area between them, emphasizing the need to use double equal signs for equality in Mathematica.
  • Further guidance is offered to look up the Integrate function in Mathematica's help resources for assistance with the area calculation.

Areas of Agreement / Disagreement

Participants generally agree on the methods to evaluate the tangent function and the importance of plotting the curves, but there is no consensus on the specifics of calculating the area or the complete formulation of the problem.

Contextual Notes

The discussion lacks specific details on the complete formulation of the area problem, and there may be assumptions about the familiarity with Mathematica functions that are not explicitly stated.

eftenpuften
Messages
3
Reaction score
0
please help in mathematica

hello everyone. i am very new on mathematica.I have 2 problem :( at first, i have to eavluate the numerical equivalent of tan(45/Pi+Pi/45) when i wrote on mathematica like this:
In[21]:=
Tan[45/Pi+Pi/45]
Out[21]=
\!\(Tan[45\/π + π\/45]\)

it gives me that one. can not i get a real number from this?It doesn't solve tangent.i tried Solve[..] or Evaluate[..] but both they didnt work. And secondly how can i find the are of the region enclosed by the curves : y+45(x+45)=0 and y-x^3/45+45=0 ? i really don't have any idea about this. thanks for your helps from now.. it is very urgent i hope someone could help me :(
 
Physics news on Phys.org
Either put "// N" at the end of your expression, or, equivalently, wrap your expression into a call to N like this:

N[ Tan[45/Pi + Pi/45], 50]

This will give you fifty decimal places of precision, which is more than you'll need, I assume.

As for your second question, you'll need to use the Integrate function.

- Warren
 
thank you so much chroot... i have done the first one. but i m really new on this mathematica. how can i use integral? i know i have to use. and i think it will be double integral. but how will i find the points of the integral? Could you please help me ? :) thank you from now on
 
Well, the first step is to plot the two curves, so you know what you're dealing with.

Plot[ y+45(x+45) == 0, {x, -100, 100} ]

will plot the first function from x = -100 to x = 100. Note that there are two equal signs in there. You need to use two equal signs to express equality in Mathematica. (Single equal signs are used for variable assignments.)

You can plot many equations at once by putting a list of equations in { }, like this:

Plot[ { equation == 0, equation == 0 }, {x, -100, 100} ]

See if you can plot your two equations on the same graph, and look at the area between them. From what I can tell, you have not provided the complete question here.

- Warren

p.s. You need to look up the Integrate function in Mathematica's help, and try it for yourself, before I will help you with it.
 
thanks chroot :) these are really helpful informations :)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K