Introduction to the formula of sin function
Grammar: SIN (number)
Number is the angle, in radians, that requires a sine.
Note: If the unit of the parameter is degrees, you can multiply PI ()/180 or use the RADIANS function to convert it to
High school time to do, the first two days to see, quite fun.Just want to say, the original code style,,, cough, not the coquettish!/***sin (x) and cos (x) images display simultaneously ***/# include # include int main ( void )
/* The polynomial formula for the approximate value of the sine sin (x) is known to be:
sin (x) = x-x3/3! + x5/5!-x7/7!+ ... + ( -1) n x2n+1/(2n+1)! + ...
*
/#include
#include
void Main ()
{
int i;
float x,sum,a,b; Sum represents and, a
Use PowerPoint to make courseware, because it is easy to learn and easy to make easy to become the teacher's preferred tool. What we're going to talk about today is a demonstration of the sine wave in PowerPoint.
The image of sinusoidal function is
C#WPF How do I draw geometry? How to draw a coordinate system?This is inseparable from the path (System.Windows.Shapes) and StreamGeometry (System.Windows.Media) classes.I. Building a WPF ProjectSecond, add codeCode in
The SIN function is to compute the sine function. It appears in the default common functions, math, and trigonometric functions of Excel functions.
Sin function grammar form: sin (number)
Sin function Application considerations:
1, number
There is no direct sine wave function in Delphi. But in scientific research, the sine wave application is very extensive, this example describes how to draw a sine curve.
For this example to draw a sine curve directly on the form, in order to
Draw a sine curve using js, and draw a sine from js
Math formula: y = Asin (ω x + PHI) + k
Example: http://www.zhaojz.com.cn/demo/draw7.html
Declaration of JS functions:
Copy codeThe Code is as follows:// Draw a sine curve// Dot Origin// Amplitude --
The Math. sin () method in JavaScript is described in detail, and javascriptmath. sin
This method returns the sine of a number. The sin method returns a value ranging from-1 to 1, representing the sine of the parameter.Syntax
Math.sin( x ) ;
The
In this example, a sine curve must be drawn directly on the form. To prevent incomplete graphics from being output during window switching, the key to drawing images is
Code The Code is as follows:
Procedure tform1.formpaint (Sender: tobject
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.