#include<stdio.h>
int main()
{
double a, b, c; double discriminant, root1, root2, realPart, imagPart;
printf("Enter coefficients a, b and c: ");
scanf("%lf %lf %lf", &a, &b, &c);
discriminant = b * b - 4 * a * c;
if (discriminant > 0) {
root1 = (-b + sqrt(discriminant)) / (2 * a);
root2 = (-b - sqrt(discriminant)) / (2 * a);
printf("Roots are real and different.\n");
printf("Root 1 = %.2lf\n", root1); printf("Root 2 = %.2lf\n", root2);
}
else if (discriminant == 0) {
root1
Explain digital control system.
In the entire subject of control systems dealt so far, we have discussed only Analog control systems. In an analog control system, the signal at every point in the system is a continuous function of time. We used the notations such as r(t), c(t), e(t), etc. where t indicates the time function. We applied the Laplace transform to move the continuous time signal into the s-plane.
Controllers that we discussed in the earlier sections viz, P, PI, PD and PID are referred
Biletul 1
Subiectul 1. Raportul juridic civil – privire generală
1.1. Definiți noțiunea și caracterele raportului juridic civil: Raportul juridic civil este o relație socială patrimonială sau nepatrimonială, reglementată de normele dreptului civil, în care părțile apar ca titulari de drepturi și obligații subiective. Caracterele sale specifice sunt: caracterul social (se stabilește doar între oameni), caracterul volițional (exprimă voința statului prin normă și, de regulă,
...13.2 CHARACTERISTICS OFSERVICE ORGANISATIONS 1) Absence of inventory buffer The services can’t, be stored. If not used at a point of time they get extinguished at that point only. A service providing company must aim to minimise its unused capacity. The cost of many service organisations are fixed in the short run. 2 Difficulty in controlling quality It is difficult to quantify the quality of services. Even after the service is rendered, quantification would be subjective in nature. 3 Labour...
An electric motor is a device that converts electrical energy to mechanical energy. It is
composed of a field magnet and an armature. The armature is positioned between the poles of
the magnet. It is made up of a loop of wire and a split ring called commutator. The loop is
connected to the commutator which is used to reverse the direction of the current. The
commutator is also linked to a small carbon blocks known as brushes. They serve to power
the motor. The poles of the field magnet and the poles
6.1 INTRODUCTION The purpose of the present unit is to familiarize you with the various aspects and issues involved in profit centre structures in a business organization. What is a profit centre is first defined? This is immediately followed by a discussion about the relationship between corporate philosophy and style, and profit centre autonomy. It is essential to give this as a backdrop to a detailed discussion about the various facets of profit centres so that you are able to appreciate the
...Biletul 16
Subiectul 1. Apărarea drepturilor reale – Acțiunea în revendicare (Vindicatio)
1.1. Definiți acțiunea în revendicare și caracterele sale: Acțiunea în revendicare este acțiunea reală prin care reclamantul, care se pretinde proprietarul unui bun dar a pierdut posesia materială, cere pârâtului (posesorul neproprietar) restituirea bunului respectiv. Caractere: este o acțiune reală (se fundamentează pe dreptul de proprietate), are caracter petitoriu (pune în discuție însuși...