Vous êtes sur la page 1sur 4

(* Content-type: application/vnd.wolfram.

mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 8.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[
157,
NotebookDataLength[
8106,
NotebookOptionsPosition[
7590,
NotebookOutlinePosition[
7934,
CellTagsIndexPosition[
7891,
WindowFrame->Normal*)

7]
221]
200]
215]
212]

(* Beginning of Notebook Content *)


Notebook[{
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{"{",
RowBox[{
RowBox[{"Slider", "[",
RowBox[{
RowBox[{"Dynamic", "[", "a", "]"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "4000", ",", "1"}], "}"}]}], "]"}], ",",
RowBox[{"Dynamic", "[", "a", "]"}], ",",
RowBox[{"{",
RowBox[{"Current", " ", "Health"}], "}"}]}], "}"}], "\[IndentingNewLine]",
RowBox[{"{",
RowBox[{
RowBox[{"Slider", "[",
RowBox[{
RowBox[{"Dynamic", "[", "b", "]"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "100", ",", ".01"}], "}"}]}], "]"}], ",",
RowBox[{"Dynamic", "[", "b", "]"}], ",",
RowBox[{"{",
RowBox[{"Current", " ", "Armor"}], "}"}]}], "}"}], "\[IndentingNewLine]",
RowBox[{"{",
RowBox[{
RowBox[{"Slider", "[",
RowBox[{
RowBox[{"Dynamic", "[", "y", "]"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "100", ",", ".01"}], "}"}]}], "]"}], ",",
RowBox[{"Dynamic", "[", "y", "]"}], ",",
RowBox[{"{",
RowBox[{"Additional", " ", "Armor"}], "}"}]}], "}"}], "\n",
RowBox[{"{",
RowBox[{
RowBox[{"Slider", "[",
RowBox[{
RowBox[{"Dynamic", "[", "z", "]"}], ",",
RowBox[{"{",
RowBox[{

RowBox[{"(",
RowBox[{"a", "+",
RowBox[{".06", "a", "*", "b"}]}], ")"}], ",", "20000", ",", "1"}],
"}"}]}], "]"}], ",",
RowBox[{"Dynamic", "[", "z", "]"}], ",",
RowBox[{"{",
RowBox[{"Desired", " ", "EHP"}], "}"}]}], "}"}], "\n",
RowBox[{"{",
RowBox[{
RowBox[{"Dynamic", "[",
RowBox[{
RowBox[{"(",
RowBox[{"50", " ",
RowBox[{"z", "/",
RowBox[{"(",
RowBox[{
RowBox[{"3", " ",
RowBox[{"(",
RowBox[{"y", "+", "b"}], ")"}]}], "+", "50"}], ")"}]}]}], ")"}],
" ", "-", " ", "a"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Required", " ", "HP"}], "}"}]}], "}"}], "\n",
RowBox[{"{",
RowBox[{
RowBox[{"Dynamic", "[",
RowBox[{
RowBox[{"140", " ",
RowBox[{"(", "y", ")"}]}], "+",
RowBox[{"4", " ",
RowBox[{"(",
RowBox[{
RowBox[{"(",
RowBox[{"50", " ",
RowBox[{"z", "/",
RowBox[{"(",
RowBox[{
RowBox[{"3", " ",
RowBox[{"(",
RowBox[{"y", "+", "b"}], ")"}]}], "+", "50"}], ")"}]}]}],
")"}], " ", "-", " ", "a"}], ")"}]}]}], "]"}], ",", " ",
RowBox[{"{",
RowBox[{"Approximate", " ", "Gold", " ", "Required"}], "}"}]}],
"}"}]}], "Input",
CellChangeTimes->{{3.541957258118241*^9, 3.5419573024087744`*^9}, {
3.541957456786604*^9, 3.5419574664131546`*^9}, {3.5419575490888834`*^9,
3.541957579011595*^9}, {3.54195761039539*^9, 3.5419576162067223`*^9}, {
3.5419578161331577`*^9, 3.541957858020553*^9}, {3.541957897563815*^9,
3.5419579028091154`*^9}, {3.54195831637677*^9, 3.541958500289289*^9}, {
3.5419585892433767`*^9, 3.541958603510193*^9}, {3.5419591515275373`*^9,
3.5419591538616714`*^9}}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
SliderBox[Dynamic[$CellContext`a], {0, 4000, 1}], ",",
DynamicBox[ToBoxes[$CellContext`a, StandardForm],
ImageSizeCache->{7., {0., 8.}}], ",",
RowBox[{"{",
RowBox[{"Current", " ", "Health"}], "}"}]}], "}"}]], "Output",
CellChangeTimes->{{3.5419572961244144`*^9, 3.541957303084813*^9},

3.5419574687822905`*^9, {3.5419575538921585`*^9, 3.5419575798036404`*^9},


3.5419576169587655`*^9, {3.5419578193703427`*^9, 3.5419578606797056`*^9},
3.5419583666876473`*^9, {3.5419584099261203`*^9, 3.5419585010153303`*^9}, {
3.541958548346038*^9, 3.541958603964219*^9}, 3.5419591599330187`*^9}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
SliderBox[Dynamic[$CellContext`b], {0, 100, 0.01}], ",",
DynamicBox[ToBoxes[$CellContext`b, StandardForm],
ImageSizeCache->{14., {0., 8.}}], ",",
RowBox[{"{",
RowBox[{"Armor", " ", "Current"}], "}"}]}], "}"}]], "Output",
CellChangeTimes->{{3.5419572961244144`*^9, 3.541957303084813*^9},
3.5419574687822905`*^9, {3.5419575538921585`*^9, 3.5419575798036404`*^9},
3.5419576169587655`*^9, {3.5419578193703427`*^9, 3.5419578606797056`*^9},
3.5419583666876473`*^9, {3.5419584099261203`*^9, 3.5419585010153303`*^9}, {
3.541958548346038*^9, 3.541958603964219*^9}, 3.541959159936019*^9}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
SliderBox[Dynamic[$CellContext`y], {0, 100, 0.01}], ",",
DynamicBox[ToBoxes[$CellContext`y, StandardForm],
ImageSizeCache->{14., {0., 8.}}], ",",
RowBox[{"{",
RowBox[{"Additional", " ", "Armor"}], "}"}]}], "}"}]], "Output",
CellChangeTimes->{{3.5419572961244144`*^9, 3.541957303084813*^9},
3.5419574687822905`*^9, {3.5419575538921585`*^9, 3.5419575798036404`*^9},
3.5419576169587655`*^9, {3.5419578193703427`*^9, 3.5419578606797056`*^9},
3.5419583666876473`*^9, {3.5419584099261203`*^9, 3.5419585010153303`*^9}, {
3.541958548346038*^9, 3.541958603964219*^9}, 3.541959159938019*^9}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
SliderBox[Dynamic[$CellContext`z], {0., 20000, 1}], ",",
DynamicBox[ToBoxes[$CellContext`z, StandardForm],
ImageSizeCache->{14., {0., 8.}}], ",",
RowBox[{"{",
RowBox[{"Desired", " ", "EHP"}], "}"}]}], "}"}]], "Output",
CellChangeTimes->{{3.5419572961244144`*^9, 3.541957303084813*^9},
3.5419574687822905`*^9, {3.5419575538921585`*^9, 3.5419575798036404`*^9},
3.5419576169587655`*^9, {3.5419578193703427`*^9, 3.5419578606797056`*^9},
3.5419583666876473`*^9, {3.5419584099261203`*^9, 3.5419585010153303`*^9}, {
3.541958548346038*^9, 3.541958603964219*^9}, 3.541959159941019*^9}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
DynamicBox[ToBoxes[
50 ($CellContext`z/(3 ($CellContext`y + $CellContext`b) +
50)) - $CellContext`a, StandardForm],
ImageSizeCache->{14., {0., 8.}}], ",",
RowBox[{"{",
RowBox[{"HP", " ", "Required"}], "}"}]}], "}"}]], "Output",
CellChangeTimes->{{3.5419572961244144`*^9, 3.541957303084813*^9},
3.5419574687822905`*^9, {3.5419575538921585`*^9, 3.5419575798036404`*^9},
3.5419576169587655`*^9, {3.5419578193703427`*^9, 3.5419578606797056`*^9},
3.5419583666876473`*^9, {3.5419584099261203`*^9, 3.5419585010153303`*^9}, {

3.541958548346038*^9, 3.541958603964219*^9}, 3.541959159942019*^9}],


