[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
First attempt to plot
From: |
Peter Norlindh |
Subject: |
First attempt to plot |
Date: |
Tue, 21 Dec 2010 10:09:03 +0100 |
Hi,
I've been trying the following:
s1 = 200;
s2 = -400:10:400;
plot (s2, sqrt(s1^2 + s2^2 - s1 * s2));
But there seems to be a problem with the term s2^2. I get the following error messages:
error: for A^b, A must be square
error: evaluating argument list element number 1
...
What is the problem, and how do I fix it?
Thanks,
hpon
- First attempt to plot,
Peter Norlindh <=