Solving for $z$ in $x=frac y{2 tan(z/2)}$












0












$begingroup$


I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!










share|cite|improve this question











$endgroup$












  • $begingroup$
    You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    $endgroup$
    – Jyrki Lahtonen
    Dec 2 '18 at 6:25
















0












$begingroup$


I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!










share|cite|improve this question











$endgroup$












  • $begingroup$
    You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    $endgroup$
    – Jyrki Lahtonen
    Dec 2 '18 at 6:25














0












0








0


1



$begingroup$


I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!










share|cite|improve this question











$endgroup$




I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!







trigonometry






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 30 '18 at 20:11









amWhy

192k28225439




192k28225439










asked Nov 30 '18 at 18:54









user3763099user3763099

1




1












  • $begingroup$
    You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    $endgroup$
    – Jyrki Lahtonen
    Dec 2 '18 at 6:25


















  • $begingroup$
    You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    $endgroup$
    – Jyrki Lahtonen
    Dec 2 '18 at 6:25
















$begingroup$
You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
$endgroup$
– Jyrki Lahtonen
Dec 2 '18 at 6:25




$begingroup$
You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
$endgroup$
– Jyrki Lahtonen
Dec 2 '18 at 6:25










2 Answers
2






active

oldest

votes


















1












$begingroup$

We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Where does 'k' come from, how do I find this value?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:47










  • $begingroup$
    @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    $endgroup$
    – gimusi
    Nov 30 '18 at 19:49





















0












$begingroup$

The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:40












  • $begingroup$
    $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    $endgroup$
    – KM101
    Nov 30 '18 at 20:21













Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3020491%2fsolving-for-z-in-x-frac-y2-tanz-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Where does 'k' come from, how do I find this value?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:47










  • $begingroup$
    @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    $endgroup$
    – gimusi
    Nov 30 '18 at 19:49


















1












$begingroup$

We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Where does 'k' come from, how do I find this value?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:47










  • $begingroup$
    @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    $endgroup$
    – gimusi
    Nov 30 '18 at 19:49
















1












1








1





$begingroup$

We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer









$endgroup$



We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 30 '18 at 19:41









gimusigimusi

1




1












  • $begingroup$
    Where does 'k' come from, how do I find this value?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:47










  • $begingroup$
    @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    $endgroup$
    – gimusi
    Nov 30 '18 at 19:49




















  • $begingroup$
    Where does 'k' come from, how do I find this value?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:47










  • $begingroup$
    @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    $endgroup$
    – gimusi
    Nov 30 '18 at 19:49


















$begingroup$
Where does 'k' come from, how do I find this value?
$endgroup$
– user3763099
Nov 30 '18 at 19:47




$begingroup$
Where does 'k' come from, how do I find this value?
$endgroup$
– user3763099
Nov 30 '18 at 19:47












$begingroup$
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
$endgroup$
– gimusi
Nov 30 '18 at 19:49






$begingroup$
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
$endgroup$
– gimusi
Nov 30 '18 at 19:49













0












$begingroup$

The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:40












  • $begingroup$
    $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    $endgroup$
    – KM101
    Nov 30 '18 at 20:21


















0












$begingroup$

The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:40












  • $begingroup$
    $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    $endgroup$
    – KM101
    Nov 30 '18 at 20:21
















0












0








0





$begingroup$

The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer









$endgroup$



The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 30 '18 at 18:58









David G. StorkDavid G. Stork

10.2k21332




10.2k21332












  • $begingroup$
    That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:40












  • $begingroup$
    $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    $endgroup$
    – KM101
    Nov 30 '18 at 20:21




















  • $begingroup$
    That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    $endgroup$
    – user3763099
    Nov 30 '18 at 19:40












  • $begingroup$
    $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    $endgroup$
    – KM101
    Nov 30 '18 at 20:21


















$begingroup$
That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
$endgroup$
– user3763099
Nov 30 '18 at 19:40






$begingroup$
That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
$endgroup$
– user3763099
Nov 30 '18 at 19:40














$begingroup$
$c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
$endgroup$
– KM101
Nov 30 '18 at 20:21






$begingroup$
$c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
$endgroup$
– KM101
Nov 30 '18 at 20:21




















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3020491%2fsolving-for-z-in-x-frac-y2-tanz-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei