Findminimum of IntegralFindMinimum, NMinimize, etc. with external processIntegration does not give real valueFindMinimum function does not produce minimum from near pointFindMinimum and WhenEventSimplifying Expressions for FindMinimumIssues with methods of FindMinimumCan you run FindMinimum excluding imaginary results?FindMinimum yields result, but still issues MachinePrecision digits errorFindMinimum Error - cvec: Constrained optimization is only supported with scalar valued variablesWhy is my integral not being evaluated?

How to evaluate the performance of open source solver?

What kind of Chinook helicopter/airplane hybrid is this?

How many Jimmys can fit?

Is it ok for parents to kiss and romance with each other while their 2- to 8-year-old child watches?

When do flights get cancelled due to fog?

My professor has told me he will be the corresponding author. Will it hurt my future career?

Can Jimmy hang on his rope?

What do you call a situation where you have choices but no good choice?

I'm feeling like my character doesn't fit the campaign

How does one acquire an undead eyeball encased in a gem?

Category-theoretic treatment of diffs, patches and merging?

Passwordless authentication - how and when to invalidate a login code

Write a function

Publishing papers seem natural to many, while I find it really hard to think novel stuff to pursue till publication. How to cope up with this?

Other Space Shuttle O-ring failures

As a supervisor, what feedback would you expect from a PhD who quits?

US citizen traveling with Peruvian passport

Gaining Proficiency in Vehicles (water)

Is homosexuality or bisexuality allowed for women?

Can the word "desk" be used as a verb?

How to use Adostop Eco stop bath?

Strong Password Detection in Python

Did depressed people far more accurately estimate how many monsters they killed in a video game?

How do resistors generate different heat if we make the current fixed and changed the voltage and resistance? Notice the flow of charge is constant



Findminimum of Integral


FindMinimum, NMinimize, etc. with external processIntegration does not give real valueFindMinimum function does not produce minimum from near pointFindMinimum and WhenEventSimplifying Expressions for FindMinimumIssues with methods of FindMinimumCan you run FindMinimum excluding imaginary results?FindMinimum yields result, but still issues MachinePrecision digits errorFindMinimum Error - cvec: Constrained optimization is only supported with scalar valued variablesWhy is my integral not being evaluated?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2












$begingroup$


I am trying to find the value of $u$ that minimizes the following expression:



q = 1 - Exp[-u/b];
expr = Log[(1/(2 + b)) (1/(1 - q + q^2)) (q +
q^2 + (1 - q)^2 Exp[-u/2])/0.3553]; (*SEC BER equation *)
FindMinimum[Integrate[expr, b, 1, 10], u, 0, 10]


However, it does not yield any output. What's wrong with the code?










share|improve this question









$endgroup$







  • 1




    $begingroup$
    You may want to replace = by :=.
    $endgroup$
    – A.G.
    9 hours ago

















2












$begingroup$


I am trying to find the value of $u$ that minimizes the following expression:



q = 1 - Exp[-u/b];
expr = Log[(1/(2 + b)) (1/(1 - q + q^2)) (q +
q^2 + (1 - q)^2 Exp[-u/2])/0.3553]; (*SEC BER equation *)
FindMinimum[Integrate[expr, b, 1, 10], u, 0, 10]


However, it does not yield any output. What's wrong with the code?










share|improve this question









$endgroup$







  • 1




    $begingroup$
    You may want to replace = by :=.
    $endgroup$
    – A.G.
    9 hours ago













2












2








2





$begingroup$


I am trying to find the value of $u$ that minimizes the following expression:



q = 1 - Exp[-u/b];
expr = Log[(1/(2 + b)) (1/(1 - q + q^2)) (q +
q^2 + (1 - q)^2 Exp[-u/2])/0.3553]; (*SEC BER equation *)
FindMinimum[Integrate[expr, b, 1, 10], u, 0, 10]


However, it does not yield any output. What's wrong with the code?










share|improve this question









$endgroup$




