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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c80ed31429767800f4ec61823868f7d778ba9a6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH8/EX8.4/ex_4.sce | baf897796a1ea9b7ff044534c3a5e6eed71e55dc | [] | 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 | 723 | sce | ex_4.sce | // EXAMPLE (PG 518)
// Row interchanges on A can be represented by premultiplication of A
// by an appropriate matrix E, to get EA.
// Then, Gaussian Elimination leads to LU = PA
A = [0.729 0.81 0.9;1 1 1;1.331 1.21 1.1] // Coefficient Matrix
b = [0.6867 0.8338 1.000]' ... |
e9a99c9b178c5a0222e600432bb69b01a8389988 | 9ece06ca2908ee48139af02f4ce7463e9338ccef | /tempfiles/ORGATE.tst | 2de85679c4f4d78bde081f6f15514850e0ecfde7 | [
"MIT"
] | permissive | WuShaoa/Nand2Tetris | 1cf4ec205aa5247a32d31ad405681ceba7769b20 | 1e650b3442aa5c9302837596651cbc66edc629ec | refs/heads/main | 2023-07-02T12:05:26.932039 | 2021-08-02T16:40:02 | 2021-08-02T16:40:02 | 321,083,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | tst | ORGATE.tst | load ORGATE.hdl,
output-file ORGATE.out,
compare-to ORGATE.cmp,
output-list a b out;
set a %B0, set b %B0, eval, output;
set a %B0, set b %B1, eval, output;
set a %B1, set b %B0, eval, output;
set a %B1, set b %B1, eval, output; |
d2b4dfcc64fbf8f7ebf6e5dcf8149d62d3a4d642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH4/EX4.3/Ex4_3.sce | cabb1b9ee1a66fe7b3a64438f9c14527bcccbaf2 | [] | 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 | 521 | sce | Ex4_3.sce | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 4.3
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(%e*(0.2*s)/(s*(s+2)*(s+8))))//the given transfer function assiganed to variable h assume K=1... |
b62358553498a6992d492b057d71bcdd2ce7ab61 | 3a9550dbf1d28c3c576a4e102771848477e4f030 | /CalculoII/calculoarea.sce | d3ba90fdf176f0617d4a0e67b3924fa7333a0fd4 | [] | no_license | juzejunior/Faculdade | 6e00800c47e779348c36bba0eaa5b377059373d2 | 458497ef1ca237fd22f794c0af0d4fa7cf285255 | refs/heads/master | 2020-04-12T07:21:30.667824 | 2018-07-05T10:59:59 | 2018-07-05T10:59:59 | 65,511,270 | 0 | 1 | null | 2018-05-08T14:53:12 | 2016-08-12T00:46:55 | C | UTF-8 | Scilab | false | false | 119 | sce | calculoarea.sce | x=0.0:0.2:1
altura = 0
y = x.^2
for i = 1:5
altura = altura + ((y(i) + y(i+1)) / 2)
end
disp(altura*0.2)
plot(x,y)
|
9fae24069b30a24d604fa2839781ee05e61b2281 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH1/EX1.5/Ex1_5.sce | 5830eab3bf22e02b00e3c5e974310d2a4281f07e | [] | 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 | 544 | sce | Ex1_5.sce | //Example number 1.5, Page number 11
clc;clear;
close;
//Variable declaration
rCs=0.165*10**-9; //radius(m)
rCl=0.181*10**-9; //radius(m)
MCs=133; //atomic weight
MCl=35.5; //atomic weight
N=6.02*10**26; //Avagadro Number
//Calculation
a=2*(rCl+rCs)/sqrt(3); //lattice constant(m)
M=(MCs+MCl)/... |
a1cada06d011dd70e7b73c2b8c7dba0f0e24e5c2 | c49a028f382c3baddcd641c1972dd72bb60eaadc | /exp_5_2.sce | 442003ec935245e00273630f4ceb00de7ff79014 | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | exp_5_2.sce | n = input("enter the index from starting to ending ");
Xn = input("enter the value of every point ");
str=input("enter which type of operation you want on samples /doa/fold/scale : ");
num = input("Enter the value for delay(+ve) or advance(-ve) or scaling or enter zero ")
figure(1);
subplot(1,2,1);
plot2d3(n,Xn);... |
f4fe456595782314dd00bec2b13f613d8234b427 | 7f053b29173fd886cfb3520199a442fe76b4f8bb | /ocupacao.sce | 2dc9efad4e4c422bdfefe1c5481333660df68df8 | [] | no_license | erickcampos50/HVAC | 26052b9720b79400c15afb9ea5fdf1c17c00da78 | c9544ebb4911461e3c996bbfd6278c47946991dc | refs/heads/master | 2019-01-02T01:46:06.365422 | 2015-02-02T19:30:33 | 2015-02-02T19:30:33 | 29,926,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | ocupacao.sce | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
//CALCULO DEVIDO A OCUPACAO
function q_ocup_total=ocupacao(hor_ocup_i,hor_ocup_f,p)
q_ocup_uso = zeros(24,1)
for i=hor_ocup_i:hor_ocup_f
q_ocup_uso(i)=1 //Equivalente a 100%, se ocorrer algum erro mudar para 100%
end
q_ocup_tab = [... |
c0d1aaf1998e82038f876289196b69493cdae381 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.37/Ex2_37.sce | e96f6f0fe1b38cb8916cb125789eb5bf835f0e35 | [] | 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,241 | sce | Ex2_37.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 37 // read it as example 36 in the book on page 2.93
clc;
disp("CHAPTER 2");
disp("EXAMPLE 37");
//VARIABLE INITIALIZATION
R1=20; //
XL=15; // in ohms
R2=0; ... |
7cbee7f2c10f26e8de8d0771cf46fc04df5f9a27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH6/EX6.3/Ex6_3.sce | 391e545e947bea49e6e038c666153582e23bc2d3 | [] | 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,243 | sce | Ex6_3.sce | clc
Nd = 10^16
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of diode doping
Nc = 2.8*10^19
disp("Nc = "+string(Nd)+"cm^-3") //initializing value of channel doping
kBT=0.026
disp("kBT = "+string(kBT)+"eV") //initializing value of multiplication of boltzmann constant and 300K temperature
Vf=0.3
disp("Vf ... |
8bd39e10531c465b57c91bf9ce9afb262acf6343 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/sci_all.sci | 665777ef139dc7b88db469c6ff66de9c92baf47c | [
"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 | 108 | sci | sci_all.sci | function [stk,txt,top]=sci_all()
// Copyright INRIA
txt=[]
stk=list('and('+stk(top)(1)+')','0','1','1','4')
|
c687829e3f6c1a114d9e557672ec5c38323dd9da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH12/EX4.13/Ex12_13.sce | 6a845a7d78f8216407b5d0abef83b77a870f0af1 | [] | 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 | 397 | sce | Ex12_13.sce | //Part B Chapter 4 Example 13
clc;
clear;
close;
b=30;//mm(thickness)
l=8;//m
d=260;//mm
D=d+2*b;//mm
N=300;//rpm
tau_s=16;//N/mm^2
Gs=8.5*10^4;//N/mm^2
Gb=4.5*10^4;//N/mm^2
Ips=%pi/32*d^4;//mm^4
Ipb=%pi/32*(D^4-d^4);//mm^4
TsByTb=Ips/Ipb*Gs/Gb;
Ts=%pi/16*d^3*tau_s;//Nmm
Tb=Ts/TsByTb;//Nmm
T=Ts+Tb;//Nm... |
5e80a2b48840b0c5970ed8e37e73e374da953ed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH3/EX3.9/Example_3_9.sce | 3e0e522f7b6b8124977a62d7968c7fac105c5439 | [] | 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 | 163 | sce | Example_3_9.sce | //Determination of Planar (Miller) Indices
clear;
clc;
printf("\tExample 3.9\n");
x=[0 -1 2];
disp(x,"The intercept for the given plane is");
//End |
d454b148c7064708849bb055f463a62ec3d14ec8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%p_d_s.sci | 9d21533f3f6bed8dc646bf7b6b808f0413729790 | [
"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 | 195 | sci | %p_d_s.sci | function [z]=%p_d_s(x,y)
//z = x ./ y , x vector of polynomials y scalar
// and other matrix polynomial
// Copyright INRIA
[m,n]=size(x)
if m*n==1 then
z=x*ones(y)./y
else
z=x./y*ones(x)
end
|
22354040033c4ef31978164c16e6063d90249f6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH25/EX25.7/ex_25_7.sce | ba3a06209ff3754f63998c337eb68daa2ce5cbae | [] | 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,018 | sce | ex_25_7.sce | //find..
clc
//solution
//given
Tb=3*10^6//N-mm
d=1//m
r=500//mm
u=0.3
q=0.61//rad
ub=(4*u*sin(q))/(2*q+sin(2*q))//eqivalent coffint of friction
//ref fig 25.12
//let S be spring force
//taking moment abt fulcrum O1
//S*1250=Rn1*600 + Ft1*(500-250)
//put Rn1=Ft1/ub...
//S*1250=2125*Ft1
//Ft1=S*1250/2125
//taking moment... |
fe2ca9d5c6931cd8638388bd58ca28dabdc3c12e | 7175ebcbd0066f7623383c38f915bcd0e21e6859 | /tp 0/ej1.sce | 556b18d297664cf634f60e4741bacf6d675ffbfa | [] | no_license | julioalucero/mecanica-computacional | c1b59c1d1838c0fc488329bd875c3e72811377fc | 253d0ccc89a30c3817a4f5bc2a9339e959ae1039 | refs/heads/master | 2020-05-30T17:59:55.615823 | 2012-09-04T22:47:13 | 2012-09-04T22:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | ej1.sce | function T = ej1(h,Tl,Tr)
delta=h.^2;
x=0:h:1;
n=length(x)-2;
fila=[-1 (2+delta) -1];
//inicializo la matriz y el vector
A=zeros(n,3);
b=(ones(n,1)*delta);
//primer fila de la matriz
A(1,1:2)=fila(2:3);
//condicion de borde izquierdo
b(1)=b(1)+Tl;
//armo las filas intermedias de la m... |
c930b0695da6000b06990790daa42387561f3ce4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH13/EX13.7/13_7.sce | d5777de69174cba66ae5dc642b5db04bde300a17 | [] | 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 | 6,054 | sce | 13_7.sce | clear;
clc;
// Example - 13.7
// Page number - 447
printf("Example - 13.7 and Page number - 447\n\n");
//Given
T = 460;//[K] - Temperature
P = 40*10^(5);//[Pa] - Pressure
R=8.314;//[J/mol*K] - Universal gas constant
// component 1 = nitrogen
// component 2 = n-Butane
y1 = 0.4974;// Mole percent of nitrog... |
3c059da2cdab5c34d2fb5b8bfdd02dc41a3e830a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH9/EX9.1/Example9_1.sce | 87435c925edf664fcfe1f6214a56236676021923 | [] | 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 | 961 | sce | Example9_1.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 9: POLYPHASE INDUCTION (ASYNCHRONOUS) DYNAMOS
// Example 9-1
clear; clc; close; // Clear the work space and console.
// Given data
phase = 3 ; // Number of phases
n = 3 ; // Slots per pole per ph... |
09fa4b56430142c99b184c76abdc8283a0c86ce5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/2_2.sci | e27f58e688057d1ddd8cd8f3ad924667c74d1c7d | [] | 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 | 137 | sci | 2_2.sci | P0 = 10; //atm
yA0 = 0.5;
T0 = 422.2;//K
R = 0.082;// dm^3.atm/mol.K
v0 = 6;//dm^3/s
X = 0.8;
rA = -1/800;//1/-rA = 800//dm^3.s/mol |
cab50e0f20d2ffb77060f622af2889c72deffd20 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/zpv.tst | 3038cb7d186878025783598d894694915005e870 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,770 | tst | zpv.tst | zaka=zĭ săka=zĭ V;POT
zaka=zĭ rzaka=zĭ V;HAB
zaka=zĭ guzaka=zĭ V;PFV
u+tooˀ gútooˀ V;POT
u+tooˀ batooˀ V;PFV
u+tooˀ rutooˀ V;HAB
asa guasa V;PFV
asa rasa V;HAB
asa gâsa V;POT
u+zûˀu=zhibi bazûˀu=zhibi V;PFV
u+zûˀu=zhibi gúzûˀu=zhibi V;POT
u+zûˀu=zhibi ruzûˀu=zhibi V;HAB
u+s+ialda basialda V;PFV
u+s+ialda gúsialda V;POT... |
716dab0a0a6cd872e7fcefb7fc36386ca18e15fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH2/EX2.4/Ex2_4.txt | 77ab56622f39e86a78b264a9f02daab6d8508243 | [] | 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 | 798 | txt | Ex2_4.txt | //Caption:Find Regulation on full load at 0.8 power factor lagging
//Exa:2_4
clc;
clear;
close;
P_s=500000//Power supplied(in VA)
V_1=2200//Voltage on primary side(in volt)
V_2=500//Voltage on secondary side(in volt)
f=50//frequency(in hertz)
Eff=97//Efficiency of transformer(in %)
Eff_m=75//Maximum efficienc... |
fb30b9ec185444eab2f6851be6c48cb0607063d0 | 669f52463d792f1d4933d95acd31792e2e47b056 | /TestHitori.sce | cc6a3b0d6524268cb09c9b8f1204aeda2fe08ac4 | [] | no_license | larrybolt/wisk2hitori | ce39473d7a49fa32bdfea46f0fc8c8a8acc71163 | 5f01b9c13fa50cf7d4d865c5a34c95b20d195d4c | refs/heads/master | 2021-01-22T15:01:16.856691 | 2016-05-17T10:28:17 | 2016-05-17T10:28:17 | 33,406,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,665 | sce | TestHitori.sce | mode(-1);
warning('off');
z=0
w=1
leeg=-1
//6*6 eenvoudig (iOs "hitori")
N1=[5 2 1 5 4 6
5 4 3 2 5 4
1 5 4 4 6 2
4 4 5 1 5 1
4 3 5 5 2 1
2 4 6 4 5 5]
C1=[z w w w w w
w z w w z w
w w w z w w
z w z w w z
w w w z w w
w z w w z w]
//9*9 eenvoudig (iOs "Real Hitori")
N2=[1 8 2 4 3 ... |
d13834e2dbf9d066573017e98522e1604ca5a28f | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /pushswap42/scripts/docker_file/test_500/test19.tst | 17c24deb34a1235331f7087e4fb47d565c0ec099 | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,893 | tst | test19.tst | 34580 22737 36847 22282 49321 29442 23921 29528 30489 34446 35376 29520 12269 5284 37064 18239 7308 46716 46324 23487 29532 34212 29526 48714 20889 34491 7784 7000 8394 31083 18837 22917 17114 5085 13224 33938 45172 21047 47028 43536 16339 18331 35372 11231 6311 6675 11385 33011 4292 23647 22619 10002 29409 40061 36558... |
62c865382a27b357adfa8ac6858ab3c21f74db3c | daa5574081d4c7f04bf8db4a39ee6f79d5da55b8 | /Experiment_1.sce | 764e75d189d077b2c9c2acdca3f57c24f3a5ae6d | [] | no_license | smasa1112/presentation_practice | fec8a78d3c3c7260d1815174169ff47b1a5a3527 | 599664d4fae6783c52c46d7cb540bbcf35a12b27 | refs/heads/main | 2023-07-18T22:46:30.056399 | 2021-09-23T05:39:07 | 2021-09-23T05:39:07 | 405,818,206 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Experiment_1.sce | begin;
begin_pcl;
int a=1;
int b=2;
int c=3;
array<int> my_numbers[]={1,2,3,4,5};
my_numbers.shuffle();
loop
int i=1;
until
i>my_numbers.count()
begin
term.print_line(my_numbers[i]);
i = i+1;
end;
|
41465f17e63ad0e372a7a87bf612badf60283fb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH12/EX12.1/12_1.sce | c94a9db7a2dba09b7f247adb5d51b4229dc357fa | [] | 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 | 329 | sce | 12_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 12.1
//calculation of the spring constant
//given data
F=4//force(in N) acting
x=5*10^-2//distance(in m) from the centre
//calculation
k=F/x//value of spring constant
printf('the value of spring constant is %d ... |
3e65e6a8e88ae6dc2e30b6f4a1817573c7379468 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH7/EX7.21/7_21.sce | 24d7f1ff69c3158152b8c00b4d855b92b13d5c69 | [] | 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 | 299 | sce | 7_21.sce | c=0.01;//concentration of the solution//
r=10^(-0.51*sqrt(c));
printf('r=%f',r);
a=r*c;//ionization constant//
printf('\nIonization constant=a=%f',a);
PH=-log10(a);//PH of the solution//
printf('\nPH of the solution=PH=%f',PH);
printf('\nBy assuming ideal behaviour PH=-log10(10^-2)=2.00');
|
b1289802cf83bf43cea2bb9cdfdc219006ff8f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.35/2_35.sce | 35a3b7efc57c9e04734ac17f4be8f460b564a1f8 | [] | 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 | 131 | sce | 2_35.sce | //2.35
clc;
Vm=400*2^0.5/3^0.5;
f=50;
w=2*%pi*f;
ir=42;
L=3*Vm/(w*ir)*(sind(120-30)-sind(0))
printf("Inductance= %.3f H", L) |
80e38b53be8a21f2f9301137201c9bc915d3b433 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH4/EX4.8/4_8.sce | 898a8c4bba26c1d1b54ff6546acd3a9a1e0d2753 | [] | 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 | 400 | sce | 4_8.sce | //clc();
clear;
//To determine the magnetic dipole moment and torque
r=0.04; //radius of circular loop in m
i=1; //current in A
B=10^-3; //magnetic flux density in Wb/m^2
theta=45; //angle in degrees
A=%pi*(r^2);
mew=i*A;
tow=i*B*cosd(theta);
//disp(mew);
//disp(tow);
printf("magnetic ... |
fef31ce8e3b2b14fd966d18028cca35a722ff070 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH2/EX2.2.3/US2.sci | ef4dc1374e22e2783a0ef7887c437748170957ea | [] | 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,048 | sci | US2.sci | function[l]=strlen(x)
i=1;
l=0;
[j,k]=size(x)
for i=1:k
l=l+length(x(i));
end
endfunction
function[]=str(st)
stack=struct('a',0,'top',0);
st=string(st);
l=1;
l1=strlen(st);
symb=st(l);
valid=1;
while(l<l1)
while(symb~='C')
if(stack.top==0)
stack.a=st(l)... |
730f48690ca359a2dbfdb0ecdc774988d4632b71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH8/EX8.9/Ex8_9.sce | d159cf18b6ec39b7ec008cf3714f0128898c09b0 | [] | 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 | Ex8_9.sce | clear
//
//
//
//Variable declaration
rho=9*10^-3; //resistivity(ohm m)
mew=0.03; //mobility(m^2/Vs)
//Calculation
sigma=1/rho;
RH=mew/sigma; //hall coefficient(m^3/C)
//Result
printf("\n hall coefficient is %0.3f *10^-4 m^3/C",RH*10^4)
|
ce37b9ce3d7c350be2b1ff4b9a4fc124bdf9f914 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.11/example11_sce.sce | 707de6786e8d2c11b82bc5cb59d89aebbaafe57e | [] | 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 | 281 | sce | example11_sce.sce | //chapter 13
//example 13.11
//page 571
printf("\n")
printf("given")
Av=70;f=100;rs=600;Rc=12*10^3;Rl=120*10^3;Re2=3.9*10^3;hie=2*10^3;hfe=100;R1=Rl;R2=39*10^3;Re1=150;
Zb=hie+Re1*(1+hfe)
Zin=(R1*R2*Zb)/(R1*R2+R1*Zb+R2*Zb)
C1=1/(2*3.14*f*((Zin+rs)/10))
C2=1/(2*3.14*f*Re1) |
911493531b0e94c297f8a4104cdf3fe9488edfcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH11/EX11.2/Ex11_2.sce | a11d053502c9df83338b9bf9ae359c15bde55c18 | [] | 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 | Ex11_2.sce | //Ex11_2
clc
Po_ac = 64//output power
eta = 0.3//efficiency
Pi_dc = Po_ac/eta//input power
disp("Po_ac = "+string(Po_ac)+"W")
disp("eta = "+string(eta))
disp("Pi_dc = Po_ac/eta = "+string(Pi_dc)+"W")
power_losses = Pi_dc - Po_ac//power losses
disp("Power losses = Pi_dc - Po_ac = "+string(power_losses)+"W")
... |
94502f4ada86b11c6502c71f872f5b108b7559cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.18/18.sce | 8b9d02686924c5578ee20470ab3957589b173cf3 | [] | 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 | 405 | sce | 18.sce | clc
m_h=0.2; //kg/s
m_c=0.5; //kg/s
t_h1=75; //0C
t_h2=45; //0C
t_c1=20; //0C
hi=650; //W/m^2 0C
h0=hi;
cph=4.187;
cpc=cph;
Q=m_h*cph*(t_h1-t_h2);
t_c2=m_h*cph/cpc*(t_h1-t_h2)/m_c+t_c1;
theta=((t_h1-t_c1)- (t_h2-t_c2))/log((t_h1-t_c1)/(t_h2-t_c2)); //Logarithmic mean temperature difference
U=hi*h0/(h... |
7c03fa1cb87def427fe99915785ecb5eead9435c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.32/Ex2_32.sce | 6ee2f1aa1802c7daf069547ca21844fe4c896c60 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Ex2_32.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the resistance to be inserted in series
//Exa:2.32
;
;
V=500;//in volts
R_a=0.5;//in ohms
I_a1=60;//in amperes
E_1=V-(I_a1*R_a);//in volts
I_a2=sqrt(((0.75)^3)*I_a1^2);//in amperes
E_2=0.75*E_1*I_a2/I_a1;//in volts
R=-(E_2-480.5)/38.97;
disp(R,'the resistance... |
f40870df045848396566e15a8fabeb87e55247fb | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.18_17.tst | 712e01c079836f49912352c707e328262aca9e50 | [] | 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 | 4,495 | tst | bow.18_17.tst | 18 11:0.16666666666666666 15:0.25 26:0.2 30:0.25 63:1.0 1186:1.0 1502:1.0 1530:1.0 1597:1.0
18 3:0.6666666666666666 9:0.058823529411764705 15:0.25 26:0.2 63:0.5 96:0.07142857142857142 99:1.0 254:0.16666666666666666 576:1.0 635:1.0 1142:1.0 1186:1.0
18 3:0.6666666666666666 9:0.058823529411764705 11:0.3333333333333333 15... |
1af9fbcdd8a230d274857c61bc80bc648a9a5dee | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/scicos/get_region.sci | b63cc2e9289c7fba7b7177dfe4c0e1a3b7e23a58 | [
"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 | 995 | sci | get_region.sci | function [reg,rect]=get_region(xc,yc,win)
// Copyright INRIA
alu=xget('alufunction')
wins=curwin
xset('window',win)
xset('alufunction',6)
reg=list();rect=[]
kc=find(win==windows(:,2))
if kc==[] then
message('This window is not an active palette')
xset('window',wins)
xset('alufunction',alu)
return
elseif windows... |
159dd3308e2b1a14f0937a07a3349ed87ad1a807 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.21/Ex4_21.sce | 09b149df17ac3da1abe028ef72cc93c452f13e2e | [] | 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,339 | sce | Ex4_21.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.21
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
// Given that Back EMF is Zero Because Motor is at Standstill
V... |
68578a94c942abb44d6510744d082f9f65135524 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH6/EX6.9/6_9.sce | d301ad82220b82ab3ddacb1d4bde919396dc2a63 | [] | 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 | 183 | sce | 6_9.sce | clc
//initialisation
r=8.32//j/mol/k
N=6.06*10^23
t=723
T=t+273
//calculations
ke=(3*r*T)/(2*N)
ke1=ke*N
//results
printf(' mean translational kinetic energy= % 1f J',ke1)
|
6c262a767118b82bdc66f5beb1c43198a0f2f059 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.8/Example10_8.sce | f46731430c013c28bece85627e52c197e0fbde78 | [] | 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 | 439 | sce | Example10_8.sce | /////////Chapter 10 Properties Of Steam
///Example 10.8 Page No:188
////Find Mass of steam
///Input data
clc;
clear;
P=25; //Absolute pressure
ts=223.9; //Volume
//Frome steam table (pressure basis at 25 bar)
vf=0.001197; //In m^3/Kg
vg=0.0799; //In m^3/Kg
v=8; //In m^3... |
da18538b92a89ee497ecb215572c6afe5c88f3c8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/demos/bike/macros/macros.control.sci | a0141f3b8064060fa4e5b7608b9ce6ad5e293b2a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 1,892 | sci | macros.control.sci | function [totc,totc_u]=cost(uu)
// Computes the total cost totc and its gradient totc_u
// associated with uu.
// Forward integration : x=[q;qd;integral(c)] evaluated at xinstants
x=ode('adams',x_initc,tmin,xinstants,simulfor);
// Computation of the cost: final cost psi + integrated cost intc
intc=x(2*n+1,nnx);qfinal... |
55035ba32dacfbd5d22396a0abc2048be9c57a55 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kStatus.sci | d505bbea4bf04e7a54c5bce80dade4f443e21abd | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 953 | sci | kStatus.sci | function [] = kStatus(ref)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//KSTATUS Display the status of the motion controller
//
//value = kStatus(ref)
// Displays the 6 values corresponding to the motion controller
// status.
// Use the reference obtained with kopen.
valu... |
5f44f5c72b39f0c79ee87c9a9fc23ecaea25ff76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.15/Example_a_9_15.sce | a88f7cd2d95627141ba66a58066e9fa037d7bc0b | [] | 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 | 302 | sce | Example_a_9_15.sce | //Example_a_9_15 page no:416
clc;
cos_pi=0.8;
Prc=15000;
Pt=Prc*sqrt(3)/0.75;
W=[-1,1,
1,1];
P=[8660.508,
34641.01];
X=inv(W)*P;
disp(Pt,"the total power input is (in W)");
disp(X(1),"the first watt meter reading is (in W))");
disp(X(2),"the second watt meter reading is (in W)");
|
580a5c9eab3c7b5b0b46598e5ddca27373227390 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH3/EX3.5/Ex3_5.sce | 1dc265daac69a7c7c15f4908ed2f2b9fd62c1680 | [] | 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 | 738 | sce | Ex3_5.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex3_5.sce
clc;
clear;
R=2;
L=2;
C=1/12;
omega=3;
XL=omega*L;
XC=1/(omega*C);
Z=complex(R,XL-XC);
Vl=12*sqrt(2);
theta=30;
V=complex(Vl*cosd(theta),Vl*sind(the... |
7aa9b5e8b91bb9db6893a185f0d807e1224597cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH7/EX7.10/7_10.sce | 490b2bd33a8672a8fb8f49f9ceb20451ef108312 | [] | 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 | 193 | sce | 7_10.sce | //example 7.10
clc; funcprot(0);
// Initialization of Variable
h1=390.88;
h2s=285.27;
k=74.0;//Wcvdot/mdot
ks=h1-h2s;//(Wcvdot/mdot)s
nt=k/ks*100;
disp(nt,"efficiency in %");
clear()
|
d3810da0ad67ef1e8f5fb5d1efa5ab10038a3ce0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH6/EX6.3/Ex6_3.sce | 550e966c23661086f0981c67baa5b8ae5340aabd | [] | 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 | 456 | sce | Ex6_3.sce | //Example number 6.3, Page number 6.46
clc;clear;close
// Variable declaration
chi=0.5*10**-5; // magnetic susceptibility
H=10**6; // field strength(ampere/m)
mew0=4*%pi*10**-7; // coefficient
// Calculation
I=chi*H; // intensity of magnetisation(ampere/m)
B=mew0*(I+H); // flux density in material(web... |
953e09b7105484450159c7bf5ef12109684aa54c | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/ArEn/aren.1.tst | 2c552f6ee509f661c4d74ebe11ffe881cd4b50d0 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 814,283 | tst | aren.1.tst | آ ل ي ك ' a l a i c
آ ل ي ك ' a l e c
آ ل ي ك ' a l e k
آ ل ي ك ' a l i c
آ ل ي ك ' a l l i c
آ ل ي ك ' e l e c
آ ل ي ك ' e l l e c
آ ل ي ك a l a y k
آ ل ي ك a l e c
آ ل ي ك a l i k
أ ب ا ا ل خ ي ل ' a b a a l k h a i l
أ ب ا ا ل خ ي ل ' a b a a l k h i l
أ ب ا ا ل خ ي ل ' a b a l k h a i l
أ ب ا ا ل خ ي ل ' a ... |
12bace6f60b85fdd234e32753a603875198df1ec | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_4/Scilab_codes/RH_1.sce | ef10e8c2cc8420ab3b1ff99a57a2e6e3c7ebe70b | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | RH_1.sce | clear;
close;
clc;
s = poly(0,'s');
g1 = s^2 + s+1;
g2 = s^4 + s^2 +1'
G = g1*g2;
disp(G);
disp(routh_t(G))
|
dd5e6f4278a77742a87a1199255fb4986e9b96b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.45/ex2_45.sci | 5684160f5b53533ea05574eeb5a775a7eda3f010 | [] | 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 | 281 | sci | ex2_45.sci | //Chapter 2,Ex45,Pg2.56
//Since the 20 ohms resistor is connected across the 25V source,the resistor becomes redundant
I=35/60
Vth=(10*I)-10
printf("\n Vth=%.1f V \n",Vth)
Rth=50*10/(50+10)
printf("\n Rth=%.2f ohms \n",Rth)
Il=Vth/(Rth+40)
printf("\n Iload=%.2f A \n",Il)
|
ffd398ce5c983cd05732cfc2893145dc249810da | eee96b986bbe9b02c28910e531dc5e4bc96ab8a6 | /raizes/falsaposicao.sci | 4a9f016aa1037929456c5f4f8533ed3db7faa3c7 | [] | no_license | jilcimar/computacao-numerica | 7b7c85bac6a66e8d428cfed08b4f9b61558d19f1 | 093b6f0723026880b10dd100fa523107583eca85 | refs/heads/master | 2021-07-10T11:13:20.533276 | 2019-09-09T13:50:17 | 2019-09-09T13:50:17 | 203,243,471 | 0 | 2 | null | 2020-10-02T12:19:49 | 2019-08-19T20:13:24 | Scilab | UTF-8 | Scilab | false | false | 472 | sci | falsaposicao.sci | //falsa posicao
function [y] = k(x)
y = sqrt((9.81*((465-x)/320)**2)/(((356/320)-(270/320)-((465-x)/320)*tan(-0.515549))*(cos(-0.515549)**2)*2)) //aqui vai a função
endfunction;
function [x,it]=falsa(a,b,p,n)
it =0
erro =1
x=a
while erro>p & it<n
xa=x
x=a-(k(a)*k(a-b))/(k(b)-k(a))
... |
8e072b7936aa706da5146d0af4d387fdd7ee019c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH3/EX3.2/Ex3_2.sce | 10e13d90b32474e1323e60ac64f4ef1a328b04b8 | [] | 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 | 231 | sce | Ex3_2.sce |
//calculate the emf inducedin a long wire
B=1.2;//weber/meter^2...flux density
V=4;//meter/second..velocity of conductor
l=2;//meter...lenght of
e=(B*V*l*1)//sin90=1
disp('emf induced in the conductor='+string(e)+'volt');
|
cc6ea016af616c7d34b7a680285f390b10f2f1e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH5/EX5.8/EX5_8.sce | 19d750c0cd2bb3098eb9a8fae3a4f68a06f633e0 | [] | 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 | 930 | sce | EX5_8.sce | //chapter 5
//example 5.8
//page 429
clear;
clc;
disp("example 5.8");
disp("P=6 , f=50");
P=6;
f=50;
Sp=12; //slots per pole
Cs=4; //conductors per slot
Fp=1.5;
TS=Sp*P
printf("total number of slots=%d\n",TS);
printf("total number of slots per phase= %d\n", (TS/3));
printf("total numb... |
4e44cf777310637ee247d5cdd82d1aa6cfb18855 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH20/EX20.1/20_01.sce | 5446e0ee613a9e364e0ec1c04c4f55bb2f19ed38 | [] | 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,032 | sce | 20_01.sce | clear
clc
uo=0.3;umf=0.03;//m/s
vo=0.3*3.14159;//m3/s
d=2;//m
db=0.32;//dia of bubble(m)
emf=0.5;
W=7000;//kg
CAo=100;//mol/m3
D=20*10^-6;//m2/s
density=2000;//kg/m3
k=0.8;
alpha=0.33;
g=9.8;//m/s2
//Using bubbling bed model
//Rise velocity of bubbles
ubr=0.711*sqrt(g*db);
ub=uo-umf+ubr;
delta=uo/ub;
... |
c6a68822f8fc3b16e4561e218c2d997eb6a23c1c | 7a7243b631b4f0fb324461821ad8dad7d9534fff | /napari_gateway/cpp/builder_gateway_cpp.sce | 3dbee680e00b32e509561333f39a7e4a00629f0c | [] | no_license | Mishrasubha/napari-toolbox | 1db240ec69cb1c3499fd639c790555716493f54a | e1b8dfe5539d457a57ca20dae2661dab55088368 | refs/heads/master | 2022-10-11T20:49:00.512777 | 2020-06-15T07:14:11 | 2020-06-15T07:14:11 | 272,357,233 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,422 | sce | builder_gateway_cpp.sce | //
// scipython ( http://forge.scilab.org/index.php/p/pims ) - This file is part of scipython
// Copyright (C) 2017 - Scilab Enterprises
//
// 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 distrib... |
f4631c105f4b62c29459e0720ac8ad37fda0214c | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH3/EX3.17/example3_17.sce | 80dd7d4f5fe227424deb887a7d11bfd20a7ed83c | [] | 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 | 583 | sce | example3_17.sce | clear;
clc;
//Example13.17[The R value of a Wall with Rigid Foam]
//Given:-
//using values from previous example
R_old=2.23;//AS written in book[m^2.degree Celcius/W]
//R value of of the fibreboard and the foam insulation, respectively
R_removed=0.23;//[m^2.degree Celcius/W]
R_added=0.98;//[m^2.degree Celciu... |
da07fc53e198e06bab38bd1967efbd7f920267db | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/misc/os2xi.sci | 4643bddd36e3a59f69409b2c8830fae8442920cb | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sci | os2xi.sci | function [xi]=os2xi(os)
// Calculates the damping factor xi for a 2. order system
// with %OS os
os=os/100;
xi=-log(os)/sqrt(%pi*%pi+log(os)*log(os));
endfunction
|
937fb116cea70050b5a2256dd895aacb1257219b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH9/EX9.2/Ex9_2.sce | c77a0840beee70e8de4fd48f6c5c3aa5d575d58f | [] | 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 | 283 | sce | Ex9_2.sce | //Variable Declaration
delF=200 //Peak Deviation(kHz)
f=0.8 //Test tone frequency (kHz)
//Calculation
m=delF/f //Modualtion index
B=2*(delF+f) //Bandwidth of the signal(kHz)
//Results
printf("The modulation index is %.f" , m)
printf("Bandwidth of the signal is %.1f kHz",B)
|
370b4416dfa813afd9b6879f2701b4890f5e42f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.14.1/Ex3_14.sce | 62a3005d52a7656a56d91207d1c61649189356c9 | [] | 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 | 804 | sce | Ex3_14.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
P2=6;
Cp=1.75;
P1=1;
n=1.3;
T1=30+273;
M=30;
m=2;
Ro=8314.4;
R=(Ro/M)/100... |
55d23a34172233f6686b252614d1066cfd9636f2 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSePhaseMod.sci | 0262b4deedeb04eaa8dafdd80d00579cffa74b7d | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sci | SSSePhaseMod.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Y=SSSePhaseMod(X,V)
// Electrical Phase Modulator
//
// Calling Sequence
// Y=SSSePhaseMod(X,V)
//
// Parameters
// X : Electrical Input
// V : Electrical Input
// Y : Elect... |
3827ee14c2d3ef0746b2847c7db16df1a388e3e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.7/example10_7.sce | 3dd6faabbbf87067aa6db9ed74d25eddf73a6b0a | [] | 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 | 235 | sce | example10_7.sce | r1=10^3;
r2=2*10^3;
r3=3*10^3;
r4=4*10^3;
r5=5*10^3;
v1=10;
v2=20;
vr2=v1*r2/(r1+r2);
vr4=v2*r4/(r4+r5);
vth=vr4-vr2;
rth=r1*r2/(r1+r2)+r4*r5/(r4+r5);
i=vth/(rth+r3);
disp("the current (in mA) through R3 is"); disp(i*10^3); |
23bf5be124e1820acfc35d7290067e3d5c5acb2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH1/EX1.15/Ex1_15.sce | 798275d7c8294fe58ce7022d468f041f72f40df2 | [] | 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 | 231 | sce | Ex1_15.sce | // chapter 1 , Example1 15 , pg 26
lam=2*0.4*10^-3 //distance between 2 antinodes is lam/2 (in m)
n=1.5*10^6 //frequency of crystal(in Hz)
v=n*lam //velocity
printf("velocity of waves in sea water\n")
printf("v=%.1f m/s",v)
|
7ecc21fdcb8cbfe841f192b88c5c3ed06d8abc69 | 5ba9974f88f5d5ba808f9905096f7cd42fb380cb | /ES84/ES 84 removal exams/input.sce | 8f1110923167e6a8ad9f3c20f43719eec438d043 | [] | no_license | Ailen-Aspe/test | a721d5ac0dc214d1a94d850bf1e5ce4f05b94592 | 884c7665fb122a21681f21a5e0137cb8aaecd6e3 | refs/heads/master | 2020-12-24T10:24:35.969105 | 2017-01-14T07:04:02 | 2017-01-14T07:04:02 | 73,158,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | input.sce | function y=f(x)
y=exp(-x).*(3.2*sin(x)-0.5*cos(x))
endfunction
tol=0.00000001
//dispay the following:
//1. root (at least 9 decimal places or scientific notation)
//2. number of iterations:
//3. error (at least 9 decimal places or scientific notation)
//4. 3-4
//5. bisection |
a89da78c439113fc478856831fd7d97493976813 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.3/Ex1_3.sce | abaa730f98f8a88403bc1481c762730fbc280b0c | [] | 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 | 275 | sce | Ex1_3.sce | clc
//
//
//
//Variable declaration
D=1 //Distance from screen
Beta=0.31*10**-3 //Fringe Width
d=1.9*10**-3 //Slit separation
//Calculations
lambdaa=(Beta*d*10**6)/D
//Result
printf("\n The Wavelength lamda=%0.4f *10**-6 m",lambdaa)
|
9cf8bb5af4322495d7d9d4adac2d3fb640c21687 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/theory_z_V.sce | 60c2bb2b2232466f55975cfca4d9fd14468a357a | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | theory_z_V.sce | q=7;
f=q+1;
npp=100;
M=(%pi*npp/2)/acos(sqrt((f-1)/f));
for k=1:200
V(k)= -3*log(cos((%pi/2)*(k/200)))-((3*%pi^2/8)*((k/200)^2-(k/M)^2));
end
for k=1:200
res(k,1)=k;
res(k,2)=V(k);
end // for k
//
// Write data into file
s0 = '~/imc/StarBrush/Neutral/Poty/test/' ;
s = s0 + 'q'+string(q)+'_theory_z_V*' ... |
588d121461cc14c1f17fe95c69f65a367e11d8ea | 1ebbdce5d3f3daa6d9e8b439410e447941bc49f5 | /résolution numérique/modèle alexis.sce | 7d187b95c459bfd5c26dd35c43c1b44208777877 | [] | no_license | sebastienbaur/legionella_proliferation_modeling | 2aff0e2499584e99c07116a700e43218976b9b12 | ae9b5d4dde1912a98584c6319eae41980355ef03 | refs/heads/master | 2020-03-07T15:25:49.881820 | 2018-03-31T17:27:52 | 2018-03-31T17:27:52 | 127,554,634 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,012 | sce | modèle alexis.sce | T=3000;
H=10^(-5)*200;
n=7200;
m=200;
dz=H/(m+1);
dt=T/(n+1);
D = 10^(-10);
k_1 = 10^(-4) ;
k_2 = 2*10^(-4) ;
k_3 = 5/86400 ;
k_4 = 2*10^(-4) ;
k_5 = 2*10^(-4) ;
k_6 = 5/86400 ;
rho_A = 60;
rho_L = 60;
L_ini=5;
A_ini=5;
N_ini=5;
lambda=1;
L=zeros(m+2,n+2)
A=zeros(m+2,n+2)
N=zeros(m+2,n+2)
u=zeros(m+2,n+2)
Ltronq=zero... |
b09d0beb2d7690f405842ae54fbffd5b83725368 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH5/EX5.19/ex_19.sce | 3939854df3bf7aec4b7ca9708af492eabb8426a0 | [] | 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 | 187 | sce | ex_19.sce | //Example 19 //temperature
clc;
clear;
close;
t1=0;//degree celsius
t1k=t1+273;//kelvin
rt=2;//
tk=rt^2*t1k;//Kelvin
t=tk-273;//degree celsius
disp(t,"temperature is ,(degree-celsius)=")
|
dcbb09debe5bfa10878631d1f7abc39a3ad2ab43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH1/EX1.9.1/1_9_1.sce | b7ff33ad9279f3f763c01a6842cac53349097f11 | [] | 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 | 195 | sce | 1_9_1.sce | clc
//initialisation of variables
Kg= 12 //ft
g= 32.2 //ft/s^2
GM= 2 //ft
//CALCULATIONS
T= 2*%pi*sqrt(Kg^2/(g*GM))
//RESULTS
printf ('periodic time of rolling of the ship= %.1f sec',T)
|
e6fe50f98d5703f840833e76cd820207784d6515 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH4/EX4.22/ex4_22.sce | 6630f070577bf26a4dbfdf0e106a169031d942a0 | [] | 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 | 417 | sce | ex4_22.sce | // Exa 4.22
clc;
clear;
close;
// Given data
R = 100;// in ohm
T = 25;// in degree C
alpha = 0.00392;
R1 = R*(1+(alpha*T));// in ohm
expression= 'R_T= Ro*[1+alpha*T]';
disp(expression,"The expression for the resistance at T°C is : ")
disp(R1,"The transducer resistance at 25°C in Ω is");
T = 100;// in degree... |
316599f0e304157bd0bb18ff756d6b76bf81152f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH29/EX29.3/Ex29_3.sce | e5a7fbe6fb3c9aa89594c4ad90b67a1a55e716a8 | [] | 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 | 979 | sce | Ex29_3.sce | //Example 29.3
h=4.14*10^-15;//Planck's constant (eV.s)
c=3*10^8*10^9;//Speed of light (nm/s)
lambda=100;//Wavelength (nm)
E=h*c/lambda;//Photon energy (eV)
//The value h*c=1240eV.nm may also be used directly
printf('Vacuum UV photon energy = %0.1f eV',E)
//Discussion
E1=10;//Energy to ionize atom or molecule (... |
5034826705b9d9be67edc2e612d46bdc5109cb95 | 19ba35741abeefce1e69482bfe706700a7c4fe54 | /shift.sci | 02061ac5aab2988b72b68e3adfc1fee4c9a2319a | [
"MIT"
] | permissive | swarlesbarkely/SciLab_Functions | 3c3be10d2025c06aa59bdc985d31239d59860d96 | f97d45ee7c2e574041a7b2845e6aad3bfbb76dad | refs/heads/master | 2021-01-17T11:28:57.829853 | 2017-06-06T01:20:01 | 2017-06-06T01:20:01 | 33,019,021 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sci | shift.sci | //******************************************************
// Shifts the elements of x to the right n times
// NOTE: Negative n shifts to the left
// Elements shifted past ends of x are ignored
//******************************************************
function y = shift (x,n)
y = zeros (x);
for i = 1:length ... |
105e0316a81c46987aa9809663de6eeb65b8ce7d | 117dfe11397868e23e4177974ee4db6128616157 | /qpipopt/qpipopt_logical_1.sce | 38a8cdd7e9f259943b48f27855f619db3f703076 | [] | no_license | harpreetrathore/OR-toolbox-test-cases | 161ec31daa75c7bdfe68519e43975b9452d81d30 | ad6fd408ea41e74e56b31a5bc756639e521a20e3 | refs/heads/master | 2021-01-21T08:24:31.441859 | 2015-11-17T16:54:58 | 2015-11-17T16:54:58 | 45,449,825 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | qpipopt_logical_1.sce | //Find x in R^6 such that:
// A simple example with constraints
conMatrix= [1,-1,1,0,3,1;
-1,0,-3,-4,5,6;
2,5,3,0,1,0
0,1,0,1,2,-1;
-1,0,2,1,1,0];
conLB=[1;2;3;-%inf;-%inf];
conUB = [1;2;3;-1;2.5];
lb=[-1000;-10000; 0; -1000; -1000; -1000];
ub=[10000; 100; 1.5; 100; 100; 1000];
//and minimize 0.5*x'*Q*x + p'*x with
p=[... |
f01e1a6b2ac00031f2a8cfd9f7297169820c8a14 | d7ec0352fdd4cf451ee9dd6bac2218fb96c24c0f | /src/gui/qml/img/tab-left-bg.sci | f4cff7ccf49455366a227b352d427b4ca69f77f7 | [] | no_license | mireq/facedetect | d3fc340926a54e144dcf09ef4a814a77cbc9afde | 94ab039149efb2d8f1496c6042bf3a6b133bb49e | refs/heads/master | 2021-01-22T04:33:34.209921 | 2011-05-13T01:08:47 | 2011-05-13T01:08:47 | 1,525,248 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 85 | sci | tab-left-bg.sci | border.left: 0
border.right: 7
border.top: 0
border.bottom: 0
source: tab-left-bg.png |
98d80a13e79d7706afb1bbc8fba91895b953c6a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH7/EX7.3/7_3.sce | c2646e723864e12e8a68ebe71aecc391fb038056 | [] | 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 | 452 | sce | 7_3.sce | pathname=get_absolute_file_path('7_3.sce')
filename=pathname+filesep()+'7_3data.sci'
exec(filename)
D=(E*t^3)/(12*(1-v^2));
X=(16*q0/(D*%pi^6))/((((1/a^2)+(1/b^2))^2)+(Nx/(D*a*a*%pi^2)));
function[w]=f(x,y),//taking first term only
w=X*(sin(%pi*x/a))*sin(%pi*y/b);
endfunction
x=linspace(0,a,10*a);
y=linspa... |
1c2d22fcc960c898d080190701497bfec9ba5ecc | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/stack01.tst | 0f3df80ac2f3524b9ed1330f4608035c9ab2bbd1 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | tst | stack01.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the behavior of the software stack"
; @Result: "sram[sp+1] = 42, sp = 254"
start:
ldi r17, 255
out spl, r17
ldi r16, 42
push r16
end:
break
data:
|
6883ddf0fd45ba216b131ec08fbf467c78620990 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.9.a/9_a.sce | 4ef0d42184ffa3c7a76b5fabc9423713809a7bf0 | [] | 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 | 405 | sce | 9_a.sce | //simplification of boolean expression//
//example 9.a//
clc
//clears the command window//
clear
//clears//
//simplification of boolean expression//
disp('given Y=ABC''D''+ABC''D+ABCD''+ABCD')
disp('since D+D''=1,we get')
disp('Y=ABC''(D+D'')+ABC(D''+D)')
disp('Y=ABC''+ABC')
disp('Y=AB(C+C'')')
disp('the si... |
d5b31e786887b097adab0a216da64ce868586ce6 | 51e9b626c77bd433b81b6b9830d2db2518806582 | /task1/kadai3.sce | b876b50f2213d71df5eb37255abb995857cba4e4 | [] | no_license | hama1185/IinteractiveSystem | 1e005fd92fa4b89e4f75926a4f872595aa831a8f | fb880fc82fa8e477306695f5abd7d6b0e0f0a24c | refs/heads/master | 2022-12-19T12:48:36.368503 | 2020-05-30T08:18:55 | 2020-05-30T08:18:55 | 268,037,754 | 0 | 0 | null | 2020-06-11T05:37:25 | 2020-05-30T08:16:47 | Scilab | UTF-8 | Scilab | false | false | 763 | sce | kadai3.sce | fs = 44100;//サンプリングレート
T = 0.25;//音の生成時間(この値の2倍の長さ)
t = [0 : T * fs - 1] / fs;//時間軸の設定
//音の周波数リスト
C = 1046.502;//周波数ド(C)
D = 1174.659;//周波数レ(D)
E = 1318.510;//周波数ミ(E)
F = 1396.913;//周波数ファ(F)
G = 1567.982;//周波数ソ(G)
A = 1760.000;//周波数ラ(A)
B = 1975.533;//周波数シ(B)
//石焼き芋の歌
c = sin(2 * %pi * C * t);
d = sin(2 * %pi * D * t)... |
f823961443e629980a61c0e509da3b5f3c27e603 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/TX40CDR/ATWM1_Working_Memory_MRI_TX40CDR/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | 48a6e5fa9b2bb4f7fff54ffe7dc510ef4b04eb48 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,492 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds =... |
1ae941031aba656a7bb76b89618d1cf4ad3f2ac8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH7/EX7.3/ex7_3.sce | 591c00f8d63866d83a5e6751f57360b53f95a5e2 | [] | 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 | 164 | sce | ex7_3.sce | //Example 7.3, page no-438
clear
clc
//(b)
R=0.5
L=5
p_diff=800
V=10
mu=(3.14*R^4)*p_diff/(8*V*L)
printf("(b)\nmu=%.4f poise =%.2f centipoise",mu,mu*100)
|
75002ce60074413f1f70acf19417d92b02ccc46d | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 4/questao6.sce | e2aa932bcbd70f2985eaeb87b5b21c51f2cc65e3 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | questao6.sce |
function questao6()
//gera uma matriz aleatória 5x3
A=rand(5,3)
// Faz svd de A
[U1,S1,V1]=svd(A)
//B recebe a matriz resultante da quinta questao
B=FiveQuestion(A)
//Faz o svd de B
[U2,S2,V2]=svd(B)
//Compara V1 e V2
if V1==V2 then
disp("V1... |
5a054a810103ec0523437e3592028e69d590d77f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH3/EX3.2/Ex3_2.sce | 37c43c0671235b2cd130c56d5dc30164d45661af | [] | 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 | 322 | sce | Ex3_2.sce | //Example 3_2 page no:113
clc
R1=10//resistance in ohm
R2=5//resistance in ohm
R3=20//resistance in ohm
r1=((R1*R2)+(R2*R3)+(R3*R1))/R3
disp(r1,"resistance r1 is (in ohm)")
r2=((R1*R2)+(R2*R3)+(R3*R1))/R1
disp(r2,"resistance r2 is (in ohm)")
r3=((R1*R2)+(R2*R3)+(R3*R1))/R2
disp(r3,"resistance r3 is (in ohm)")... |
d5b34e738fed4e04257d98fcffc47c27c4777a3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.6/Ex1_6.sce | 81fa6b5f440c91cd73d68f82b200bddfbe39f864 | [] | 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 | 810 | sce | Ex1_6.sce | clc,clear
//example 1.6
//To find values of all trigonometric functions for 45 degree
//Consider a square of side 1 and divide it half diagonally
//ABC is now an isosceles triangle
//angle A and B are now equal and = 45 degree
AC=1;
BC=1;
AB=sqrt(AC^2+BC^2) //by pythagoras theorem
c=AB //we denote AB by c... |
450ca0a18ac90e36bd777378feabe999f45824e2 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oi_bfa_mt/~BivLCM-SR-bfas_oi_bfa_mt-PLin-VLin.tst | 180a84d1643de8cc285d908109414bc0b7062e08 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfas_oi_bfa_mt-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.265455D+00
2 -0.165887D-02 0.214968D-02
3 -0.722794D-01 0.67048... |
06a797319283b8f2e03767561f7645998785d0e9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH1/EX1.9.a/ex_1_9_a.sce | b88df9d3779d48a6ad8a00025af2e77d64e8cae9 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | ex_1_9_a.sce | errcatch(-1,"stop");mode(2);// Example 1.9.a.sensitivity
,
// given :
Mo=2.4; // magnitude of output response in mm
Mi=6; // magnitude of input in ohm
S=Mo/Mi;
disp(S,"sensitivity,S = (mm/ohm)")
exit();
|
cb3a0195b7fc44bbfe4e5a6f63941fed7ffcc497 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH6/EX6.11/Ex6_11.sce | 1a9a824ff365cbfea45432a804ab7bb2f97521be | [] | 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 | 256 | sce | Ex6_11.sce | //Example 6.11//
s=125;//ksi
s=95;//ksi
s=65;//ksi
T=540;//degree C
T=595;//degree C
T=650;//degree C
x=[540 595 650]
y=[125 95 65 ]
plot2d(x,y, style=1)
ylabel("stress (ksi)","fontsize",2 );
xlabel("T(degree C)")
mprintf(" T = 585 degree C")
|
6e63b66eaf2b56bb9e34781fb49aa4c31311944d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH8/EX8.14/example14.sce | d91050edf0c0a57a7c7a6f62f1bff0daeeae2cc9 | [] | 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 | 179 | sce | example14.sce | s=%s ;//convert to state space
K=1;
TFcont=syslin ('c',K/(s ^4+3*s^3+3*s^2+3*s+2))
SScont=tf2ss (TFcont )
[Ac ,Bc ,U, ind ]=canon( SScont( 2 ) , SScont( 3 ) )
disp(SScont)
|
162e2103cc085dd38614e873fd1d7d149379c549 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH13/EX13.10/Ex13_10.sce | af530b5b0eb404587e1da1484152d637cc0f7ee5 | [] | 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,124 | sce | Ex13_10.sce | clc
//Given that
v = 300 // Aircraft velocity in m/s
p1 = 0.35 // Pressure in bar
t1 = -40 // Temperature in degree centigrade
rp = 10 // The pressure ratio of compressor
t4 = 1100 // Temperature of gases at turbine intlet in degree centigrade
ma = 50 // Mass flow rate of air at the inlet of compressor in kg/s
... |
98f180d537a498b94b7a735532ba6671135d27fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH8/EX8.6/example6.sce | 606ec29d44dabc5976409519991585995f4079c1 | [] | 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 | example6.sce | // find collector to ground voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 8-6, page 271
clear;clc; close;
// Given data
Vee=15;// in volts
Vcc=15;// in volts
Rc=10*10^3;// in ohms
Re=20*10^3;// in ohms
// Calculations
Ie=(Vee-0.7)/Re;/... |
d8cc439bc43ba33d5b66adfa27439c3299dc8f78 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_poisscdf.sci | 80ac233f00b6f0b1594625fba1cf60113b007c92 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,280 | sci | distfun_poisscdf.sci | // Copyright (C) 2012 - Prateek Papriwal
//
// 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_V2-... |
64ee950d7a79ad1b20bdf331088b1e42ec2da512 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH25/EX25.16/example25_16.sce | 1e49a9557bbf4a19e019b64fff1c42fa3a99aa61 | [] | 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 | 417 | sce | example25_16.sce | m_v1=50;
m_v2=30;
m_v3=75;
deg_v1=20*%pi/180;
deg_v2=50*%pi/180;
deg_v3=-80*%pi/180;
v1=m_v1*(cos(deg_v1)+%i*sin(deg_v1));
v2=m_v2*(cos(deg_v2)+%i*sin(deg_v2));
v3=m_v3*(cos(deg_v3)+%i*sin(deg_v3));
v=v1+v2+v3;
a=real(v);
b=imag(v);
m_v=sqrt(a^2+b^2);
deg_v=atan(b/a)*180/%pi;
disp("the the supply voltage ... |
824adc9d793291dbfb2e300c7ee22a3b54d238aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.28/Ex_2_28.sce | 218b6b0d382c5f316a772b0e89d0165e99026ea7 | [] | 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 | 357 | sce | Ex_2_28.sce | // Example 2.28:Core diameter
clc;
clear;
close;
n1=1.5;//Core Refractive Index
d= 0.01;// Cange in core-cladding refractive index
alpha=2;// index profile
h=1.3;//wavelngth in micro meters
Vc=2.405*sqrt(1+2/alpha);
a=(Vc*h)/(2*%pi*n1*sqrt(2*d));
di=2*a;
disp(di,"core diameter in micro meters")
//answer is... |
7c054acee45e00f930fdf4ee826ecef9542de883 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH5/EX5.2/Ex5_2.sce | 84a4e244ef3507f557dc4513d534da46f967b058 | [] | 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 | 739 | sce | Ex5_2.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 5.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
h=6.6e-34;//Planck's constant in SI Units
c=3e8;//Speed of light in m/s
lambda=550e-9;//Average wavelength in m
k=1.38e-23;//Boltzmann constant in SI U... |
711f80f650734167aae16cd72efd7009621230bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.a.9/Example_a_4_9.sce | 412157f28c3159e0b5da1f2427356ac42f42b4bb | [] | 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 | 173 | sce | Example_a_4_9.sce | //Example_a_4_9 page no:179
clc;
f=2*1000;
C=0.01*10^-6;
Xc=1/(2*%pi*f*C);
Xc=Xc/1000;//converting to killo ohm
disp(Xc,"the capacitive reactance is (in killoOhm)");
|
73fdba089ff45b716c1eb12d0889c5086fcf91f2 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_n_hrz_ind_d/~BivLCM-SR-bfi_n_hrz_ind_d-PLin-VLin.tst | 591ebc7bd7060e105a941f60c0e1b8f1151269d3 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_n_hrz_ind_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.482960D+00
... |
a23028589578f344eb3071354d41f58ee26f4437 | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH9/EX9.8/eg9_8.sce | be64bcac05a4b7b37657fe734af8c9e7176ea2c1 | [] | 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 | 576 | sce | eg9_8.sce | kT = 26*10^-3; //in eV
q = 1.6*10^-19;
ni = 1.5*10^10;
eps0 = 8.85*10^-14; //in F/m
eps = 11.9*eps0;
eps1 = 3.9*eps0;
phiMS = 0;
Na = 4*10^14;
dox = 200*10^-8;
L = 10^-4;
Z = 10*10^-4;
Vgs = 5;
Vd = 4;
un = 700;
phiF = kT*log(Na/ni);
disp(phiF,"The Fermi level position (in V) for the device = ")
Qs = (4... |
de7b9f2593e6defc300b86cf12513c30d201d7b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH7/EX7.10/Ex7_10.sce | cd53ef70ddd5b556f4fdbe404bf419a9e6d43829 | [] | 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 | 432 | sce | Ex7_10.sce | clear
//Given
E=12 //V
I=1 //A
r=0.5 //ohm
//Calculation
P1=E*I
P2=I**2*r
P=P1-P2
//Result
printf("\n (i) Rate of consumption of chemical energy is %0.3f W", P1)
printf("\n (ii) Rate Of energy dissipated inside the battery is %0.3f W",P2)
printf("\n (iv) Rate ... |
8cecd0713e4f90d5dfd48d86e2a00c2543adea36 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/san.tst | 322660d3ade2b297b62ea3bf6b7024b013c294ba | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 331,886 | tst | san.tst | क्रोश क्रोशाः N;NOM;PL
सूकर सूकराभ्याम् N;INS;DU
संधि संधिनी ADJ;NOM;NEUT;DU
चण्डाल चण्डालाभ्याम् N;DAT;DU
श्रोणि श्रोणिभिः N;INS;PL
सहस्र सहस्राः ADJ;VOC;FEM;PL
वसु वसुभ्यः N;ABL;PL
जुगुप्सु जुगुप्सुभ्याम् ADJ;ABL;NEUT;DU
महाभारत महाभारते N;NOM;DU
लोचन लोचनम् N;NOM;SG
इन्द्र इन्द्राभ्याम् N;DAT;DU
पितृमेध पितृमेधस्य N... |
553188821a0f1643e94d122914359e4286095203 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH11/EX11.3/11_3.sce | 8f2c72f04005ec646d97cd381938c467ae87c97d | [] | 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 | 334 | sce | 11_3.sce | clc
//Intitalisation of variables
clear
n1= 2 //moles
n2= 2 //moles
n3= 1 //mole
h1= 54.6 //cal
h2= 7.8 //cal
h3= -69.6 //cal
R= 1.987 //cal
T= 25 //C
//CALCULATIONS
dF= -n1*h1-(-n2*h2+n3*h3)
Kp= 10^(-dF*1000/(2.303*R*(273.2+T)))
//RESULTS
printf ('dF = %.f kcal ',dF)
printf ('\n equillibrium constant =... |
92ce2f38661adc83b5a0105c9bf5e2b90a614ffb | 05df9394f5d45c0bddbd52e4aad8c8210e9e2743 | /Scilab/Bisection.sce | 5f961c8a2b9adc6bd94a83db830a1370b8b85a8a | [] | no_license | pikabing/Scilab | a9fd34b70be3bd552f47fafc409bf7c88573ac7a | 87f2cc1914bfdb6c24a54960e9c49191bbd1f1ad | refs/heads/master | 2020-03-10T09:34:56.522084 | 2018-04-12T21:51:52 | 2018-04-12T21:51:52 | 129,311,712 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 708 | sce | Bisection.sce | function[] = bisection(xi,xj)
xmold = xi + xj / 2;
fxi = xi^3 - 0.165*(xi^2) + 3.99*(10^4)
fxm = xmold^3 - 0.165*(xmold^2) + 3.99*(10^4)
temp = fxi*fxm
if (temp<0) then
xj = xmold
else
xi = xmold
end
xmnew = xi + xj / 2
err = abs(xmold - xmnew / xmnew * 100... |
06f3d98b4318b8ef45915a202b8f5547d84b763b | 4058f38b392324aa5099819881f3c7d7219a174f | /'.sci' files/cmd_shift_out_msb_xcos.sci | 9b3fab7de0de05f7e0da9f830b54245c8f3386f3 | [] | no_license | anupma-s/Scilab-Xcos-Arduino-Digital-Circuits | 612a033422bf14e2e58bcdce371f15cafb30224f | 2b4bf8e8f155d20a5eda2feb31c5523a51569d73 | refs/heads/master | 2021-01-20T17:20:13.073180 | 2016-07-04T15:25:07 | 2016-07-04T15:25:07 | 62,569,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,203 | sci | cmd_shift_out_msb_xcos.sci | function [y]=cmd_shift_out_msb_xcos(dataPin,clockPin,latchPin)
pinstate=0;
data=[0 0 0 0 0 0 0 0]; // an 8-elements matrix represents an 8 bit binary number
y=0;
for j=1:250
pinstate=cmd_digital_in(1,5) //reads the state of serial input pin
if(pinstate==... |
f8756d9a9169ff88d8a5e034b12728444e632d41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH16/EX16.3/16_3.sce | 066ec6a049b4243444220704f8f5157f52ca353a | [] | 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 | 329 | sce | 16_3.sce | clc;
//page no 569
//prob no. 16.3
//Two antennas with gain 5.3dBi & 4.5dBd
//Converting unit dBd in dBi for comparison
G1_dBi=5.3;G2_dBd=4.5;
G2_dBi=2.14+G2_dBd;
if G2_dBi > G1_dBi then
disp('Second antenna with gain=4.5dBd has higher gain');
else
disp('First antenna with gain=5.3dBi has higher gain ... |
e509852cca77bb8785580de95e950056bf3ac97d | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Htickmark.sci | ab8a54b626d869e37b3d9e0252eeff240c079d70 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,860 | sci | Htickmark.sci | // 08.05.17 Debugged
// 09.12.25
// 11.04.13 debugged ( [a,b] )
// 14.03.05 MARKLEN
function Htickmark(varargin)
global Wfile FID MARKLEN GENTEN XMIN XMAX;
Nargs=length(varargin);
ArgsL=list(varargin(1:Nargs));
if type(Op(1,ArgsL))==10
Str=Op(1,ArgsL);
Tmp=mtlb_findstr(Str,'m');
if Tmp~=[]
... |
ba96934cefefe35ef98c7aac3d3ea4d14eb8ad97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH2/EX2.6/2_6.sce | da4d2fd26943d77503cc67c1d39f1af0f7544ccf | [] | 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 | 354 | sce | 2_6.sce | //clc();
clear;
//To determine the fundamental frequency
l=3*10^(-3); //vibrating length of piezo electric crystal in metres
rho=3.5*10^3; //density of piezo electric crystal in kg/m^3
Y=8*10^10; //youngs modulus in N/m^2
new=((10^-3)*(sqrt(Y/rho))*10^(-3))/(2*l);
printf("the funda... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.