Find the value of $n$ that minimizes a complicated integral The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Having the eigenvalues how to find the eigenvectors?Complicated “functional integral”Inaccuracy in numerical calculation of arclength of part of an ellipseFind u that minimizes the integral meanHelp finding value of N that minimizes a sumDescribing the minimizers of this functionBlotto game variationFinding “integer” vector that minimizes scalar productApproximation to a complicated integral.Why is $x^napprox left(n(x^1/4096-1)+1right)^4096$?
Can smartphones with the same camera sensor have different image quality?
Didn't get enough time to take a Coding Test - what to do now?
Can a novice safely splice in wire to lengthen 5V charging cable?
Hiding Certain Lines on Table
Can the DM override racial traits?
Match Roman Numerals
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
How can I protect witches in combat who wear limited clothing?
The variadic template constructor of my class cannot modify my class members, why is that so?
Do working physicists consider Newtonian mechanics to be "falsified"?
Road tyres vs "Street" tyres for charity ride on MTB Tandem
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Was credit for the black hole image misattributed?
Mortgage adviser recommends a longer term than necessary combined with overpayments
What can I do if neighbor is blocking my solar panels intentionally?
What is special about square numbers here?
Do warforged have souls?
Does Parliament hold absolute power in the UK?
Why can't wing-mounted spoilers be used to steepen approaches?
Why can't devices on different VLANs, but on the same subnet, communicate?
How should I replace vector<uint8_t>::const_iterator in an API?
Windows 10: How to Lock (not sleep) laptop on lid close?
Python - Fishing Simulator
Find the value of $n$ that minimizes a complicated integral
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Having the eigenvalues how to find the eigenvectors?Complicated “functional integral”Inaccuracy in numerical calculation of arclength of part of an ellipseFind u that minimizes the integral meanHelp finding value of N that minimizes a sumDescribing the minimizers of this functionBlotto game variationFinding “integer” vector that minimizes scalar productApproximation to a complicated integral.Why is $x^napprox left(n(x^1/4096-1)+1right)^4096$?
$begingroup$
I need to approximate this function:
$$f(x)=left{beginmatrix
sqrt21.49-(x+1.28)^2 textif x<-3.17\
sqrt60.56-x^2 -2.87 textif -3.17leq xleq 3.17\
sqrt21.49-(x-1.28)^2 textif x>3.17
endmatrixright.$$
With a more simple one. I found out that:
$$g(x)=4.91left(1-frac4x^211.84^2right)^frac1n$$
Works really well for some value of $n$ . To optimize the value of this parameter I'm trying to minimize the middle error integral:
$$E=fracf(x)-g(x)11.84$$
With some little tricks(for example noticing that the two functions are even, and noticing that an ellipse approximates pretty well $f$ so $napprox 2$) and using Geogebra I managed to find:
$$n_optimalapprox 2.2 $$
But I can't go deeper with the precision because Geogebra is a limitated software. Can you help me with a more powerful software in finding a more precise value for $n_optimal$
[Important!: the extremes of integration are a bit approximated, the precise value should be $pm 5.915...$]
Thank you :)
optimization approximation
$endgroup$
add a comment |
$begingroup$
I need to approximate this function:
$$f(x)=left{beginmatrix
sqrt21.49-(x+1.28)^2 textif x<-3.17\
sqrt60.56-x^2 -2.87 textif -3.17leq xleq 3.17\
sqrt21.49-(x-1.28)^2 textif x>3.17
endmatrixright.$$
With a more simple one. I found out that:
$$g(x)=4.91left(1-frac4x^211.84^2right)^frac1n$$
Works really well for some value of $n$ . To optimize the value of this parameter I'm trying to minimize the middle error integral:
$$E=fracf(x)-g(x)11.84$$
With some little tricks(for example noticing that the two functions are even, and noticing that an ellipse approximates pretty well $f$ so $napprox 2$) and using Geogebra I managed to find:
$$n_optimalapprox 2.2 $$
But I can't go deeper with the precision because Geogebra is a limitated software. Can you help me with a more powerful software in finding a more precise value for $n_optimal$
[Important!: the extremes of integration are a bit approximated, the precise value should be $pm 5.915...$]
Thank you :)
optimization approximation
$endgroup$
1
$begingroup$
Check out Desmos calculator: desmos.com/calculator/7url7y2c7d.
$endgroup$
– kccu
Mar 31 at 14:36
$begingroup$
@kccu thank you :)
$endgroup$
– Eureka
Mar 31 at 18:00
add a comment |
$begingroup$
I need to approximate this function:
$$f(x)=left{beginmatrix
sqrt21.49-(x+1.28)^2 textif x<-3.17\
sqrt60.56-x^2 -2.87 textif -3.17leq xleq 3.17\
sqrt21.49-(x-1.28)^2 textif x>3.17
endmatrixright.$$
With a more simple one. I found out that:
$$g(x)=4.91left(1-frac4x^211.84^2right)^frac1n$$
Works really well for some value of $n$ . To optimize the value of this parameter I'm trying to minimize the middle error integral:
$$E=fracf(x)-g(x)11.84$$
With some little tricks(for example noticing that the two functions are even, and noticing that an ellipse approximates pretty well $f$ so $napprox 2$) and using Geogebra I managed to find:
$$n_optimalapprox 2.2 $$
But I can't go deeper with the precision because Geogebra is a limitated software. Can you help me with a more powerful software in finding a more precise value for $n_optimal$
[Important!: the extremes of integration are a bit approximated, the precise value should be $pm 5.915...$]
Thank you :)
optimization approximation
$endgroup$
I need to approximate this function:
$$f(x)=left{beginmatrix
sqrt21.49-(x+1.28)^2 textif x<-3.17\
sqrt60.56-x^2 -2.87 textif -3.17leq xleq 3.17\
sqrt21.49-(x-1.28)^2 textif x>3.17
endmatrixright.$$
With a more simple one. I found out that:
$$g(x)=4.91left(1-frac4x^211.84^2right)^frac1n$$
Works really well for some value of $n$ . To optimize the value of this parameter I'm trying to minimize the middle error integral:
$$E=fracf(x)-g(x)11.84$$
With some little tricks(for example noticing that the two functions are even, and noticing that an ellipse approximates pretty well $f$ so $napprox 2$) and using Geogebra I managed to find:
$$n_optimalapprox 2.2 $$
But I can't go deeper with the precision because Geogebra is a limitated software. Can you help me with a more powerful software in finding a more precise value for $n_optimal$
[Important!: the extremes of integration are a bit approximated, the precise value should be $pm 5.915...$]
Thank you :)
optimization approximation
optimization approximation
asked Mar 31 at 14:20
EurekaEureka
862114
862114
1
$begingroup$
Check out Desmos calculator: desmos.com/calculator/7url7y2c7d.
$endgroup$
– kccu
Mar 31 at 14:36
$begingroup$
@kccu thank you :)
$endgroup$
– Eureka
Mar 31 at 18:00
add a comment |
1
$begingroup$
Check out Desmos calculator: desmos.com/calculator/7url7y2c7d.
$endgroup$
– kccu
Mar 31 at 14:36
$begingroup$
@kccu thank you :)
$endgroup$
– Eureka
Mar 31 at 18:00
1
1
$begingroup$
Check out Desmos calculator: desmos.com/calculator/7url7y2c7d.
$endgroup$
– kccu
Mar 31 at 14:36
$begingroup$
Check out Desmos calculator: desmos.com/calculator/7url7y2c7d.
$endgroup$
– kccu
Mar 31 at 14:36
$begingroup$
@kccu thank you :)
$endgroup$
– Eureka
Mar 31 at 18:00
$begingroup$
@kccu thank you :)
$endgroup$
– Eureka
Mar 31 at 18:00
add a comment |
0
active
oldest
votes
Your Answer
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%2f3169435%2ffind-the-value-of-n-that-minimizes-a-complicated-integral%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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%2f3169435%2ffind-the-value-of-n-that-minimizes-a-complicated-integral%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
1
$begingroup$
Check out Desmos calculator: desmos.com/calculator/7url7y2c7d.
$endgroup$
– kccu
Mar 31 at 14:36
$begingroup$
@kccu thank you :)
$endgroup$
– Eureka
Mar 31 at 18:00