Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
SIN_in_Pow
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { //----------------------------------------------------------------------------- public static void Main(string[] args) { double x = 30; double TEMP = Math.Sin(Math.PI/6);; double x1 = TEMP; int n = 2; //n - степень for (int m = 1; m < n; m++) { x = TEMP * x1; } Console.WriteLine("x= {0}, TEMP = {1}", x, TEMP); } //---------------------------------------------------------------------------- public static double ZXM(double x, double m) { double SIN = Math.Sin(x*m); double Z = Math.Pow(x,m) * Math.Pow(SIN,m); return Z; } } }
run
|
edit
|
history
|
help
0
Find Max Number Of Occurences in an int array
Lazy XML selection
MIXED CONTENT - string and numbers separation in a large string
ee
UTC to Ireland time convertion v1.1
Test1
Card Shuffling
iMacPro
sum of two array elements
Timer1