How do I write an equation inside the following javascript brackets?
By : RWA
Date : March 29 2020, 07:55 AM
Does that help You property is probably a string, try add a parse to int before doing math If you are doing code :
var calc = "1" + 1 // calc = "11"
$scope.selectedProperty = $scope.all_properties[parseInt($routeParams.propertyID,10) + 1];
$scope.selectedProperty = $scope.all_properties[parseInt($routeParams.propertyID,10)  1];

how to write a certain equation in C#?
By : user1841084
Date : March 29 2020, 07:55 AM
will help you my problem is that i need to write a complex mathematical equation which has me raise x to the power of y, both numbers entered by user. I've tried using the code below, but it produces a "CS7036" error: , Update (After the OP posted the code) code :
double x,y,z,v;
Console.Write("x=");
double.TryParse(Console.ReadLine(), out x);
Console.Write("y=");
double.TryParse(Console.ReadLine(), out y);
Console.Write("z=");
double.TryParse(Console.ReadLine(), out z);
v=(1+Math.Pow(Math.Sin(x+y)))/
Math.Abs(x2*y/(1+x*x*y*y))*Math.Pow(x,Math.Abs(y))+
Math.Pow(Math.Cos(Math.Atan(1/z)),2);
Console.Write("v="+v);
Console.ReadKey();
Math.Pow(Math.Sin(x + y), something_here )
var x = 2;
var y = 3;
var number = Math.Pow(x, Math.Abs(y));
Console.Write(number);

How to write equation in VBA
By : user3321510
Date : March 29 2020, 07:55 AM
seems to work fine You can insert a module into you VBA project: code :
Function func(x As Double) As Double
Dim result As Double
result = x * Exp(Sqr(1 + x * x))
result = result * (1 + 1 / (Sqr(1 + x * x)))
func = result
End Function

How to write an Equation in R (papaja)?
By : LBA
Date : March 29 2020, 07:55 AM
Any of those help It's hard to know for sure  it might matter whether you're trying to compile to HTML or PDF, for example, and what else is in your document  but this works for me in an HTML document: code :
\begin{equation}
\tag{1}
\textrm{LogVolume}_{dcr}=\alpha +\beta \cdot \textrm{DMonday}+
\gamma \cdot \textrm{DTuesday} +...+\delta \cdot \textrm{DSaturday}+ \epsilon
\end{equation}

How do I write this equation in c++
By : alaa
Date : March 29 2020, 07:55 AM
With these it helps Pow expects another argument describing the exponent.

