Recent programs

Notes

an anonymous user · 1 minute ago · R
data<-c(5,3,1,7,2,8,2,10,20,2)
mean(data)
median<-c(5,3,1,7,2,8,2,10,20,2) median data
histogram(data)
Box & Whisker Plot<-c(5,3,1,7,2,8,2,10,20,2)
new data<-c(5,19,23,18,25)
Mean new data,-c(5,19,23,18,25)
Median newdata<-c(5,19,23,18,25)
Histogram new data<-c(5,19,23,18,25)
Box % Whisker Plot new data<-c(5,19,23,18,25)
def find_greater(arr, n)
large_neighbour = Float::INFINITY

higher_numbers = arr.select { |x| x > n }

large_neighbour = (higher_numbers[0] > n ? higher_numbers[0] : n)

puts large_neighbour
end

pyton program to find simple intrest

an anonymous user · 3 minutes ago · Python
#pyton program to find simple interest
#for given principal amount, time and
#rate of interest.


def simple_interest(p,t,r):
print('The principal is', p)
print('The time peroid is', t)
print('The rate of interest is', r)

%clc;clear;clf;%
%pkg install -forge image%
pkg load image

tic;set(0,'DefaultFigureWindowStyle','docked');
O_EGAMI_YARA_O_ARAY_IMAGE_O=...
[...
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;...
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;...
1,1,1,1,0,0,0,0,0,0,0,1,1,1,1;...

D

an anonymous user · 4 minutes ago · Python
import numpy as np

np.random.seed(2021)

X = np.array([1, 2, 3, 4,5,6,7,8,9,10])
y = np.array([2,4,6,8,10,12,14,16,18,20])

from sklearn.linear_model import LinearRegression

model = LinearRegression()

abh

an anonymous user · 5 minutes ago · MySQL
CREATE DATABASE CompanyDB;
USE CompanyDB;

Test_Data

Mkannema · 5 minutes ago · SQL
-- Create table

create table test(test_id number,test_name varchar(30),test_date,test_cost,test_department varchar(30))

---View the table
SELECT * from test;
#include <stdio.h>

/*int main() {
printf("Vitor\n");

int main() {
int num1, num2, soma;

scanf("%d", &num1);
scanf("%d", &num2);

Universidade.cpp

an anonymous user · 9 minutes ago · C++
#include <iostream>
#include <string>

int main() {
// Variáveis para armazenar a entrada
std::string U;
int A;

// Leitura da entrada
std::cin >> U >> A;

ballerscripts

an anonymous user · 10 minutes ago · Lua
local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local Window = Rayfield:CreateWindow({
Name = "polymars++",
LoadingTitle = "Not hacking u",
LoadingSubtitle = "frfr",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Big Hub"

menu driven program in c linked list

an anonymous user · 16 minutes ago · C
#include<stdio.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
};
struct node *head;
void beginsert ();

Dandy's world script all esp

an anonymous user · 18 minutes ago · Lua
local OrionLib = loadstring(game:HttpGet(('https://[Log in to view URL]')))()
local Window = OrionLib:MakeWindow({Name = "Dandy's World Script by Kles",IntroText = "I Hate Dandy", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})

local tab = Window:MakeTab({
Name = "Main",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})

local pl = game.Players.LocalPlayer

ballerscripts

an anonymous user · 18 minutes ago · Lua
local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local Window = Rayfield:CreateWindow({
Name = "polymars++",
LoadingTitle = "Not hacking u",
LoadingSubtitle = "frfr",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Big Hub"

python program to find out simple interest

an anonymous user · 19 minutes ago · Python
# Python3 program to find simple interest
# for given principal amount, time and
# rate of interest.


def simple_interest(p,t,r):
print('The principal is', p)
print('The time period is', t)
print('The rate of interest is',r)

python program to find out simple inaterest

an anonymous user · 20 minutes ago · Python
# Python3 program to find simple interest
# for given principal amount, time and
# rate of interest.


def simple_interest(p,t,r):
print('The principal is', p)
print('The time period is', t)
print('The rate of interest is',r)

Roleta

an anonymous user · 23 minutes ago · Python
class RouletteBot:
def __init__(self):
self.history = []
self.terminals = {
0: [0, 10, 20, 30],
1: [1, 11, 21, 31],
2: [2, 12, 22],
3: [3, 13, 23],
4: [4, 14, 24],
5: [5, 15, 25],

Octive

an anonymous user · 30 minutes ago · Octave
t = 1;
k = pi / 4;
E = 0.5;


% Reflection coefficient B
B = (E) / (-E + 2 * 1i * t * sin(k));

% Transmission coefficient C
C = ( 2 * 1i * t * sin(k)) / (-E + 2 * 1i * t * sin(k));

Felipe

miguladg · 31 minutes ago · Python
def solution(args):
print(args)
# your code here
jesus = ""
mango = []
for i in args:
if i in mango:
continue

Semester-Based Course Ranking for Students

an anonymous user · 34 minutes ago · SQL
CREATE TABLE Courses (
CourseID INTEGER PRIMARY KEY,
CourseTitle VARCHAR(255)
);

CREATE TABLE Students (
StudentID INTEGER PRIMARY KEY,
StudentName VARCHAR(255)
);

Login

an anonymous user · 36 minutes ago · C++
#include <iostream>
using namespace std;

struct user
{
char name;
int age;
bool adult;
};