{"id":10358,"date":"2025-09-27T08:59:51","date_gmt":"2025-09-27T06:59:51","guid":{"rendered":"https:\/\/spgoo.org\/?page_id=10358"},"modified":"2025-09-27T09:00:04","modified_gmt":"2025-09-27T07:00:04","slug":"production","status":"publish","type":"page","link":"https:\/\/spgoo.org\/?page_id=10358","title":{"rendered":"Production"},"content":{"rendered":"<link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/jsxgraph\/distrib\/jsxgraph.css\">\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/jsxgraph@1.11.1\/distrib\/jsxgraphcore.js\"><\/script>\r\n<!-- MathJax -->\r\n<script>\r\n    window.MathJax = {\r\n      tex: { inlineMath: [['\\\\(', '\\\\)'], ['$', '$']] },\r\n      svg: { fontCache: 'global' }\r\n    };\r\n<\/script>\r\n<script async src=\"https:\/\/cdn.jsdelivr.net\/npm\/mathjax@3\/es5\/tex-chtml.js\" id=\"MathJax-script\"><\/script>\r\n\r\n\r\n<div style=\"margin:0px 0px 0px 100px;width:850px;\">\r\n\t<div id=\"box\" class=\"jxgbox\" style=\"width:800px; height:600px;\"><\/div>\r\n\t<div id=\"boxText\" class=\"jxgbox\" style=\"width:800px; height:150px;\"><\/div>\t\r\n<div>\r\n\r\n<script type=\"text\/javascript\">\r\nrougevenitien='#AE181E';\r\npeche='#ffdfbf';\r\ncadet='#5F9EA0';\r\nolivedrab='#6B8E23';\r\nvert=\"#069E1C\";\r\nmonjaune='#f9f9fb';\r\nJXG.Options.text.useMathJax = true;\t\r\nc=2\r\nb=9\r\nalpha=0.5   \r\nvar board = JXG.JSXGraph.initBoard('box', \r\n{pan: {enabled:false},\r\nboundingbox: [-1,4, 10,-1], \r\naxis:true,withLines:false,defaultAxes: {\r\n    x: { ticks: {visible: false} },\r\n    y: { ticks: {visible: false} }\r\n  },\r\nshowNavigation:false,showCopyright:false,showInfoBox:false});\r\n\r\nboard.dehighlightAll();\r\nboard.renderer.container.style.backgroundColor = '#E5E4E2';\r\n\r\nvar board_text = JXG.JSXGraph.initBoard('boxText', {pan: {enabled:false},boundingbox: [-1,5, 10,0], \r\naxis:false,withLines:true,grid:false,defaultAxes: {\r\n    x: { ticks: {visible: false} },\r\n    y: { ticks: {visible: false} }\r\n  },showNavigation:false,showCopyright:false,showInfoBox:false});\r\nboard_text.renderer.container.style.backgroundColor = '#E5E4E2';\r\n\r\nboard_text.create('text',[-0.5,4,\r\n\"$\\\\textrm{Dans la th\u00e9orie micro\u00e9conomique du producteur le domaine de production doit \u00eatre convexe. S'il ne l'est pas}$\"],\r\n\t\t\t\t  {fixed:true,highlight:false,fixed:true});\r\nboard_text.create('text',[-0.5,3.5,\t\r\n\"$\\\\textrm{(ce qui se produit si le niveau d'inaction est strictement positif), il est possible que le profit devienne n\u00e9gatif}$\"],{fixed:true,highlight:false});\r\nboard_text.create('text',[-0.5,3,\t\t\r\n\"$\\\\textrm{et conduise \u00e0 la cessation de la production.  Il y a toujours la possibilit\u00e9 de centraliser la production }$\"],\r\n\t\t\t\t  {fixed:true,highlight:false});\r\nboard_text.create('text',[-0.5,2.5,\t\t\t\t\t\t\t\t  \r\n\"$\\\\textrm{(maximisation de l'utilit\u00e9 sous contrainte) mais quand le niveau d'inaction est positif, ce n'est pas toujours le cas.}$\"],{fixed:true,highlight:false});\r\nboard_text.create('text',[-0.5,2,\t\t\t\t\t\t\t\t  \t\r\n\"$\\\\textrm{En d'autres termes le propri\u00e9taire de la production peut toujours choisir le niveau de sa production, mais s'il veut}$\"],{fixed:true,highlight:false});\r\nboard_text.create('text',[-0.5,1.5,\t\t\t\t\t\t\t\t  \t\t\r\n\"$\\\\textrm{s\u00e9parer l'action de d\u00e9cider de son niveau de bien \u00eatre et l'action de produire, l'action de produire peut ne pas aboutir}$\"],{fixed:true,highlight:false});\r\nboard_text.create('text',[-0.5,1,\t\t\t\t\t\t  \r\n\"$\\\\textrm{en cas de profit n\u00e9gatif.}$\"],{fixed:true,highlight:false});\r\n\r\n\r\nvar sl0 = board.create('slider', [[.5, -0.5], [2.5, -0.5], [0, 0, 1.48]],{\r\nbaseline: { strokeColor: 'blue'},\r\nhighline: { strokeColor: 'red'},\r\nfillColor: '#0061a8',\r\nstrokeColor: '#0061a8',\r\nwithLabel:false,\r\nlabel: {fontSize: 14, strokeColor: 'Black'},\r\nname: 'xyz', \/\/ Not shown, if suffixLabel is set\r\nsuffixLabel: \"$\\\\textrm{Niveau d'inaction}\\\\,\\\\,$\",\r\n\/\/postLabel: ' u'\r\n});\r\n\r\nboard.create('text',[2.8,-0.5,\"$\\\\textrm{Niveau d'inaction}\\\\,\\\\,$\"],{fixed:true} )\r\n\r\nboard.renderer.container.style.fontFamily = \"'CMU Serif', 'Computer Modern', serif\";\r\n\r\nvar sl2= board.create('slider', [[.5, -0.75], [2.5, -0.75], [0.5, 0.1, 1.5]],{\r\nvisible:true,\r\nbaseline: { strokeColor: 'blue'},\r\nhighline: { strokeColor: 'red'},\r\nfillColor: '#0061a8',\r\nstrokeColor: '#0061a8',\r\nlabel: {fontSize: 14, strokeColor: 'Black'},\r\nwithLabel:false,\r\nname: 'xyz', \/\/ Not shown, if suffixLabel is set\r\nsuffixLabel: \"$\\\\textrm{Niveau d'utilit\u00e9}\\\\, $\",\r\n\/\/postLabel: ' u'\r\n});\r\nconst textUtilite= board.create('text',[2.8,-0.75,\"$\\\\textrm{Niveau d'utilit\u00e9}\\\\,\\\\,$\"],{fixed:true} )\r\n\r\nvar f= (x) => Math.pow((x- sl0.Value()),.5)\r\n\r\nvar p0=board.create('point',[0,0],{name:\"\",visible:false});\r\nvar p1=board.create('point',[function(){return sl0.Value()},0],{name:\"\",visible:false});\r\n\r\nvar graph1 = board.create('functiongraph',\r\n       [function(x){ return Math.pow((x-sl0.Value()),.5);}, 0, b+c],{strokeWidth:3,strokeColor:\"#5F9ea0\",highlight:false}\r\n);\r\nvar gl = board.create('glider', [2, 1, graph1],{name:\"\",strokeColor:\"#8d050e\",fillColor:\"#8d050e\"});\r\nvar l0=board.create('segment',[p0,p1],{strokeWidth:3,strokeColor:\"#5F9ea0\"});\r\n\r\nvar p2 = board.create(\"point\",[function(){return gl.X()},0],{name:\"\",visible:false})\r\nvar p3 = board.create(\"point\",[0,function(){return gl.Y()}],{name:\"\",visible:false})\r\nvar l2 = board.create('segment',[p2,gl],{strokeWidth:1,strokeColor:\"black\",dash:2});\r\nvar l3 = board.create('segment',[gl,p3],{strokeWidth:1,strokeColor:\"black\",dash:2});\r\nvar ta = board.create('tangent', [gl],{name:\"\",strokeWidth:2,strokeColor:\"#8d050e\",highlight:false});\r\nvar se = board.create('segment', [[0, -2], [0, 4]],{visible:false});\r\nvar int = board.create('intersection', [ta, se],{name:\"\",strokeColor:\"darkgreen\",fillColor:\"goldenrod\"});\r\nvar t0 = board.create('text',[function(x){return int.X()-0.5},function(x){ return int.Y()},\"$\\\\frac{\\\\Pi}{p}$\"]);\r\nvar t1 = board.create('text',[1,3.5,\"$\\\\textrm{Le producteur d\u00e9cide de produire}$\"],{fixed:true});\r\nvar t2 = board.create('text',[1,3.5,\"$\\\\textrm{Le producteur d\u00e9cide de ne pas produire}$\"],{visible:false, color:\"#AE181E\",fixed:true});\r\nvar label_l = board.create('text',[9.7,-.15,'$l$'], {fontSize: 15,strokeColor:'black',visible:true,highlight:false,fixed:true})\r\nvar label_f = board.create('text',[-0.5,3.89,'$f(l)$'], {fontSize: 15,strokeColor:'black',visible:true,highlight:false,fixed:true})\r\nvar tls = board.create('text',[function(){return gl.X()},-.2,'$l^{\\\\star}$'], {fontSize: 15,strokeColor:'black',visible:true,highlight:false})\r\nvar tys = board.create('text',[-.3,function(){return gl.Y()},'$y^{\\\\star}$'], {fontSize: 15,strokeColor:'black',visible:true,highlight:false})\r\nBB=false\r\n\r\nvar seg1 = board.create('segment',[int,p3],{strokeWidth:5,color:'goldenrod',highlight:false});\r\nvar mp0 = board.create('midpoint',[int,p3],{name:'',strokeWidth:5,color:'goldenrod',highlight:false,visible:false});\r\nvar sr0 =  board.create('text',[-0.75,function(){return mp0.Y();},'\\\\(\\\\frac{w}{p}l^\\\\star\\\\)'],{color:'goldenrod'});\r\nvar seg2 =board.create('segment',[int,p0],{strokeWidth:5,color:'forestgreen',highlight:false});\r\n\r\n\/\/ Remplissage sous la courbe (il faut un slider sl0)\r\nvar  xq=[];\r\nvar  yq=[];\r\nvar poly0 = null;\r\n\/\/entre 0 et 0.1 :10 points\r\nfunction f1(){\r\n  xq=[];\r\n  yq=[];\r\nfor (var i = 0; i <= 10; i++) { \r\n  xq.push(i*(0.1\/10)+sl0.Value());\r\n  yq.push(f(i*(0.1\/10)+sl0.Value()));\r\n};\r\nfor (var i = 0; i <= 10; i++) { \r\n  xq.push(0.2+i*((2-1)\/10)+sl0.Value());\r\n  yq.push(f(0.2+(i*((2-1))\/10)+sl0.Value()));\r\n};\r\nfor (var i = 0; i <= 10; i++) {   \r\n  xq.push(1.2+i*((10-1.1)\/10)+sl0.Value());\r\n  yq.push(f(1.2+(i*((10-1.1))\/10)+sl0.Value()));\r\n};\r\nxq.push(11);yq.push(f(11))\r\nxq.push(11);yq.push(0)\r\nxq.push(0);yq.push(0)\r\npoly0 = board.create('curve',[xq,yq],{strokeColor:\"#5F9ea0\",fillColor:\"#5F9ea0\",fillOpacity:.2,higlight:false})\r\n}\r\n\/\/affichage du remplissage\r\nf1();\r\n\/\/mouvement par draggage du slider\r\nsl0.on(\"drag\", function(){poly0.remove();f1();})\r\n\r\nU=6;\r\nT=9;\r\nvar u = (x) =>Math.pow(U*Math.pow(T-x,-.4),sl2.Value());\r\nvar graph2 = board.create('functiongraph',\r\n     [u, 0, b+c],{strokeWidth:3,strokeColor:\"darkgreen\",highlight:false,visible:true}\r\n);\r\nvar gl2 = board.create('glider', [2, u(2), graph2], {\r\n  name: \"\",\r\n  strokeColor: \"darkgreen\",\r\n  fillColor: \"darkgreen\"\r\n});\t\t\t\t\t\r\n\r\nsl0.on(\"drag\", function(){\r\n    poly0.remove();\r\n    f1();\r\n\r\n    \/\/ Affichage conditionnel des textes\r\n    if (int.Y() <= 0) {\r\n        t0.setAttribute({strokeColor:\"#8d050e\"});\r\n        t2.setAttribute({visible:true});        \r\n        t1.setAttribute({visible:false});        \r\n    } else {\r\n        t0.setAttribute({strokeColor:\"black\"});\r\n        t2.setAttribute({visible:false}); \r\n        t1.setAttribute({visible:true});\r\n    }\r\n\r\n    \/\/ D\u00e9tection de proximit\u00e9 entre les deux courbes\r\n    var xTangente = int.X();\r\n    var yBleu = f(xTangente);\r\n    var yVert = u(xTangente);\r\n    var epsilon = 0.05;\r\n\r\n    if (Math.abs(yBleu - yVert) < epsilon) {\r\n        gl2.moveTo([xTangente, yVert], 0); \/\/ repositionne le glider vert\r\n    }\r\n});\r\nconst chckbx = board.create('checkbox', [6, -0.5, \"\\\\(\\\\textrm{Fonction d'utilit\u00e9}\\\\)\"], {\r\n    checked: true,fixed:true\r\n});\r\n\r\nJXG.addEvent(chckbx.rendNodeCheckbox, 'change', function() {\r\n    if (this.Value()) {\r\n     graph2.setAttribute({visible:true}) ;\r\n     sl2.setAttribute({visible:true}) ;\r\n\t textUtilite.setAttribute({visible:true}) ;\r\n    } else {\r\n     graph2.setAttribute({visible:false});\r\n     sl2.setAttribute({visible:false})\r\n\t textUtilite.setAttribute({visible:false}) ;\r\n    }\r\n}, chckbx);\r\n\r\n<\/script>\r\n\r\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10358","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/spgoo.org\/index.php?rest_route=\/wp\/v2\/pages\/10358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spgoo.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/spgoo.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/spgoo.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spgoo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10358"}],"version-history":[{"count":1,"href":"https:\/\/spgoo.org\/index.php?rest_route=\/wp\/v2\/pages\/10358\/revisions"}],"predecessor-version":[{"id":10359,"href":"https:\/\/spgoo.org\/index.php?rest_route=\/wp\/v2\/pages\/10358\/revisions\/10359"}],"wp:attachment":[{"href":"https:\/\/spgoo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}