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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
083ac5ecd4874b87065e952779443b0942705454 | 002b6230874dea6e4d76defafc1ae293b5744918 | /library/Demos/StdRegions/Tests/StdProject2D_Tri_Mod_P6_Q7.tst | 7c90130e07c0e81f826d8789c21a6c5e712585bd | [
"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 | 466 | tst | StdProject2D_Tri_Mod_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject2D Triangle Modified basis P=6 Q=7</description>
<executable>StdProject2D</executable>
<parameters>3 4 5 6 6 7 7</parameters>
<metrics>
<metric type="L2" id="1">
<value tolerance="1e-12">2.18252e-14</value>
... |
97c75d25c5cdec73e882cb74abf3263d0d73269a | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/ss2sos.sci | caf2deffa3a7c1a43d5bbd24c2010a0d41947a50 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,488 | sci | ss2sos.sci | //Author: Parthasarathi Panda
//parthasarathipanda314@gmail.com
function [sos,g]=ss2sos(A,B,C,D)
//not taking if, order and scale as input since they do not seem useful
if (type(A)~=1 | type(B)~=1 | type(C)~=1 | type(D)~=1) then
error('check input types');
end
if (length(size(A))~=2 | length(size(B)... |
d1901432fd4c2a1e6eace766fc14d6fcd0435a26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH14/EX14.8/14_8.sce | 27d4fe94f39679d387850835cf4c714ba8ee1133 | [] | 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 | 196 | sce | 14_8.sce | clc
//initialisation of variables
E= -0.126 //volt
E1= -0.140 //volt
n=2
R= 0.0591 //volt
//CALCULATIONS
E0= E-E1
K= 10^((E-E1)*n/R)
//RESULTS
printf ('equilibrium constant = %.2f ',K)
|
1f065fec1b17c3d2e53cc46684feedf1b419f7ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH9/EX9.9/9_9.sce | e090cc2c169a9edf13a52019aadcbacb79e5d2ea | [] | 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 | 412 | sce | 9_9.sce | //Example 9.9
//Particular Solution
//Page no. 293
clc;clear;close;
x=poly(0,'x')
n=2;
f=x^(n)-x^(n-1)-2*x^(n-2);
z=roots(f)
disp(z,f)
printf('\n\n')
printf(' n n\nC.F. = ')
for i=1:n
printf('c%i(%g)',i,z(i))
if i~=n then
printf(' + ')
end
end
A=[-2,0,0;10,-2,0;9,... |
dfe6e525e1509d0734f376ea7f77bad070a6e0c2 | a99e7eefb3720d45ca716908bb547db4115ff713 | /Hazelnut/assets/scenes/Example.hazel | 9d177bd466236a194e78572d2e239ba3c554facc | [
"Apache-2.0"
] | permissive | marian-bielcik/Hazel | 56e3c6470c0a831e64f36a14e7c0ad9aba2a88b8 | 3b85fb0946fc657e3b4f1265191d2308240de3f5 | refs/heads/master | 2021-11-22T01:00:50.514769 | 2021-09-04T15:02:04 | 2021-09-04T15:02:04 | 163,664,276 | 1 | 1 | Apache-2.0 | 2018-12-31T11:40:41 | 2018-12-31T11:40:40 | null | UTF-8 | Scilab | false | false | 1,427 | hazel | Example.hazel | Scene: Untitled
Entities:
- Entity: 12837192831273
TagComponent:
Tag: Camera B
TransformComponent:
Translation: [0, 0, 0]
Rotation: [0, 0, 0]
Scale: [1, 1, 1]
CameraComponent:
Camera:
ProjectionType: 1
PerspectiveFOV: 0.785398185
PerspectiveNear: 0.009... |
48bcd98b745ae5a15d5bb5ff3c212624bbaf2158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH7/EX7.2/Ch07Ex2.sce | 0ff503d618280cb86f7aabb7f06fd96f3553f0cf | [] | 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 | 493 | sce | Ch07Ex2.sce | // Scilab code Ex7.2: Pg 236 (2005)
clc; clear;
e = 1.60e-19; // Electrc charge, C
i = 1.00e-03; // Electron current, A
N = i/e; // Electrons per second
T = 0.657e-07; // Fraction of electrons transmitted
T_e = N*T; // Number of electrons transmitted per second
T_i = T_e*e; // Transmitted... |
73b87d6c6948ee9647d0179c470ed43af71711d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH14/EX14.6/Exa14_6.sci | 68f978b13e91de82d621c57dc30d78b04b9cb7d6 | [] | 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 | 383 | sci | Exa14_6.sci | //Design a TDMA frame for a cellular system
Nca1 = 1'
Nca2 = 2;
Rbmin = 8;
a1 = 0.1;
nf = 0.75;
Rc = 0.5;
Nslot1 = 16/Nca1;
Nslot2 = 16/Nca2;
Rs1 = (Rbmin*(1+a1)*Nslot1)/(nf*Rc);
Rs2 = (Rbmin*(1+a1)*Nslot2)/(nf*Rc);
disp(Nslot1, 'Nslot for Nca=1')
disp(Nslot2, 'Nslot for Nca=2')
disp(Rs1, 'Rs for Nca... |
6a833a10497337c972116bcecb88e218eee1fecc | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/V3/Separação.sce | 07f04d0584cf668d87b064f7ff9dcce23cf3c6bf | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | Separação.sce | // Programa para executar o princípio da separação, realizando o controle do sistema a partir do
lambda = [A-B*Kc,B*Kc;zeros(4,4),A-Ko*C] // Crianção da matriz lambda
t0 = 0 // Definição do intervalo de tempo
dt = 0.1
n = 50
tf = t0 + (n-1)*dt
t = t0:dt:tf
x0 = [1;1;1;1;0;0;0;0] // Condições inicias
x1=[]
x2=[]
x3=[]
... |
41944f251a53af3d046974ec2e57936562376dbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.1/Chapter1_example1.sce | f67e08a7ba69d619d351755dd235a18e1d1f23f2 | [] | 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 | 450 | sce | Chapter1_example1.sce | clc
clear
//Input data
d=180//Distance of satellite above the surface of earth in km
t=90//Time taken to complete one revolution of the earth in minutes
r=6400//Radius of the earth in kms
//Calculations
R=(r+d)*1000//Total distance in m
T=t*60//Time in seconds
v=(2*3.14*R)/T//Orbital speed in m/s
a=(v^2/R)/... |
91d05ec6184aeba8cd7cfa5946895088e7b37400 | 7e781c62ea0e698caecbc74cf17e3c6e19536dec | /Maths/projetmaths.sci | 03cfed584135da071cbba60d08ea62952b3b30a8 | [] | no_license | mooshicoolor/fiches_iut-morsay | bb132e1d5e3554b713497c36120b48e8ff4eed68 | 40d185e36fb77689be0eda640c19f6636cb40123 | refs/heads/master | 2021-01-01T16:39:37.345630 | 2018-10-01T15:38:32 | 2018-10-01T15:38:32 | 24,800,560 | 2 | 3 | null | 2014-10-18T22:21:11 | 2014-10-04T20:19:29 | TeX | UTF-8 | Scilab | false | false | 5,384 | sci | projetmaths.sci | disp("Exercice 1.1:")
M=[0,1,1;0,0,1;1,0,0]
N=[0,0,1;1,1,1;1,0,1]
disp(modulo(M+N,2),"M+N=")
disp(modulo(M*N,2),"M.N=")
disp("Exercice2.2")
disp("f est injective si et seulement si pour chaque image sur (Z/2Z)7, il existe au plus un antécédent sur (Z/2Z)3 . Soit deux matrice M et M’ appartenant à (Z/2Z)3 ")
disp("Or ... |
a7a21201b4d9921a238a20aae3ab868fc6de866f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Engineering_And_Chemical_Thermodynamics_M._D._Koretsky_527.zip/Engineering_And_Chemical_Thermodynamics_M._D._Koretsky_527/CH7/EX7.6/7_6exam.sce | 3f97d989c31ea08fb3f11c7b898228135afe79ba | [] | 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 | 341 | sce | 7_6exam.sce | errcatch(-1,"stop");mode(2);//Engineering and Chemical Thermodynamics
//Example 7.6
//Page no :324
; ;
// The problem does not contain any numerical part . The readers can refer the text book to get the answer .
disp(" Example: 7.6 Page no : 324") ;
disp(" Like interactions are stronger than unlike int... |
e5051564a85c723a0783d47844c185ffb2c99464 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_toeplitz.sci | 356a864a8242b9f8a514404829560cd3fa915fb9 | [
"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 | 235 | sci | sci_toeplitz.sci | function [stk,txt,top]=sci_toeplitz()
// Copyright INRIA
txt=[]
if rhs==1 then
stk=list('toeplitz('+stk(top)(1)+')','0','?','?','1')
else
stk=list('toeplitz'+rhsargs([stk(top-1)(1),stk(top)(1)]),'0','?','?','1')
top=top-1
end
|
05d39f59198d3d7444d92287b69ea039d5dd37f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH3/EX3.8/Ex3_8.sce | decf0bc65a129d6865c2883005ba589b1662988d | [] | 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 | 783 | sce | Ex3_8.sce | clc;
//page 185
//problem 3.8
//Given ohmnic loss resistance is Ro = 12 Ohm,
Ro = 12
//radiation resistance is Rr = 48 Ohm,
Rr = 48
//directivity is D = 2
D = 2
//Input current = 0.1*cos[2*pi*(10^6)*t], Amplitude of input current is A = 0.1 Amp
A = 0.1
//Equivalent resistance = Re = Ro+Rr
Re = R... |
6ff56b8f3aa1a16ee0b037b62a95f63761a5f560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.15/Ex15.sce | 7900a84d28113b612a2586c9c163ee164797873a | [] | 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 | 433 | sce | Ex15.sce | // Additional solved examples , Example 15 , pg 337
//plane has intercepts 2a,2b,3c along the 3 crystal axes
//lattice points in 3-d lattice are given by r=p*a+q*b+s*c
//as p,q,r are the basic vectors the proportion of intercepts 2:2:3
p=2
q=2
s=3
//therefore reciprocal
r1=1/2
r2=1/2
r3=1/3
//taking LCM... |
996e2b340c3ab572fdb4db1589bd363d440b051f | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/SPDT_PRG_GENERATOR_FRESNEL_LEVEL_CUTS.sce | 36fb8f5432e69493ea893e4efe31895121e54654 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,181 | sce | SPDT_PRG_GENERATOR_FRESNEL_LEVEL_CUTS.sce | //exec('Setup_Parameters_Finish.sce');
exec('Setup_Parameters.sce');
//stacksize('max')
fZ_ClearPlane = 1;
fZ_ChipBreakMove = .5; //mm Amount to retract tool
fDOC = -.05;
toolT1 = BuildTool('FULL_RADIUS', .051, 35 * (%pi / 180), (5 + 35/2) * (%pi / 180));
plFinalProfile = OffsetNormal(plPoints, .050);
//Build the ... |
82139303f9f80d138f525478a1475f92bdd2be41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH4/EX4.6/example_4_6.sce | abe868276ebf67df6d4d9c6fbd64b29c6de2c8e5 | [] | 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 | 474 | sce | example_4_6.sce | //Scilab Code for Example 4.6 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
close;
disp("X(w)=1/(a+jw)^2=1/(a+jw)*1/(a+jw) ");
disp("exp(-a*t)*u(t) <--> 1/(a+jw) ");
disp("therefore x(t)=convolution(2*sinc(2*t),(sinc t)^2");
a=2;
n=1;
for t=-10:0.1:10
y1(1,n)=(sinc(t))^2;
y2(1,n)=2*sinc(2*t);
n... |
d7b6b15fc76c14872c5a13851b97f91cc9dee015 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/examples/link-examples/ext8c.sce | 9fe246ccd1895ec172ff990f6fc9d7ff451e842d | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 169 | sce | ext8c.sce | //argument function for ode
//call ext8c argument function with dynamic link
host('make /tmp/ext8c.o');
link('/tmp/ext8c.o','ext8c','C');
ode([1;0;0],0,[0.4,4],'ext8c')
|
f50207d97449db12ddcb0e42e9cc3926dcb60bc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH28/EX28.3/example_28_3.sce | c8197ef0ae60ab1247b1c2b3be107a65b1e95365 | [] | 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 | example_28_3.sce | clear;
clc;
disp("--------------Example 28.3---------------")
tag="00000110"; // OBJECT IDENTIFIER tag
Length="00000100"; // 4 bytes
ObjectIdentifier="1.3.6.1"; // (iso.org.dod.internet)
ot1=1;
ot2=3;
ot3=6;
ot4=1;
// convert the bytes to binary
byte1=dec2bin(ot1,8);
byte2=dec2bin(ot2,8);
byte3=dec2bin(ot... |
4d04272d2476fa8c8124abaa515f6139d6bd6c22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH11/EX11.9/11_9.sce | 4eb3489622dbd34208d514ad3d64525eb65a3452 | [] | 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 | 730 | sce | 11_9.sce | //chapter 11
//example 11.9
//page 332
clear all;
clc ;
//given
Vb2=8;
Rl=100;//load resistance in kohm
Vcc=20;//supply voltage V
vp=100;//op voltage mV
ip=vp/Rl;
Ie2=2;//Ie2>ip
Ve1=5;Vce1=3;
Vc1=Ve1+Vce1;
Vb1=Vc1;
Ve2=Vb2-0.7;
R5=Ve2/Ie2;
printf("\nR5= %.2f kohm,use 3.3 standard value kohm ",R5);R5=3.... |
85620559f1088846652833d6191e28aef1d1b184 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_nv_hrz_ind_d/~BivLCM-SR-bfas_nv_hrz_ind_d-PLin-VLin.tst | b949d2b91dcfdb200bf2b9cf46246013d78ef2c7 | [] | 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-bfas_nv_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.481270D+00
... |
559728e3ccead5ad1c8fc37f6234e3e20b28f0d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH7/EX7.6/6.sce | 0a4c65bec97cdd613ff9dc2fbfd4827466dd739b | [] | 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 | 408 | sce | 6.sce |
//Variable declaration
mew0=4*%pi*10**-7;
B=0.0044; //flux density(Wb/m**2)
M=3300; //magnetic moment(A/m)
//Calculation
H=(B/mew0)-M; //magnetizing force(A/m)
mewr=1+(M/H); //relative permeability
//Result
printf('magnetizing force is %0.3f A/m \n',int(H))
printf('relative permeabi... |
d85e6961c46179fa08b7d12f3148c64b50d4cb9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH10/EX10.7/Example10_7.sce | dbe599e1330f35c8a31cbf07298d1291a3299b67 | [] | 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 | Example10_7.sce | //Exa 10.7
clc;
clear;
close;
//Given data :
D=19.5;//mm
wc=0.85;//kg/m
L=275;//m
Pw=39;//kg/m^2(Wind pressure)
r=13;//mm
U_stress=8000;//kg/cm^2
SF=2;//factor of safety
rho_i=910;//kg/m^3(density of ice)
T=U_stress/SF;//kg
wi=rho_i*%pi*r*10^-3*(D+r)*10^-3;//kg
w_w=Pw*(D+2*r)*10^-3;//kg
wr=sqrt((wc+wi)^... |
a89b12b399df64b2c03c371f389e0de7b674d50b | 717ddeb7e700373742c617a95e25a2376565112c | /869/CH12/EX12.10/12_10.sce | 6fbd44fa87047016b580de0b02c7aee8c504a08d | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 345 | sce | 12_10.sce | clc
//initialisation of variables
Sc= 800 //psi
Ss= 18000 //psi
ratio= 15
d= 5/8 //in
l= 20 //in
b= 10 //in
//CALCULATIONS
x= Sc*ratio*l/(Ss+Sc*ratio)
As= b*x*(x/2)/((l-x)*ratio)
Ina= (b*x^3/3)+ratio*As*(l-x)^2
M= Sc*I/x
N= As/(%pi*(d/2)^2)
//RESULTS
printf ('Number of steel bars required= %.2f',N)
disp... |
71cc514c61b38b1ad9123c8af0b038188f9c92d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH1/EX1.6/EX_1_6.sce | 2b34bd8953110894f006a3fb9ae1a06bb03f7be1 | [] | 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 | 241 | sce | EX_1_6.sce | //Example 1 6
clc ;
clear;
close;
f=9; //assuming frequency to be a constant 9Hz.
t =0:.1:10;
x= t+sin(4*180*f*t)+cos(2*180*f*t);
disp(x);
disp('Since value of the signal at any time t is known, it is a DETERMINISTIC signal');
|
dc15076958011dd56a1dc4b2978e96250b384b76 | 07b63e127f889cf3f44bf53f8be52ffdaabd89f7 | /Exercise_11.sce | 9707fc8c62b87558b4b898aff7fc85eec23ecdf9 | [] | no_license | Gotcha17/CompFin_Sheet4 | d3d085fa7608884906ffa6af64ff76dfa31f4478 | 818049fe47d9241cc24f96a7a0a697d09b4a10c9 | refs/heads/master | 2021-01-02T23:00:57.021880 | 2017-08-15T22:21:31 | 2017-08-15T22:21:31 | 99,440,545 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,442 | sce | Exercise_11.sce |
clc; clear; //clears the console and all previously stored variables
funcprot(0); //disables the warning messages, when function is redefined
//calculating the greeks with approximation of partial differential
function [Delta, vega, rho, Theta] = BS_Greeks_num(r, sigma, S0, T, g, eps)
Delta = (BS_Price_Int(r, si... |
42ba1e1cc79ba41d32377919885bc3a5e0319aa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.28/ex1_28.sce | c11f4801feca354d7429e954e855b9b0f4e381a2 | [] | 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 | 539 | sce | ex1_28.sce | // Exa 1.28
clc;
clear;
close;
format('v',6)
// Given data
T = 125;// in degree C
T = T + 273;// in K
V_T = T/11600;
Io = 30;// in µA
Io = Io * 10^-6;// in A
V = 0.2;// in V
// The dynamic resistance in forward direction,
r_f = V_T/( Io * (%e^(V/V_T)) );// in ohm
disp(r_f,"The dynamic resistance in forwar... |
1aaa24f69a04da29a3fbcc0b046d838930f585a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH2/EX2.12/P12_stresses_in_locomotive.sce | 99cab88cdb6a3933ceee19fc878fd86580ca5d24 | [] | 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,164 | sce | P12_stresses_in_locomotive.sce | clc
//Example 2.12
//Stresses in a locomotive
//------------------------------------------------------------------------------
//Given Data:
//Speed
V=96.6 //kmph
//Crank length
Cl=0.375 // m
//Length of side rod
L=2 // m
//Radius of driver
R=0.915 // m
//Tractive effort per wheel
Et=45000 // N... |
26285e32fe7bb8879641a335fc876f38f1f0383b | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH5/EX5.2/52.sci | 29732231d825eda5b5683b45bb68666454e7b2cb | [] | 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 | 263 | sci | 52.sci | //chapter 5 example 2//
clc
clear
//hole concentration=Pn,minority carrier life time=Tr//
Br=7.21*(10^-10);
Pn=10^18;//in per cm cube//
Tr=((Br*Pn)^-1)*(10^9);//minority carrier life time//
printf("\n minority carrier life time=%f *(10^-9) sec \n",Tr);
|
f59eceb8b91745ca2ae0c5f9fdbe44351d834bab | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH10/EX10.9/Ch10Ex9.sci | 3f635bd02c7103f6162ed961ebb49eb9781a88fd | [] | 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,110 | sci | Ch10Ex9.sci | // Scilab Code Ex 10.9 Electrical Conductivity of Cu: Page-345 (2010)
e = 1.6D-19; // Electronic charge, C
N = 6.023D+23; // Avogardro's number
d = 8920; // Density of Copper, kg per metre cube
A = 63.5; // Atomic weight of copper, g/mole
I = 10; // Current through uniform copper wir, ... |
4e2011c9056cfb1a9ee2650e40f1eab4bc999354 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.10/ch4ex10.sce | 57dca52f06e30770b77e164bdf7a858ae5de4109 | [] | 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 | 268 | sce | ch4ex10.sce | //signals and systems
//Unilateral Laplace Transform:Solving Differential Equation
//example 4.10
s = %s;
syms t;
[A] = pfss((2*s^2+20*s+45)/((s+2)*(s+3)*(s+4)));
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
F3 = ilaplace(A(3),s,t)
F = F1+F2+F3
disp(F)
|
060b696d81fd86cad745067f732e474351899e77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.21/Ex3_21.sce | 807aae2c36b21bf12080abf08eceb0b8805ba2e3 | [] | 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,829 | sce | Ex3_21.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.21
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
// Refer figures 3.31(a), 3.31(b) and 3.31(c):- Page no. 121
VaH = 220; ... |
e855771a97a85f075614a03b18d54c265221c068 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.37/Example1_37.sce | 0149ef8acf0914383ee7bc3891501e9868debe74 | [] | 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,354 | sce | Example1_37.sce | // Example 1.37
clear; clc; close;
format('v',7);
// Given data
Nnl=1485;//in rpm
Nfl=1350;//in rpm
f=50;//in Hz
//Calculations
Ns=1500;//nearest syn speed to Nfl in rpm(Assumed)
//Formula : Ns=120*f/P
P=120*f/Ns;//no. of poles
disp("Part (i)");
disp(P,"No. of poles : ");
Snl=(Ns-Nnl)/Ns;//slip
disp... |
a6e4c8a03464c6e14f2cdae06b06892519879c09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.9/14_9.sce | 7364cd38db2817b4009d883d1699ac174b37e92b | [] | 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 | 483 | sce | 14_9.sce | clear;
clc;
//Example - 14.9
//Page number - 465
printf("Example - 14.9 and Page number - 465\n\n");
//This problem involves proving a relation in which no mathematics and no calculations are involved.
//For prove refer to this example 14.9 on page number 465 of the book.
printf(" This problem involves provi... |
7b65c52e326854d09bf13d15fd88582554bfcd51 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%lssas.sci | abfd1361ffc1b8040079e7092419df26997215c4 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"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 | 167 | sci | %lssas.sci | function [s]=%lssas(s1,d2)
//s=%lssas(s1,d2) iff s=s1+d2
//!
// origine s. steer inria 1987
//
[a1,b1,c1,d1,x1,dom1]=s1(2:7)
s=tlist('lss',a1,b1,c1,d1+d2,x1,dom1)
|
58d4f04cf067e3da3530e4d0ba5d03decda45c38 | f5bb8d58446077a551e4d9a6461a55255db523fe | /interpolação_polinomial/questao8.sce | b0d57bf35e457198be90fd455f4c846db081f119 | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,388 | sce | questao8.sce | function y=f(x)
y = x.*exp(x./2)
endfunction
xs = [2; 2.25; 2.5; 2.75; 3]
fx = [2.71; 3.08; 3.49; 3.96; 4.48]
axes = get("default_axes")
axes.x_location = "origin"
axes.y_location = "origin"
x1 = xs(1)
x2 = xs(2)
x3 = xs(3)
x4 = xs(4)
x5 = xs(5)
function y=p(x)
L1 = ((x - x2).*(x - x3).*(x - x4).*(x - x5))./... |
030f8e6691590c7d59f02772b02363cee24ae165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH9/EX9.1/Ex9_1.sce | 37a1bec1875c987a8e3b7a97ab8229ed285c94fb | [] | 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 | 513 | sce | Ex9_1.sce | clc
w=0.1 //m
d=0.115 //m
l=4 //m
p=175 //kN/m
k=14*10^6 //Pa
E=200*10^9 //Pa
I=(0.1*(0.15)^3)
//deltav=(p/2*k)*derivative(x)*beta*exp^(betax)*(cos beta(x)+sin beta(x))
//vA=(p/2k)*(2-exp^(betaa)*cos betaa - exp^(betab)*cos betab)
beta=(k/(4*E*I/12))^(0.25)
disp(beta,"in meter inverse is= ")
vmax=(p... |
9be65de573bd16229a12c15d72d93128d0225d85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH6/EX6.14/Ex6_14.sce | 62b0e88764945cc802c72a0d11c7461c5596f2ad | [] | 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 | 883 | sce | Ex6_14.sce | clear
//
//
//Initilization of Variables
q_b=80 //N/mm**2 //Shear stress in Brass
q_s=100 //N/mm**2 //Shear stress in Steel
G_b=40*10**3 //N/mm**2
G_s=80*10**3
L_b=1000 //mm //Length of brass shaft
L_s=1200 //mm //Length of steel shaft
d1=80 //mm //Diameter of brass shaft
d2=60 //mm //Diameter of steel shaft
//Cal... |
2cc70df642c8cc1c094253d927c418cf32e8e2d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH9/EX9.16/ex9_16.sce | 109ba8adea8832fe5688526111ad981e185b9fb0 | [] | 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 | 320 | sce | ex9_16.sce | clc;
clear all;
h = 6.62e-34; // Planck's constant in J.s
m = 9.1e-31 // Mass of electron in kg
nk =1;
nl = 1;
nm = 1;
a = 0.5e-10 // Width of cubical box in meter
E = (h^2*(nk^2+nl^2+nm^2))/(8*m*a^2*1.6e-19);//The lowest energy level will have energy
disp('eV',E,'The lowest energy level will have energy ');
|
728ca25f16c5888b3c23f81d513ddc25df9954b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH7/EX7.3/Chapter7_example3.sce | e59480c435cabb0463b997419a39254b60ab6029 | [] | 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 | 696 | sce | Chapter7_example3.sce | clc
clear
//Input data
f=20//Focal length in cm
fl=[0.015,0.019]//Dispersive powers of crown and flint glasses respectively
r=[1.495,1.53]//Refractive indices respectively
//Calculations
fx=-(fl(1)/fl(2))//Ratio of focal lengths
//Solving two equations
//(1/f)=(1/f1)+(1/f2)
//(f1/f2)=(-0.015/0.019)
f2=((1/... |
34a6b43f350a385a196dfa2f9b7651a38907833e | a589f95d013369896bef66dc002835588232d49b | /leastsq.sce | 5553c9429c5ab20e483e054da3afa1c757d721c1 | [] | no_license | saifsmailbox98/scilab-linear-algebra | c26273bbeb8031874e7b13e90a0d191f7a331bd8 | 2249f2d46672c8acb35e25f719c64f1db6823326 | refs/heads/master | 2020-05-03T12:17:35.971027 | 2019-04-07T18:26:23 | 2019-04-07T18:26:23 | 178,621,819 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | leastsq.sce | function [s] = leastsq(A, b)
s = lsq(A, b);
endfunction
A = [2 -1; 1 -2; 1 1];
b = [2 1 4]';
r = leastsq(A, b);
disp(r);
/*
2.
1.
*/
|
9b1b6f8c42c1bf05b1c565ce635b251ca5fd8c76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH12/EX12.2/Ch12Ex2.sce | 6773b6f575e9340deed0cfcf39997835222b9949 | [] | 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 | 698 | sce | Ch12Ex2.sce | // Scilab code Ex12.2: Pg:464 (2008)
clc;clear;
n2 = 1.59; // Cladding refractive index of an optical fibre
n0 = 1; // Refractive index when the fiber is in air
NA = 0.20; // Numerical aperture of fiber
// Since NA = sqrt(n_1^2-n_2^2)/n0, solving for n1
n1 = sqrt(NA^2 + n2^2)/n0; // Core refractive in... |
f4bfbd7fae6973774dfae60173ee9aee00731a35 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/condor/test1/out/boundaries.sce | 718062d2320f453e69f717b862cfeb365ee979ed | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,209 | sce | boundaries.sce | function [alp,cux,cuy,cuz,rg,...
uxx,uxy,uxz,uyy,uyz,uzz,...
gxx,gxy,gxz,gyy,gyz,gzz,...
qxx,qxy,qxz,qyy,qyz,qzz,...
dxuxx,dxuxy,dxuxz,dxuyy,dxuyz,dxuzz,...
dyuxx,dyuxy,dyuxz,dyuyy,dyuyz,dyuzz,...
dzuxx,dzuxy,dzuxz,dzuyy,dzuyz,dzuzz...
... |
f37c91095044ad0501d0a7b42f4a78723fb8c13e | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r38/packages/crack/crack.tst | 9160ce63dc99f6c3f9e9401365aa24be212aaf2e | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 12,671 | tst | crack.tst | %*******************************************************************%
% %
% C R A C K . T S T %
% ----------------- %
% crack.tst contains test examples ... |
1aaa807d62d20bfa16e5b43627a5d2c419716043 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH3/EX3.7.5/ex_3_7_5.sce | c09fe3d0cdb2b204b4ff8ca30c2266d4b3ebdf7b | [] | 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 | 460 | sce | ex_3_7_5.sce | // Example 3.7.5;alpha
clc;
clear;
close;
format('v',4)
disp("part (a)")
vc=135;//in volts
vs=220;//in vlts
rl=0.5;//in ohms
io=10;//in ampeeres
vm=sqrt(2)*vs;//
vldc=io*rl+vc;//
alpha=acosd((vldc*%pi)/(2*vm));//
disp("alpha is in degree "+string(alpha)+" ")
disp("part (b)")
vc=145;//in volts
vs=220;//in vlts
rl=0.5;//... |
ca2f1b01076c263d4636d442262c24489df536d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH5/EX5.2/5_2.sce | 0d1f27f269a6c2d201a5f260b617a7f5d70ffd9f | [] | 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 | 703 | sce | 5_2.sce | // To calculate the number of turns per limb on the high and low voltage sides
clc;
clear;
f=50;
A=400*(10^-4);
Bm=1;
V1=3000;
V2=220;
l=2; // Number of limbs
//Neglecting the series voltage drop
// Induced EMF equation
a=V1/(4.44*f*A*Bm);
b=V2*a/V1;
if(modulo(round(a),2)==0) // No. of turns ... |
88f5de57b366db4e8bbe94bc340e49e8bdd60dce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.11/6_11.sce | b3e4f116deea99381e79e4da82b005e8f9ab32ef | [] | 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 | 353 | sce | 6_11.sce | clear
clc
//initialisation of variables
r1= 1/3
r2= 7/12
l= 5000 //ft
l1= 10000 //ft
d= 27 //in
d1= 18 //in
Q= 10 //cuses
f= 0.006
//CALCULATIONS
Q2= Q/(sqrt(r2/r1)+1)
Q1= Q-Q2
H= (f*l*Q^2/(10*(d/12)^5))+(f*l1*Q1^2/(3*10^(d1/12)^5))
//RESULTS
printf ('total difference in head = %.2f ft',H)
//ANSWER... |
fae767067105cc6b5cf6621d515b7d39141e369e | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/possibility.sce | 019025218213b8c2fb3449ad832732ea4f1dd9a5 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | possibility.sce | function P=possibility(i,j,S)
// S= matrix with 9 rows and 9 columns = sudoku
//(i,j)= cell of interest in sudoku S
// P= list of possible values out of {1;2;...;9}
// for element (i,j)
S(i,j)=0//we set element (i,j) to 0
A=unique(S(i,:)) // values in row i
A=A(find(A<>0)) // remove t... |
220176883a946ffd6f76393b5a31ee3672db8a49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH19/EX19.18/Ex19_18.sce | 27dd70c0acf27e9276700852e3fd1bac8e93a5a1 | [] | 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,958 | sce | Ex19_18.sce | b=300//in mm
Pu=1500//in kN
Mux=100//in kN-m
Muy=70//in kN-m
fck=15//in MPa
fy=250//in MPa
p=1.5//assume 1.5% steel, placed on four sides
Ag=Pu*10^3/(0.4*fck*(1-p/100)+0.67*fy*p/100)//in sq mm
D=Ag/b//in mm
D=600//assume, in mm
m=p/fck
c=60//cover (assume), in mm
//to find Mux1
n=c/D//n=d'/D
l=Pu*10^3/fck... |
67cc40923613b38c0e94c28c9012365cc95e94a7 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/Outras/taylor.sce | cfe5c5fb1cd343525c7dc836367720d4436a6f17 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | taylor.sce | function y = f0(t, u)
y = u*t
endfunction
function y = f0t(t, u)
y = (u*t)*t + u
endfunction
function y = f0tt(t, u)
y = ((u*t)*t + u)*t + (u*t) + (u*t)
endfunction
function [u] = taylor(N, uInicial, tInicial, tFinal, h)
f = f0
ft = f0t
ftt = f0tt
cor = 'ro-'
u(1) = uInicial... |
acae8e20fff819cafc5975fbedf98196747c4691 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peig/peig4.sce | f50bef3bd04d3ba3527c436aa02dfc22d689afed | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | peig4.sce |
x=[1 2 3 4 5 6 2 3 7];
p=3;
nwin=7;
noverlap=3;
fs=4e6;
nfft=6;
[S,f] = peig(x,p,nfft,fs,nwin,noverlap);
//output
// !--error 21
//Invalid index.
//at line 32 of function musicBase called by :
//at line 86 of function peig called by :
//[S,f] = peig(x,p,nfft,fs,nwin,noverlap);
|
0afb11d425240529b9f66065f0912c346d983570 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /sergeant vs pigeon.sce | e6d707dd218bc85474fb1ef60175851c959dff8f | [] | 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 | 22,007 | sce | sergeant vs pigeon.sce | Name=sergeant vs pigeon
PlayerCharacters=Sergeant 87
BotCharacters=Pigeon.bot;Pigeon.bot;Pigeon.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Sergeant 87
AddedBots=Pigeon.bot;Pigeon.bot;Pigeon.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=0
BotTeams=0;0;0
MapName=kovaim1.map
MapScale=3.8125
BlockPr... |
d78f89b0063100c70789adfe2bfb81fe6d439ff4 | 22d9f9e36cc02d4358110e7dd63d91180334ff98 | /scripts/vectors.sce | 999ecacc7459241f2519cd7a118c0aa1cb5e2a4c | [] | no_license | kalexal-kaa/ScilabScripts | ddd6be8dfb4f2820f2e6547be810e8b693781255 | 5b25138895e9a42893e0a88a94f414308203cd69 | refs/heads/main | 2023-06-01T08:55:32.806731 | 2021-07-03T02:24:54 | 2021-07-03T02:24:54 | 379,259,490 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sce | vectors.sce | F = input("Введите номер формы: ")
if F == 0 then
disp("Неверный номер формы!")
return
end
V = input("Введите номер вида: ")
if F == 1 then
disp("1."+string(V)+" = "+"0 + 1."+string(V - 1))
return
end
H = F
if modulo(F,2) ~= 0 then
G = F + 1
F = F - 1
else
G = F
end
M = F
n = 0
while modulo(M,2) == 0
M ... |
aceb8262f9ed9888c90de487c4caa6d1c13f3ce3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.1/Ex7_1.sce | 791f47aab1da867a1cadf45eb1a0b763719fae72 | [] | 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 | 933 | sce | Ex7_1.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 1
clc;
disp("CHAPTER 7");
disp("EXAMPLE 1");
//VARIABLE INITIALIZATION
I_0=10; //no load current in Amperes
pf=0.25; //power factor
v1=400; //in Volts
f=50; //in Hertz
//SOLUTI... |
786bfba3347e250d0f45f04bcc5ba43e58cb7800 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testfun2string.sce | 5a765b8a18d125959733277a87bbb00a71d82c30 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | sce | testfun2string.sce | function y=foo(x)
y=1+x^2
endfunction
fun2string(foo,'foo1')
|
499307913a3ff201f267cbae0bb07a900268374b | 06a62d768e69fd9dda11b30011c252807e301813 | /fibonacciUsingForLoop2.sci | a6a2fe7ff6ad9b36112a70b87507799d37bb5684 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sci | fibonacciUsingForLoop2.sci | v0 = 20;
g = 9.8;
y = 0;
t = 0;
while (y>=0)
disp('At time t = '+t+'location = '+string(y));
t = t + 0.1;
y = v0 - 0.5*g*t*t;
end
|
9e8f8d4086ad13ece663c7e237fb41eb45ad216e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.22/example22.sce | b528b3912d24bf09b4af8a56cb2bd046efb579ba | [] | 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 | example22.sce | //Chapter-11 example 22
//=============================================================================
clc;
clear;
//input data
Ra = 1000;//Range of target A in Kms
//Calculations
Rb =Ra*cos(45*%pi/180);//range of target B in kms
//output
mprintf('Range of target B is %g Kms\n',Rb);
mprintf(' Note:value of... |
78792088473e77119b2eb804e3ffe809a68e459f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH4/EX4.6/Ex4_6.sce | eb99f7dd7fe80b47e37844657e89cd3e5dd4e593 | [] | 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 | 828 | sce | Ex4_6.sce | //Ex4_6 Pg-222
clc
Vr=0.7 //voltage drop
Vi=120 //input voltage
disp("RMS value of secondary voltage")
V_sec=Vi/5 //RMS value of secondary voltage
printf(" = %.0f V\n ",V_sec)
disp("Peak secondary voltage")
Vm=V_sec*sqrt(2) //Peak secondary voltage
printf(" = %.0f V\n ",Vm)
disp("Peak inve... |
a23be383a88f96f4b0f651946e29829789d465ba | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/26.tst | 5c76666eb88ce843e895719a3bb25b721913b41d | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | tst | 26.tst | int main(void)
{
int i;
for (i = 1; i <= 10; ++i) {
do
i++;
while (++i);
}
} |
34f0dca7da7a3771136bfb8dfbcd9bd43628ce45 | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibSimplexMeanSquares_05:33:45.739 PM 05-juin-2013.sci | fa9893afe49910f34e49364885493b5152f63cf0 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,236 | sci | calibSimplexMeanSquares_05:33:45.739 PM 05-juin-2013.sci | ms=[];incomemean=[];bref=[];bnorm=[];
ms(1)=50000;
incomemean(1)=10000;
bref(1)=5000;
bnorm(1)=5000;
ms(2)=50000;
incomemean(2)=10000;
bref(2)=7000;
bnorm(2)=5000;
ms(3)=50000;
incomemean(3)=10000;
bref(3)=5000;
bnorm(3)=7000;
ms(4)=50000;
incomemean(4)=12000;
bref(4)=5000;
bnorm(4)=5000;
ms(5)=50000;
incomemean(5)=113... |
38bd33f33b01b4aa3a2f812f20948a1959e5d288 | 7f7cf89c309b4038bdafccac97024111fb960262 | /PW5/thermocalc.sce | 9d7a11754e9e56111bbc93c998c3021b44d4ae8f | [] | no_license | kuelomisli/Wintersemester-Praktikum | 831165f25762de921178be0e28d4353fe13308f9 | b24bf3fab0cd87a16e10a6023bbd6209857bcc91 | refs/heads/master | 2021-05-28T12:26:50.920600 | 2015-01-10T11:57:40 | 2015-01-10T11:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | thermocalc.sce | pa=99450 //Atmosphärischer Druck in Pascal
kugelmasse=16.697*10^-3 //kilogramm
kugelmassefehler=3*10^-7 //kilogramm
quer=%pi*(8*(10^-3))^2 //rohrquerschnitt
druck=pa+(kugelmasse*9.81)/quer
Tschw=4.35/4
VolGef=10*10^-3
kappa=((2*%pi)/Tschw)^2*(kugelmasse*VolGef)/(quer^2*druck)
disp(kappa)
|
bc565d0eac70142edcc51d2d2da96527837642e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.9/12_9.sce | 5ac783136b10045ba773838376d956a58c99e319 | [] | 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 | 207 | sce | 12_9.sce | clear; clc; close;
Vcc = 24;
//part a
Vl_p = 22;
n = 78.54*(Vl_p/Vcc);
disp(n,'Efficiency(Percentage) = ');
//part b
Vl_p = 12;
n = 78.54*(Vl_p/Vcc);
disp(n,'Efficiency(Percentage) = ');
|
386719a1f1c8538b61d71268fa0a9f7b3b95b51d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH8/EX8.2/8_2.sce | 46a7888b754b5ab897e3e45b24ec6e8eb021588a | [] | 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 | 98 | sce | 8_2.sce | clear;
clc;
P1=67;P2=30;
L=10*log10(P1/P2);
printf("Insertion loss = %f db",fix(L*100)/100);
|
cd184332628a8c50b804c5d4b6827f883c0bcd98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH5/EX5.5/Ex5_5.sce | e5ed06b272a3da3c68f8b9abfcd503b81e50f99b | [] | 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,677 | sce | Ex5_5.sce | // Example no 5.5
// To calculate mean excess delay, rms delay spread and maximum excess delay
// Page no. 202
clc;
clear all;
// Given data
t10dB=5*10^-6; // By definition of maximum excess delay (10dB)
t1=0; ... |
34d4eb57b313ba4116c80cf03714c4216f5a8049 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.17/Ex8_17.sce | d62d90c60241b0a34b2bd17d7a7da2067d43459a | [] | 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 | 742 | sce | Ex8_17.sce | // chapter 8
// example 8.17
// fig. 8.26
// Compute the value of commutating capacitor and inductor
// page-483-484
clear;
clc;
// given
Edc=80; // in V (dc source)
Toff=20; // in us (turn off time of SCR)
T=2000; // in us (chopping period)
I0_m=80; // in A (starting current)
// calculate
Toff=Toff*1E-6;
T=T*1E-6;
dt=... |
398dc1b4e20641bd62cbb67ce13577499ee8f509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH4/EX4.5/4_5.sce | 663325cb0143d41a5238e6649c975d0b38aa467b | [] | 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 | 190 | sce | 4_5.sce | clc
//initialisation of variables
v= 1.75*10^-3 //pa s
l= 1 //m
P= 1 //Mpa
d= 0.5 //mm
//CALCULATIONS
Q= (%pi*P*10^6*((d/2)*10^-3)^4)/(l*8*v)
//RESULTS
printf ('Q= %.2e Ns/m^2',Q)
|
da62f0d1e84cd87f5be5babdb6479b6eeb86d19c | ff2eff5406aed364928fc20d57dcfa8bb9fad186 | /calculate the torque rate of a discontinuous tightening.sce | affbcfe2f00a97452606c9f136b5718059251f3b | [] | no_license | aidtaleb/Data-science- | b8e20d92d46a9f5568269484c5598f1666707677 | 614a21c18a448b3813241ca5f970c08ec47e152d | refs/heads/master | 2022-12-29T08:41:58.944553 | 2020-10-19T13:55:59 | 2020-10-19T13:55:59 | 281,034,525 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69,264 | sce | calculate the torque rate of a discontinuous tightening.sce | //============================================================================
// nom : caracterisation d'assemblage en vissage discontinu.sce
// auteur : ID TALEB ABDERRAHIM
// date de création : 2017-05-15
// dates de modification : ...
//----------------------------------------------------------------------------
/... |
d123e06c840c6f0120c17fe78d0828f64ea346f9 | 6a80aa5f62cfc2c1b93e4bb27545d2b94daa5bdb | /Assignment1/A1_1D_Conduction_Codes/A1_1D_Prob4.sce | 3d16fbb482fb6c1fd55941b71dd34c9db7ca74e8 | [] | no_license | pulkitkatdare/CFD_assignment | ba6094efac2541722c842805c2145ef7d5c8cf70 | c8e599599f7bba38a1b564037df4b6b6fb5ddbdd | refs/heads/master | 2020-07-03T18:27:03.323182 | 2016-10-19T04:57:20 | 2016-10-19T04:57:20 | 67,068,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,271 | sce | A1_1D_Prob4.sce | clear
L=1.0; imax=12;xi=linspace(0,1,imax-1);
Beta=1.2;
Beta_p1=Beta+1;Beta_m1=Beta-1;Beta_p1_div_m1=(Beta_p1/Beta_m1)^(2*xi-1);
num=(Beta_p1*Beta_p1_div_m1)-Beta_m1;den=2*(1+Beta_p1_div_m1);
x=L*num./den;
y=x;//by symmetry of the situation
xc(2:imax-1)=(x(2:imax-1)+x(1:imax-2))/2;
xc(1)=x(1);xc(imax)=x(imax-1);yc=xc... |
607b91a4c78f0f38aca30e141a9cb31618b35360 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_tstat.sci | a32c763e6f3c2b698a0b9ecbcc4b50b963dc83ab | [] | 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 | 1,056 | sci | distfun_tstat.sci | // Copyright (C) 2012 - Prateek Papriwal
// Copyright (C) 2012 - Michael Baudin
//
// 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... |
d2b78c6fe4d8ff3230f7e770b4da5d31683878a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH11/EX11.9/Ex11_9.sce | 90050871ae830b633ec060fa56626ae3d1e52673 | [] | 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 | 252 | sce | Ex11_9.sce | clc();
clear;
//Given :
D = 5*10^28; // density of atoms in silicon per m^3
C = 2.0*10^8; //donor concentration
ND = D/C; // donor atoms density per m^3
// ND = 4.82*10^21*T^(3/2)
T = (ND/(4.82*10^21))^(2/3);
printf("Temperature = %.2f K",T);
|
282d3722850e3bd9b21978c6f57a5889234b3904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH7/EX7.2/Ex7_2.sce | 08f0fb2e447186ba94b91652f60aadf9051c76c0 | [] | 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 | 998 | sce | Ex7_2.sce | //Calculations for comparison of SI and CI engine
clc,clear
//Given:
//For SI engine
s1=0.72 //Specific gravity of gasoline fuel
CV1=44800 //Calorific value of gasoline fuel in kJ/kg
eta_bt1=20 //Brake thermal efficiency in percent
A_F1=14 //Air fuel ratio
//For CI engine
s2=0.87 //Specific gravity of diesel oil
CV2=43... |
85c980e0b1fd8047b7cd4cebd17c774de764f96f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH3/EX3.9/ex3_9.sce | aec24536fa14f22bfccecd31f43b6d60292602dc | [] | 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 | 603 | sce | ex3_9.sce | //Calculate sag from taller of the two supports
clear;
clc;
//soltion
//given
Wc=1.925;//kg/m//Line conductor wieght
L=600;//meter//span of the line
h=15//m//T1-T2
Wi=1//kg//Wieght of the ice
Wr=Wi+Wc;//resultant weight
A=2.2//cm^2
U=8000*A;//kg//Breaking strength
sf=5;//safety factor
T=U/sf;//kg//max allo... |
a7d54f32d1e7a0d93f305111ea76d0d99539ab96 | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab8/q4.sce | 4719c7b47c0558af6da9c0e79da84e4f838a5931 | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | q4.sce |
s = poly(0,'s');
G = (s+1)/((s+5)*(s+10)*(s+100));
G = syslin('c',G);
bode(G, 0.01, 100);
|
591f765072fcc1c2b90de7ab92476b5e3b03d007 | 603703516f54d3c869ca5fa5725e464f9bb98da1 | /black_body_radiation.sce | fab11c9434fa71427df2ca4f9cbfe18b76ff4328 | [] | no_license | RobinEccleston/Scilab-Black-Body-Radiation | 2a48ce345ffa8d48ca67c975233404fc270cc01b | 7da67530998171123c7b36be5a99dc0baeab765b | refs/heads/master | 2021-01-26T02:58:24.896561 | 2020-02-26T14:27:29 | 2020-02-26T14:27:29 | 243,282,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sce | black_body_radiation.sce |
s = 0 //%spectral emittance
h = 6.62607004e-34 //%planks constant
k = 1.38064852e-23 //%boltzmanns constant
wl = 600e-9 //%wavelength (nm)
t = 293 //%absolute temperature (kelvin)
c = 3e8 //%speed of light (m/s)
e = exp(1)
pi=%pi
temps=300:5:400
//temps=[79 195 300 800 3000 6000]
temps=temps($:-1:1)
//te... |
8e0033281205fd9ddfaa4691b6528e66a795bdbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH3/EX3.8/Ex3_8.sce | fd939ab8df753a8b5117a82188211730c0598281 | [] | 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 | 271 | sce | Ex3_8.sce | //Example 3_8
clc();
clear;
//To calculate the acceleration
vf=30 //units in meters/sec
v0=0 //units in meters/sec
t=9 //units in sec
a=(vf-v0)/t //units in meters/sec^2
a=a*(1/1000)*(3600/1)*(3600/1) //units in km/h^2
printf("Acceleration a=%d km/h^2",a)
|
950581743943e26b5c0b80cb478c568e26290c28 | 20e1ce60c516a737e583089b58739647749845ac | /test/methode_puissance_test.sce | f1584cd12ae3925bd6b6cc3c62797c790da754e8 | [] | no_license | idhd/projet-math | 83320adbb68bba0ae6e6dfcfaaa48146146af3e7 | a982b65947a2ed15d6b4340779c5645da2a03ed4 | refs/heads/master | 2020-06-04T22:03:10.736659 | 2011-06-03T22:38:03 | 2011-06-03T22:41:04 | 1,808,626 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | methode_puissance_test.sce | exec("lib/page_rank_matrice.sce");
exec("lib/methode_puissance.sce");
M = bool2s(rand(500, 500)<0.5);
A = page_rank_matrice(M, 0.85);
r = methode_puissance(A, 100) |
64945a1c1a1d1dcdc9c0458de738d15e4b85df06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH10/EX10.3/Ch10Exa3.sci | 973e8ddbe0c906a449b60231e8ad9835dbae1165 | [] | 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 | 429 | sci | Ch10Exa3.sci |
n= 8.48*(10^28); //free electron density, m^(-3)
Vfermi= 1.57*(10^6); //Fermi Velocity, m/s
rho= 1.72*(10^(-8)); //resistivity, ohm
e= 1.6*(10^(-19)); //charge of an electron, C
Me= 9.1*(10^(-31)); //mass of electron, kg
lambda= Me*Vfermi/(n*(e^2)*rho); //m
lambda= lambda*(10^9); //converting to nm
disp(lambd... |
44973b5ade829fa3ba3a4316bd45dddc2ad0fc01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH6/EX6.8/Example6_8.sce | 15b8574c84b9f52cc1aeaef79fd45b6658623d1e | [] | 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 | 364 | sce | Example6_8.sce | //calculation of heat of neutralization
clear;
clc;
printf("\t Example 6.8\n");
//for water
m=100+100;//mass, g
s=4.184;//specific heat, J/g C
deltaT=25.86-22.5;//change in temp., C
qsoln=m*s*deltaT/1000;//heat gained by water, kJ
qrxn=-qsoln;
Hneut=qrxn/(0.5*0.1);
printf("\t the heat of neutraliza... |
92a623747f360703c5bf7c68de214ea53f7b9cf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH17/EX17.8/example17_8.sce | 2b3a1d03ca0302cd19cb605226f4a707a7376fa6 | [] | 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 | 529 | sce | example17_8.sce | //Chapter 17
//Example 17_8
//Page 410
clear;clc;
kva=5000;
x=12;
r=6;
base=input("Input base kva: ");
perx=base*x/kva;
printf("With reactors: \n");
x1=(perx+r)/2+r;
tx1=x1*x/(x1+x);
sci1=base*100/tx1;
printf("Total %% reactance from generator to fault = %.2f %% \n", tx1);
printf("Short circuit input = %.3f MVA \... |
e8d0b6f1753988953803dd8233c9ce16e26fbcfc | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/scilab_pointer_conversion_functions_runme.sci | 1789c6111c9afa6204b4f662d98d06fd49285c81 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 613 | sci | scilab_pointer_conversion_functions_runme.sci | exec("swigtest.start", -1);
// Test on NULL
null = getNull();
checkequal(SWIG_this(null), 0, "SWIG_this(null)");
null = SWIG_ptr(0);
checkequal(isNull(null), %T, "func(null)");
// Test on variable
expected_foo_addr = getFooAddress();
foo_addr = SWIG_this(pfoo_get());
checkequal(foo_addr, expected_foo_addr, "SWIG_thi... |
88980aabed7fe07966b793106a593f785653b861 | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/es_SDP.sci | 919bee2fb1b9a81da64b8ff2fca205289b8bb25a | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sci | es_SDP.sci | function y = es_sdp(A)
[m,n] = size(A);
y=es_simetrica(A);
if y then
// controla si la matriz es definida positiva
for i = 1 : n
if det(A(1:i,1:i)) <= 0 then
disp("La matriz no es simétrica definida positiva.")
y = %F;
ret... |
6f8618e98e8101ab4ed6f34c1673039a65aeac17 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /armadilloToolbox/macros/armaVecFunc.sci | 7b8258847ec098053a8b469d2fe1ed854f060be7 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,238 | sci | armaVecFunc.sci | // Copyright (C) 2019 - 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_... |
a4e546024ae8bbc67d4953344d896b781e04e451 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH11/EX11.3/Ex11_3.sce | c6abea486a67c4280d94b393a71102d8c8361a1b | [] | 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,297 | sce | Ex11_3.sce | // Chapter 11
// Design a filter to remove subsonic tones
// Page.No-406
// Example11_2
//Figure 11.29
// Given
clear;clc;
f3db=20; //In Hz
W3db=2*%pi*f3db;
printf("\n The desired break frequency, W3db is = %.1f radians per second\n",W3db); // Result
disp("Stage 1");
kf=1.557;
Wc=W3db/kf;
printf... |
27567d90c563b5960f14ed1b6c60c37b9558d149 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_aspfin/~BivLCM-SR-bfas_oo_aspfin-PLin-VLin.tst | 027d12fd20d6e7b1a4e028726816f57e59414aef | [] | 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-bfas_oo_aspfin-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.274797D+00
... |
558c53d724bda3efbedcd1c641cf739f565ef9d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH19/EX19.11/19_11.sce | 1f7682661b466a77dc8999a9ce71a35f1b2e6394 | [] | 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 | 768 | sce | 19_11.sce | //Problem 19.11: A 415 V, 3-phase a.c. motor has a power output of 12.75 kW and operates at a power factor of 0.77 lagging and with an efficiency of 85%. If the motor is delta-connected, determine (a) the power input, (b) the line current and (c) the phase current.
//initializing the variables:
Po = 12750; // in Wa... |
51d1accb46471f93e909db70a24dafee42874704 | b7a19323e17ceac9d22a1559fbb3e7d61795fd21 | /Systemy Inteligentne 2/Projekt 4/proj_dane_2.tst | 93c90271b710924813eef551e01ca39375669923 | [] | no_license | kameshi/STUDIA | 61f53f5722b108a70c862ce6b889a3e890bd8a7f | 11dfad719ed6d409c1e40033e65727f20a0f0a52 | refs/heads/master | 2021-05-11T15:36:57.854563 | 2018-01-16T00:21:56 | 2018-01-16T00:21:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,819 | tst | proj_dane_2.tst | we we wy
x1 x2 #d
-6,449 6,677 Klasa1
-5,973 6,435 Klasa1
-5,476 6,725 Klasa1
-4,731 7,16 Klasa1
-3,882 7,184 Klasa1
-2,847 7,16 Klasa1
-1,915 7,136 Klasa1
-0,756 7,184 Klasa1
0,155 7,063 Klasa1
1,439 6,967 Klasa1
1,832 6,604 Klasa1
2,598 6,701 Klasa1
3,095 6,122 Klasa1
4,813 2,958 Klasa1
4,896 1,195 Klasa1
5,041 -0,35... |
c7369d24ff3e30a40674c12b4873dc38508531d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.33/EX3_33.sce | 6f0b920a45adfe9c90ca881d4aa4058524b36fed | [] | 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 | 614 | sce | EX3_33.sce | clc;funcprot(0);//EXAMPLE 3.33
// Initialisation of Variables
p1=1;....................//Intake pressure in bar
p2=5;....................//Supply pressure in bar
t3=1000;..................//Supply temperature in Kelvin
cp=1.0425;................//Specific heat at constant pressure in kJ/kgK
cv=0.7662;............... |
394d6a1f6d8a44f74fa1bfe4ed16b8ef3818e5b4 | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 6/Listing6211.sce | 0f98d1483bcde52601ff89641115fc10446fbce7 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | sce | Listing6211.sce | clc
clear
clf()
a=uigetfile('*.*','Select the Image:')
a = imread(a);
imshow(a);
|
b12a41de9a2ac661e7eb19f74801c687cc7f312d | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH5/EX5.2/Example5_2.sce | 13589b6b1123fe4ad4cd36b94a74d6120ff1d297 | [] | 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 | 865 | sce | Example5_2.sce | //clear//
//Caption:Comparison of M-ary PCM with ideal system (Channel Capacity Theorem)
//Example5.2:Comparison of M-ary PCM system
//Channel Capacity theorem
clear;
close;
clc;
P_NoB_dB = [-20:30];//Input signal-to-noise ratio P/NoB, decibels
P_NoB = 10^(P_NoB_dB/10);
k =7; // for M-ary PCM system;
Rb_B = l... |
6216a5bc137a19d8d3aa42f7ad6357977bbfc1fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.16/Example7_16.sce | 219ab6581aa6f3243d05af8377d6fa1772b2e73a | [] | 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,574 | sce | Example7_16.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.16 :
// Page number 78
clear ; clc ; close ; // Clear the work space and ... |
9a09d9250cecae5048f5a98e4084bc7823bbc04d | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.12/ch9_12.sci | 92d922b75166914bf53c1f21f72c95112bf468cd | [] | 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 | 769 | sci | ch9_12.sci | //find line current and starting torque with direct switching, stator resistance starting, autotransformer starting, star delta starting, autotransformer ratio give 1 pu
clc;
//I_s/I_fl=6;
s_fl=0.05;
disp('by direct switching');
Is=6;disp(Is,'line current(pu)');
T=Is^2*s_fl;disp(T,'torque(pu)');
disp('by sta... |
a1f519bfc2599c14361e2ebf62fcd088189ecacd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Concepts_Of_Physics_(volume_-_1)_H._C._Verma_2084.zip/Concepts_Of_Physics_(volume_-_1)_H._C._Verma_2084/CH6/EX6.1w/6_1w.sce | cbd20921e63de2f1c2045672ebeec318f88cab5f | [] | 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 | 351 | sce | 6_1w.sce | errcatch(-1,"stop");mode(2);//developed in windows XP operating system 32bit
//platform Scilab 5.4.1
;;
//example 6.1w
//calculation of the maximum angle to prevent slipping
//given data
mus=.3//coefficient of static friction
//calculation
thetamax=atand(mus)
printf('the maximum angle to prevent slipping... |
431e3f2c7df87744b03d5fc6efcbbf5bab1d6f4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH6/EX6.3/Exmp6_3.sce | e0f0c6dd3755b1d8903e0e6a3eb376f92bc38703 | [] | 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 | 362 | sce | Exmp6_3.sce | //Example 6.3
clc
disp("R_L = 8 ohm, R''_L = 648 ohm")
disp("Now R''_L = R_L / n^2")
n=8/648
format(8)
disp(n,"Therefore, n^2 = R_L / R''_L =")
disp("Therefore, n = 0.1111 = Turn ratio")
disp("But, n = N2 / N1 = 0.1111")
disp("Therefore, N1/N2 = 9")
disp("Generally the turns ratio is specified as Ni/N2 :... |
52ce4d2b5ae8480dbac0c395a7f727db5160ce82 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/macrocab_cap0.sce | 05637aa36bfb4eea1291252c46ee337eaf55cb53 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | macrocab_cap0.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td><b>In</b></td> <td align=center>CAP0 <b color=green>%1$s</b></td> <td align=left><b>Out</b></td> </tr> </table>";
pal11 = xcosPalAddBlock(pal11,"macrocab_cap0",[],style);
|
11bbfc69adbc68c4d5ed13ffa30035c5d4e9c9d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH6/EX6.1/Ex6_1.sce | 2045636de82c7affbeb8cc197fe86fc5cb2c6b74 | [] | 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 | 454 | sce | Ex6_1.sce | //Exa 6.1
clc;
clear;
close;
//given :
f=30 // frequency in MHz
f=30*10^6 // frequency in Hz
c=3*10^8 // speed of light in m/s
lambda=c/f // wavelength in meter
Delta=30 // angle of elevation in Degrees
H=lambda/(4*sind(Delta)) // Rhombic height in m
phi=90-Delta // tilt angle in Degrees
l=lambda/(2*(cosd(p... |
2433bcbb71135554f88ba35611f183c77be6cdd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH4/EX4.1/Chapter4_example.sce | 3832f5e8c86a1077523111008ef500531225b32e | [] | 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 | 977 | sce | Chapter4_example.sce | clc
clear
//Input data
d=20//Bore in cm
l=38//Stroke in cm
Vc=900//Clearance volume in c.c
p1=1//Pressure at the start of compression stroke in kg/cm^2
T1=90+273//Temperature at the start of compression stroke in K
x=0.75//Piston travelled 0.75 of the compression stroke
n=1.32//Compression curve index
wa=0.01... |
e82d8567242d2b57406ddfd6094e1c29ef65c2a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH15/EX15.3/ex15_3.sce | a2e3136e18a2cd9a39fcfd304a49d715bc2b3f11 | [] | 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,306 | sce | ex15_3.sce | clear;
//clc();
// Example 15.3
// Page: 402
printf("Example-15.3 Page no.-402\n\n");
//***Data***//
// This contains three species.
printf(" The three species in this system are H2, N2 and NH3\n");
N = 3;
printf(" There is only one balanced chemical reaction among these species\n");
Q = 1
// 2NH3 = N... |
7900f6a7fac65a323b4abb44251425a66ff363eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/20_2data.sci | b8f93bc61310930b6c292b092511684cf2a28bb5 | [] | 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 | 180 | sci | 20_2data.sci | Mx=100*10^6;
B=[640;600;600;600;620;640;640;850;640];//matrix having the values of B
D=[1200;1140;960;768;565;336;144;38;0];//matrix having the distence of all booms from boom 9
|
9cf8f743cf313aa07f2a99705b992ddbcc7ea73f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/arma/odedi.sci | 29d5ff7e8d84bc7b4c4ac94cf1937d4086fa9cf3 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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,005 | sci | odedi.sci | function odedi()
// Tests simples de ode et arsimul
// Test de l'option discrete de ode
// x_{n+1}=n*x_{n}, x_{1}=1;
deff('[xnp1]=ttt(n,xn)','xnp1=(xn**2);');
// remarque sur la syntaxe a utiliser pour l'option discrete
// utilizer y=ode('discret',y1,1,2:n,macro);y=<y1,y>
// on a alors dans y=<y1,y2,....,y_n>;
//!
writ... |
4f2e551fb458e80f118666950b184d629771bdb2 | 7b27ad20f976a60e46bd40584a1463c76e9d3801 | /sousjacent.sci | 9e82d9da57c5ecd507acd30e855c78aa0e0fcb6d | [] | no_license | AmineKheldouni/MOPSI-Project | a7c898472f333f41f9b9f2058b35af123d652153 | 51f08c467564b5e395d8fcd449d8aed945e5de94 | refs/heads/master | 2021-01-13T15:35:26.688067 | 2017-02-17T09:06:01 | 2017-02-17T09:06:01 | 76,885,914 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sci | sousjacent.sci |
exec('/home/amine/Documents/2A/Projet MOPSI/MOPSI-Project/code_ameliore.sci', -1)
function [B] = brownien(N,couleur)
B = M(1 :N+1)/sqrt(N) ;
abscisse = 0 :1/N :1 ;
plot2d(abscisse,B,style=couleur)
endfunction
function [Y]= S_t(x,r,t_init,t,sigma)
W_t = grand(1,1,"nor",0,t_init);
h = t-t_init;
W = W_t... |
95a8768e118a1d8532475f05feeeb1245f4f2536 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH10/EX10.2.b/Ex_10_2_b.sce | 1baf777cc84940694f1669165bfb760eea997002 | [] | 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 | 662 | sce | Ex_10_2_b.sce | // Example 10.2.a;//threshold quantum limit
clc;
clear;
close;
n=1;//efficiency for idea case
ht=6.62*10^-34;//plank constt.
f=3*10^14;//frequency in hertz
B=10^7;//NO. OF BITS
h=10^-6;//wavelength in metr
BER=10^-9;//bit error rate
Zm=-(log(BER));//probality of error
Po=((20.7*ht*f*B)/(2*n))*10^12;//pulse e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.