cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Tan-Atan

ValeryOchkov
24-Ruby IV

Tan-Atan

atan-tan.png

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:ValeryOchkov)

Cannot be solved.

The tan function is periodic. A one-to-one relationship exists only if you limit the argument of the tan function between -pi/2 and pi/2.

In your 3rd and 4th lines that is not the case.

You'll find the very same problem if you change 'tan' to 'sin' in your expressions.

For 'cos' it is slightly different.

 

Success!
Luc

View solution in original post

7 REPLIES 7
LucMeekes
23-Emerald III
(To:ValeryOchkov)

Cannot be solved.

The tan function is periodic. A one-to-one relationship exists only if you limit the argument of the tan function between -pi/2 and pi/2.

In your 3rd and 4th lines that is not the case.

You'll find the very same problem if you change 'tan' to 'sin' in your expressions.

For 'cos' it is slightly different.

 

Success!
Luc

I see

If you use tan(..) then a lot of information about the angle is lost and can't be brought back.

The atan function is not the true inverse of tan but is limited per definitionem  to the range [-pi; pi] to make it a unique function.

But if you don't use numeric inline evaluation when calculating t, symbolic solver "remembers" where it came from - at least as long as ar rational and not given as float value.

Werner_E_0-1610626664697.png

In real Mathcad you can create your own atan-function to do the job:

Werner_E_1-1610626714092.png

But it will only work if you evaluate it symbolically 😉

 

 

 

 

Thanks!

 But если нельзя, но очень хочется, то можно. How it is in English?

I will show one solution fpr one my problema with ovals!

Now I am creating the animation!

 


@ValeryOchkov wrote:

Thanks!

 But если нельзя, но очень хочется, то можно. How it is in English?


Not sure, maybe something like "What does not fit is made to fit" or "You can achieve anything if you really want to" ?

In fact, my suggestions weren't entirely serious. There is hardly a way to get Mathcad to read your mind to guess what angle you actually are looking for.

rough and ready, Prime 4

My solved problem with tan and atan

Trigonometric ovalsTrigonometric ovals

Announcements

Top Tags