TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Asish B.
tutor of 2 year
Tutor Satisfaction Guarantee
Electrical Engineering
TutorMe
Question:

Root locus of s(s+2)+K(s+4) =0 is a circle. What are the coordinates of the center of this circle? a) -2,0 b) -3,0 c) -4,0 d) -5,0 control system subject

Asish B.
Answer:

Answer: c Explanation: s(s+2)+K(s+4) =0 1+K(s+4)/s(s+2) =0. G(s)H(s) =K(s+b)/s(s+a) Centre =(-b,0) =(-4,0).

C++ Programming
TutorMe
Question:

#include<iostream> using namespace std; class A { public: virtual void fun() {cout << "A" << endl ;} }; class B: public A { public: virtual void fun() {cout << "B" << endl;} }; class C: public B { public: virtual void fun() {cout << "C" << endl;} }; int main() { A *a = new C; A *b = new B; a->fun(); b->fun(); return 0; } this was my question sem xam,plzz solve it

Asish B.
Answer:

A base class pointer can point to objects of children classes. A base class pointer can also point to objects of grandchildren classes. Therefore, the line “A *a = new C;” is valid. The line “a->fun();” prints “C” because the object pointed is of class C and fun() is declared virtual in both A and B (See this for details). The second line of output is printed by the statement “b->fun();”. the output is C and B.

C Programming
TutorMe
Question:

What will be output if you will compile and execute the following c code? struct marks{ int p:3; int c:3; int m:2; }; void main(){ struct marks s={2,-6,5}; printf("%d %d %d",s.p,s.c,s.m); } (a) 2 -6 5 (b) 2 -6 1 (c) 2 2 1 (d) Compiler error (e) None of these

Asish B.
Answer:

Binary value of 2: 00000010 (Select three two-bit) =2 Binary value of 6: 00000110 Binary value of -6: 11111001+1=11111010 =2 (Select last three bit) Binary value of 5: 00000101 (Select last two bit) =1 the answer is c 2 2 1

Send a message explaining your
needs and Asish will reply soon.
Contact Asish
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.