New answers tagged

1

A few points and my version: Manipulate[DynamicModule[{f = Sin[x],... means whenever Manipulate updates itself, f etc. are reinitialized. (It does this only first time the calculate button is pushed.) I would suggest doing it all inside one DynamicModule or one Manipulate. I show the Manipulate approach below. I constructed the controls in the standard ...


0

Thank you for the answers. I made a little change to avoid the Null from the if statement. I carried the If statement in front of the InputField for the plot. by using the suggestions: to get the FullSize plot, fixed the " " marks in the result section. Create a function DGL to make the calculation. Next step is to create a package and use the package ...


1

You can use Row[{"xL", InputField[Dynamic[xL], Number]}, Spacer[5]] or Labeled[InputField[Dynamic[xL], Number], "xL", Left] to label the input fields. Manipulate[DynamicModule[{f = Sin[x], xR = 1, xL = 0, Res = 0.4596976941}, Column[{Row[{"xL ", InputField[Dynamic[xL], Number]}, Spacer[5]], Row[{"xR ", InputField[Dynamic[xR], Number]}, ...



Top 50 recent answers are included