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 | |
import matplotlib.pyplot as plt | |
from scipy.integrate import odeint | |
import pandas as pd # import pandas | |
# Визначаємо функцію рівняння із умови | |
def func(y, x): | |
return (np.sin(2 * x) / (2 - np.sin(x) ** 2) - 2 * y) / 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
export const flexbox = (options: { | |
display?: string; | |
direction?: string; | |
placeContent?: string; | |
placeItems?: string; | |
wrap?: string; | |
shrink?: string; | |
grow?: string; | |
alignContent?: string; | |
justifyContent?: string; |
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 { Document } from 'mongoose'; | |
export class BaseSchema extends Document {} |
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
package ua.alexd.CarRentService.controller; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.ResponseEntity; | |
import org.springframework.web.bind.annotation.*; | |
import ua.alexd.CarRentService.domain.ModelClass; | |
import ua.alexd.CarRentService.service.ModelClassService; | |
import javax.validation.Valid; | |
import java.util.List; |
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
package ua.alexd.domain; | |
import javax.persistence.*; | |
import java.util.Objects; | |
@Entity | |
@Table(name = "Shops") | |
public class Shops { | |
@Id | |
@GeneratedValue(strategy = GenerationType.AUTO) |
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
// LABKA 2.5 v.2 Matrix methods implementation | |
#include <iostream> | |
#include <fstream> | |
#include <algorithm> | |
#include "D:\Studying\Programming\LABS\Labka 2.5 v.2\Headers\vList.h" | |
#include "D:\Studying\Programming\LABS\Labka 2.5 v.2\Headers\grRepres.h" | |
GrMA::~GrMA() { | |
if (E != nullptr) { |