blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc2289091befc1d7060231a7ee9e88b4fd83f90b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH15/EX15.7/15_7.sce | d21aae072646d08eb49ffa1e22ed0dc9c65990ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | 15_7.sce | clc
//Initialization of variables
aZn=0.1
aCu=0.01
e1=0.763 //volt
e2=0.337 //volt
//calculations
e0=e1+e2
Q=aZn/aCu
E=e0- 0.05915*log10(Q) /2
//results
printf("Emf of the cell = %.3f volts",E)
|
aaaf35ba2af5a7db5e8f593feefc936a2dd7d3b3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.2_6.tst | ce764b80ed1192ab404ca03b8612fcd19602a64e | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 38,895 | tst | bow.2_6.tst | 2 10:0.2857142857142857 17:1.0 18:0.25 19:1.0 30:0.125 39:0.6666666666666666 43:0.125 53:1.0 56:0.1111111111111111 59:0.6666666666666666 63:0.25 68:0.14285714285714285 69:0.5 88:1.0 100:0.0625 126:0.2 187:0.5 247:1.0 326:0.1111111111111111 327:1.0 370:1.0 402:1.0 545:0.3333333333333333 806:1.0 888:0.5 1093:1.0 1175:1.0... |
a9cd57b9ec6fffc9b29e2eb5d4f3d98b2dd8dd99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH5/EX5.8/8.sce | 66eed202ba73f731ec7cd34c47fd0f7713f3432d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 8.sce |
//Variable declaration
rho=1.5*10**-8; //resistivity of metal(ohm m)
n=6.5*10**28; //number of free electrons(per m**3)
e=1.602*10**-19; //charge(c)
m=9.11*10**-31; //mass(kg)
//Calculation
tow=m/(n*e**2*rho); //relaxation time(s)
//Result
printf('relaxation time is %0.3f *10**-14 ... |
99375c6991b03f305858694f5debd40eaefc104a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH6/EX6.13/6_13.sce | b14ce215647953d9bc4efb04c4f7d5f99a447f4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | 6_13.sce | //Chapter 6, Problem 13
clc
funcprot(0)
//using Y-parameters given in the case study
Yin=(18.33+%i*11.59)*10^-3 //in complex form
y21=(1.09-%i*17.51)*10^-3 //in complex form
y22=(0.3+%i*1.57)*10^-3 //in complex form
Yl=3.33e-3
//defining a funcion
deff('[b]=imp1(d)... |
072e06e3b09b4b3b338dbd0536d7e844bd0e35e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH12/EX12.4/C12P4.sce | b50b805d6ad55feeda4b55e53551901272c896f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | C12P4.sce |
clear
clc
//to find speed of ball
// GIVEN:
//refer to figure 12-6 on page no. 263
//lift of car
y = 25//in meters
//acceleration due to gravity
g = 9.8//in m/s^2
// SOLUTION:
//applying conservation of energy principle
//speed of car
v = sqrt(2*g*y)//in m/s
printf ("\n\n Speed of car v = \n\n %... |
9463a4a8d1e1eed110a52c3d5b2488a044ef160b | a8447bb190e75c3452a418bcdffbb356b7f3ec43 | /LTP RAP 3.0napls/rovMMNpractice.sce | 15a6050c5580e5ac5b5aebb9ebeddc2e904b36a4 | [] | no_license | br-bieegl/napls3-erpTasks | d7014b2716bced6d1b70af760b8f0508f02724be | 5d3297776af95b2ba8981fe5ebbb8672831061a0 | refs/heads/master | 2021-01-22T09:58:19.920934 | 2015-02-18T21:10:10 | 2015-02-18T21:10:10 | 25,929,348 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,022 | sce | rovMMNpractice.sce | #it does not match the risto "optimum MMN" paper
scenario = "PS3_roving_MMNpractice_04072014";
#adapted from "nvMMNa5_napls06122009";
#attenuation updated for ER1 insert earphones and X-fi gamer card
pcl_file = "nvMMNCommands.pcl";
scenario_type = trials ;
write_codes = true ;
response_matching = simple_matching ;
... |
a5c3f806db513ed0d3c54294c0ee13e3ac0ed546 | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/homomorphic.sci | 36b3f0b1c9dc4346bf139186c98131d941481749 | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 1,092 | sci | homomorphic.sci | function H = homomorphic(I)
//, gL, gH, D0, c)
// HOMOMORPHIC_
// I: imagem em tons de cinza
// gL: parâmetro da curva do filtro homomórifico, gL < 1
// gC: parâmetro da curva do filtro homomórifico, gH > 1
// D0: frequência de corte do filtro
// c: parâmetro de controle de "sharpness"
//
// Uso:
// I = imrea... |
8404bba51ca9c9eea99026a3768bfbebd6812451 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH2/EX2.5/Ex2_5.sce | d614bbc3fa14a32fb1f165bd3c28c7637c6e0215 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | Ex2_5.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 2: Basic Laws
// Example 2 - 5
clear; clc; close;
//
// Given data
v = 20.00;
R1 = 2.00;
R2 = 3.00;
//
// Cal... |
6819836cc0656ace58d78a490accfe452858d90a | 6aa756c869f14f9ebbcfebb73deebe7a0a5920bc | /trabalhos_SCILAB_26-08-2021/questao_17_matriz.sce | e0415c4ee31c24603429505e765bd408629d2a75 | [] | no_license | guilhermedpadua/trabalhos | c74704429ad86f4999fdb6d80436103aa39638f4 | 730974b6548413d07ed74fe1a9be680167b853f9 | refs/heads/main | 2023-07-18T17:51:07.206298 | 2021-09-23T02:02:37 | 2021-09-23T02:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,339 | sce | questao_17_matriz.sce |
clear;
clc;
function [resultado] = verifica_matriz(matriz)
[linhas, colunas] = size(matriz);
//verificando se é nula ou cheia
elementos_diferentes_de_zero = 0;
elementos_iguais_a_zero = 0;
for i=1:linhas
for j=1:colunas
if(matriz(i, j) == 0)
elementos_igua... |
994c05e739bd1ad7be7aa2af17efa02b4a1d224a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH21/EX21.9/21_9.sce | a7fc589910bb8051d44a1ae0f7099589726dac4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | 21_9.sce | //Compound pendulum
//refer fig. 21.8
//Length of uniform rod
l=0.6 //m
//Radius of uniform disc
r=0.3 //m
//Mass moment of inertia about centre of suspention
Iz=((25*0.6^2)/(9.81*12))+((25*0.6^2)/(9.81*2*2))+((40*0.15^2)/(2*9.81))+((40*(0.6+0.15)^2)/(9.81)) //units
M=((25)/(9.81))+((40)/(9.81))
//Kzz^2=0.3... |
4397910cf583cd087ee9555c97c97b6ea77f90cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH11/EX11.3/Exa11_3.sce | 75266e76e93e4e1a76aff3179eb208091bd5bc7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | Exa11_3.sce | //Exa 11.3
clc;
clear;
close;
//Given Data :
format('v',9);
FixedLoad=200;//in kW
PF=0.8;//unitless
cosfi=PF;//unitless
h=10;//in hours/day
d=300;//in days
Time=h*d;//in hours
Energy=FixedLoad*Time;//in kwh/year
// (i) tarrif=Rs. 100/KVA/Annum plus 20 paise per kwh
C1=100;//in Rs.year/KVA
C2=20;//in pais... |
693c990a068fbc1b46d88f05ef769e7d9ba6728f | 993c10f7706af779d36ea4b5254792a34da554c1 | /ann/Praticas/adaline/run_adaline.sci | f17a857a0b628a089640e20d69e5371a58ccb866 | [] | no_license | francislz/college_codes | e1c113a29fcb704a243e5a942bf2c629157d315a | 41bbefbe13135eb2654815aeb546a44462847b87 | refs/heads/master | 2022-01-29T11:15:15.597217 | 2018-11-01T22:40:13 | 2018-11-01T22:40:13 | 155,784,263 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sci | run_adaline.sci | clear; warning off;
exec('../Classificacao_gaussiana/geragauss.sce',-1);
exec('../adaline/adaline.sce',-1);
exec('../adaline/treina_adaline.sce',-1);
exec('../Plota_Dados_E_Reta/plotdata.sce',-1);
W = [rand()];
b = rand();
X = [];
Yd = [];
for i = 0:2:100,
X = [X i];
Yd = [Yd ((i + 2))];
end
//Grafico de dados e da... |
54af64feba660afad6a4d95c5baaeaf7c75a8562 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH5/EX5.6/ex5_6.sce | a2ddb42d4f2b995a6ea1d71d4c29a4d34377d7e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | ex5_6.sce | clc;
L=1; //length in m
r=0.2*10^-3; //radius in m
A=%pi*(r)^2; //calculating area
disp(A)
R=2; //resistance in Ohm
P=(R*A)/L; //calculating resistivity
disp(P,"Resistivity in Ohm. metre = "); //displaying result |
ff50a5db69239bdbee4226e2dbc049a9239f6bea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH4/EX4.11/exa4_11.sce | 6a0b5f52110b3df51b147099b0ef6dc6b7cab25d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | exa4_11.sce | // Example 4.11
// Mesh Analysis of a Current Amplifier
R=[37 -1 0;-1 41 -4;0 -4 19]; // Resistance matrix
//v_a=6*i_1 , v_b=4*(i_3-i_2)
// [v_s]=[30*i_s;0;0]+[0 0 0;-864 0 0 ; 0 96 -96]*[i_1;i_2;i_3]
i_s=10^-3; // Assumption
R_tilda=[0 0 0;-864 0 0;0 96 -96];
v_s_tilda=[30*i_s;0;0];
// Using Equation, [R-R_til... |
d3a2ea289ebe307581fe3b7f3d493eb9399ee009 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH11/EX11.32/Fig11_32.sce | 78b1083e02643effa816b44393985df9241b328d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Fig11_32.sce | //Caption:Read an RGB image and segment it using the threshold method
//Fig11.32
//Page605
close;
clc;
I = imread('E:\DIP_JAYARAMAN\Chapter11\ararauna.png'); //SIVP toolbox
//Conversion of RGB to YCbCr
b = rgb2ycbcr_1(I); //SIVP toolbox
[m,n,p]=size(b);
b = uint8(b);
//Threshold is applied only to Cb compone... |
b86c3dfb0789a6384e1f6e26b7aab373f9609ac6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH23/EX22.2/EX22_2.sce | 104864a2d90aa2ba6e167955dd15322e6b2a0b59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | EX22_2.sce | // Grob's Basic Electronics 11e
// Chapter No. 22
// Example No. 22_2
clc; clear;
// An applied dc voltage of 10 V will produce a steady-state current of 100 mA in the 100-Ohms coil. How much is the current after 0.2 s? After 1 s?
// Given data
L = 20; // Inductor=20 Henry
R = 100; // Resistor... |
2c20b0855ce0eae90edf25ad9271e19af6c32a42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH3/EX3.3/ex_3_3.sce | ae752cde5164d9b3f3f7801f28d16a9e72fc2917 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | sce | ex_3_3.sce | syms t s a T
y= integ(exp(-a*t-s*t),t,0,T) |
df6b466b44513a2a61e09b528b27413be2bd4eeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.6/example11_6.sce | 57a1b01b9b9cf0218fb16557105ccafa29a8ca1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | example11_6.sce | clc
// Given that
r = 4 // ratio of mass of particle to the rest mass
// Sample Problem 6 on page no. 11.20
printf("\n # PROBLEM 6 # \n")
printf(" Standard formula used \n")
printf(" m = m_0/((1-v^2/c^2)^1/2) \n ")
v = 3e8 * sqrt(1 - (1 / r)^2)
printf("\n Speed of particle is %e meter/sec.",v)
|
5101d83f3fc6de39a65242589e00b250962a6002 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH11/EX11.2/Ex11_2.sce | 848ab519cb82cbefdc5d1165b43d313cea4b74d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | Ex11_2.sce | clc
// initialization of variables
clear
E=72 //GPa
v=0.33
Di=200 //mm
Do=800 //mm
a=100 //mm
r=a
b=Do/2 //mm
p1=150 //MPa
E=E*10^3
S_rr=p1*(a^2*(r^2-b^2))/(r^2*(b^2-a^2))
S_th=p1*(a^2*(r^2+b^2))/(r^2*(b^2-a^2))
S_zz=p1*a^2/(b^2-a^2)
tau_max=(S_th-S_rr)/2
u_a=p1*a/(E*(b^2-a^2))*((1-2*v)*a^2+(1+v)*b^2)
... |
b9621e4295a9f64ded697ddc3aca903eb1e2b254 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH9/EX9.06/9_06.sce | 3786c2baa858ac3af8872b99b7028a6016b0a8da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | 9_06.sce | //Bending moment//
pathname=get_absolute_file_path('9.06.sce')
filename=pathname+filesep()+'9.06-data.sci'
exec(filename)
//Velocity in m/sec:
V=s*5/18
//Reynolds number:
Re=d*V*D/u
//Value of Cd is obtained as:
Cd=0.35;
//Area(in m^2):
A=L^2;
//Moment about the chimney base(in N-m):
M0=Cd*A*D/4*d*V^2
pri... |
564d0a9777ba54a1c8a4407c46ec93b20ddf0b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH16/EX16.25/16_25.sce | 252018ac7dac2fa28fcb96b4b89bd29a5c7fd6f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 16_25.sce | //ques-16.25
//Calculating relaxation time and equilibrium constant
clc
ka=1.5*10^4; kb=3*10^5;//rate constants (in /s)
R_T=1/(ka+kb);//relaxation time
K=ka/kb;//equilibrium constant
printf("Relaxation time is %.10f s and equilibrium constant is %.2f.",R_T,K);
|
09403b8a19d8543aff8a0f6697d2fd11495b1243 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/demos/random/randomT.sci | 1c685679d028942c1d348afd84daa55734493cea | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,791 | sci | randomT.sci | function [z]=RndIntT(n)
//------------------------------- OK
[lhs,rhs]=argn(0)
if rhs <= 0 ; n=10000;end
imin=-10;
imax=10;
y=RndInt(1,n,-10,10);
i=imin-2:imax+2;
z=[];
for i1=i, z=[z,prod(size(find(y==i1)))],end
plot2d3("onn",i',z'/n,[1,2],"151","Simulation ",[-12,0,12,0.1]);
i1=(imin:imax)';
plot2d1("onn",i1,ones(i1... |
c416879c391613267d85355048d7f6258077d912 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 02/questao3.sci | 981c80fba02b5a9d4375a34cd53c5b5098cff6b6 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sci | questao3.sci | function dS=f(t,S)
ds1=S(2);
ds2=(g*sin(teta)-(Evs(i)**2)*(ro)*(Cd)*(A)*(0.5)/(m));
dS=[ds1;ds2];
endfunction
//Método de Adams
S=ode("adams",S0,t0,t,f);
plot(t,S(1,:),'y');
//Método de Runge Kutta de quarta ordem
S=ode("rk4",S0,t0,t,f);
plot(t,S(1,:),'y');
//Método de Runge Kutta de Fehlberg de ordens 4 e ... |
9d2d645c4f3bf4d3b7b118f16a5b06b7817101fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH26/EX25.6/EX25_6.sce | 55b57d6985cdb5efb43cc9ac26a544eab901e1e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | EX25_6.sce | // Grob's Basic Electronics 11e
// Chapter No. 25
// Example No. 25_6
clc; clear;
// What is the ac resistance of the coil in A series circuit resonant at 0.4 MHz develops 100 mV across a 250-uH L with a 2-mV input.
// Given data
Vo = 100*10^-3; // Output voltage=100 mVolts
Vi = 2*10^-3; // Input ... |
cff251da699d0aecd520fe69a6b87f5abf775706 | 36c3284008f3139ab355dfdad52ba1125e5563f2 | /divide/Divide.tst | a5c087235aaf77a70922621b2e5acd25273fdd6a | [] | no_license | damebrown/NAND_ex4 | e89773d391ce0e1cf2506f842c76fbedc3bb3cdc | 7b672a9257221b48fcc7fd902c2f927654bf257a | refs/heads/main | 2023-03-04T03:58:05.331996 | 2021-02-21T15:41:04 | 2021-02-21T15:41:04 | 340,936,897 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | tst | Divide.tst | // This file is part of www.nand2tetris.org
// written by Oded Wertheimer
// File name: projects/04/divide/Divide.tst
load Divide.asm,
output-file Divide.out,
compare-to Divide.cmp,
output-list RAM[13]%D2.6.2 RAM[14]%D2.6.2 RAM[15]%D2.6.2;
set RAM[13] 100, // Set test arguments
set RAM[14] 5,
repeat 50... |
dc123a78c8c04bad3e88e1e3bfde21f4fc822478 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH7/EX7.5/Exa7_5.sce | 0234d2b16e71cba61fbbb10a8c583a9cb5a37b22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | Exa7_5.sce | //Exa 7.5
clc;
clear;
close;
//Given data :
format('v',6);
VA=400;//in volt
r=0.03;//in ohm/km
r=0.03/1000;//in ohm/m
RAB=r*500*2;//in ohm
RBC=r*300*2;//in ohm
RAB=r*700*2;//in ohm
RAB=r*500*2;//in ohm
//VA-VB=VAC+VCD+VDE+VEF+VFB;//in volt
IA=(17.4)/(0.09);//in Ampere
VAB=(RAB)*IA;//in volt
VB=VA-VAB;/... |
3719c11165a48635e3032e3dfcb9f47b884cb734 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH6/EX6.1/Example6_1.sce | 1ce3732a9bb3bf3fe83816818dc0225ff4089ee6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Example6_1.sce | clear;
clc;
// Example: 6.1
// Page: 197
printf("Example: 6.1 - Page: 197\n\n");
// Mathematics is involved in proving but just that no numerical computations are involved.
// For prove refer to this example 6.1 on page number 197 of the book.
printf(" Mathematics is involved in proving but just that no ... |
a3bad86aaa25a4be588d5658a4e8ed0766c64fd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.11/Ex4_11.sce | 87e3083ce449bafab992ad2537b8a16c05f020a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex4_11.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
if sd==60 then
m=m+1
sd=0
end
dms=[d m sd]
endfunction
theta=42+50.0/60;//latitudde in degree... |
42f74304d3fbffcde178156c11cda1e1e67daf80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH18/EX18.2/2.sce | e68603a14adabbda93d50ce3c6d6f8739caacd90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 2.sce | clc
//Example 18.2
//Calculate the energy per unit mass and heat dissipation rate
v=0.82//m/s
energy_per_unit_mass=v^2/2//J/Kg
printf("The energy per unit mass is %f J/Kg\n",energy_per_unit_mass);
//Let dissipation rate be denoted by eta
//Let D denote d/dL
DP=0.0286//Pa/m
rho=1.2//Kg/m^3
eta=DP*v/rho//m^2/s^... |
8830cf5b862adb28100f7f571334905d3b1407a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.16w/18_16w.sce | b111dbf159b5c3e4250c4dfb5ec9adf33d86665c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | 18_16w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.16w
//calculation of height of the image of an object placed along axis ,at a distance from a horizontal cylindrical glass rod
//given data
u=-20; //object distance (in cm)
R=5; //radius of curvature of the spheric... |
93bd32c130c1db70117c26a33b269bae8a96d41b | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.11.1/Ch1Exa1_11_1.sci | a564a06e74637a72843ff186908a43936a721372 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sci | Ch1Exa1_11_1.sci | // Scilab code Exa1.11.1 : To find the speed, mass and mass number of the ion which is accelerated in a mass spectrograph : Page 40 (2011)
V = 1000; // Potential difference, volts
R = 0.122; // Radius of the circular path, m
B = 1500e-04; // Magnetic field, tesla
e = 1.602e-019; // Charge of the electron, C
amu = ... |
6c97b380c5c846c9d48613bbd0556df0ba5d5a34 | 341319310360f6bf37a7422eea7a73b66e811aab | /mat-generation/gendotproducttests.sce | 2fece93e88aaebd947b7781768bbeb48da85ca46 | [] | no_license | callpraths/CS733 | 67873cc73faeb126feebd07c32e5fbbaff9f2df1 | 5ef0f09b1526c1afbb3b7da89485fa44aaf6840f | refs/heads/master | 2021-01-01T05:33:06.794194 | 2012-12-24T04:45:21 | 2012-12-24T04:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | gendotproducttests.sce | exec sp2triplet.sci
rmdir('gentests/dotproduct', 's')
mkdir('gentests')
mkdir('gentests', 'dotproduct')
sz = stacksize()
stacksize(50000000)
ns = [10 100]
for n=ns
for d = 0.1:0.1:0.5
for count = 1:10
printf("n=%d d=%d c=%d\n", int(n), int(d*100), int(count));
A = sprand(n,1,d);
if(abs(A(n,1)) < 1)
A... |
8be8284415a95e857882b9b50d498dd72583384c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH10/EX10.9/Ex10_9.sce | dc76ee16f296db0fb401b000272a2a2622813cc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex10_9.sce | clc
clear
//Initialization of variables
p1=20 //psia
p2=140 //psia
J=778
t2=150 //F
t1=30 //F
//calculations
disp("From Table A-3,")
v1=2.0884 //cu ft/lb
v2=0.33350 //cu ft/lb
h2=95.709
h1=81.842
n=log(p2/p1) /log(v1/v2)
W=(p2*v2-p1*v1)*144/(1-n)
du=h2-h1 + (p1*v1-p2*v2)*144/J
Q=du+W/J
s2=0.17718
s1=... |
8406e7af88dc2ce34c96a9edcabc95be927629fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH5/EX5.5/5.sce | 34fb891ee18d79229898dfa759a84d81189535d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | 5.sce | clc
clear
//Input data
Mol=39.9 //Molar mass of a gas in kg/mol
k=1.67 //Specific heat ratio
Mx=2.5 //Mach number before the shock
Px=40 //Pressure before the shock in kPa
Tx=-20+273 //Temperature before the shock in K
//Calculation
My=0.554 //Mach number after the shock from gas tables @Mx
p1=7.567 //... |
70744909bb45b9458f028e4d8dcd37096b4c1c87 | b32474ae2727233775f44c71edfe1f10b6a3430f | /testederivada.sci | 0fd948bcd9341f72f0fbd2b54f3eaa269ba0e6ed | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sci | testederivada.sci | function [F]=deriva(f,ra)
F=numderivative (f,x);
F=F(ra);
endfunction
|
08cf401263e53707615a209730fc9bcd7bde0061 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.17/Ex10_17.sce | 165aab45d999e68902ec95fa04ece7594838fb9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Ex10_17.sce | //EX10_17 PG-10.65
clc
disp("Refer to the figure-10.59 shown")
Rf=10e3;//feedback resistance
R1=10e3;
R2=20e3;
R3=30e3;
R4=40e3;
V1=-1;//first input voltage at the inverting terminal
V2=2;//second input voltage at the inverting terminal
V3=3;//third input voltage at the inverting terminal
V4=-2;//fourth inp... |
2ae47316051669a1edd577056bd93dc5262d7d9d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%ip_m_s.sci | 22c4db5b4f98cf90a8cb502d45aac49881a5cc81 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sci | %ip_m_s.sci | function r=%ip_m_s(ip,s)
// ip*s
if size(s,'*')<>1 then error(10),end
r=(ip(1)*s):(ip(2)*s):(ip(3)*s)
|
449a4ea599f7c55527eaf30a7069d7b96a350de8 | 002b6230874dea6e4d76defafc1ae293b5744918 | /library/Demos/LocalRegions/Tests/LocProject3D_Prism_Ortho_Basis_P6_Q7.tst | 554fa367fd37a5778427c49e278f8a0a3873db12 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | tst | LocProject3D_Prism_Ortho_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Project3D Prism Ortho basis P=6 Q=7</description>
<executable>LocProject3D</executable>
<parameters>7 1 1 2 6 6 6 7 7 6 0 0 0 1 0 0 1 1 0 0 1 0 0.5 0 1 0.5 1 1</parameters>
<metrics>
<metric type="L2" id="1">
<value tole... |
82a2b696d82359174148ecb64616f1faa6fff6f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH6/EX6.2/Example6_2.sce | 70e02ecd39d4561f08d4162899ad423ed5a19d6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,757 | sce | Example6_2.sce | clear;
clc;
// Illustration 6.2
// Page: 157
printf('Illustration 6.2 - Page: 157\n\n');
// solution
//****Data****//
// a = N2 b = H2O
L = 9.5*10^(-4);// [cubic m/s]
G = 0.061;// [kg/s]
Temp = 273+25;// [K]
//*****//
printf("Construction Arrangement\n");
printf("Use 4 vertical wall baffles, 100 ... |
fe742ad295cf6b7c7ca4cf9e8e4ca5c9cc7a596f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH3/EX3.3/Ex3_3.sce | ff66320c46c94b923806e4cfcefe088f22229c29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Ex3_3.sce | //Exa 3.3
//To determine received power and allowable Path loss.
clc;
clear all;
d=3*1000;//in metres
Y=4;// path loss exponent
Pt=4; //Transmitted power in watts
f=1800*10^6;//in Hz
Shadow=10.5; //in dB
d0=100;//in metres
P0=-32; //in dBm
//solution
disp("Using equation 3.11 and including shadow ... |
acaa234260bbdbfb2d91f02939c2250da403d027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH13/EX13.4/Ex13_4.sce | dee497d0765ce5764163ff470ec36685f1827831 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | Ex13_4.sce | clear;
clc;
m = 15;
t = 18000;// lb/in^2
c = 700;// lb/in^2
b = 12;;// inches
M = 900000;//bending moment lb/inches
k1 = 1/((t/(m*c))+1);//k = n/d
k2 = 1-k1/3;//k2 = a/d
p = 0.5*c*k1/(t);
d = sqrt(M/(0.5*c*b*k1*k2));//inches
A_t = p*b*d;// sq.inches
A_t_previous = 0.25*%pi*(7/8)^2;//section area with diamet... |
eeb9e1587ed02e98091b9a745e5e6f5708209bb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH2/EX2.20/ex20.sce | 342eb1742299872b5d6c0166017c0451475f4d1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | ex20.sce | clc
clear
//Input data
c1=7;//Velocity of air at entrance in m/s
c2=5;//Velocity of air at exit in m/s
p1=100;//Pressure at the entrance in kPa
p2=700;//Pressure at the exit in kPa
v1=0.95;//Specific volume at entrance in m^3/kg
v2=0.19;//Specific volume at exit in m^3/kg
u=90;//Change in internal energy of th... |
b9aa86ff19e17e6c158d5524d1ede5bd3240ea08 | 3aecc0a856e5ab896077f26d338574613e42a223 | /src/30.campionamento_stratificato-stima-_integrale.sci | 8bd8d8b768c284487c133df94f04cdbd40588c81 | [] | no_license | wmotti/simulation | 9ebed2818f83a1ba864399ee3dc664e5303e3983 | ec4cce2ce180f947edf0ed9f501799d06b8a0416 | refs/heads/master | 2020-03-28T08:10:23.668854 | 2018-09-08T16:14:42 | 2018-09-08T16:14:42 | 147,949,219 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | 30.campionamento_stratificato-stima-_integrale.sci | n=4;
function [y]=g(u1,u2,u3,u4)
y=(u1+u2)/(1+u3-u4)
endfunction
function [y]=tn()
U=grand(4,1,'def');
y=-log(prod(U));
endfunction
function [y]=simG()
vs=gsort(grand(n-1,1,'def'),'g','i');
vs($+1)=1;
t=tn();
us(1)=exp(-t*vs(1));
for j=[2:n],
us(j)=exp(-t*(vs(j)-vs(j-1)));
end;
y=g(us(1),us(2)... |
242b2c0e6687644345788525fca94c6608a2a361 | 5c99f90e816244fbea65c73357432fb54ac25d09 | /fixed_alloc_pawan.sce | 031d47cee7947a9bd16a17fda5ac3b91be81077c | [] | no_license | varunkamble/story_book | 6301153ce6898a4275f99017facd814ea1df1633 | 0bc1f9d059b9cc718e36ea0b8da4a53dd24812d3 | refs/heads/master | 2020-03-26T05:27:21.794874 | 2018-10-21T17:15:34 | 2018-10-21T17:15:34 | 144,558,147 | 0 | 1 | null | 2018-09-18T13:33:23 | 2018-08-13T09:31:05 | Python | UTF-8 | Scilab | false | false | 833 | sce | fixed_alloc_pawan.sce | clc;
N = input("Enter number of channels: ");
cc = input("Enter number of control channels: ");
vc = (N-cc);
K = input("Enter size of the cluster: ");
Matrix = zeros(K, ceil(N/K));
disp('Fixed Channel Allocation')
vcpc = floor(vc./K);
ccpc = floor(cc./K);
disp(vcpc,"Number of Voice channels per cell are")
disp(ccpc,"Nu... |
c5cdc5630e5d7abbb61c869cd6b6a736df939ed7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3816/CH8/EX8.4/8_4.sce | fef17bf5195fd113f411b6d0a2b2dfee21f4f3e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | 8_4.sce | clc;
clear;
V=3.3;
f=50;
P=10;
S=0.03;
I=4;//Magnetizing current
Lc=30;//core loss
Zsl=0.18+(1.6*%i);//stator leakage impedance
Zrl=0.4+(1.6*%i);//Rotor stan still leakage impedance
W=27*10^2;
Vph=1.9;//Rated phase voltage
Ibsc=W/(3*Vph);//Bus bar short circuit current level
Zs1=(Vph/Ibsc)*%i;//The effecti... |
c8dcbaea918e8ae145ca47d5f09d735bf46568ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH4/EX4.1/example4_1.sce | 13379b935b97715969b11c6deb23d67d9c9e766b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | example4_1.sce | disp('chapter 4 ex4.1')
disp('given')
disp('capacitor coupled voltage follower design')
disp("lower cut off frequency for the circuit =50Hz")
disp('Rl=3.9kohms')
disp("R1max=0.1Vbe/Ibmax")
disp("Vbe=0.7volts")
disp("Ibmax=500nA")
Vbe=0.7
Ibmax=500*10^(-9)
R1max=0.1* Vbe/ Ibmax
disp("R1max= ",R1max)
disp("a... |
c56ebfb8886070b4f8f52a36660483b8fa466f7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH5/EX5.6/Chapter5_Example6.sce | e32eab5629a61ab16da5893f95c7aeb3ece3e359 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,581 | sce | Chapter5_Example6.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-5, Illustration 6, Page 118
//Title: Calculation of different concentrations in vaporization process
//============================... |
bc38689ce90d7804ea9b003e2a2f33ad24b09eaf | df82401a4fbb64f37b3ed00aa17d82600996f811 | /raizes - secante.sce | 28cbd1c384f34652df5234ef8f848ac7f1fa35c0 | [] | no_license | ItaloOliveiraF/Algoritmos | 9600fa8e95fed942414250e92e93286320548795 | ff32fb26414e14d7b55b39cba7025eb2f844ea5b | refs/heads/master | 2020-04-04T19:11:32.124542 | 2018-10-26T02:59:35 | 2018-10-26T02:59:35 | 156,195,729 | 1 | 0 | null | 2018-11-05T09:56:50 | 2018-11-05T09:56:49 | null | UTF-8 | Scilab | false | false | 533 | sce | raizes - secante.sce | clear;
clc;
// Definição da função f(x)
function y = f(x)
y = log(x) - 1
endfunction
// Implementação Secante
function [it, x, Er] = secante(x0, x1, p, itMax)
it = 0;
Er = 1;
xOld1 = x0;
x = x1;
while (Er > 10^(-p) & it < itMax)
xOld0 = xOld1;
xOld1 = x;
... |
b4007e4a48f03c9e3f41f837d0648f9b65acff43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH5/EX5.7/Ex5_7.sce | 5566aeb17496b2aacdba600b171e6820b0a1e736 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex5_7.sce | //Example 5.7, Page number 5.29
clc;clear;close
// variable declaration
a=5;//unitless
n1=1.48;//unitless
delta=0.01;//unitless
V=25;// V number
// Calculation
lamda=(%pi*(a*10**-6)*n1*sqrt(2*delta))/V // Cutoff Wavelength
// Result
printf("Cutoff Wavellength = %.3f micro-m",(lamda*10**7))
|
b909f3ba5ce31421eb8d5bab3ad5fcc774353fe9 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.abalone-10-1tra/result3s0.tst | 47c69913bc9a0a806693727437ce779778f236b1 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,502 | tst | result3s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]
... |
c8a71319e0edcaa6d488e95eb55f2d6328170209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH6/EX6.21.3/Example_6_21_3.sce | a9d19a02ac314aac981c0a5f6b34b6d5d7d15335 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 904 | sce | Example_6_21_3.sce | // Example 6.21.3 page 6.60
clc;
clear;
tr=50; //radiative recombination lifetime
tnr=110; //non-radiative recombination lifetime
h=6.624d-34; //plank's constant
c=3d8; //speed of light
q=1.6d-19; //charge of electron
i=40d-3; //current
lamda=0.87d-6; //wavelength
t=tr*tnr/(tr+t... |
970a50d7212b6c8384f2686b68c2d126a8527d17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH10/EX10.1/Ex10_1.sce | 76014e9398a7f8aa51afb64872c656e3aa9e2f1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | Ex10_1.sce | clc;
//E=Ef+1% of Ef
k=1.38*1e-23;//boltzman constant
e=1.6*1e-19;//charge of electron
E=0.0555;
//0.1=1/[(exp((E*e)/(k*T)))+1]
T=E*e/(k*log(9));//Temprature
disp(+'kelvin',T,'Temprature = ');
//there is slight variation than book's answer.. checked in calculator also.(book's mistake)
|
a77520331f23dc89a9a401ab19f997fb4e1fa3e7 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/indexImages.sci | 928ad2842e2fa563034edd1a4e159c7289eebe94 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 2,479 | sci | indexImages.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
27ec20550575671cd6ecb8c760089dfc9ff88ad3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH11/EX11.1/EX11_1.sce | ebce9be00671d76ce84008b911d0121b529377f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | EX11_1.sce | // Example 11.1
// Calculation of the minimum number of taps needed to compensate for the fiber dispersion
// Page no 509
clc;
clear;
close;
// Given data
b=22*10^-27; // Power launched in port 1
l=800*10^3; // Power launched in port 2
T=50*10^-12; // Power l... |
86b5b83b405fe5d8077161d8c86c0b7957e952fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH8/EX8.12/8_12.sce | 760d81191e0c14728edb6dfd0bfe1f002ded7d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | 8_12.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
//CALCULATIONS
v= sqrt(32*g)
//RESULTS
printf ('speed that delivery commence= %.1f ft/sec',v)
|
4eb00a2d27d4123d01cf952b5828c41e8ff2620f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.19/Ch03Ex19.sci | 72bbc24aa5655b207fa51fa39cf0d10c860e7ee5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sci | Ch03Ex19.sci | // Scilab code: Ex3.19 : Total energy of the three electron system:Pg: 87 (2008)
m = 9.1e-031; // Mass of an electron, kg
h = 6.624e-034; // Plancks constant, joule second
a = 1e-010; // Length of the molecule, m
E = 6*h^2/(8*m*a^2); // Energy of three electron system, joule
printf("\nThe total energy ... |
0d1ecdbd40140f3597a211861b5efdc0f13f6d44 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /Type 2 reg/makeLibraries.sce | 252012c9392d44339e7a3b9bf89c4322ece84fb5 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | makeLibraries.sce | R1 = 200e3;
R2 = 8.06e6;
C1 = 100e-9;
C3 = 1e-9;
s = poly(0, 's')
z=poly(0,'z');
H = syslin('c', (1 + (C1*R2)*s), ( (C3+C1)*R1*s+R1*C1*C3*R2*s^2 ) ) // math model of regulator
H_ss = tf2ss(H) // convert to ss
H_z = cls2dls(H_ss,0.00001) // bilinear transform
disp(H)
disp(H_z)
subplot(1,2,1)
bode(H_ss)
subplot(1,... |
6033eb713522d9febeb8a92fa5265ea81510aa49 | 8deb8b00af1f85fe3a035cab47cd1b7a8c9c67db | /Test_runs/DCV_5-zone/out_5ZoneVAV-DCV-tweaked/5ZoneVAV-DCV-tweaked.sci | b160510e48e087ba53f0595bc0202cc5988e9a72 | [] | no_license | tsbyq/SDI | cbaf1ae7ab2d2d0a338b65effcd9a6bd3fc39ddf | d9e8c699fc765cba4cdec57e3d0e1a771564c4b1 | refs/heads/master | 2020-03-31T01:24:59.608748 | 2018-12-07T19:40:36 | 2018-12-07T19:40:36 | 151,163,580 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,785 | sci | 5ZoneVAV-DCV-tweaked.sci | 53 39
data for surfaces useful for cost information
Number, Name, Construction, class, area, grossarea
7,ZN_1_FLR_1_SEC_1_WALL_1,ASHRAE 30PERC GUIDE_ZONE 5_STEEL-FRAMED_EXT-WALL,Wall, 91.20038, 152.00000
8,ZN_1_FLR_1_SEC_1_WALL_1_WINDOW_1,ASHRAE 30PERC GUIDE_ZONE 5_0.3_0.4_FIXED_SO... |
4c8db6dbbe6af2bfb3a973f0132000ee14ce1635 | cb85e23a93890cfe63382a9e043a178c7058cd4d | /launch_INPSCILAB.sce | 1f10ac2291eac30abccdf73d268db6404a8fc487 | [] | no_license | FINESCE/INP-SCILAB | ae06d33a4e159c6bc154700f5c7b88759caf6004 | 0006a42b67e269d7ce28729dba870306d564bcf5 | refs/heads/master | 2016-08-06T21:46:16.111774 | 2015-07-15T10:39:06 | 2015-07-15T10:39:06 | 37,849,688 | 1 | 1 | null | 2015-07-15T10:39:07 | 2015-06-22T10:35:26 | Scilab | UTF-8 | Scilab | false | false | 922 | sce | launch_INPSCILAB.sce | //Copyright [2015] [FINESCE Consortium]
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed t... |
685a4b2881cbcd01567f3408ebafa8007075b765 | 6eb42df0d9f452fee0d084e0b0058e4e4ac242ef | /Updated_Exercises_March_2015/Exercise 17/BaroInst.sce | 602809a8a6a253779bd6afeb8334bf636ee4a9a1 | [] | no_license | huangqingze/ocean_modelling_for_beginners | b21c1b398efe91e4a3aa1fa5a1d732e2eb4ec16e | 3e73a511480c73f4e38b41c17b2defebb53133ed | refs/heads/main | 2023-07-03T12:00:01.326399 | 2021-08-14T21:16:12 | 2021-08-14T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,032 | sce | BaroInst.sce | //*******************************************
// This is the Scilab script for Exercise 17.
//
// Use the help facility for more information
// on individual functions used.
//
// Author: J. Kaempf, 2015 (updated)
//********************************************
clf; scf(0); a=gcf(); a.figure_size= [1000,500];... |
30ccdb051d14124d182eb9ae4ac939ea0db12e2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH8/EX8.10/exa_8_10.sce | db9f82ebc156816102e228f443ca3595e991c590 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | exa_8_10.sce | // Exa 8.10
clc;
clear;
close;
//given data
V_REF= -5;// in V
V_B= 0;// in volt
V_A= -5;// in volt
V_C=V_A;
V_D=V_C;
Vout= -1*(V_A+V_B/2+V_C/4+V_D/8);// in volt
disp(Vout,"Output voltage in volt")
|
53f244ec293cfd230d9bdba62868e04479a054ac | 24db0e77b5f09200f9f6ed0567b8d75ece14259d | /fq.sce | 8f2a2cc703dfeba61ebe4bf99b4c6ef29cae2b8a | [] | no_license | ece2lr/tp12 | 077477f68ac767cd688e646efae802abc77dce4b | 99ba2f6f8536b60c2df6e09639d312e87e230735 | refs/heads/master | 2021-05-04T21:45:49.127347 | 2018-02-02T12:59:32 | 2018-02-02T12:59:32 | 119,974,257 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,269 | sce | fq.sce | // quadrique associée à une matrice 2x2
//// points critiques non-dégénérés ///////////
Q = eye(2,2) // minimum : x^2 + y^2
//Q = [0,1;1,0] // point selle : 2xy
//Q = [1,0;0,-1] // point selle : x^2 - y^2
//Q = - eye(2,2) // maximum : - x^2 - y^2
//// points critiques dégénérés ///////////
//Q = [1 0; 0 0] //... |
7573c18959ec2f18db8e7a6e9d1dfb335869084f | faec4046b5338edffb03b23e6d5fbbb4cb86f357 | /Semaine 1 éléments de géométrie projective et calibration de caméra/M3DA-semaine-1-fichiers-tp/tp-camera-calibration/Alexis-Linke.sci | a28d82fe1991b1495051c1c4438d3eaab8a190e7 | [] | no_license | ALX5/M3DA | d11d27fd69dc30646fbe84a9f9a354c44ef0f443 | 6b93d5ec43ef10131e644732761d7c8744c97dc8 | refs/heads/master | 2016-08-04T12:59:50.845831 | 2013-12-02T21:32:34 | 2013-12-02T21:32:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,702 | sci | Alexis-Linke.sci | // -----------------------------------------------------------------------
/// \brief Calcule un terme de contrainte a partir d'une homographie.
///
/// \param H: matrice 3*3 définissant l'homographie.
/// \param i: premiere colonne.
/// \param j: deuxieme colonne.
/// \return vecteur definissant le terme de contra... |
55db431ed7c1d911e711e2676549dc7d748c0a62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.20/10Ex20.sce | f576d290cfbe2a7480f18c2ecd56d64dc04f1305 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | 10Ex20.sce | //chapter 10 Ex 20
clc;
clear;
close;
spends=75/100; inc=20/100; expPercent=10/100;
original=100;
expAmt=original*spends;
saving=original-expAmt;
newIncome=original*(1+inc);
newExp=(1+expPercent)*expAmt;
newSaving=newIncome-newExp;
incSaving=newSaving-saving;
incPercent=(incSaving/(1-spends));
mprintf("T... |
76d12b4b42764312830a4490a166dc6d8e4efc50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH9/EX9.5.2/9_5_2.sce | 0caf12e22e827284b333af2d672ac900ace86ad9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | 9_5_2.sce | clc
pathname=get_absolute_file_path('9_5_2.sce')
filename=pathname+filesep()+'952.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
function[Cp]=fun1(T)
Cp=34.31*10^(-3)+ T*5.469*10^(-5) + T^2 * 0.3661 *10^(-8) - T^3 * 11... |
24f97feaa244e87e0450b3d84225f718ce0fb068 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Midair rockets.sce | 4666cc7c6c5ea31e0dbe219b4b1df54b7338cf7e | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430,821 | sce | Midair rockets.sce | Name=Midair rockets
PlayerCharacters=QC no movement
BotCharacters=target_decay_midair.bot
IsChallenge=true
Timelimit=100.0
PlayerProfile=QC no movement
AddedBots=target_decay_midair.bot
PlayerMaxLives=0
BotMaxLives=100
PlayerTeam=1
BotTeams=2
MapName=169_many_weird.map
MapScale=1.0
BlockProjectilePredictor... |
05b7eb2fb42d270f5d4d66e16118824aaf6ba5a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH14/EX14.6/ex14_6.sce | 414629023d88ffd6b5243106143e1b6f2f5d505b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | ex14_6.sce | //Calculate the output voltage
clear;
clc;
//soltion
//given
Ad=2000; //differential mode gain
CMRR=10000;
V1=10^-3;//V
V2=0.9*10^-3;//V
Vd=V1-V2;
Vc=(V1+V2)/2;
Vo=Ad*Vd*(1+Vc/(CMRR*Vd));
printf("The output voltage is %.2f mV",Vo*1000);
|
f41a7849eb37ff95e9355cfd84219f0c69d903d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.1/ex5_1.sce | 6e08018c079f78efd44912bbb5a82567af269da7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | ex5_1.sce | // Exa 5.1
clc;
clear;
close;
format('v',6)
// Given data
R = 20;// in ohm
X_L = 15;// in ohm
V_L = 400;// in V
f = 50;// in Hz
V_Ph = V_L/sqrt(3);// in V
Z_Ph = sqrt( (R^2) + (X_L^2) );// in ohm
I_Ph = V_Ph/Z_Ph;// in A
I_L = I_Ph;// in A
disp(I_L,"The line current in A is");
//pf = cos(phi) = R_Ph/Z_Ph... |
4832f5807aac58a2df203964d33d5d3e2f8cabd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH16/EX16.2/example16_2.sce | 0ef28e0e157499939a3885f08fecced4228d8625 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | example16_2.sce | clc
// Given that
t = 0 // temperature in K
E = 7.9 // Fermi energy in eV
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of electron in kg
// Sample Problem 2 on page no. 16.14
printf("\n # PROBLEM 2 # \n")
printf("Standard formula used \n")
printf("1/2 * m*v^2 = E_0 \n")
E_ = E * 3 / 5
v = sqrt(2 * E_... |
3ec7e6be75d3b032d6e0957b630f953c9bb2c380 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.47/ex_47.sce | ea0e587a75fe5e3ab2e774c380e9a6ea50ff535b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | ex_47.sce | I1=6;
R1=1;
R2=2;
R3=5;
V=10;
I2=(2*I1-10)/7;
IR2=(I1-I2);
disp("Amperes",IR2,"Current in 2 Ohm resistor") |
c3e5bde7d746730ddd3950aade4c0ea1a1212c03 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/zpkdata.sci | 3e37b158ac43f8d72c6442db97f25086cebb8df3 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sci | zpkdata.sci | // ############################################################################
// Devuelve 3 vectores con los ceros, polos y ganancia (alta frec.) del sistema que se le pasa en el argumento
function [z,p,k]=zpkdata(sys)
if typeof(sys)=='state-space'
sys=ss2tf(sys)
end
z=roots(numer(sys))
p=roots(denom(... |
db3ed392558f88329239b01b3b53680e8a2d2aaa | c32f707284ef4e7ffff37e75a875e4a490f55e90 | /portfoliobk.tst | 608adae38b95792015b95c42bdb111ebc172596b | [] | no_license | rsabinotrinity/LM | 8c5907c4c582ebe3adf50996f50af2237fe13708 | 8ee17051b0af86626d233398a81d2415bc14ac52 | refs/heads/main | 2023-01-29T17:06:58.776374 | 2020-12-10T02:27:20 | 2020-12-10T02:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,875 | tst | portfoliobk.tst | <!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="utf-8">
<title>Leandro Medeiros</title>
<meta name="viewport" content="width=device-width, initial-scale=0.7">
<meta name="description" content="Clean responsive bootstrap website template">
<meta name="author" content="">
<!-- styles -->
<link href=... |
525080adfdfb03a2d680aabe961f46c2559c389c | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.4/ex_4.sce | 751cc0f5c794c9438fadfbbdc6fc7ee4eaf5d90b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,083 | sce | ex_4.sce | // The equation cos(x)-x*%e^x==0 has real roots.
// the graph of this function can be observed here.
xset('window',3);
x=0:.01:2; // defining the range of x.
deff('[y... |
e830f75c3cc027738b58b984536f6700e78066aa | fe5c586f6327f0fdee22bf0535edd0afd93bdacc | /test/test_cases.tst | f505bc1074812a3c4c17048e0bbd93e1999ee688 | [] | no_license | funkacer/Rounding | 0e6699ec45b3bd2d4ea5cb1ebbee4c8f7431a2ec | c315d9b6c2000ef80b14b4774d9bbf4801026987 | refs/heads/main | 2023-05-08T03:32:39.935297 | 2021-05-31T05:41:11 | 2021-05-31T06:02:09 | 362,857,946 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,071 | tst | test_cases.tst | Random Round Result
66.34189842 0 66
38.15132711 0 38
-48.19796704 0 -48
-96.41723101 0 -96
-54.74978397 0 -55
45.20206872 0 45
66.67510482 0 67
-37.69107352 0 -38
86.39471088 0 86
64.07815336 0 64
0.237804701 0 0
-31.0271507 0 -31
94.6576568 0 95
-98.68337689 0 -99
-38.83397149 0 -39
-8.471977678 0 -8
84.04433293 0 84... |
09762447127f58618d64895187dc3fef3dc25acb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH10/EX10.4/EX10_4.sce | 09506f4df7ba6cb33746f1e461abdf04ae58420f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | EX10_4.sce | //Finding of Bottom slope, Conveyance
//Given
q=0.1;
B=0.6;
y=0.3;
A=B*y;
n=0.013;
P=1.2;
R=A/P;
//To Find
b=((q^2)*(P))/((A^3)*B^2)
K=A*B*sqrt(R);
disp("Bed of slope ="+string(b)+" no units");
disp("conveyance of channel ="+string(K)+" m^3/sec");
|
37ac02bc2f03f81a9186597372e89e9e23394181 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /My First Map.sce | be5b4aef779cdbf98ffd50394449f173a37b65d5 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 48,108 | sce | My First Map.sce | Name=My First Map
PlayerCharacters=Camera Man
BotCharacters=crocbot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Camera Man
AddedBots=crocbot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=0
MapName=test101.map
MapScale=4.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=f... |
265a6539f983117e4647cdea8dd5737e8d34bdf6 | 871ef66b0f5098665d3e460a2c05955dffe18def | /wpu-rencana-content.tst | d16c1dbf6eb93cb64554c526f11b8d8ddfc9da34 | [] | no_license | Darmaji77/wpu-darmaauto | 19447fe876d4234860b7944486eb5b297d0b181a | 93a8d43b39f1ff9f0072d6c46835b825536542ff | refs/heads/main | 2023-04-18T13:45:36.694064 | 2021-05-04T15:23:13 | 2021-05-04T15:23:13 | 364,237,310 | 0 | 0 | null | 2021-05-04T15:23:14 | 2021-05-04T11:44:59 | null | UTF-8 | Scilab | false | false | 138 | tst | wpu-rencana-content.tst | RENCANA KONTEN WPU
-Vidio tutorian EFI
*dasar-dasar engine
*kelitrikan body standart
*wiring diagram
-Membuat trobel code
-ingine visual
|
f2307f701f93cfb0f8caff1a3ef005f3ab3e8823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH43/EX43.10/Example43_10.sce | e5dcd627d1e9367a6c837fc577135704a0a8d527 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | Example43_10.sce | //Given that
e = 1.6*10^-19 //conversion from electron volt to Joule
deltaE = 0.20*e
h = 6.62*10^-34 //in J.s
//Sample Problem 43-10
txt = mopen('Example43_10_result.txt','wt')
mfprintf(txt, '**Sample Problem 43-9**\n')
Tavg = h/(2*%pi)/deltaE
mfprintf(txt, 'The average life of the compound is %esec', Tavg)... |
28e4c36e494e3208008aa225e6442c3e94a56166 | 35071fb08cee13f4a9e79c396f7c8c028f69db0e | /Tests/Gencode/OK/minus.tst | 324acc033e7f5a36732051b3f6accb6048a66ba3 | [] | no_license | V1nc3ntL/Compilation | 2cd9d4fa728055cebd44659cba517e49298142bc | e2008449ddb509021f6ddcfd0a92226807bec9ab | refs/heads/master | 2023-06-01T09:42:01.069684 | 2021-06-02T19:15:13 | 2021-06-02T19:15:13 | 357,205,127 | 0 | 0 | null | 2021-05-31T12:13:32 | 2021-04-12T13:30:46 | C | UTF-8 | Scilab | false | false | 128 | tst | minus.tst | void main ()
{
int i = 1 - 2 - 3 - 4 - 5;
int j = 1 - 2 - 3 - 4 - 5;
int k = 1 - 2 - 3 - 4 - 5;
print ("i", i, "\n");
}
|
14029805e36c33bb3860da8a8428e8f94c5b2b09 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD6/Scripts/Stratégie semi-circulaire deterministe.sci | 7bf5cdc42b31847ec9d909c3de07858137234378 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,919 | sci | Stratégie semi-circulaire deterministe.sci | clf;
function newq = insere(q, ta, ts)
//
// Inscription de l'arrivée d'une requête
//dans la file q,
//au temps ta
//avec un temps de service ts
if q($, 1) < ta then // aucune requête dans le système
q($+1,:) = [ta, 1, 1]; // ajout de la requête en fin de liste
else // inscription ... |
4deae7f76958a9493c73ce9c70129a5528f8b11d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH1/EX1.26/Ex1_26.sce | dda3f18746177a971191fa1f725c66b4824b97a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex1_26.sce | clc
//to calculate proton gain in mass
c=3*10^8 //light speed(m/s)
K=500*10^6*1.6*10^-19 //kinetic energy (J)
deltam=K/c^2
disp("proton gain in mass is delm="+string(deltam)+"kg")
//answer is given wrong in the book=8.89*10^28 kg
|
863b73ecb7e3e120216a8cb0e53ec12f4a552d44 | df82401a4fbb64f37b3ed00aa17d82600996f811 | /sistemas lineares - jacobi.sce | 59b489b34e3d2c3255e968ccd77c9b64d134aeec | [] | no_license | ItaloOliveiraF/Algoritmos | 9600fa8e95fed942414250e92e93286320548795 | ff32fb26414e14d7b55b39cba7025eb2f844ea5b | refs/heads/master | 2020-04-04T19:11:32.124542 | 2018-10-26T02:59:35 | 2018-10-26T02:59:35 | 156,195,729 | 1 | 0 | null | 2018-11-05T09:56:50 | 2018-11-05T09:56:49 | null | UTF-8 | Scilab | false | false | 733 | sce | sistemas lineares - jacobi.sce | clear;
clc;
// Implementação resolução pelo método de Jacobi
function [x, Er]= jacobi(A,b,x0,n)
[l,c]=size(A)
erro = 1;
cont = 1;
x = x0;
while (cont <= n)
xa = x
for i = 1:l
soma=0;
for j = 1:l
if(j~=i) then
... |
62df819ba4eeb02ad8b8c26c618f355632b36849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH7/EX7.2/EX7_2.sce | 466204c7cabed2d598f63847feb966c3455b3184 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | EX7_2.sce | //EXAMPLE 7-2 PG NO-437-438
Z11=99+%i*99;
Z12=-%i*100;
Z21=20-%i*102.26;
Z22=90.06-%i*120;
Z1=Z11-Z12;
disp('i) Impedance (Z1) is in rectangular form = '+string (Z1) +'ohm ');
Z2=Z22-Z12;
disp('ii) Impedance (Z2) is in rectangular form = '+string (Z2) +'ohm ');
Z3=... |
cb5375768a5ee9cc9392c1b3561fa40662786b9a | 2f14b5754bf00d8f425d930813ec9fbb37443f20 | /Fibo.sce | 10d182c072679ff282f76c7ce2eb645e3c3c98d9 | [] | no_license | sohamkan/Sci-projects | 9f14b01e4937ccf3cf59732fc19d495d566bfaae | 5baf7456498ba0075760095655826b7ddcae471e | refs/heads/master | 2022-11-22T04:03:53.155413 | 2020-07-12T04:31:34 | 2020-07-12T04:31:34 | 278,990,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sce | Fibo.sce | //fibo
clc
s=zeros(1,10)
s(1)=1;
s(2)=1;
for i=3:10
s(i)=s(i-2)+s(i-1)
end
disp(s)
|
3c2fea82519548c07889b55372a47b3b275af604 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH6/EX6.13/EX6_13.sce | be3b231b4fd97fde2f46c9131a4dd30f00e17ae8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | EX6_13.sce | // Exa 6.13
format('v',6)
clc;
clear;
close;
// Given data
R_B= 200*10^3;// in Ω
R_C= 20*10^3;// in Ω
V_CC= 20;// in V
V_BE= 0.7;// in V
Beta= 100;
// The value of collector current
I_C= (V_CC-V_BE)/(R_C+R_B/Beta);// in A
// The collector to emitter voltage
V_CE= V_CC-I_C*R_C;// in V
// The stability fac... |
bb994d4cf4c8b6ca0acbd1a1d8758287fdb6681f | cf99f338f2e97fd7e8ae1ad9b640101832f787ba | /case-studies/week-2/week-2-q1.sce | 07682540d4b2ec277bf4c54fd25885cd3fde94ac | [] | no_license | vsujeesh/BN5205 | b8e88324c1c97971ba3d95c3125d05676b6e4996 | 7386a440ed3e954c4aeb490eebd948d35186635d | refs/heads/master | 2022-03-13T01:00:24.783429 | 2019-10-22T03:23:55 | 2019-10-22T03:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | week-2-q1.sce | clear;
for i = 1:20
if ~modulo(i, 15)
printf("Fizz-Buzz\n");
elseif ~modulo(i, 5)
printf("Buzz\n");
elseif ~modulo(i, 3)
printf("Fizz\n");
else
printf("%d\n", i);
end
end // i
|
6f4a195ff83c6ab7ccc55f7a40741a80d5fcf50d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH18/EX18.1/Ex18_1.sce | b2beb8143d9e788f8b82c19198886a4c969e03b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | Ex18_1.sce | // Example 18_1
clc;funcprot(0);
// Given data
T=20+273.15;// K
m=1.00;// kg
R=296;// J/kg.K
M=28.0;// kg/kgmole
N_o=6.022*10^26;// molecules/kgmole
k=1.380*10^-23;// J/molecule.K
// Calculation
// (a)
V_rms=sqrt(3*R*T);// The kinetic theory root mean square molecular velocity in m/s
// (b)
m_molecule=M/... |
5efbd5fe6af058d177b7e7eac9599688235ea217 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.1/Ex6_1.sce | d8590e0255428f5cf6d6e9c76058fa2fdbfb40db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | Ex6_1.sce | clc;
// after changing dc supply terminals from phase a to phase b
disp('case a');
P=2; // number of poles
te=(2/P)*120;
printf('Number of mechanical degrees through which rotor moves is %d degrees\n',te);
disp('case b');
P=4; // number of poles
te=(2/P)*120;
printf('Number of mechanical degrees through whi... |
f441a6ad3bad6ef503ed308194e4d0dbe0f2e69e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH1/EX1.23/Ch01Ex23.sce | fc6e1121a01fc4f08667861f8dc6f6979db5c384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | Ch01Ex23.sce | // Scilab Code Ex 1.23 Page-34 (2006)
clc; clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
h = 6.626e-034; // Planck's constant, Js
c = 3.0e+08; // Speed of light, m/s
E_K = 13.6*29^2; // Energy of electron in the K-shell
E_L = 13.6*29^2/4; // Energy of electron in the L-shell
// As E_K - E_L = h*c... |
8010424a865802bd04cc8ab7b78cb1ebbfa08df4 | 907843f7d8c0871eec2850b95a5d2077c14c182a | /solvers/CompressibleFlowSolver/Tests/Couette_WeakDG_LDG_adiabatic.tst | 1e509b1a72084ad5547cf51f73c7f42b394d9e8a | [
"MIT"
] | permissive | li12242/nektar | 4792c4f8f88992875ecefb590e804e850887ae19 | a31e519cdde5d58d2fa23e0eaedd54ce3ed9fb72 | refs/heads/master | 2020-05-29T12:21:41.203547 | 2015-07-29T14:15:38 | 2015-07-29T14:15:38 | 65,020,427 | 1 | 0 | null | 2016-08-05T13:26:59 | 2016-08-05T13:26:58 | null | UTF-8 | Scilab | false | false | 1,058 | tst | Couette_WeakDG_LDG_adiabatic.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Couette flow, mixed bcs, WeakDG advection and LDG diffusion, MODIFIED</description>
<executable>CompressibleFlowSolver</executable>
<parameters>Couette_WeakDG_LDG_adiabatic.xml</parameters>
<files>
<file description="Session File">Co... |
a212c7b25232d3cd3d3124421d524f2d80afd608 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.39/Exa_2_39.sce | 2fc7f51bc80876569e8089fbdc7d185190d04cff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Exa_2_39.sce | //Exa 2.39
clc;
clear;
close;
format('v',8);
//Given Data :
mdot=0.4;//Kg/s
C1=6;//m/s
p1=1;//bar
p1=p1*100;//KPa
V1=0.16;//m^3/Kg
u2subu1=88;//KJ/Kg
Qdot=-59;//W
Qdot=Qdot/1000;//KJ/s
W=0.059;//KJ/
Gamma=1.4;
Z2subZ1=0;
h2subh1=Gamma*u2subu1;//KJ
Wdot=Qdot-mdot*(h2subh1);//As C1=C2, C2^2-C1^2=0 & ... |
18f21bd2038f885ec9046bb6c04783acc1fe7711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH4/EX4.7/ex4_7.sce | fcf8d7d3bb2bd0427b96980fc13d06d49a6c15c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | ex4_7.sce | clc;
Va=-10; //voltage in volts
W=100; //work in Joule
q=2; //charge in Coulomb
v=(Va)+(W/q); //calculating v
disp(v,"Voltage in Volts = "); //displaying result |
992ec6e59988143ecef646da1b755b9352af9abc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.11/Ex17_11.sce | 2b9b157eff537d5f62ef6416b250f51ccb5530a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Ex17_11.sce | //Initilization of variables
d=0.6 //m
T_t=800 //N
T_s=180 //N
w=200 //rpm
//Calculations
r=d/2 //m radius
//Torque
M=(T_t-T_s)*r //N.m
//Power
w_new=(2*%pi*w)/60 //rad/s
Power=M*(w_new) //W
//Result
clc
printf('The power transmitted is %f W',Power)
|
3f45852a3b4ebc2ebaae8bbe135aa7b61a271639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.5/Example11_5.sce | f6ddadae9d03dbd44b730b4525257ac1e3423921 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Example11_5.sce | //Example 11.5
clc;
clear;
close;
format('v',8);
//Given data :
Cd=0.66;//constant
H=0.15;//meter
L=0.40;//meter
g=9.81;//constant
Q=2/3*Cd*sqrt(2*g)*L*H^(3/2);//m^3/s
disp(Q,"Discharge in m^3/sec : ");
disp(Q*10^3,"Discharge in litres/sec : ");
|
7613874aee970c46ea6a99a32fab9776666aeda3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.6/Example_a_9_6.sce | a28cb176b3148f76fbbbf21cabf30a09400fc91a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 852 | sce | Example_a_9_6.sce | //Example_a_9_6 page no:406
clc;
Vl=400;
Vrnmag=400/sqrt(3);
Vrnang=0;
Vynmag=400/sqrt(3);
Vrnang=-120;
Vbnmag=400/sqrt(3);
Vrnang=-240;
R=10;
omega=314;
L=1;
C=100*10^-6;
Yph=(1/R)+(1/(%i*omega*L))+(%i*omega*C);
Iph=Vrnmag*Yph;//multiplication of Vrnmag and Yph is rounded off in text book so output line ... |
6e9dfea375101b4b435983de6f09e1c7342e6979 | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/sffs_set_sebit.tst | f96b2a4b87bab0aa00160f14afe7ea43f93776b3 | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 78,332 | tst | sffs_set_sebit.tst | 48 of 475 branches covered (10%)
/*
*------------------------------------------------------------
* Project: cagOS
* Goal:
* Copyright (c) 2013, 2014 CAG Systems, Inc.
*-------------------------------------------------------... |
fdb5f7d9913b0634df7fa6a9a392ce5ae3e7a465 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.9/Ex7_9.sce | a1e724e88001d532a4fc04701d52389ce2e2a768 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Ex7_9.sce | clear
//
//
//
//Variable declaration
theta=30*%pi/180 //glancing angle(radian)
h=1
k=1
l=1
lamda=1.5418 //wavelength(angstrom)
n=1 //order
//Calculation
d=n*lamda/(2*sin(theta)) //interplanar spacing(angstrom)
a=d*sqrt((h**2)+(k**2)+(l**2)) //interatomic spacing(angstrom... |
c9d1279259cbb56968fa66955649663e3937ba33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH4/EX4.3/Ex4_3.sci | 4029835820006b4f3622c519e845b8187e031abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,283 | sci | Ex4_3.sci | clc();
clear
// To find the time required for the billet to remain in the oven
A = 2; // Length of steel billet in ft
B = 2; // Breadth of billet in ft
C = 4; // Height of billet in ft
To = 70; ... |
43b1a5cec594fcff14d2fd5b19c7bd0064871afc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.29/ex5_29.sce | 2b645f821b33a160eb0b3379ab02d5c9ac0d4f21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | ex5_29.sce | // Exa 5.29
clc;
clear;
close;
format('v',6)
// Given data
L = 0.01;// in H
C = 10;// in pF
C = C * 10^-12;// in F
// The frequency of oscillation
f = 1/(2*%pi*sqrt(L*C));// in Hz
f = f * 10^-3;// in kHz
disp(f,"The frequency of oscillation in kHz is");
// Note: In the book, the calculation is wrong.
|
864e0fca78921747d155b6a21e45774cf6c90593 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/specs/scilab/rlocus_ex1-old.sce | 312d3d943992782cd0065a76191528f6da524507 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | rlocus_ex1-old.sce | H = tf(1,[1 -1 0],-1);
evans(H)
H = tf(1,[1 -1 1 0],-1);
evans(H) // Default
xset('window',1)
evans(H,5) // kmax = 5
k=-1/real(horner(H,[1,%i]*locate(1)))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.