Skip to content

Instantly share code, notes, and snippets.

View AhmedNazir's full-sized avatar
🤒
Out sick

Ahmed Nazir AhmedNazir

🤒
Out sick
View GitHub Profile
@AhmedNazir
AhmedNazir / hello.txt
Created June 19, 2019 13:09
simple text file
5.1 CURVE FITTING
In many branches of applied mathematics and engineering sciences we come across experiments and
problems, which involve two variables. For example, it is known that the speed v of a ship varies with
the horsepower p of an engine according to the formula = +
3 .
p a bv Here a and b are the constants to
be determined. For this purpose we take several sets of readings of speeds and the corresponding
horsepowers. The problem is to find the best values for a and b using the observed values of v and . p
Thus, the general problem is to find a suitable relation or law that may exist between the variables x
and y from a given set of observed values = ( , ), 1, 2,.........., .
<p>শেষপর্যন্ত লোকটাকে কফি খাওয়াবে কি-না। মনে হচ্ছে খাওয়াবে না। রনি যেমন লোকটার কথাবার্তায় মজা পাচ্ছে, মা পাচ্ছে না। মা খুবই বিরক্ত হচ্ছে ।</p>
<br/>
<p>আপা, আমি কি বসব কফির জন্যে?</p>
<br/>
<p>সালমা বানু উঠে দাঁড়ালেন। আর্ট টিচার ভদ্রলোক সঙ্গে সঙ্গে খুবই আগ্রহের সঙ্গে বলল- চিনি বেশি দিতে বলবেন। আমি তিন-চার চামচ চিনি খাই । এরচে' বেশি হলেও আমার অসুবিধা হয় না। ডায়াবেটিস যখন হবে তখন হবে। এখন থেকে চিনি খাওয়া ছাড়ার কোনো মানে হয় না।</p>
<br/>
<p>সালমা বানু জবাব না দিয়েই ঘর থেকে বের হয়ে গেলেন। লোকটা রনির দিকে তাকিয়ে বলল, এই ফাঁকে তোমার মা'র একটা ছবি এঁকে ফেলা যাক, কী বলো? ভদ্রমহিলা তো আমার ওপর খুবই রেগে আছেন, ছবি দেখে যদি রাগটা কমে।</p>
<br/>
<p>রনি বলল, আপনার জন্যে পেন্সিল আর কাগজ নিয়ে আসব?</p>
<br/>
How to convert PDF page to image? [ easiest way ]
@AhmedNazir
AhmedNazir / dice.py
Created May 9, 2019 18:56
Simple python program solution (19486531)
length = int(input()) # Inputting Length
# input() is used to take user argument. It always returns as string.
# But "length" should be integer. int() function is used to convert from string to integer.
# (YOU CAN SKIP IT) By The way, python has a built in function 'len()'. It can be used to get length of triel. Thats why, user does not need to input length. length = len(triel). But it is given in question to take length from user, so we may take it.
triel = input() # Inputting triel
# input() function takes input from user and returns as a string.
# We should triel as a string. Because triel can be very long (1000000 digit). As we explore every character/digit, String helps us to do that.
@AhmedNazir
AhmedNazir / ip.py
Created April 5, 2019 10:46
IP Info | Two Data Provider | Fast | Command line Result | Python Script
import json
import urllib.request
alter = False
IP = ''
while True:
@AhmedNazir
AhmedNazir / BFS.cpp
Created October 15, 2018 05:50
Breadth First Search (BFS) using VECTOR, QUEUE STL in C++ (simple way)
#include <iostream>
#include<vector>
#include<queue>
using namespace std;
int main()
{
int totalEdges,totalNodes;
cout<<"Total Nodes : ";
cin>>totalNodes;
#include <stdio.h>
#include <stdlib.h>
int BigMod(base,power,mod);
int main()
{
int base=9;
int power=101154;
int mod=11;
int result=BigMod(base,power,mod);
#include<stdio.h>
int main()
{
char a[102400];
int i=0;
printf("Paste your Source Code\nAfter pasting, please press Ctrl+Z \n\n");
while(a[i]!=EOF)
#include<iostream>
using namespace std;
class a
{
int roll;
int theory[5];
public:
void InputRoll()
{
#include<iostream>
void BubbleSort(int a[],int n);
using namespace std;
int main ()
{
int a[]= {12,11,13,5,6};
int n= sizeof(a)/sizeof(a[0]);