File: defineplotfunction.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (24 lines) | stat: -rw-r--r-- 632 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<HTML>
<HEAD>
<TITLE>Define and plot a function</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<p>
 Define <code>f(x) = 2*exp(-x/8)*sin(1.2*x)</code> and plot it over <code>[0,10]</code>.</P>
<P>
 <font color="blue"><pre>
 f='2*exp(-x/8)*sin(1.2*x)'
 generate x 0,,10 100
 graph x evaluate(f)
 </pre></font></P>
<P>
 <img src="defineplotfunction.gif"></P>
<P>
 <a href="fit.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Fit a function</font></a><br />
 <a href="fft.htm"><img src="../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">Analyze data using FFT</font></a>
</P>
</BODY>
</HTML>