schema: EconSchema aspectRatio: 1.3 params: - name: m value: 8 min: 5 max: 28.7 round: 0.1 - name: g value: 25 min: 10 max: 30 round: 0.5 - name: t value: 0.25 min: 0.1 max: 0.5 round: 0.05 calcs: r: ((0.25*(15+10+(params.g))/(0.5*(1-0.75*(1-params.t))+0.25*1.525)-(1-0.75*(1-params.t))*(params.m)/(0.5*(1-0.75*(1-params.t))+0.25*1.525))) inv: ((10-(1.525*(calcs.r)))) pointISLM: ((0.25*(15+10+(params.g))/(0.5*(1-0.75*(1-params.t))+0.25*1.525)-(1-0.75*(1-params.t))*(params.m)/(0.5*(1-0.75*(1-params.t))+0.25*1.525))) Yeq: ((15+10+params.g)/(1-0.75*(1-params.t))-(1.525*(calcs.r))/(1-0.75*(1-params.t))) Yeq2: ((15+10+params.g)/(1-0.75*(1-params.t))-(1.525*(0))/(1-0.75*(1-params.t))) LM: ((0.5*(20)/(0.25))+((params.m)/(0.25))) Da: ((15+0.75*(1-params.t)(145)+calcs.inv+params.g)) Md2: ((0.25*(15+10+params.g)/((1-0.75*(1-params.t)))-(1)(0.5+((0.25*1.525)/(1-0.75(1-params.t)))))) layout: ThreeGraphsPlusSidebar: topRightGraph: xAxis: min: 0 max: 145 ticks: 4 yAxis: min: 0 max: 145 ticks: 4 objects: #45-degree Line - Line: slope: 1 strokeWidth: 2 color: grey - AngleMarker: measure: 45 strokeWidth: 2.5 color: black r: 20 label: text: "`45\\\\degree`" fontSize: 11 #Agreggate Expenditure - Curve: fn: "(15+0.75*(1-params.t)(x)+calcs.inv+params.g)" ind: x color: blue min: 0 max: 200 strokeWidth: 4 samplePoints: 100 - Point: coordinates: [calcs.Yeq, calcs.Yeq] color: black - Segment: a: [calcs.Yeq, 0] b: [calcs.Yeq, calcs.Yeq] color: green lineStyle: dotted strokeWidth: 2 - Segment: a: [calcs.Yeq, calcs.Yeq] b: [0, calcs.Yeq] color: green lineStyle: dotted strokeWidth: 2 - Segment: a: [0, calcs.Yeq] b: [0, calcs.Yeq] color: black bgcolor: "'#36a854'" label: text: "`(\\\\$)\\\\ ${calcs.Yeq.toFixed(1)}`" position: r - Segment: a: [calcs.Yeq, 0] b: [calcs.Yeq, 0] color: black bgcolor: "'#36a854'" label: text: "`(\\\\$)\\\\ ${calcs.Yeq.toFixed(1)}`" position: t - Segment: a: [135, 0] b: [135, 0] color: black label: text: Y_{renda} position: tl - Segment: a: [0, 142] b: [0, 142] color: black label: text: Y_{d} position: r - Segment: a: [145, calcs.Da] b: [145, calcs.Da] color: white bgcolor: "'#2177b5'" label: text: Y_{d} position: l bottomLeftGraph: xAxis: min: 0 max: 35 ticks: 4 yAxis: min: 0 max: 20 ticks: 4 objects: #Demand for Money - Curve - Curve: fn: "((0.25*(15+10+params.g)/(0.5*(1-0.75*(1-params.t))+0.25*1.525)-(x)*(1-0.75*(1-params.t))/(0.5*(1-0.75*(1-params.t))+0.25*1.525)))" ind: x color: blue min: 0 max: 30 strokeWidth: 4 samplePoints: 100 #Money Supply - Line - Point: coordinates: [params.m, calcs.pointISLM] color: - Line: xIntercept: params.m color: supply lineStyle: solid strokeWidth: 3 - Line: yIntercept: calcs.pointISLM color: supply lineStyle: dotted strokeWidth: 2 #Canva - Segment: a: [0,20] b: [0,20] color: black label: text: (r) position: r - Segment: a: [35,0] b: [35,0] color: black label: text: M/P position: t - Segment: a: [1, calcs.pointISLM] b: [1, calcs.pointISLM] color: black bgcolor: "'#36a854'" label: text: "`(\\\\%)\\\\ ${calcs.r.toFixed(1)}`" position: r - Segment: a: [params.m, 0] b: [params.m, 0] color: black bgcolor: "'#36a854'" label: text: "`(\\\\$)\\\\ ${params.m.toFixed(1)}`" position: t - Segment: a: [params.m, 20] b: [params.m, 20] color: white bgcolor: "'#fc7e0f'" label: text: M_{of} position: b - Segment: a: [calcs.Md2, 2] b: [calcs.Md2, 2] color: white bgcolor: "'#2177b5'" label: text: M_{d} position: l bottomRightGraph: xAxis: min: 0 max: 145 ticks: 4 yAxis: min: 0 max: 20 ticks: 4 objects: #IS Curve - Curve: fn: "(((15+10+params.g)/(1.525)-((x)*(1-0.75*(1-params.t))/(1.525))))" ind: x color: blue min: 0 max: 200 strokeWidth: 4 samplePoints: 100 #LM Curve - Curve: fn: "((0.25*(x)/(0.5)-(params.m)/0.5))" ind: x color: supply min: 0 max: 200 strokeWidth: 4 samplePoints: 100 - Point: coordinates: [calcs.Yeq, calcs.pointISLM] color: - Segment: a: [0, calcs.pointISLM] b: [calcs.Yeq, calcs.pointISLM] color: supply strokeWidth: 2.5 lineStyle: - Segment: a: [calcs.Yeq, 0] b: [calcs.Yeq, 20] color: green lineStyle: dotted strokeWidth: 2 #Canva - Segment: a: [0,20] b: [0,20] color: black label: text: (r) position: r - Segment: a: [145, 0] b: [145, 0] color: black label: text: Y_{Eq} position: t - Segment: a: [0, calcs.pointISLM] b: [0, calcs.pointISLM] color: black bgcolor: "'#36a854'" label: text: "`(\\\\%)\\\\ ${calcs.r.toFixed(1)}`" position: r - Segment: a: [calcs.Yeq, 0] b: [calcs.Yeq, 0] color: black bgcolor: "'#36a854'" label: text: "`(\\\\$)\\\\ ${calcs.Yeq.toFixed(1)}`" position: t - Segment: a: [calcs.Yeq2, 0] b: [calcs.Yeq2+8, 0] color: white bgcolor: "'#2177b5'" label: text: IS position: b - Segment: a: [(calcs.LM), 20] b: [(calcs.LM), 20] color: white bgcolor: "'#fc7e0f'" label: text: LM position: l sidebar: controls: - title: MODELO IS-LM sliders: - param: m label: M digits: 3 - param: g label: G digits: 3 - param: t label: t digits: 3 divs: - html: '`A curva IS é: $$\\color{${colors.black}}{r(Y) = \\frac{c_{0}+a_{0}+G}{a_{1}}-\\frac{Y_{Eq}[1-c_{1}(1-t)]}{a_{1}}}$$ $$\\color{${colors.black}}{\\Longleftrightarrow}$$ $$\\color{${colors.black}}{r(Y) = \\frac{15+10+${params.g.toFixed(0)}}{1.525}-\\frac{Y_{Eq}[1-0.75(1-${params.t.toFixed(2)})]}{1.525}}$$ $$\\color{${colors.black}}{\\Longleftrightarrow}$$ $$\\color{${colors.black}}{r(${calcs.Yeq.toFixed(0)})=${calcs.r.toFixed(2)}\\ \\\%}$$`' - html:
- html: '`A curva LM é: $$\\color{${colors.black}}{r(Y) = \\frac{kY}{h}-\\frac{M_{of}}{h}}$$ $$\\color{${colors.black}}{\\Longleftrightarrow}$$ $$\\color{${colors.black}}{r(Y) = \\frac{0.25Y}{0.5}-\\frac{${params.m.toFixed(1)}}{0.5}}$$ $$\\color{${colors.black}}{\\Longleftrightarrow}$$ $$\\color{${colors.black}}{r(${calcs.Yeq.toFixed(0)})=${calcs.r.toFixed(2)}\\ \\\%}$$`'