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
Student Cables
my first
466
BTC sell estimator
Project Euler Problem 4
Uninitialized-variable example.
AlphabeticalRank
sdfghyjuki54efc sacd
How to find second largest integer in an array using only one loop?
Swap w/o third var