Subscribe this Blog

Wikipedia

Search results

Notifications and New Posts!

Saturday, June 13, 2020

13th June 2020_Google Meet Session_ATT classes of C and C++

ATT classes for C and C++
Saturday, 13 June13:30 – 15:30
Daily, until 13 Jun 2020
Join with Google Meet
meet.google.com/ryw-yutp-ire
Mr. Sachin Bhosale
Organiser
Description: (SY going to TY Students) For Electrical Engineering students For Mechanical Engineering students Please join sharp at 13:30 today. I will admit/allow students up to 13:40. Those who will join late for them door will be closed means entry to the session will be denied. Please note. Because admitting late, creates disturbance to all.
  1. 05 minutes before

Organiser: Mr. Sachin Bhosale

From last Monday i.e. 8th June 2020, we are together to 
learn C and CPP.
Today, will be our last session i.e. Session No.6.
Completing C and C++ in a week i.e. in 6 days 
that was really very difficult for me.
But I put my sincere efforts to cover most of the part.
In future, if you ask me then I will be always there for you.
Be in touch and let's learn programming to solve societal problems.

I would show my sincere gratituted towards, Prof. S. Akireddy and 
Prof. S.S. Kale sir for scheduling my session in the timetable.
Prof. D.D. Daphale, Prof. Anil Tekale and Prof. S. Akireddy  sir 
shared few electrical problems. 
Thank you to Prof. D.D. Daphale sir for clearing 
some of the doubts for electrical problems.

I would also say thank you to Head of Electrical (Prof. Dr. D. A. Tamboli Madam)
and Mechanical (Prof. Dr. S.S. Wangikar sir) because they gave me an great
opportunity to interact with all students.

Last but not the least you all who attended my session with lot of 
internet connectivity issues in this COVID-19 Pandemic situation.

In this session I learned real-life program with students. We tried to apply 
KCL (Kirchoff's Current Law).



CPP Program to understand KCL without using Class and object
/*
CPP program for KCL (Kirchoff's Current Law)
sdbhosale
Date:13/06/2020
For Mechanical and Electrical Engineering Students
*/
#include<conio.h>
#include<iostream.h>
#include<math.h>
class kcl
{
private:
int a[10],i,tnc,ic,oc,sumc;
/*
a[10] - to store current values
i     - is looping variable for for loop
tnc   - Total number of currents at node
ic    - total number of incoming currents
oc    - total number of outgoing currents
sumc  - output current
*/
public:
void inputnoc()
{
cout<<"\n Please enter total number of currents at node:";
cin>>tnc;
cout<<"\n How many are incoming currents excluding output current";
cin>>ic;
cout<<"\n How many are outgoing currents excluding output current";
cin>>oc;
}
void inputc()
{
if(tnc==(ic+oc)+1)
{
cout<<"\n Please enter values of incoming currents:";
for(i=0;i<=ic-1;i++)
{
cin>>a[i];
}
cout<<"\n Please enter values of outgoing currents:";
for(i=ic;i<=tnc-2;i++)
{
cin>>a[i];
a[i]=-a[i];
}
}
}
void displaycws()
{
cout<<"\n Currents with signs:\n";
for(i=0;i<=tnc-2;i++)
{
cout<<"\t "<<a[i]<<" A";
}
}
void calculateoc()
{
sumc=0;
for(i=0;i<=tnc-2;i++)
{
sumc=sumc+a[i];
}
if(sumc<0)
{
cout<<"\n Output current is Incoming Current!!";
}
else
{
cout<<"\n Output current is Outgoing Current!!";
}
cout<<"\n Value of Output Current="<<abs(sumc)<<" A";
}
};
void main()
{
kcl o1;
clrscr();
o1.inputnoc();
o1.inputc();
o1.displaycws();
o1.calculateoc();
getch();
}

Attendance will be updated in this post up to 15:50.
To know attendance - please Click here

Thank you.
With Kind Regards,

                                                              ATT Session is posted on facebook page:                                                                           

Google Meet Recorded Video - Click here
To watch video please rotate mobile screen and watch.

No comments:

Post a Comment