- To translate an object by a vector v, each homogeneous vector p (written in homogeneous coordinates) would need to be multiplied by thistranslation matrix
- To translate an object by a vector v, each homogeneous vector p (written in homogeneous coordinates) would need to be multiplied by thistranslation matrix
Ex.1 Write a program to print the following pattern
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Ex.2 Write a program to find bigger of three integers.
Ex.3 Write a program to calculate GCD between two numbers.
Ex.4 Write a program to find transpose of matrix.
Ex.5 Write a program which deletes an element from an array & display all other elements.
Ex.6 Write a program to calculate XA+YB where A & B are matrix & X=2, Y=3.
Ex.7 Write a program to calculate the total amount of money in the piggy bank, given that coins of Rs.10, Rs.5, Rs.2, RS.1.
& many more.....
Binary addition using class concept in c++Swarup Boro
Binary addition of two binary numbers using class, object oriented concept in c++
Q. Program to print the sum of two binary numbers by taking two user inputs
Come to Visit our stores to find 1st Birthday Gifts for Baby's from the best stores on the Web. Our Gifts are hand-pick and recommend Unique Baby Gifts based on a recipient's age, gender and more.
Ex.1 Write a program to print the following pattern
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Ex.2 Write a program to find bigger of three integers.
Ex.3 Write a program to calculate GCD between two numbers.
Ex.4 Write a program to find transpose of matrix.
Ex.5 Write a program which deletes an element from an array & display all other elements.
Ex.6 Write a program to calculate XA+YB where A & B are matrix & X=2, Y=3.
Ex.7 Write a program to calculate the total amount of money in the piggy bank, given that coins of Rs.10, Rs.5, Rs.2, RS.1.
& many more.....
Binary addition using class concept in c++Swarup Boro
Binary addition of two binary numbers using class, object oriented concept in c++
Q. Program to print the sum of two binary numbers by taking two user inputs
Come to Visit our stores to find 1st Birthday Gifts for Baby's from the best stores on the Web. Our Gifts are hand-pick and recommend Unique Baby Gifts based on a recipient's age, gender and more.
This all about of how to Install the Windows 7 on your computer.
Just read the slides and I hope you will learn something from it.Just leave your messages so I can answer your questions. Thank you for Watching:)
by: Gomer Alcontin For More Info.
from: Paknaan Mandaue City Just Call:09436445862
How to use ionic framework.How can we create an app using angular js and ionic framework.In this doc file,i created an app using angular js and ionic framework.
In C Programming create a program that converts a number from decimal.docxtristans3
In C Programming create a program that converts a number from decimal to binary. You must use a stack to complete this assignment. • Void pop() • Void push(int data) • Int top() • Int isEmpty() You must create an implementation of a stack. You may use either an array or a linked list as the underlying structure. You will, at a minimum, need to implement the following stack functions: Your program should take decimal input from the user, and convert it to binary, and simply print it out.
Solution
normal program
#include<stdio.h>
int main(){
long int decimalNumber,remainder,quotient;
int binaryNumber[100],i=1,j;
printf(\"Enter any decimal number: \");
scanf(\"%ld\",&decimalNumber);
quotient = decimalNumber;
while(quotient!=0){
binaryNumber[i++]= quotient % 2;
quotient = quotient / 2;
}
printf(\"Equivalent binary value of decimal number %d: \",decimalNumber);
for(j = i -1 ;j> 0;j--)
printf(\"%d\",binaryNumber[j]);
return 0;
}
using stack
.
Create the equivalent of a four function calculator. The program should request the user to enter a number, an operator, and another number. carry out the specified arithmetical operation: adding, subtracting, multiplying, or dividing the two numbers. (Using switch statement ).ThesisScientist.com
These problems are so common that you will find in any C learning curriculum. Either in your college or in any IT institute.
I have provided solutions to these problems as well.
Happy learning...
एक राष्ट्र बनाएं , हम सब मिलकर ।
द्वेष - भाव को भूलकर ।।
बन जाये हम सब , एक परिवार ।
करके " कोरोना महामारी " , पर वार ।।
दुनिया करती है , अब नमस्कार ।
आओ जग में फैलाएं , भारत का ये संस्कार ।।
हर नर- नारी की अब यही पुकार।
मिलकर करें भारत की जय-जय कार।।
कोरोना खड़ा है, घर के द्वार ।
करने हम सब पर, अपना प्रहार ।।
हैं हम भी लड़ने को तैयार ।
आओ मिलकर करें राष्ट्र निर्माण ।।
- रचनाकार श्री शोभित सक्सेना , उत्तम नगर , दिल्ली - ५९
DFD For E-learning Project
Three modules admin,parents,student
DFD for each module
DFD For E-Learning Admin Teacher Create User Create User Create Course Messaging Student Parents Assign course Whole System Create Exam Grade Upload Result Video Stemming Upload course material Messaging Exam participate Watch & Update notice Getting study material Getting Result Video Stemming Messaging Participate in class View Result News update View grade Study materials Feedback Assign teacher,studt,prnt Giving Grade Grade & course lock
Index page of lab file
Index page of lab file
Index page of lab file
Index page of lab file
Index page of lab file
Index page of lab file
Index page of lab file
Index page of lab file
Write a program to perform Perspective projectionShobhit Saxena
: Perspective projection is a form of pictorial drawing that gives the illusion of depth onto a flat surface, very similar to that of viewing of the object through the human eye. In comparison to other types of projection systems, for example orthographic and oblique, the spectator is viewing the object from infinity. The projection rays radiate parallel to each other from the object back to the spectator, compared to perspective projection where the projected rays radiate from the object to a single point at a given distance from the object. A drawing has two-point perspective when it contains two vanishing points on the horizon line. In an illustration, these vanishing points can be placed arbitrarily along the horizon.Two-point perspective can be used to draw the same objects as one-point perspective, rotated: looking at the corner of a house, or looking at two forked roads shrink into the distance.Three-point perspective is usually used for buildings seen from above (or below). In addition to the two vanishing points from before, one for each wall, there is now one for how those walls recede into the ground. This third vanishing point will be below the ground. Looking up at a tall building is another common example of the third vanishing point.
Write a program to perform Oblique projectionShobhit Saxena
-Oblique projection is a simple type of technical drawing of graphical projection used for producing pictorial, two-dimensional images of three-dimensional objects.
Oblique projection is a type of parallel projection:
• it projects an image by intersecting parallel rays (projectors)
• from the three-dimensional source object with the drawing surface (projection plane).
In both oblique projection and orthographic projection, parallel lines of the source object produce parallel lines in the projected image. The projectors in oblique projection intersect the projection plane at an oblique angle to produce the projected image, as opposed to the perpendicular angle used in orthographic projection. Mathematically, the parallel projection of the point (x, y, z) on the xy-plane gives (x+az, y+bz, 0). The constants a and b uniquely specify a parallel projection. When a = b = 0, the projection is said to be "orthographic" or "orthogonal". Otherwise, it is "oblique". The constants a and b are not necessarily less than 1, and as a consequence lengths measured on an oblique projection may be either larger or shorter than they were in space. In a general oblique projection, spheres of the space are projected as ellipses on the drawing plane, and not as circles as you would expect them from an orthogonal projection.Oblique drawing is also the crudest "3D" drawing method but the easiest to master. Oblique is not really a 3D system but a two-dimensional view of an object with 'forced depth'. One way to draw using an oblique view is to draw the side of the object you are looking at in two dimensions, i.e. flat, and then draw the other sides at an angle of 45 degrees, but instead of drawing the sides full size they are only drawn with half the depth creating 'forced depth' –adding an element of realism to the object. Even with this 'forced depth', oblique drawings look very unconvincing to the eye. For this reason oblique is rarely used by professional designers and engineers.
Write a program to perform Orthographic projection.Shobhit Saxena
Orthographic Projection is a way of drawing an 3D object from different directions. Usually a front, side and plan view are drawn so that a person looking at the drawing can see all the important sides. Orthographic drawings are useful especially when a design has been developed to a stage whereby it is almost ready to manufacture.Within orthographic projection there is the subcategory known as pictorials. Axonometric pictorials show an image of an object as viewed from a skew direction in order to reveal all three directions (axes) of space in a single picture. Orthographic pictorial instrument drawings are often used to approximate graphical perspective projections, but there is attendant distortion in the approximation. Because pictorial projections inherently have this distortion, in the instrument drawing of pictorials, great liberties may then be taken for economy of effort and best effect. Orthographic pictorials rely on the technique of axonometric projection.
Write a program to draw a cubic Bezier curve. Shobhit Saxena
Four points P0, P1, P2 and P3 in the plane or in higher-dimensional space define a cubic Bézier curve. The curve starts at P0 going toward P1 and arrives at P3 coming from the direction of P2. Usually, it will not pass through P1 or P2; these points are only there to provide directional information. The distance between P0 and P1 determines "how long" the curve moves into direction P2 before turning towards P3
Computer graphics are pictures and movies created using computers - usually referring to image data created by a computer specifically with help from specialized graphical hardware and software. It is a vast and recent area in computer science. The phrase was coined by computer graphics researchers Verne Hudson and William Fetter of Boeing in 1960. Another name for the field is computer-generated imagery, or simply CGI.
WEEKLY PROGRESS REPORT (WPR) for DISSERTATIONShobhit Saxena
Synopsis submission & approval
February - Literature Review & Data collection
March - Implementation & Results with analysis
April - Documentation and Publication
A robot interacts with multiple objects while working in a particular environment. To perform particular task robots interacts with themselves or other objects. In uncertain environments the robots may have to encounter with unknown objects those may appear in its surroundings.
The robots should be aware of the semantics and positions of the objects in its surrounding so that hitting other objects or themselves or any wrong doing can be avoided
Optical character recognition, usually abbreviated to OCR, is the mechanical or electronic conversion of scanned images of handwritten, typewritten or printed text into machine-encoded text.
It is a system that provides a full alphanumeric recognition of printed or handwritten characters at electronic speed by simply scanning the form. It is widely used as a form of data entry from some sort of original paper data source, whether documents, sales receipts, mail, or any number of printed records.
It is a common method of digitizing printed texts so that they can be electronically searched, stored more compactly, displayed on-line, and used in machine processes such as machine translation, text-to-speech and text mining.OCR is a field of research in pattern recognition, artificial intelligence and computer vision. More recently, the term Intelligent Character Recognition(ICR) has been used to describe the process of interpreting image data, in particular alphanumeric text .
Do you believe that the value of life is just minting money and to take care of those whom you love. Or did you believe that life is worth living in the schedules made by destiny. Today We are living and counting days which only aim to improve our life and those who matter. While we go to temples and pray for self and live selfishly, their those who don't have sleepers to put on or a grain to live for.
Everybody is rushing in their busy life denying these children for a meal which will cost less than 0.5 % of their monthly salary. Searching for a project in the Community Outreach me and my team encountered with these little kids begging for a meal and we decided that we will provide them a meal and knowledge how they can improve their life in future.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
1. EXPERIMENT
Objective: - Write a program to perform translation.
Software Used: - Turbo c
Theory: - To translate an object by a vector v, each homogeneous vector p (written in
homogeneous coordinates) would need to be multiplied by thistranslation matrix:
As shown below, the multiplication will give the expected result:
Program :
#include <stdio.h>
#include <stdlib.h>
#include<graphics.h>
#include<conio.h>
#include<math.h>
void draw2d(int,int [],int [],int,int);
void main()
{
int gd=DETECT, gm;
int x[20],y[20],tx=0,ty=0,i,fs;
initgraph(&gd,&gm," C:TURBOC3BIN");
printf("No of edges : ");
scanf("%d",&fs);