Write a C program to receive Polar co-ordinates(r, θ) and convert them into Cartesian co-ordinates(x, y). Ask the user to enter theta(θ) value in degrees.
Formula To Convert Polar To Cartesian Co-ordinates
x = r * cos(θ);
y = r * sin(θ);
where x and y are Cartesian co-ordinates. r and θ are polar co-ordinates.
Formula To Convert Degree To Radian
radian = degree * (PI/180.0);
where PI is 3.141592
http://technotip.com/3663/callback-methods-anonymous-functions-jquery/
callback methods are very important for achieving asynchronous way of coding.
Using callback methods nodejs achieve concurrency
jQuery Video Tutorial List:
http://technotip.com/2514/jquery-tutorial-list/
Node.js Video Tutorial List:
http://technotip.com/3674/node-js-video-tutorial-list/
...
https://www.youtube.com/watch?v=lIPOER59ZSY
http://technotip.com/6589/nested-while-loop-c-program/
In this video tutorial we'll demonstrate the use of nested while loop in C programming.
Number of iterations will be equal to the number of iterations in the outer loop multiplied by the number of iterations in the inner loop.
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=D7jMIAQkhgI
http://technotip.com/131/css-hover-over-effect-css-pseudo-class
Applying simple Hover Over Effect to HTML elements to enhance the design..
...
https://www.youtube.com/watch?v=R3weCcjVylo
https://technotip.com/8150/c-program-to-convert-decimal-to-binary-number-using-recursion/
A positive integer is entered through the keyboard, write a function to find the Binary equivalent of this number:
(1) Without using recursion.
(2) Using recursion.
Analyze The Problem Statement
We need to convert the user input Decimal number to its equivalent Binary number using iterative logic as well as recursive logic.
In this video tutorial, we'll write 2 functions. One for iterative logic and another for recursive logic.
Expected Input/Output
Enter a Decimal number
14
Iterative Logic
Binary Equivalent of 14 is 1110
Recursive Logic
Binary Equivalent of 14 is 11110
Note: Binary number system can be derived by base 2 to the power of whole numbers.
C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=hBaesKngoMY
http://technotip.com/7532/c-program-to-calculate-amount-in-compound-interest/
When interest compounds q times per year at an annual rate of r % for n years, the principal p compounds to an amount a as per the following formula:
a = p * (1 + r / q) ^ n * q;
Write a C Program to read 10 sets of p, r, n & q and calculate the corresponding a’s.
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=7q8yFP6S3MA
https://technotip.com/8633/macro-continuation-preprocessor-operator-c-program/
In this video lets see how we can have multiple line of code inside macro expansion, by using preprocessor operator - macro continuation( \ ).
Where Is It Used?
While you're writing complex logic inside macro expansion, you'll need to break the line and write code in next line. In such cases macro continuation operator is very helpful. And the code looks much cleaner and clearer.
C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=WUcSe_pSv0o
http://technotip.com/4121/cursor-object-mongodb/
Lets have a deeper look into the MongoDB cursor object.
hasNext()
next()
sort()
limit()
skip()
explain()
chaining of methods on cursor object
...
https://www.youtube.com/watch?v=_LexQW0vSlQ
http://technotip.com/4141/update-with-unset-operator-mongodb/
Lets use $unset operator along with update() method, to update the documents.
MongoDB Video Tutorial List:
http://technotip.com/3778/mongodb-tutorial-list/
...
https://www.youtube.com/watch?v=8UUdITiZ5ZE
http://technotip.com/2982/mongodb-getting-started-guide/
The basic intention for NoSQL database is to scale modern web databases and to facilitate solving the complex data storage( and structuring ) requirements of modern day web applications.
MongoDB Tutorial List:
http://technotip.com/3778/mongodb-tutorial-list/
...
https://www.youtube.com/watch?v=J2qnq8WI6EU