Cookbook: Difference between revisions

Jump to navigation Jump to search
565 bytes added ,  22 August 2012
no edit summary
m (→‎Problem: typo)
No edit summary
Line 56: Line 56:
==== See also ====
==== See also ====
Find if a number is an integer.
Find if a number is an integer.
== Parametrized Functions ==
==== Problem  ====
One sometimes needs to define a family of functions depending on a set of parameters, ''e.g.''
<math>f (x, y, z; a, b, c)</math>
where
<math>x, y, z</math>
denote a the variables on which the function operates and
<math>a, b, c</math>
are the parameters used to chose one specific element of the family of functions.
For example, let's say we want to implement a function that given the spring constant
<math>k</math> and the initial elongation <math>x_0</math> of a
==== Solution ====
==== Discussion ====


== Plotting ==
== Plotting ==
== User input ==
== User input ==
349

edits

Navigation menu