This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * | |
FROM learnsql_employees; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mpl_toolkits.mplot3d import Axes3D | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import LinearLocator, FormatStrFormatter | |
import numpy as np | |
''' | |
инициализируем границы | |
и другие постоянные | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import numpy as np | |
import matplotlib.pyplot as plt | |
def CharacteristicX(x0, t): | |
a = 2+np.cos(np.cos(np.pi*x0/2)) | |
b = 1+(1+2*np.cos(np.pi*x0/2)+np.sin(np.cos(np.pi*x0/2)))**2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from random import random | |
from math import log | |
def main() : | |
lmbd = float(input()) | |
eto = random() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pycuda.driver as cuda | |
import pycuda.autoinit | |
from pycuda.compiler import SourceModule | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from time import time | |
import math as m | |
sigma = 1/10 | |
mu = 0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from random import uniform | |
import math as m | |
import matplotlib.pyplot as plt | |
'''constants''' | |
delta = 1.758820149*10**11 #q/m | |
pi = m.pi | |
e0 = 8.854184817*10**-12 | |
sigma = 1/10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
t6.quest, | |
t6.conv_proh | |
FROM | |
( | |
SELECT | |
t5.quest, | |
t5.cnt_game, | |
t5.cnt_start, | |
(t5.cnt_start*1.0 / t5.cnt_game*1.0)*100 as conv_game, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import pi | |
import numpy as np | |
import matplotlib.pyplot as plt | |
n = int(input()) | |
##generation | |
x = np.arange(0, 2*pi+0.1, 0.1) | |
array = [np.cos(i*x).tolist() for i in range(1, n+1, 1) ] | |
x = x.tolist() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
class BotHandler: | |
def __init__(self, token): | |
self.token = token | |
self.api_url = "https://api.telegram.org/bot{}/".format(token) | |
def set_webhook(self): | |
method = "setwebhook" | |
params = {"url": } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <cmath> | |
using namespace std; | |
double g = 9.8, R, p0, p, z0, v0 = 0, t, eps; | |
double func(double z) | |
{ |
NewerOlder