Doubtly
@Doubtly · Joined Feb 2021
- Answers
- 3,792
- Questions
- 4,033
- Upvotes received
- 424
- State Various Applications of Computer Graphics ? There are many Areas where computer generated search are you stop the application of Computer Graphics and a variety of field such as engine... 1
- Explain properties of Bezier Curve. Properties of Bezier Curve They generally follow the shape of the control polygon, which consists of the segments joining the control point... 1
- Write a C program to draw a solar system using computer graphics Solar System in Computer Graphics using C Problem statement : Write a C program to draw a solar system using computer graphics Code : #inclu... 1
- Bresenham’s Line drawing Algorithm # include <stdio.h> # include <conio.h> # include <graphics.h> void main() int dx,dy,x,y,p,x1,y1,x2,y2; int gd,gm; clrscr(); printf("nntEnte... 1
- DDA Line drawing Computer Graphics #include<stdio.h> #include<conio.h> #include<math.h> #include<graphics.h> #define ROUND(a) ((int)(a+0.5)) void lineDDA(int xa, int ya, int x... 1
- midpoint ellipse drawing algorithm in computer graphics Mid-Point Ellipse Algorithm : Take input radius along x axis and y axis and obtain center of ellipse. Initially, we assume ellipse to be cen... 1
- calculate the pixel position along a straight line between p1(20,20) and p2(10,12) using bresenhems line drawing method Pixels: (10,12), (11,13), (12,14), (13,14), (14,15), (15,16), (16,17), (17,18), (18,18), (19,19), (20,20). Bresenham's method steps along x... 1
- Write a Program To implement bit map method for given character Genration #include<stdio.h> #include<conio.h> #include<graphics.h> void main() int gd=DETECT,gm,i,j; int a[20][20]= 0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,... 1
- Write A program To implement program for projection of 3d object on projection Plane #include <stdio.h> #include <stdlib.h> #include<graphics.h> #include<conio.h> void draw3d(int s,int x[20],int y[20],int d); void main() { in... 1
- Write a program To implement Midpoint circle #include<stdio.h> #include<graphics.h> #include<math.h> void main() float p; int i,gd,gm,x,y; int r; detectgraph(&gd,&gm); initgraph(&gd,&gm... 1
- Write A program To implement Cohen sutherland Line Clipping Algorithm #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<dos.h> #include<math.h> #include<graphics.h> typedef struct coordinate int x... 1
- Write a C program To implement Bresenham's Line Drawing Algorithm #include<stdio.h> #include<graphics.h> #include<math.h> #include<conio.h> void main() float x,y,x1,y1,x2,y2,dx,dy,e; int i,gd,gm; clrscr();... 1
- To implement DDA Algorithm for Drawing a Line Segment between two Given end Points A(x1,y1) and B(x2,y2) #include<stdio.h> #include<graphics.h> #include<math.h> void main() float x,y,x1,y1,x2,y2,dx,dy,length; int i,gd,gm; clrscr(); printf("Enter... 1
- Upgrade Your Engineering Studies with Doubtly
- Syllabus of DataBase Management System Module Content Hrs 1 Introduction Database Concepts 3 1.1 Introduction, Characteristics of databases, File system v/s Database system, Data... 1
- if x is a poisson variate such that p(x=1)= p(x=2) find e(x^2) Given that P(X=1) = P(X=2), we can write: beginaligned P(X=1) &= e^(-λ)λ¹/1! \\ P(X=2) &= e^(-λ)λ²/2! endaligned Dividing the two equations,... 1
- Calculate the V number of an optical fibre having numerical aperture 0.25 NA = 0.25 Core diameter = 20 μm λ0= 1.55 μm Formula: V = ᴨd / λ0 ×NA V = 3.14×20×10⁻⁶ /1.55 ×10⁻⁶ ×0.25 V = 10.13 1
- What is pumping in LASER? Give the types of pumping. The process of raising large number of atoms from lower energy to a higher energy level is called pumping. Types of pumping: 1. Optical pump... 1