Solving for $z$ in $x=frac y{2 tan(z/2)}$
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
add a comment |
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
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.
– Jyrki Lahtonen
Dec 2 '18 at 6:25
add a comment |
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
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
trigonometry
edited Nov 30 '18 at 20:11
amWhy
192k28225439
192k28225439
asked Nov 30 '18 at 18:54
user3763099user3763099
1
1
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.
– Jyrki Lahtonen
Dec 2 '18 at 6:25
add a comment |
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.
– Jyrki Lahtonen
Dec 2 '18 at 6:25
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.
– Jyrki Lahtonen
Dec 2 '18 at 6:25
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.
– Jyrki Lahtonen
Dec 2 '18 at 6:25
add a comment |
2 Answers
2
active
oldest
votes
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$.
Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 '18 at 19:47
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 '18 at 19:49
add a comment |
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?
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?
– user3763099
Nov 30 '18 at 19:40
$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}$.
– KM101
Nov 30 '18 at 20:21
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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$.
Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 '18 at 19:47
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 '18 at 19:49
add a comment |
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$.
Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 '18 at 19:47
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 '18 at 19:49
add a comment |
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$.
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$.
answered Nov 30 '18 at 19:41
gimusigimusi
1
1
Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 '18 at 19:47
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 '18 at 19:49
add a comment |
Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 '18 at 19:47
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 '18 at 19:49
Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 '18 at 19:47
Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 '18 at 19:47
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 '18 at 19:49
@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 '18 at 19:49
add a comment |
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?
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?
– user3763099
Nov 30 '18 at 19:40
$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}$.
– KM101
Nov 30 '18 at 20:21
add a comment |
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?
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?
– user3763099
Nov 30 '18 at 19:40
$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}$.
– KM101
Nov 30 '18 at 20:21
add a comment |
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?
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?
answered Nov 30 '18 at 18:58
David G. StorkDavid G. Stork
10.1k21332
10.1k21332
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?
– user3763099
Nov 30 '18 at 19:40
$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}$.
– KM101
Nov 30 '18 at 20:21
add a comment |
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?
– user3763099
Nov 30 '18 at 19:40
$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}$.
– KM101
Nov 30 '18 at 20:21
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?
– user3763099
Nov 30 '18 at 19:40
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?
– user3763099
Nov 30 '18 at 19:40
$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}$.
– KM101
Nov 30 '18 at 20:21
$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}$.
– KM101
Nov 30 '18 at 20:21
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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.
– Jyrki Lahtonen
Dec 2 '18 at 6:25