
Search In
The sin method of javascript defines a sin of a number. Where the number is a numeric expression, representing the size of an angle in radians. See the syntax below -
Syntax:
Math.sin(number)
The sin method returns a numeric value between -1 and
It is a common requirement in SQL server development to update top N records in SQL server.In this blog we will see two approaches to accomplish the same.
1) Using UPDATE with TOP
UPDATE TOP (100) Table1 SET field1 = 1
However without an ORDER
I have written a python script for Hodgkin huxley model as well as for a voltage dependent calcium channel. I want to combine both the code together and want that the voltage given by hodgkin huxley model should be the input for voltage dependent cal
h2.cjk { font-family: "Droid Sans Fallback"; }h2.ctl { font-family: "FreeSans"; }td p { margin-bottom: 0cm; }p { margin-bottom: 0.25cm; line-height: 120%; }
Structure
CakePHP uses a Security class for hashing the passwords.
I am writing some examples below that will definitely help you out in understanding the different ways of password hashing in CakePHP:
echo "I am md5 CAKE:".Security::hash("dinesh","md5");
ech
In below example, I am calculating the distance between center of Mumbai City to Pune.
Using geolocation we get current location and monitor it using the watch position method. On this type we will be calculating the distance between starting positi
This operator is used to check if an object is compatible with a given type. It returns true if caste succeeds and returns false if the caste fails. This operator is ideal to use when we are not interested in resulting variable and just interested in
Hi Readers,
In this blog i will provide you the Java solution for the famous Tower of Hanoi problem using Stack.
Problem definition
Tower of Hanoi is a mathematical puzzle. It is also known as Tower of Brahma or Locus' Tower. This puzzle
Ruby is a pure object oriented language and everything in ruby is an object of some class. In ruby we can create classes and create objects of the classes. In the below example we will create 3 classes Person, Address and Company. An object of a c

Hello all,
The below tutorial will help you in displaying SQL row data as a column wise with user specific column name.
here, I've a table with #Temp1 name that contains the following columns Id, ReferenceId and Total.
SQL Code:--
CREATE TABLE #T
