[Scilab-users] Plotting 2 functions & integrate 1 definitive
Stéphane Mottelet
stephane.mottelet at utc.fr
Mon Jan 2 12:04:23 CET 2017
Hi,
Le 02/01/2017 à 11:26, Pirovano, Bart a écrit :
>
> Goodday, I would like to add a second function to the underneath
> little program. I suppose something I haven’t done correct where I
> address ‘b’. Can somebody put me in the good direction with
> integrating the x,y curve?
>
you want to compute a line integral or a double integral on the interior
of polygon ?
S.
>
> clf;
>
> // y-axis GZ (m)
>
> // x-axis degrees
>
> x=[0,2,5,10,12,15,20,25,30,40,50,60]';
>
> y=[0,0.065,0.10,0.136,0.159,0.19,0.29,0.382,0.50,0.84,0.91,0.85]';
>
> b=['2x'];
>
> xtitle("GZ kromme Elandsgracht / departure Singapore") xlabel('φ
> (degrees)'); ylabel('GZ (m)'); plot2d (x,y); integ('x,y','x',0,30);
>
> Bart
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170102/b8fb4233/attachment.htm>
More information about the users
mailing list