Skip to content

Instantly share code, notes, and snippets.

t x vx ax y vy ay 1/r^3
================================================================================
0.1 -0.013793 -1.0596 0.046763 0.66552 0.37632 -2.2563 3.3903
0.2 -0.22572 -0.96241 0.48602 0.74078 0.057304 -1.5951 2.1532
0.3 -0.4182 -0.83122 0.65594 0.75224 -0.17867 -1.1799 1.5685
0.4 -0.58444 -0.68336 0.73931 0.71651 -0.35995 -0.90637 1.265
0.5 -0.72111 -0.52394 0.79708 0.64452 -0.50243 -0.71242 1.1053
#include <iostream>
#include "pytanie.h"
using namespace std;
int main()
{
Pytanie p[5];
int suma=0;
for(int i=0; i<=4;i++){
#include <iostream>
#include <cstdlib>
#include <math.h>
#include <time.h>
using namespace std;
class wektor{
public:
float x,y,r,fi;
#include <iostream>
#include <cstdlib>
#include <math.h>
#include <time.h>
using namespace std;
class wektor{
public:
float x,y,r,fi;
#include <iostream>
#include <cstdlib>
#include <math.h>
#include <ctime>
#include <fstream>
#include <iomanip>
using namespace std;
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
void endline();
void wypisz();
/* HTML */
import React from 'react';
import './styles/form.scss';
import useSignUpForm from './hooks/customHooks.jsx';
const Form = () => {
const {inputs, handleInputChange, handleSubmit} = useSignUpForm();
WARNING: Scan stop failed
WARNING: set rssi scan not implemeted yet
____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|____|___| _|_| |___|_|_|_|___|
|_| espruino.com
2v04 (c) 2019 G.Williams
Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
const WIFI_NAME = "Sienki 2.4 GHz";
const WIFI_OPTIONS = { password : "password" };
const wifi = require("Wifi");
const http = require("http");
wifi.connect(WIFI_NAME, WIFI_OPTIONS, (err)=> {
console.log("loading wifi");
if (err) {
console.log("Connection error: "+err);
return;
function g(t, y) {
let g = [];
// return [y[2], y[3], -y[0] / Math.pow(y[0] * y[0] + y[1] * y[1], 1.5)+ (mu*alpha*y[1])/mass(t), -y[1] / Math.pow(y[0] * y[0] + y[1] * y[1], 1.5)+ (mu*alpha*y[1])/mass(t)];
for (let c = 0; c < particles; c++) {
let temp = c * 4;
let y1, y2, y3, y4;
y1 = y[2 + temp];
y2 = y[3 + temp];