Cell[BoxData[
RowBox[{"{",
RowBox[{
DynamicBox[ToBoxes[
140 $CellContext`y +
4 (50 ($CellContext`z/(3 ($CellContext`y + $CellContext`b) +
50)) - $CellContext`a), StandardForm],
ImageSizeCache->{14., {0., 8.}}], ",",
RowBox[{"{",
RowBox[{"Approximate", " ", "Gold", " ", "Required"}], "}"}]}],
"}"}]], "Output",
CellChangeTimes->{{3.5419572961244144`*^9, 3.541957303084813*^9},
3.5419574687822905`*^9, {3.5419575538921585`*^9, 3.5419575798036404`*^9},
3.5419576169587655`*^9, {3.5419578193703427`*^9, 3.5419578606797056`*^9},
3.5419583666876473`*^9, {3.5419584099261203`*^9, 3.5419585010153303`*^9}, {
3.541958548346038*^9, 3.541958603964219*^9}, 3.5419591599440193`*^9}]
}, Open ]]
},
WindowSize->{716, 565},
WindowMargins->{{134, Automatic}, {55, Automatic}},
FrontEndVersion->"8.0 for Microsoft Windows (64-bit) (October 6, 2011)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[579, 22, 2962, 87, 132, "Input"],
Cell[3544, 111, 654, 12, 39, "Output"],
Cell[4201, 125, 654, 12, 39, "Output"],
Cell[4858, 139, 657, 12, 39, "Output"],
Cell[5518, 153, 652, 12, 39, "Output"],
Cell[6173, 167, 669, 13, 30, "Output"],
Cell[6845, 182, 729, 15, 30, "Output"]
}, Open ]]
}
]
*)
(* End of internal cache information *)

Vous aimerez peut-être aussi