Qurak

Build an interactive application

How-to 2 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

Stap 1
Plot[Sin[10x] + Sin[11x], {x, 0, 2π}]
Uitvoer
-Graphics-
Stap 2
Manipulate[Plot[Sin[10x] + Sin[f x + θ], {x, 0, 2π}, PlotStyle -> color], {f, 10, 20}, {θ, 0, π}, {color, Blue}]
Uitvoer
Manipulate[Plot[Sin[10*x] + Sin[f*x + θ], {x, 0, 2*Pi}, PlotStyle -> color], {f, 10, 20}, {θ, 0, Pi}, {color, RGBColor[0, 0, 1]}]

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client