The method is little bit tricky, because it uses Stat module. Following method works on my fx-9860g slim.
1. In Run-Mat module I generated and stored 4 sequences to Lists
The syntax is Seq(expression,variable,start,end,increment)- I entered -4pi to 4pi with step 0.1pi
Seq(0.1x,x,-4pi,4pi,0.1pi)->List 1 this seq generate X coordinates
Seq(sin x,x,-4pi,4pi,0.1pi)->List 2 this seq generate value of sin x
Seq(cos x,x,-4pi,4pi,0.1pi)->List 3 this seq generate value of cos x
Max(List 2, List 3)->List 4 this seq generate Y coordinates (max values from List 2 and List 3)
2. I switched to Stat module, all lists are now visible.
So, now press F6 (command Set) and enter following:
F1, which corresponds to StatGraph1 (or you can press F2 or F3 to get StatGraph2 or StatGraph3)
Graph type: F2 (xy)
XList: List 1
YList: List 4
Frequency: F1 (1)
Mark type: F3 (point), you can try the other 2 options
press exit for returning to previous screen
press F1 (GPH1) (or GPH2, GPH3- it depends on your selection)
now, you can see the graph.
-----------------------------------------------------------------------------------------------------------------------------------
The integral can be easily calculated in SpreadSheet module by using any numerical methods, e.g. trapezoidal rule.
I used the trapezoidal rule with h=0.02 ( n=50) and the result is 0.8739 (in Excel the result is 0.873938, in Mathcad Express Prime 3.0 the result is 0.873910, )
My technique:
A column - x values 0,0.02..1
B column - y values; max from D and E columns
C column - summation of corresponding y values in C2 (=cellsum B2:B50) + computing the integral h/2×(b1+2×c2+b51); by corresponding values I mean corresponding to trapezoidal rule y1+y2+..+y49, because the y0 and y50 is not included to the summation
D column - sin(x) values
E column - cos (x) values
Edited by pan.gejt, 04 December 2014 - 06:12 AM.