#include<iostream> #include<cmath> using namespace std; float f(float x) { return pow(x,3)-2*x-5; } float df(float x) { return 3*pow(x,2)-2; } float iter(float a) { //return a-(f(a)/df(a)); return sqrt(5/a+2); //return a-((b-a)/(f(b)-f(a)))*f(a); //return (a+b)/2; } int main() { float a,c,e=0,tlr,oldr; int itr=1,dc; cout<<"Enter First value of Interval:"; cin>>a; // cout<<"Enter second value of interval:"; // cin>>b; cout<<"Please Enter … Continue reading Find Root using iteration Method C++
Bisection Method in C++
#include<iostream> #include<cmath> using namespace std; float fun(float x) { return pow(x,3)-2*x-5; } float bisect(float a, float b) { return (a+b)/2; } int main() { float a,b,c,e=0,tlr; int itr=1,dc; cout<<"Enter First value of Interval:"; cin>>a; cout<<"Enter second value of interval:"; cin>>b; cout<<"Please Enter Desired Tolerance(eg. 0.0001):"; cin>>tlr; cout<<"Enter Number of digits for precision:"; cin>>dc; cout<<"\nEntered Interval … Continue reading Bisection Method in C++
Using sublime to Run & Compile Cpp Files
Hey guys, so how you all doing...well,i hope good for you, now let's get back to point, so i recently installed sublime after having a thought of trying different Code Editors, usually i use visual studio,npp or atom. so i find Sublime lightweight, colorful and attractive with Dark Theme, and as easy as other mentioned … Continue reading Using sublime to Run & Compile Cpp Files
Error Calling Service ( MANTRA MFS 100 Fingerprint Scanning )
So, you were happy to use that biometric device you just brought, until this error comes up when you tried to capture the fingerprint, well you're not alone. This guide is written specifically for "MANTRA MFS 100", but maybe it can work for other devices too. So the problem may occur if you don't have … Continue reading Error Calling Service ( MANTRA MFS 100 Fingerprint Scanning )
The multi-part identifier could not be bound.
I faced this error yesterday, there are many solutions and answers for this problem, I tried all of them ,but it didn't fix it, However after a while I found the solution, Actually this was a spelling mistake, I missed an letter of the table I was querying. So before trying and wasting hours on … Continue reading The multi-part identifier could not be bound.
solve Update requires a valid UpdateCommand when passed DataRow collection with modified rows
hi there, so again working on the same project that i talked yesterday in that lookUpEdit to ComboBox post , I had came across another problem, actually there had been many problems but then i was not active on this blog, so i'm only writing about recent problems, ohk so the problem i had is … Continue reading solve Update requires a valid UpdateCommand when passed DataRow collection with modified rows
Devexpress LookUpEdit to ComboBox edit (16.2 or maybe later)
Tutorial to Change the look of DevExpress lookUpEdit to ComboBox
MCQ ASP.NET
i was trying to make an Multiple choice question quiz for my college assignment, it took 2 days and after being exhausted googling, i come up with my own code implementation i'll upload it later, as that is in my College Lab.
Hola Buddies !
I just thought i should start a Blog, ok, OK ..i had one before but forget about that this is gonna be more crazy !