I am trying to find the value of $u$ that minimizes the following expression:



q = 1 - Exp[-u/b];
expr = Log[(1/(2 + b)) (1/(1 - q + q^2)) (q +
q^2 + (1 - q)^2 Exp[-u/2])/0.3553]; (*SEC BER equation *)
FindMinimum[Integrate[expr, b, 1, 10], u, 0, 10]


However, it does not yield any output. What's wrong with the code?







numerical-integration mathematical-optimization






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 9 hours ago









jhon_wickjhon_wick

1796 bronze badges




1796 bronze badges







  • 1




    $begingroup$
    You may want to replace = by :=.
    $endgroup$
    – A.G.
    9 hours ago












  • 1




    $begingroup$
    You may want to replace = by :=.
    $endgroup$
    – A.G.
    9 hours ago







1




1




$begingroup$
You may want to replace = by :=.
$endgroup$
– A.G.
9 hours ago




$begingroup$
You may want to replace = by :=.
$endgroup$
– A.G.
9 hours ago










1 Answer
1






active

oldest

votes


















6












$begingroup$

You can do something like this.



Clear[expr];
q = 1 - Exp[-u/b];
expr[u_?NumericQ] :=
NIntegrate[
Log[(1/(2 + b)) (1/(1 - q + q^2)) (q + q^2 + (1 - q)^2 Exp[-u/2])/0.3553], b, 1, 10];


Now easy to optimize.



FindMinimum[expr[u], u, 0, 10]



-10.5871, u -> 1.2105







share|improve this answer









$endgroup$















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "387"
    ;
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201657%2ffindminimum-of-integral%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6












    $begingroup$

    You can do something like this.



    Clear[expr];
    q = 1 - Exp[-u/b];
    expr[u_?NumericQ] :=
    NIntegrate[
    Log[(1/(2 + b)) (1/(1 - q + q^2)) (q + q^2 + (1 - q)^2 Exp[-u/2])/0.3553], b, 1, 10];


    Now easy to optimize.



    FindMinimum[expr[u], u, 0, 10]



    -10.5871, u -> 1.2105







    share|improve this answer









    $endgroup$

















      6












      $begingroup$

      You can do something like this.



      Clear[expr];
      q = 1 - Exp[-u/b];
      expr[u_?NumericQ] :=
      NIntegrate[
      Log[(1/(2 + b)) (1/(1 - q + q^2)) (q + q^2 + (1 - q)^2 Exp[-u/2])/0.3553], b, 1, 10];


      Now easy to optimize.



      FindMinimum[expr[u], u, 0, 10]



      -10.5871, u -> 1.2105







      share|improve this answer









      $endgroup$















        6












        6








        6





        $begingroup$

        You can do something like this.



        Clear[expr];
        q = 1 - Exp[-u/b];
        expr[u_?NumericQ] :=
        NIntegrate[
        Log[(1/(2 + b)) (1/(1 - q + q^2)) (q + q^2 + (1 - q)^2 Exp[-u/2])/0.3553], b, 1, 10];


        Now easy to optimize.



        FindMinimum[expr[u], u, 0, 10]



        -10.5871, u -> 1.2105







        share|improve this answer









        $endgroup$



        You can do something like this.



        Clear[expr];
        q = 1 - Exp[-u/b];
        expr[u_?NumericQ] :=
        NIntegrate[
        Log[(1/(2 + b)) (1/(1 - q + q^2)) (q + q^2 + (1 - q)^2 Exp[-u/2])/0.3553], b, 1, 10];


        Now easy to optimize.



        FindMinimum[expr[u], u, 0, 10]



        -10.5871, u -> 1.2105








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 9 hours ago









        PlatoManiacPlatoManiac

        12.1k2 gold badges29 silver badges68 bronze badges




        12.1k2 gold badges29 silver badges68 bronze badges



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematica 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%2fmathematica.stackexchange.com%2fquestions%2f201657%2ffindminimum-of-integral%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

            ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

            Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

            19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу