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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fdc2220da9a89ec33072d48746f6bef58e73e3fb | 0fea4b1807b35c0ef50433aa99f483c2de5777df | /assignment 4/numerically_largest_eigen_value.sce | 13e962b1981d823c022ef9213a3cd2a91a8bc3dd | [] | no_license | shivansh8/Scilab | 319fdfcbec1cc24b4c3c9d4385112ade99419c73 | 7922ffe14c554718cc7682b6419db9bce8261213 | refs/heads/master | 2020-12-29T06:10:48.542794 | 2020-04-05T14:19:06 | 2020-04-05T14:19:06 | 238,486,140 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | numerically_largest_eigen_value.sce | function func(A)
disp(A,"the matrix ix")
u0=[1 1 1]';
disp(u0,"initial vector is")
v=A*u0;
a=max(u0);
disp(a,"1st approximation to eigen value is");
while (abs(max(v)-a)>0.002)
disp(v,"current eigen vector is");
a=max(v);
disp(a,"current eigen value is");
u0=v... |
205904678bf4972485ea36d048431a5b93280817 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH31/EX31.3/ex_31_3.sce | c29408aa5d6d56291dbae111612c0507ac291fc0 | [] | 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,004 | sce | ex_31_3.sce | //find
clc
//solution
//given
q=(%pi/180)*20
P=10000//W
NW=1400//rpm
vr=12
x=225//mm
//1/(tan(y))^3=vr
y=(%pi/180)*23.6
printf("lead angle is ,%f rad\n",y)
//let x/ln=u
u=(1/2/%pi)*(1/sin(y)+vr/(cos(y)))
ln=x/u
//printf("normal lead is,%f mm\n",ln)
l=ln/cos(y)
//printf("axial lead is,%f mm\n",l)
n=4
Tw=n
//pa=l/4//axi... |
a5bca90f6119cb22f58557e47a89c494b2aa231f | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH4/EX4.6/Ex4_6.sce | 3ebdea0405aa77ad975564cd0318a4b2027c0b7e | [] | 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 | 305 | sce | Ex4_6.sce | //Example 4 . 6
//To Find out the o r d e r o f the p o l e s o f the Type 1 Lowpass Chebyshev F i l t e r
clc ;
ap =1; //dB
as =40; //dB
op =1000* %pi ;
os =2000* %pi ;
N= acosh ( sqrt ((10^(0.1* as) -1) /(10^(0.1* ap) -1)))/ acosh(os/op);
disp ( ceil (N), ' Order o f the f i l t e r , N =' );
|
8649d7fa0e81735a380b33956f49c45c43418eab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH10/EX10.5/Chapter10_Example5.sce | 9ff0d3c2ba33c61c38e21e0aff1a693b833121e2 | [] | 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 | Chapter10_Example5.sce | //Chapter-10, Example 10.5, Page 411
//=============================================================================
clc
clear
//INPUT DATA
A51=2;//Ratio of areas A5 and A1
A21=1;//Ratio of areas A2 and A1
F56=0.15;//Shape factor
F53=0.11;//Shape factor
F26=0.24;//Shape Factor
F23=0.2;//Shape Factor
//CA... |
8bce279156611155b037d8225ba77a81bf2e6b7a | 19e7b2a92e135cbdbd427cbb0b422f1706b80d35 | /tests/skey370.tst | b4beb9832b590fae44799dbf74dbebcdcc0fea57 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | friedkiwi/hyperion | 08106d9235c67480b609452903d7f253f7baeb5f | d0ccfbc9a74dd0a77a75ac224025fc68f6a6617f | refs/heads/master | 2023-03-16T08:26:25.222250 | 2022-01-06T23:54:32 | 2022-01-06T23:54:32 | 142,925,136 | 0 | 1 | NOASSERTION | 2021-09-12T21:15:38 | 2018-07-30T20:31:06 | C | UTF-8 | Scilab | false | false | 193 | tst | skey370.tst | *Testcase Storage Keys: pure System/370 only
mainsize 3
numcpu 1
sysclear
archlvl 370
loadcore "$(testpath)/skey370.core"
f- 5000
f- 5800
runtest 0.2
*Done
|
07a245d6d53cc82267ce2d8a852d1bf47a130586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH5/EX5.9/ex_5_9.sce | 3177a03efb507b422fe4a5f4519d10cb6974a871 | [] | 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 | 577 | sce | ex_5_9.sce | //determine dimensions of arm
clc
//solution
//given
P=10*10^3//W
N=400//rpm
D=1200//mm//
R=600//mm//
f=15//N/mm^2
//let T be torque transmitted by pulley
pi=3.14
//P=2*pi*N*T/60
T=(P*60)/(2*pi*N)//N-m
L=T*1000/R//load transmitted//N
//since pulley has 4 arms, therefore weigth on each arm is
W=L/4//N
M=... |
9366d6c818da7f7b0e9b4412711c72e67f30f34a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH6/EX6.6/Ex6_6.sce | d2bad348ccd22babdcca91db19afae702f2aa1fc | [] | 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 | 806 | sce | Ex6_6.sce | clc
//
//
//Variable declaration
V=2.5 // Force(kips)
b=4 // Distance(in)
t=0.15 // Thickn... |
ba24e5bcce4369433633f95d813cf5b943b95771 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH7/EX7.15/Ex7_15.sce | 4fe3a7be52c9a2ed9e622e245bff683efefe6fc7 | [] | 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 | 560 | sce | Ex7_15.sce | // Variable declaration
n = 30 // sample size
Mean1 = 2.000 // sample mean
Mean2 = 2.010 // sample mean
std_dev = 0.050 // standard deviation
// Calculation
// z(0.025) = 1.96
Z = 1.96
y1 = -Z + sqrt(n)*((Mean1-Mean2) / std_dev)
y2 = Z + sqrt(n)... |
2909afeb61d04b9f9fa9e76e17d1eb580e9bd054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH9/EX9.15/Example9_15.sce | 86a578d0dfa92f99caddc6a3fee8426eb2f03050 | [] | 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 | 484 | sce | Example9_15.sce | clear;
clc;
// Example: 9.15
// Page: 359
printf("Example: 9.15 - Page: 359\n\n");
// Solution
//*****Data******//
Vl = 73*10^(-6);// [cubic m/mol]
P = 275;// [bar]
Psat = 4.360;// [bar]
T = 110 + 273;// [K]
R = 8.314;// [J/mol K]
//**************//
// Acetone vapour is assumed to behave like ide... |
5ea66b6e58034bc16e4d9ff762ef0e2e31940dcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH2/EX2.20/Ex2_20.sce | 3e741fb5e9ea6b9279d38c172e8bf1b696683940 | [] | 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 | Ex2_20.sce | //Finding heat efficiency
//Example 2.20(pg. 57)
clc
clear
m=1//mass in kg
S=4200//specific heat of water
T2=100,T1=15// temp in degree C
H=m*S*(T2-T1)//heat utilised in J
printf('Heat utilised is %6.2f Joules \n',H)
W=500//wattage rating of kettle in volts
t=15*60// time in sec
Hd=W*t//heat developed in J
... |
069846eb2fcb7035e210ab14625903cd460e0578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.4/7_4.sce | bd86eb4d340dd57fffa0b08781504d78a63bac9c | [] | 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,128 | sce | 7_4.sce | clear;
clc;
printf("\t\t\tExample Number 7.4\n\n\n");
// heat transfer from fine wire in air
// Example 7.4 (page no.-333-334)
// solution
d = 0.00002;// [m] diameter of wire
L = 0.5;// [m] length of wire whose temperature is maintained
Ts = 54;// [degree celsius] surface temperature of wire
Pa = 101325;//... |
6782a7cca8007dbf8e60e6c61d1faf6f8193f1d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH6/EX6.14/Exa_6_14.sce | 180f8333fb5e6f7f0b556712c5730a912f9f97bd | [] | 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 | 866 | sce | Exa_6_14.sce | //Example No. 6.14
clc;
clear;
close;
format('v',6);
//Given Data :
P=4;//pole
f=50;//Hz
r1=0.04;//ohm
r1dash=0.04;//ohm
r2dash=0.04;//ohm
x1=0.2;//ohm
x2dash=0.2;//ohm
f1=20;//Hz
k=f1/f;//ratio of frequencies
Tmax20BYTmax50=(r1+sqrt(r1^2+(x1+x2dash)^2))/(r1/k+sqrt((r1/k)^2+(x1+x2dash)^2));
disp(Tmax... |
c0bc669ac533cf72177009d13e1c0d7717436ce8 | b4a784116c78676b155ba6b3f4ba5366881ab800 | /ExpePerceptionMixed.sce | e852d852f517d47c79b37529c977c656fa6d6fd2 | [] | no_license | EmSavalle/Expe-Comportementale | 6d66b5cabdb91c9daab6fdef3fdb6e88e33a95ec | 798821a7c8ff2ea7251c4a09532846f8075f8853 | refs/heads/master | 2023-02-24T18:25:05.071965 | 2021-02-01T09:53:02 | 2021-02-01T09:53:02 | 310,548,136 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,956 | sce | ExpePerceptionMixed.sce | scenario = "PerceptionDeplacement";
active_buttons = 11;
button_codes = 1,2,3,4,5,6,7,8,9,10,11;
response_matching = simple_matching;
default_background_color = 255,255,255;
#-----------------Définition des variables--------------------------------------
begin;
#-----------------Chargement des sons--------------------... |
cc55a16fee0b69068b1e82d966f6ea49e42b5ecb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.44.D/2_18_44_D.sce | 0331179d153182579407cb048725eea7b3691e75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | 2_18_44_D.sce | //water and its treatment//
//example 2.18.44.D//
clc
volume_hardwater=7000//in litres//
volume_NaCl=60//Volume of NaCl in litres//
conc_NaCl=10//% NaCl consumed by zeolite bed//
Wt_per_Litre=conc_NaCl*10//gms NaCl consumed by zeolite bed per litre//
total_wt=Wt_per_Litre*volume_NaCl//total gms NaCl consumed by ... |
23d135f10736583f78bc5931e82f5585693aa481 | a7e81c6044ab372b6d8679d518050eced390391e | /ANN_Toolbox/help/builder_help.sce | b9bb8645d74993a292eb8a06bf80d0ebad13858d | [] | no_license | AlessandroFC15/LicensePlateRecognition | 8a85541867ee5e855a8b14788ae99b423a4cf495 | 586834751c188eb750042f74ffb625c0ba1ef8be | refs/heads/master | 2020-07-14T01:32:31.450394 | 2016-09-12T17:48:59 | 2016-09-12T17:48:59 | 67,956,711 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | builder_help.sce | // ====================================================================
// Copyright INRIA 2008
// Copyright DIGITEO 2011
// Allan CORNET
// ====================================================================
tbx_builder_help_lang(["en_US"], ..
get_absolute_file_path("builder_help.sce"));
clear... |
55ed01c0ec4355adfae3430bcda47e7392033a72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH8/EX8.18/Ex8_18.sce | 02a9fba2c797e45f0ccbb5ca00138c5c259c5248 | [] | 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 | 641 | sce | Ex8_18.sce | clc
Nd=2*10^16
disp("Nd = "+string(Nd)+" /cm^3") //initializing value of donor ion concentration.
a=2*10^-4
disp("a = "+string(a)+" cm") //initializing value of height of channel at pinch off.
e=1.6*10^-19
disp("e = "+string(e)+" columns") //initializing value of charge of electrons.
Er=11.9
disp("Er = "+strin... |
8eb8f8f04b91491378fb5e86871cca82fe67b3ce | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test1-0.tst | 374f757bfbdb2921964edc8a44a9f48098b1d162 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | tst | test1-0.tst | main
var cs142;
{
let cs142 <- 2412;
call outputnum(cs142);
call outputnewline()
}.
|
a697fae014bcce265d9be8f7f06a1e1f55efdffa | 20de144f57c866e91361673421260cf7779a5931 | /euler/proyecto.sce | 1808c538953784c270e45c549b963f4a61fe561a | [] | no_license | pablovilas/fisica | 0ae0db3a6c7a5293d78a9101ef21b20942e32384 | 924d96593f4c300a420257bc9ce9041a46835bf8 | refs/heads/master | 2016-08-06T00:19:10.566377 | 2014-10-08T01:50:19 | 2014-10-08T01:50:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,638 | sce | proyecto.sce | // Importar las funciones de GUI.
getd('gui');
// Constantes globales
global g r mt G;
// Gravedad de la tierra (m/s^2)
g = 9.8
// Radio de la tierra (m)
r = 6.37E6;
// Masa de la tierra (kg)
mt = 5.972E24;
// Constante de gravitacion universal
G = 6.67384E-11
// Funciones utiles
function rad=toRad(degrees)
rad... |
7bdf295b641800adcd574d9fdc140c53d10ebca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH11/EX11.1/1.sce | da711b045fd64bcc7a28610e384a5dcb0f501af5 | [] | 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 | 565 | sce | 1.sce | clc
disp("(a) the density at plane 1")
p1=1.5*10^5; // N/m^2
R=287; // J/kg.K
T1=271; // K
rho1=p1/R/T1;
disp("Density at plane 1 =")
disp(rho1)
disp("kg/m^3")
disp("(b) the stagnation temperature")
u1=270; // m/s
cp=1005; // J/Kg.K
T0=T1+u1^2/(2*cp);
disp("The stagnation temperature =")
disp... |
53bba7ec8375320931ad98307a296352e1d151fc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/m2sci/sci_ftell.sci | 1ef6a9c5c0aa86814e57b90a28696fd41b7a1255 | [
"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 | 121 | sci | sci_ftell.sci | function [stk,txt,top]=sci_ftell()
// Copyright INRIA
txt=[]
fid=stk(top)
stk=list('mtell('+fid(1)+')','0','1','1','1')
|
d0d2fe11c66afb5e3804205634e0ca0206cafd06 | 3b00ed91e5a50801cd0385f6fc2aae0a95cf0378 | /unit_4/Rayleigh_Power_Method.sce | 5e708ffbd9203caa86d4c7a3de33b70ce780cdad | [] | no_license | RahulKata/Scilab_assignments_S4LA | 2b3f392334558df8a4356efe304ae6918a3864db | b8ab3c967ca09c988d812d52cb3affa95e1ac6d1 | refs/heads/master | 2020-12-29T06:48:41.848357 | 2020-04-11T09:49:38 | 2020-04-11T09:49:38 | 238,498,777 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | Rayleigh_Power_Method.sce | clc
funcprot(0) //if variables are redefined do nothing
format('v',10)
A = input("Enter the matrix A[3x3]: ");
disp(A,'A = ');
//initial vector
u0 = input("Enter the intial vector u0[1x3]}: ");
u0 =u0';
disp(u0,"Initial Vector u0 -> ")
v = A*u0;
a = max(u0);
disp(A,'First approximation to eigen value is ');
while ... |
249fd83ca4ed7b94259b5816a7d63ddef0241133 | f80b268dd69b099fbd83db77615522337767f9f0 | /comet1.sce | 055f7d6ecfe5ad605ac88d8ebcd6a2afe9b1716e | [] | no_license | harishravi121/scilab | bd9d09e73b547c4c6b1c8c29a187ad02d2efa697 | 02e7eb4be9433bac815122a7f581c6997fbe9d1b | refs/heads/master | 2020-12-26T15:54:37.395067 | 2020-02-01T03:31:56 | 2020-02-01T03:31:56 | 237,556,135 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | comet1.sce | t = linspace(0,10*%pi,500);
clf();
isoview; //set isoview axes
comet(t.*sin(t), t.*cos(t))
|
f56d68c35b8d18e862b9ebbc93e0978a3b453cab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH7/EX7.4/Ex7_4.sce | c7383b0551bb9d26a2ae9ee0753a81b1e8db764d | [] | 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,454 | sce | Ex7_4.sce | // Variable Declaration
P = 5.0 //Power of substation(MVA)
V_hv = 33.0 //High voltage(kV)
V_lv = 11.0 //Low voltage(kV)
f = 50.0 //Frequency(Hz)
P_1 = 0.5 //Minimum load(MW)
pf_1 = 0.85 //Lagging power factor of minimum load
P_2 = 2.8 //Maximum load(MW)
pf_2 = 0.78 //Lagging p... |
7a4be0ef8725f6f07170daa809751939fea4be8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH13/EX13.4/Example13_4.sce | c8e5c89d1c5424c19d5931aa03343bac1b3c7a01 | [] | 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 | 510 | sce | Example13_4.sce | //clear//
//Caption:Program to determine the required range of glass thickness for Fabry-perot interferometer
//Example13.4
//page450
clear;
clc;
Lambda0 = 600e-09; //wavelength of red part of visible spectrum 600nm
n = 1.45;//refractive index of glass plate
delta_Lambda = 50e-09; //optical spectrum of full wid... |
a434396c8439f6887cfa8ca264ec2e645ab3c27b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH26/EX25.5/EX25_5.sce | 6e463b213254de6a4f4e6672cae15b6dc5dc64dd | [] | 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 | 455 | sce | EX25_5.sce | // Grob's Basic Electronics 11e
// Chapter No. 25
// Example No. 25_5
clc;clear;
// A series circuit resonant at 0.4 MHz develops 100 mV across a 250-uH L with a 2-mV input. Calculate Q .
// Given data
Vo = 100*10^-3; // Output voltage=100 mVolts
Vi = 2*10^-3; // Input voltage=2 mVolts
L = 250*10... |
838488653774e7ffcde172b4e62f6ed0d89536a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH7/EX7.7/Ex7_7.sce | 59bb4e1bad2fed906235d1ac85350121574b2a81 | [] | 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 | 746 | sce | Ex7_7.sce | //Caption: Find (a)e.m.f generated at 750r.p.m for lap wound (b)e.m.f generated at 600r.p.m for wave wound (c)Speed to be driven for 400V for same flux per pole
//Exa:7.7
clc;
clear;
close;
p=4//Number of poles
B=0.04//Flux per pole(in weber)
c=740//Number of conductors for lap connection
n_1=750//Speed of mach... |
a28617fc8507c28f03f53cff576974d5e9c0bc72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH1/EX1.5/1_5.sce | e84398b7a04d1dcb80e4e01069509eea669147d3 | [] | 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 | 126 | sce | 1_5.sce | clc;
W=-100;//kJ/kg
u2=200;//kJ/kg
u1=420;//kJ/kg
Q=u2-u1-W;
disp("heat rejected by the air is:");
disp("kJ/kg",-Q);
|
5043aba81e9a2a50a24d915678d9039177e65a3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH5/EX5.27/ex_5_27.sce | cd58003695be344e3325449dd0384f4202c41b8d | [] | 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 | 839 | sce | ex_5_27.sce | // example 5.27
// caption: gauss-legendre three point method
// I= integral 1/(1+x) in the range [0,1];
// we are asked to subdivide the range into two,
// first we need to sub-divide the interval [0,1 ] to [0,1/2] and [1/2,1] and then transform both to [-1,1], since gauss-legendre three point method is applicab... |
470d00b729e737b8a961315d067173db111e9076 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Romance/lld.tst | 57656a70cf2bf0dda34fe4b9d824c79cf63594e8 | [] | 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 | 39,930 | tst | lld.tst | istituir V;IND;PL;3;PRS;LGSPEC2
cunvalider V;IND;SG;1;FUT
produjer V;IND;PL;3;PRS
adoter V;NFIN;SG;2;LGSPEC2
acrediter V;IPFV;SBJV;SG;1;PST
secuestrer V;IND;PL;1;PRS
giudicher V;SBJV;PL;3;PRS
destumer V;IND;SG;1;PRS;LGSPEC2
comprer V;IND;PL;3;PRS;LGSPEC2
cunzeder V;IPFV;SBJV;PL;2;PST
renunzier V;IND;SG;1;PRS;LGSPEC2
re... |
fa06beeb676a66367b661526392fb6f31315307b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH3/EX3.8/Ex_3_8.sce | ea3508769c8211b70a47b50c2428f4e954ac7834 | [] | 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 | 612 | sce | Ex_3_8.sce | //Example 3_8
clc;
clear;close;
//Given data:
V=400;//V
R=10;//in ohm/phase
//Solution :
RL=R+R/2;//ohm
i1=V/RL;//A
i2=V/RL;//A
i3=V/RL;//A
Irms_load=sqrt(1/2/%pi*(integrate('i1^2','theta',0,2*%pi/3)+integrate('(i1/2)^2','theta',2*%pi/3,2*%pi)));//A
disp(Irms_load,"RMS load current in A : ");
Pout=Irm... |
a4b39261329f9c3370b2067640003f50bae0d1ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.20/Chapter2_Example20.sce | e15e24bb5054da95812c974711c8db4bbd9c8695 | [] | 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,741 | sce | Chapter2_Example20.sce | //Chapter-2, Example 2.20, Page 2.37
//=============================================================================
clc
clear
//INPUT DATA
K=(1/20);//Turn ratio
R1=30;//Primary resistance in ohm
R2=0.08;//Secondary resistance in ohm
X1=80;//Primary reactance in ohm
X2=0.3;//Secondary reactance in ohm
I=1.5... |
e398cae4ecf5475ef4b2159c0d06afd6e3f928e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH7/EX7.6/Ex7_6.sce | 486c14acdc6ea37d9310cee9408ff7a5c99033c7 | [] | 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 | 619 | sce | Ex7_6.sce | //Example 7_6
clc();
clear;
//To calculate the numerical aperture,acceptance angle,critical angle,velocity of the light in core and cladding
n1=1.5
delta=1.8*10^-2
NA=n1*sqrt(2*delta)
printf("Numerical apperture is NA=%.3f\n",NA)
ia=asin(NA)*180/%pi //units in degrees
printf("Angle of acceptance is... |
45953f69a0aa8addd109c0cf8461ccd1c5a645ee | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/4x4-magisch-vierkant-aanvullen/edit-me.sce | 4dde0bbb0488d36e1fd62f05cdd2d73d0fc138a1 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,242 | sce | edit-me.sce | function [output] = solve(input)
output = iterative(input);
endfunction
function [output] = iterative(sq)
count = 0;
output = sq;
used = [%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f];
nbSum = 34;
for a = 1:16
if used(a) == %t & ~(output(1) == a) then
continue;
... |
19c9028ccd77b30ad69d576fbc21a380b3f72ccc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH13/EX13.1/Ex13_1.sce | d9d1b03b12f1223428184fe738c28c83e9ae964d | [] | 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 | Ex13_1.sce | //Chapter 13 example 1
//------------------------------------------------------------------------------
clc;
clear;
// Given data
f = 6; // microwave terrestrial comm link oper. freq in Ghz
D = 50; // single hop path length in miles
// mid way of path length
D1 = 25;
D2 ... |
7443fb838675f99728159c4e56f227d04e5da53e | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.4.a/Example7_4_a.sce | 6b36d1073565696c2bcd97bcbfbf22461f46dd25 | [] | 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 | 700 | sce | Example7_4_a.sce | //Example 7.4 (a)
//Program to Calculate Value of Rb in the Biasing Circuit
clear;
clc ;
close ;
//Given Circuit Data
Vcc=6; //V
Vbe=0.3; //V
Icbo=2*10^(-6); //A
Ic=1*10^(-3); //A
Beeta=20;
//Calculation
//Case 1: Considering Icbo and Vbe in the calculations
Ib=(Ic-(Beeta+1)*Icbo)/Beeta;
Rb1=(Vcc-Vbe)/Ib;... |
ffa0f993e9f3981611525c27d9d55b3b21928350 | 42ce2af59b85049f5ba64be2ba3f2614cc2041a5 | /ds/densiteRemplir.sce | 0d853d21ecd2ed89f514eaadd5eabb8fbba1ac9a | [] | no_license | ece2lr/tp13 | 7f74b688b4bca71438ae216c603c881a8bec9171 | 84a9d7882ec8405bab119f8ffba2e89659c74ae4 | refs/heads/master | 2021-05-02T03:44:18.688503 | 2018-02-09T12:21:42 | 2018-02-09T12:21:42 | 120,901,701 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | densiteRemplir.sce | N = 10^5 // taille de l'échantillon
Y = grand(1,N,"exp",1)
X = ___
histplot(60,X) // tracé de l'histogramme
t = linspace(-8,8)
densite = exp(-t) ./ (1+exp(-t)).^2
plot(t,densite) // tracé de la densité
|
6504772fffe2ce618c819dec66e47170f0feb7e2 | 61129043aed87983b640a33b1c260316043fa570 | /demos/ui/simple_window/start_app.sce | 67db5e3f16c9c78e5c61e9bf0fba4b24793c3bcb | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | start_app.sce | // ==========================================================
// loader.sce
// ==========================================================
dir_path = get_absolute_file_path("start_app.sce");
cd(dir_path);
// Load toolbox (dependencies)
exec("../../../loader.sce", -1);
// Application
getd("./data");
getd("... |
8050d1d1bc29ddc9881f0af8a9992b4eb7cdaca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH2/EX2.3/Example2_3.sci | f03b9642a1a33738961eb0a98a3ab8cd70f70b7e | [] | 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 | 313 | sci | Example2_3.sci |
clear;
clc;
printf("\t Example 2.3\n");
l=1; // tube length, m
m=0.01; // mass fraction
D12=2.84*10^-5; // diffusivity, m^2/s
a=1.18; // density, kg/m^3
J=a*D12*m/l;
//steady state flux of water from one side to the other,kg/(m^2*s)
printf("\t steady flux of water is %.2e kg/(m^2*s)",J);
//end |
7f0699c72f95e5108af81273c20a324957efd46f | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.9/ch7_9.sci | 4d201f5014b9432071b9e4aa51f7c67f242988d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sci | ch7_9.sci | //to calculate electomagnetic power
clc;
n_f=3000; //field speed
n_a=2950; //armature speed
E=250;
E_a=E*(n_a/n_f);
V_t=250;
R_a=0.05;
I_a=(V_t-E_a)/R_a;
P_in=V_t*I_a;
disp(P_in,'power(W)');
P=E_a*I_a;
disp(P,'electromagnetic power(W)');
|
218e1f26351ff83dd5da3bedb65d1cf03c90e1c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH12/EX12.2/Example12_2.sce | 5820a56b3099f9b050fcf1b285b8d0b036ded81e | [] | 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,982 | sce | Example12_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 12: POWER,ENERGY,AND EFFICIENCY RELATIONS OF DC AND AC DYNAMOS
// Example 12-2
clear; clc; close; // Clear the work space and console.
// Given data
// data from Ex.12-1
P = 10000 ; // Power rati... |
6666dd008bd3470145183b5e49d00e96736e50d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.28/ex5_28.sce | fcc4f5ddc8a18b3eaa69b57a704a68bcc570a5cc | [] | 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,023 | sce | ex5_28.sce | //Chapter-5, Example 5.28, Page 189
//=============================================================================
clc
clear
//INPUT DATA
f=50;//freq in hz
V=100;//volatge in V
L1=0.015;//inductance in branch 1 in henry
L2=0.08;//inductance in branch 2 in henry
R1=2;//resistance of branch 1 in ohms
x1=4.71;/... |
2fd13a0ad24f955ed290efa7e937d39857def1f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH11/EX11.3.1/11_3_1.sce | 155aa96d4118f68dd70c150708a7c15719fc241e | [] | 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 | 358 | sce | 11_3_1.sce | clc
pathname=get_absolute_file_path('11_3_1.sce')
filename=pathname+filesep()+'1131.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
MCv=(m1*Cv1 + m2*Cv2)*1000*4.184
disp(MCv)
tf=(T1-T2)*MCv/Qdot
printf(" \n Time required ... |
46e9ed153ee39f69e9056812cbb4902a37b81f47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH3/EX3.4/3_4.sce | 4c8c939ee5418ba95937a2e539a5e0612e99c2e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | 3_4.sce | clc
//initialisation of variables
m= 500 //kg
V= 50 //L
P= 700 //kPa
T= 25 //C
P0= 100 //kPa
g= 9.8 //m/sec^2
A= 200 //cm^2
V1= 100 //L
//CALCULATIONS
pe= P0*10^3+(m*g/(A*10^-4))
W= pe*(V1-V)*10^-6
//RESULTS
printf ('work of the gas = %.2f kJ',W)
|
5a402a1a0cc8b13c5dd3aacf3070d4b79e3e3b11 | 19ba35741abeefce1e69482bfe706700a7c4fe54 | /angle.sci | a43b8ca8be7eb19287712ee4d5f78763fed96d5a | [
"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 | 1,442 | sci | angle.sci | //***************************************************
// Returns the angle of a complex number
//
// Inputs: x -- Vector of complex numbers
// unit -- 'rad' or 'r' for radians,
// 'deg' or 'd' for degrees
//
// Returns: Vector of angles
//***************************************************
function theta = angle... |
df996eb0a6d3272232ef9f18d06520ff8a029fa2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_ylabel.sci | 300092a4f4c3fbe146145b16c8f4dd3f10eb9fc7 | [
"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 | 132 | sci | sci_ylabel.sci | function [stk,txt,top]=sci_ylabel()
// Copyright INRIA
txt=[]
stk=list('xtitle('' '','' '','+stk(top)(1)+')','0','0','0','0')
|
3c9845297a301776395bcdbd3d70a6d915b205a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH8/EX8.6/Ex8_6.sce | a893ff4a639e5b237b6bb35620c8cf50a64d34cd | [] | 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 | 420 | sce | Ex8_6.sce | //Ex8_6
clc
Av=36
disp("Av= "+string(Av)+" dB") //Voltage gain
R1=1*10^(3)// Choosing value of R1
disp("R1= "+string(R1)+ " ohm") // Resistor at input side of OP-AMP
RF=R1*[10^(Av/20)-1] // Using formulae Av=20*log(1+RF/R1)
disp("RF=R1*[10^(Av/20)-1]= "+string(RF)+ " ohm") // Calculated Feedback resistance
//... |
68024d70a9c04643213d82960d61e64daab313bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH10/EX10.16/example16_sce.sce | 58e693fe5a51311c23d953d1122d7f12dcc78450 | [] | 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 | 151 | sce | example16_sce.sce | //chapter 10
//example 10.16
//page 422
printf("\n")
printf("given")
rDS=25;Vgsoff=10;Vds=200*10^-3;Vdd=12;
Id=Vds/rDS
Rd=Vdd/Id
Vi=-(Vgsoff+1) |
afbd4ff43b2ce3dd365d2469dd879288f0b83b1c | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/factscmd.tst | 7545c9195e4ec89d09dcd7253a33407fa3afcafd | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | tst | factscmd.tst | (unwatch all)
(clear)
(dribble-on "factscmd.out")
(batch "factscmd.bat")
(dribble-off)
(clear)
(open "factscmd.rsl" factscmd "w")
(load "compline.clp")
(printout factscmd "factscmd.bat differences are as follows:" crlf)
(compare-files factscmd.exp factscmd.out factscmd)
(close factscmd)
|
b1873e4765356d10d46dfabf6ea2c09807c6afe6 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lar2rc/lar2rc1.sce | 68b86ccb19cf8c4d5832902b51d8fccaf2f64c7f | [] | 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 | 239 | sce | lar2rc1.sce | //check o/p for vector i/p
g = [0.6389 4.5989 0.0063 0.0163 -0.0163];
k = lar2rc(g);
disp(k);
//output
// column 1 to 4
//
// 0.3090095 0.9800747 0.0031500 0.0081498
//
// column 5
//
// - 0.0081498
// |
6be1c35430d370623dccb2c905ccf387af3130d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH8/EX8.4/8_4.sce | bfe709a8938e8f3c1510511396e769574fd3eb53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 8_4.sce | clc;
disp("Example 8.4")
delZ=0.5
densityw=1000 // of water
densitym=13600 // of mercury
g=9.81 // acceleration due to gravity in m/s^2
reading=0.15
delP=reading*(densitym-densityw)*g+delZ*g*densityw
disp(delP)
// applying bernoullis law and the relation U2=4U1
U1=((2*g*(delP/(densityw*g)-0.5))/15)^0.5
disp(... |
b752775dd96406f73dc4d3782ba0999015d09550 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH13/EX13.4a/eg13_4a.sce | 492c9c7247813ed292bfc1f5b40885750cfe51c5 | [] | 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 | 683 | sce | eg13_4a.sce | defect = [6 5 3 0 1 2 1 0 2 1 1 3 2 0 1 1 0 2 1 2];
F = [0.12 0.10 0.06 0.00 0.02 0.04 0.02 0.00 0.04 0.02 0.02 0.06 0.04 0.00 .02 0.02 0.00 0.04 0.02 0.04];
total = 1000;
Fbar = sum(defect)/total;
n=50;
val = sqrt(Fbar*(1-Fbar)/n);
lcl = Fbar - (3*val);
ucl = Fbar + (3*val);
disp(lcl,"LCL is" );
disp(ucl, "UC... |
8329aeff84cf1a4f7d0b5b8e1584f00bf1de0141 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/voidtest_runme.sci | 395e8f6302e543b208f714c9b1d8e1261d3015af | [
"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 | 382 | sci | voidtest_runme.sci | exec("swigtest.start", -1);
globalfunc();
f = new_Foo();
Foo_memberfunc(f);
Foo_staticmemberfunc();
v1 = vfunc1(f);
checkequal(SWIG_this(v1), SWIG_this(f), "vfunc1(f) <> f");
v2 = vfunc2(f);
checkequal(SWIG_this(v2), SWIG_this(f), "vfunc2(f) <> f");
v3 = vfunc3(v1);
checkequal(SWIG_this(v3), SWIG_this(f), "vfunc3... |
dbeae04c9a17534fabfe8ace96733709caa23cca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH8/EX8.1/8_1.sce | d7eef7cd18421426bf332a1ea486bdc594fea1c6 | [] | 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 | 300 | sce | 8_1.sce | clc
//initialisation of variables
p1=53//psi
p2=54//psi
t=638//lb-ft
d=275//rpm
h1=50.26//sq in
h2=49.48//sq in
g=(10/12)//lb-ft
h=33000//lbf
//CALCULATIONS
I=(p1*h1+p2*h2)*g*d/(h)//ihp
P=2*%pi*d*t/h//bhp
M=P/I*100//percent
//RESULTS
printf('the mechanical efficiency=% f percent',M)
|
cc8965ec7b898e1052a4047619e66c8170cd043a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH10/EX10.7/Ex10_7.sce | 3fe1fceef5c50846d85939d055dec1e9d77b96e4 | [] | 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 | 624 | sce | Ex10_7.sce | clc;
clear;
h=4.135*10^-15 //plancks constant in eVs
c=3*10^8 //in m/s
EgGe=0.67 //in eV
EgSi=1.124 //in eV
EgGaAs=1.42 //in eV
EgSiO2=9 //in eV
//Calculation
lamda1=(h*c)/EgGe/10^-6 //in micro-m
lamda2=(h*c)/EgSi/10^-6 //in micro-m
lamda3=(h*c)/EgGaAs/10^-6 //in micro-m
lamda4=(h*c)/EgSiO2/10^-6 //in mic... |
f8305d40290ea0705bc77d800d8c13bcc325be62 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MX11.prev.tst | 408bf99e37f911a1d4e91b637b924b8bb688046b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | tst | MX11.prev.tst | [[5,5,0,-3],[3,0,5,5],[0,-3,5,5],[5,5,3,0]],det=-81 [9,10,1,12], chain 8 => [59,92,35,98] => [461,842,389,860] => [3935,7628,3719,7682] => [34769,68810,34121,68972] => [310979,619772,309035,620258] => [2792981,5579402,2787149,5580860] => [25119335,50218988,25101839,50223362] => [226021529,451984010,225969041,451997132]... |
7ff2e93f909b6e7e6ec0cc8f2148c112f8029ba7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH21/EX21.7/Ex21_7.sce | cfabb5ad188cd397274aae161a6894fb87afdaad | [] | 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 | 863 | sce | Ex21_7.sce |
//calculating synchronous impedance
Voc=90//open circuit voltage per phase
Isc=15//short circuit current
Zs=Voc/Isc
mprintf("Synchronous impedance=%d ohm\n", Zs)
//calculating synchronous reactance
Ra=1//armature resistance per phase
Xs=sqrt(Zs^2-Ra^2)
mprintf("Synchronous reactance=%f ohm\n", Xs)
//Solving ... |
39486815a7bd5e4c396e35a2699c1e95ef9fd06c | 2e75144ffb33b1dd086f87d9936211ec063fe9a8 | /test.sce | aa0bb074071c712af147e05516933c114192cca5 | [] | no_license | Yrrieth/Filtre | 6abaf5a90b7870ad79ed582cb146717c8463d1e2 | 4f8cc7d0665e22546d2a2f7c4a5af63bc3e8b49f | refs/heads/master | 2020-04-29T16:19:23.926823 | 2019-04-15T13:21:06 | 2019-04-15T13:21:06 | 176,255,273 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,828 | sce | test.sce |
function x = loadImage()
myFile = uigetfile();
x = imread(myFile);
endfunction
function saveImage(x, nomFichier)
ret = imwrite(x, nomFichier);
endfunction
function hist = histogramme(x)
[nl, nc] = size(x);
hist = zeros([1:256]);
for i = 1:nl
fo... |
9229d56136692104471456b4609bac97df258ae4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH2/EX2.8/EX2_8.sce | f03764dcc8d7378cb1e2b983eeba1617fdec4fda | [] | 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 | 336 | sce | EX2_8.sce | //Finding of Elevation
//Given
//At Sea level
p=760; //pressure in mm of mercury
rho=1000; //Density in kg/m^3
spgr=13.6;
g=9.81; //gravitational force in m/sec^2
p1=(p/1000)*rho*g*spgr;
//At Mountain
p2=735;
p3=(p2/1000)*rho*g*spgr;
rho1=1.2;
//To Find
h=(p1-p3)/(rho1*g);
disp("Elevation is ="+string... |
85567dab3b32bbe6da25a4e35cfba949d85df571 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH12/EX12.3/ex12_3.sce | 5a578a5c4030a8425e471822243a40e78ac3fb9e | [] | 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 | 99 | sce | ex12_3.sce | s=%s;
H=syslin('c',(2*s^2+6*s+7)/((s+1)^2*(s+2)))
SS=tf2ss(H)
[Ac,Bc,U,ind]=canon(SS(2),SS(3))
|
9794a8067d2e012b9c1e54e9c8b7808eb806e682 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH12/EX12.4.1/Ex12_4_1.sce | 0ed60d0bbea1dda47bb1179718dee70db59a9f93 | [] | 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 | 596 | sce | Ex12_4_1.sce | //Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 12.4.1
clc;
clear ;
//given
//case 1
Pin=300E-6;//light input power in W
Pout=60E-3;//output power in W
Gain=Pout/Pin;//Gain
x=log10(Gain);
Gdb=10*x;//Gain of erbium-doped f... |
3970328e4d6eed514beed7910f65c2027ae66972 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.19/Chapter2_Example19.sce | 553b942f35edffc3f413e949b0d3610a3c0b9dd9 | [] | 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 | 590 | sce | Chapter2_Example19.sce | clc
clear
//INPUT DATA
//CH4 + 2 O2 = CO2+2 H2O ;//Chemical equation
hfco2=-393.52;//enthalpy of CO2 in MJ/kmol of CH4
hfh2o=-241.83;//enthalpy of H2O in MJ/kmol of CH4
hfch4=-77.87;//enthalpy of CH4 in MJ/kmol of CH4
hfo2=0;//enthalpy of O2 in MJ/kmol of CH4
//CALCULATIONS
Qp=hfco2+2*hfh2o-(hfch4+2*hfo2);... |
1593d91f7764e95c649f2fafcc7f1e4cb10e8d72 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/scicos_blocks/OUT_f.sci | 47a532cb93bf2fb781410041d506afaac89dc709 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,048 | sci | OUT_f.sci | function [x,y,typ]=OUT_f(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
xf=60
yf=40
graphics=arg1(2); [orig,sz,orient]=graphics(1:3)
model=arg1(3);prt=model(9)
pat=xget('pattern');xset('pattern',default_color(1))
thick=xget('thickness');xset('thickness',2)
if orient then
... |
6cfe1d1a86fc23f7d9fcdddb50af98ff1ae25faa | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/GenWave.sci | 8f67beda1bd7d4323dcf4649f651be06c47b318d | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sci | GenWave.sci | function [signal] = GenWave(f, a, phase, N)
numwaves=length(f);
t=[0:1:N-1];
signal=0;
for index=1:numwaves
omega=2*%pi*f(index);
phaseWPI = 2*%pi*phase(index);
signal_comp=a(index) * cos(omega*t + phaseWPI);
signal=signal_comp+signal;
end
endfunction |
a41eba0f924f29529819257ce17d60948bd9e616 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH5/EX5.5/ex_5.sce | cf8514ce0e090d8054c74d75b318c5a0bc5bf86b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | ex_5.sce | // PG (261)
// Example 1
deff('[y]=f(x)','y=x^(7/2)')
deff('[y]=fp(x)','y=3.5*x^(5/2)')
deff('[y]=fpp(x)','y=8.75*x^(3/2)')
deff('[y]=fppp(x)','y=(105*sqrt(x))/8')
deff('[y]=fpppp(x)','y=(105*x^(-0.5))/16')
x0=0;
xn=1;
x=x0:xn;
// True value
I = integrate('x^(7/2)','x',x0,xn)
// Using Trapezoidal rule
... |
def1071113af1e50ca1d04ec08cac789f76037ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH2/EX2.9/2_9.sce | 723f794202609dce6fa5997fb84be07b51a296aa | [] | 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 | 204 | sce | 2_9.sce | clc
//initialisation of variables
V= 5.16*10^14 //cm per sec
M2= 28 //gms
M1= 2.02 //gms
//CALCULATIONS
c1= V*sqrt(M2/M1)
//RESULTS
printf (' Velocity of hydrogen molecule = %.1e cm per sec',c1)
|
ec1a981c5244e1aff7afd72e8baa946e4378f55c | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH7/EX7.1/eg7_1.sce | 9815ad231b7a2405df8a26a4f55478f6d3cb4892 | [] | 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 | 556 | sce | eg7_1.sce | Ie = 1.5*10^-3;
Cje = 2*10^-12;
Wb = 0.4*10^-4;
Db = 60;
Wdc = 2*10^-4;
Rc = 30;
Ct = 0.4*10^-12;
vs = 5*10^6;
kT = 26*10^-3; //in eV
q = 1.6*10^-19;
Re = kT/Ie;
disp(Re,"The emitter resistance (in ohm) = ")
Te = Re*Cje;
disp(Te, "Te (in s) = ")
Tt = Wb^2/2/Db;
disp(Tt,"base transit time (in s) = ")
Tc ... |
1f2c6841a6654edc55765f8c3581f07f8e4fdda1 | 389bd4af3bf5a0f54f51e8aafea5035f568ba445 | /soru1_2510.sce | 284a5e9a96bef3f7e28d4b6d8601dae1549eb1d9 | [] | no_license | esraatlici/Bilgisayar-Destekli-Matematik | d47f057d9cb7ee987e367c67f8923cfcf02342d8 | dae1079f60fc7e0d3b54802b4cbed9182b52fcd7 | refs/heads/main | 2022-12-25T11:14:25.575530 | 2020-10-05T15:09:58 | 2020-10-05T15:09:58 | 301,447,895 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | soru1_2510.sce | function g=ysoru(x)
if(x>1 & x<=10)
y=(exp(-x-1))/(log10(x)+log(x));
elseif(x>10)
y=sin(3*x)/sqrt(3*%pi);
elseif(x<1)
y=(x^(-%e+x))+(sqrt(x^3)*abs(x));
end
g=(y);
endfunction
|
1bdc7c2a185b8d8b406f4ab3439886b00ce36e31 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter5/Ch_5_Eg_5.8.sce | af458b8c29c0df0025d6690faf54633609efda75 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | Ch_5_Eg_5.8.sce | //To plot multiple graphs in a graphics window using the subplot command
x=0:.1:5;
subplot (2,2,1); plot (x, sin(x));
xtitle ("Plot of x vs sin(x)");
subplot (2,2,2);
plot (x, cos(x));
xtitle ("Plot of x vs cos(x)");
subplot (2,2,3); plot (x, x.^2)
xtitle ("Plot of x vs x^2");
subplot (2,2,4); plot (x, sin(-x)... |
6abf9f446e66a5bd7a44952410db6d7ac92e608d | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH14/EX14.2/Ch14Ex2.sci | c55c48c23e62bacfcf8abea6b390383d96a8bab5 | [] | 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 | 643 | sci | Ch14Ex2.sci | // Scilab Code Ex14.2 Calculating dielectric constant from electric polarizability of the atom: Page-464 (2010)
alpha_Kr = 2.18e-040; // Electric polarizability of the Kr-atom, farad-metre square
NA = 6.023e+023; // Avogadro's number
epsilon_0 = 8.85e-012; // Electrical permittivity of free space, coulomb s... |
c134c60109fe150cdc31ae62d25c07553414f990 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH10/EX10.15/Ex10_15.sce | 2bb1fd9e149eccda1ea024fa412b7c964b7181bd | [] | 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 | 510 | sce | Ex10_15.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
//
// Part 2 : AC Circuits
// Chapter 10 : Sinusoidal Steady State Analysis
// Example 10 - 15
clear; clc; close;
// Given data
R1 = 10000.0000;
R2 = 1.0000 * 10^6... |
30d52ce094b880b833fbd12dea638a60e4b84f5f | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH3/EX3.8/Ex3_8.sce | 79aac09819d1417d40e00331d3c865952c9a8063 | [] | 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 | 421 | sce | Ex3_8.sce | clc
//Initialization of variables
P1 = (3+101)*10^3 // N/m^2
R = 286.9 // N.m/Kg.K
T1 = 15+273 // K
Pg = 3.0*10^3 // N/m^2
d = 0.01 // m
d1 = 0.03// m
//Calculations
D = P1/(R*T1) // Kg/m^3
V3 = ((2*Pg)/D)^0.5 // m/s
Q = %pi*((d)^2)*(V3/4) //m^3/s
V2 = V3*(d/d1)^2
P2 = Pg - 0.5*(D)*(V2)^2
// Results
pri... |
e171537af9338df6beb7b088c0a30c62677cf667 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH8/EX8.4/EX8_4.sce | e906a446cd509d29998c0b1af4f8f9e56036a545 | [] | 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,154 | sce | EX8_4.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 8 ; Example 8.4
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
Zy = (3+(%i*4)); //Y load impedance per phase
Xn = 2; /... |
7a5f5287e332809d76e57cc3a3459eea28544161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.12/Ch04Ex12.sce | 39c2e84ba130bfd0ed8c075725d03f986ad9c12d | [] | 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 | 355 | sce | Ch04Ex12.sce | // Scilab Code Ex4.12: Page-125 (2006)
clc; clear;
k = 1.38e-023; // Boltzmann constant, J/mol/K
e = 1.6e-019; // Charge on an electron, C
L = %pi^2/3*(k/e)^2; // Lorentz number, watt-ohm/degree-square
printf("\nThe Lorentz number = %4.2e watt-ohm/degree-square", L);
// Result
// The Lorentz number = 2.... |
a25c14c0db8c8165a8716dd9f03d9334c5cfa7f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.6/Ex10_17_6.sce | e9230faaf25b306ca65a7dcf2ea64ddfe82c92a0 | [] | 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 | 184 | sce | Ex10_17_6.sce | //Section-10,Example-1,Page no.-CT.31
//To calculate the work done by the gas in Joules.
clc;
P=5
V_2=5
V_1=1
W=-(P*(V_2-V_1))*(8.314/0.08206)
disp(W,'Work done by the gas in Joules')
|
798507a9ef301532585fad8bc37559d3747fb771 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH27/EX27.4/example27_4.sce | 5b32f0aede111108ff54c13afa7e184ed12732ac | [] | 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 | 115 | sce | example27_4.sce | fr=400;
f=12;
f1=fr-f/2;
f2=fr+f/2;
disp("the edge frequencies (in kHz) are"); disp(f1); disp("and"); disp(f2); |
43bfee54d5afc0ad8c54b02d96c0ed68dee32be0 | 73614745139719e6a73e2ccc5166289b8a21b2fc | /tests/example3.sce | c03c3f146fe320d3b489263ca57c08b5bfa1794f | [] | no_license | akshaymiterani/fossee_intqpipopt | 06b1f3ea3373a3d04530b38b929b3b224ee89bd0 | 14fa6a66a984c4d08c20417ba4620fbf531bee2f | refs/heads/master | 2021-01-18T19:54:48.796792 | 2016-06-24T08:52:06 | 2016-06-24T08:52:06 | 61,268,791 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | example3.sce | //Invalid Input for f
H = [1 -1; -1 2];
f = [-2 ];
A = [1 1; -1 2; 2 1];
b = [2; 2; 3];
lb=[0,0];
ub=[%inf, %inf];
path = get_absolute_file_path('example3.sce');
[xopt,fopt,status,output]=intqpipopt(H,f,[],A,b,[],[],lb,ub,[0 0],list(), [path + '/bonmin.opt'])
clear path;
// "bonmin.opt" contains bonmin file option... |
107927eb9fd9a846b8cd9576dd0e5a917ccd950b | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH9/EX9.4.c/Example9_4_c.sce | d8349f41a1703b35d9eedaebfb255a1d2a40ad2a | [] | 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 | 535 | sce | Example9_4_c.sce | //Example 9.4 (c)
//Program to Voltage Gain of the given Two Stage RC Coupled Amplifier
clear;
clc ;
close ;
//Given Data
Ro1=3.3*10^3; //Ohms
Ro2=2.2*10^3; //Ohms
hfe=120;
hie=1.1*10^3; //Ohms
R1=6.8*10^3; //Ohms
R2=56*10^3; //Ohms
R3=5.6*10^3; //Ohms
R4=1.1*10^3; //Ohms
//Calculation
Rac2=Ro1*Ro2/(Ro1+... |
faa00a68af62a4c09c5bf78d112879f0dcbe4206 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH5/EX5.5/Ex5_5.sce | afb080eb1c417f65671e5c6547fa5c447446bdb8 | [] | 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,271 | sce | Ex5_5.sce |
// Variable Declaration
n = 3 //Number of discs
m = 0.1 //capacitance of each link pin to self capacitance
V = 33.0 //Voltage(kV)
// Calculation Section
a_1 = 1
a_2 = (1 + m)*a_1
a_3 = m*(a_1 + a_2) + a_2
v_1 = V/(a_1 + a_2 + a_3) //Voltage across top unit(kV)
v_2 = a_2 * v_1 //Voltage acro... |
29077d7670cf5ff65e12d5ac0ba0f1fb5b2b25b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH11/EX11.4/11_4.sce | 7bd462a14047bfcd5ecf5a5850d01227cc58fa25 | [] | 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 | 200 | sce | 11_4.sce | clc
//Initialization of variables
T=77 //F
//calculations
Hr=-36420 //B
hc=-169290 //B/lb mol
hh=-122970 //B/lb mol
Hp=2*hc+3*hh
Q=Hp-Hr
//results
printf("Heat transfer = %d B/mol fuel",Q)
|
222efcec284a8908a70e1904b51fc451d1384927 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH3/EX3.1.13/3_1_13.sce | 13e9d1d845610c369968980bc747e164a34a1597 | [] | 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 | 565 | sce | 3_1_13.sce | disp('the given matrix is:')
A=[4 0 -7 3 -5;0 0 2 0 0;7 3 -6 4 -8;5 0 5 2 -3;0 0 9 -1 2]
disp(A,'A=')
P=A
disp('since row 2 has maximum zeros, using row 2 for cofactor expression')
A(2,:)=[]
A(:,3)=[]
disp('deleting second row and third column from A, we get')
disp(A)
disp(A,'det','det(A)=-2 X')
disp('for the... |
93a0238ddf29e6fe3a2acfab17d28a9da249eb16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH13/EX59.4/59.sce | e42da7985d1343aa23096a2b0934e487979750a2 | [] | 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 | 169 | sce | 59.sce | clc
//initialisation of variables
w=176//kg-m
q=1/3//sec
a=75//min
//CALCULATIONS
N=w/(q*a)//hp
//RESULTS
printf('the power developed in the process=% f hp',N)
|
728ab6c34901187ff650754a05f748a664b01303 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH2/EX2.1/1.sce | 7f6dedd8c686d09c28019f83a0e45fe0852bd6ee | [] | 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 | 298 | sce | 1.sce | clc ;funcprot(0);
//Example 2.1
//Initializing the variables
z1 = 0; //Taking Ground as reference
z2 = -30;//Depth
rho = 1025;//Density
g = 9.81;//Acceleration due to gravity
//Calculation
pressureIncrease = -rho*g*(z2-z1);
disp(pressureIncrease/1000,"Increase in Pressure (KN/m2):"); |
38876d444121ac4fc2ecf902fa7e10b0b5b31680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH5/EX5.13/ex5_13.sce | 349eb22fd3e312687f02987066a176b13694ebdc | [] | 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 | 239 | sce | ex5_13.sce | // Example 5.13, page no-315
clear
clc
Cd=0.6
Dp=0.05
Df=0.035
g=9.8
rho_f=3.9*10^3
rho=1000
Vf=3.36*10^-5
Q=Cd*((Dp^2-Df^2)/Df)*sqrt(3.14*g*Vf*(rho_f-rho)/(2*rho))
Q=Q*10000
printf(" Volumetric flow Q=%.4f *10^-4 m^3/sec",Q)
|
a02ff41ae35d393263b4419ef1d52304eab3a593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH18/EX18.5/18_5.sce | d0c1aefe193cf00056f8c5a1fadedb7b6a170433 | [] | 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 | 667 | sce | 18_5.sce | //Example 18.5
//Bender Schmidt Method
//Page no. 625
clc;clear;close;
h=0.1;k=0.005;
r=k/h^2;
printf('\n j |\ti -->\t')
for i=0:10
printf(' %i\t',i)
end
printf('\n | |\tx -->\t')
for i=0:10
printf('%.3f\t',(i)/10)
end
printf('\n----------------------------------------------------------------... |
69fe86e2baf0f197e2687b848b28e0728bf98d98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.23/Exa3_23.sce | 16ff2d0fb9bd8777a2cc4c2d747cf3f19629562b | [] | 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 | 469 | sce | Exa3_23.sce | //Exa3.23
clc;
clear;
close;
// given data
// (i) when
I_D=2;// in mA
I_D=I_D*10^-3;// in A
V_D=0.5;// in V
R1=V_D/I_D;
disp("Resistace is : "+string(R1)+" ohm");
// (ii) when
I_D=20;// in mA
I_D=I_D*10^-3;// in A
V_D=0.8;// in V
R2=V_D/I_D;
disp("Resistace is : "+string(R2)+" ohm");
// (ii) when
I_D=... |
0e8be2ef7950171220e1caf5b9f2050181ace262 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH16/EX16.4/Ex16_4.sce | d56f655c4bf0a7392ba3478600de7637db3da59a | [] | 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 | 133 | sce | Ex16_4.sce | clc;
v1=3;
v2=6;
v3=4;
rf=10000;
r1=10000;
r2=10000;
r3=10000;
Vout=-rf*((v1/r1)+(v2/r2)+(v3/r3));
disp('V',Vout,"Vout=");
|
d54e1fcbddd4410b8f4cdfc8f8e097eed1a628c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.16/7_16.sce | 0816e2f82383845d29de12e5d4cb43324d0d4908 | [] | 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,154 | sce | 7_16.sce |
clc
//initialisation of variables
clear
uw=2.5
aw=127.82
to=34 //temp in degrees
tr=26 //temp in degrees
ur=1.5
ar=90
ag=8.68
clf1=100
pvwo=0.037782
p=1.013 //pressure in bar
a=6.66*10^-4
phi=0.5
//CALCULATIONS
shgw=uw*aw*(to-tr)
shgr=ur*ar*(to-tr)
sg=ag*clf1
pvo=pvwo-(p*a*(to-tr))
wo=0.622*(pvo/(... |
86c964aaab4cf5279f1b28acd608f4a915f5f313 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/en_US/read_file_doc2.sci | 45275bdbc143ebbfb2ee1290f91f34c9ecb55b85 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 9,079 | sci | read_file_doc2.sci |
function data=read_file_doc(file_name)
fd=mopen(file_name); //open file
txt=mgetl(fd,-1); //read all lines
err=mclose(fd);
//items to read (respect this order )
// items_to_read=["\name","\smalldescription","\palette","\description","\dialogbox","\example1","\example2","\example3","\seealso"... |
6a28a6d015d9f13e5ae2e2cec10939b664cddaaf | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ac2rc/ac2rc9.sce | 9a6fed83e5ad6903104996ebf1f920d03aa745b3 | [] | 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 | 261 | sce | ac2rc9.sce | //check o/p when a matrix containing elements of type double is passed as i/p
z=[0.23 0.233 0.34;0.56 0.34 0.12;0.34 0 0.986];
[k,R0] = ac2rc(z);
disp(k);
//output
// - 2.4347826 - 1.4592275 - 0.3529412
// - 0.9029536 - 1.8854692 - 3.1703557
|
9de3ec3c6efaf1843b33ebdc0e7201a96aa55597 | 0ee54b31e20f1782f26fe53a65b39667a65fd64d | /test.sce | 95b2d08b8570765d2e7dde2ec6bc0b1d8e4ee8e9 | [
"MIT"
] | permissive | mathrrocha/Cnum3 | 7ebe7a1c96dbea95594f1458644da8b09c10f08e | 4ca9050be6d58b625b4830714fcc69d293e1ca43 | refs/heads/master | 2021-03-15T04:06:51.335735 | 2020-03-12T12:20:23 | 2020-03-12T12:20:23 | 246,822,855 | 0 | 0 | MIT | 2020-03-12T11:59:25 | 2020-03-12T11:59:25 | null | UTF-8 | Scilab | false | false | 916 | sce | test.sce | // arquivo de testes do exercício 1.1 - Comandos de entrada e saída
// limpar a tela e variáveis
clc(); clear();
// criar o matriz de entrada
INPUT = [111,37,1,10;100,30,3,14;20,70,9,17];
// criar a vetor de saída
OUTPUT = [141,342,180];
// imprimir início de testes
mprintf("--------------------\n");
// criar um loop p... |
4457b89c5789f9aabdf030f77aa226490c4ee123 | e59f7b8d4c0c495a34f4dfd66df058aa9c228b7b | /RESULTS/CompareResults_NextGen.sci | dfc2a54ef8c18de16374179dcf5f765deeda1b37 | [] | no_license | maxxonair/BlueBook-Descent-and-Landing-Analysis-Toolkit-DaLAT | d1b2071adc584cbe1551090834cd01142beb0725 | 6c71c971c2aa62e9f81f3c00c211d80caf8680eb | refs/heads/master | 2021-07-13T07:26:26.655134 | 2020-05-30T11:28:41 | 2020-05-30T11:28:41 | 169,849,595 | 3 | 0 | null | 2020-05-30T11:28:43 | 2019-02-09T09:09:13 | Java | UTF-8 | Scilab | false | false | 1,532 | sci | CompareResults_NextGen.sci | clear
RootFolder='/Users/x/Documents/003_Tools/006_ControlledLandingSim/BlueBook-DaLAT-3DoF/RESULTS/';
filename = fullfile(RootFolder, 'NextGen_mk1_60.res');
filename2 = fullfile(RootFolder, 'NextGen_mk1_150.res');
BB_ascent_5_6 = csvRead(filename, " ");
BB_ascent_6_6 = csvRead(filename2, " ");
//--------------------... |
dc37b6b507620dd9c00de2f2325f67542d61db3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH8/EX8.5/Example_8_5.sce | b442468334462550869f0a9206f1654d92835589 | [] | 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 | 560 | sce | Example_8_5.sce | //Scilab Code for Example 8.5 of Signals and systems by
//P.Ramakrishna Rao
//Second Order System
clear;
clc;
z = %z;
syms n z1;
X =z^2/(z-0.5)^2
disp(X,'(i) System Function is:');
X1 = denom(X);
zp = roots(X1);
X1 = z1^2/(z1-0.5)^2;
F1 = X1*(z1^(n-1))*(z1-0.5)^2;
h1 = limit(F1,z1,zp(1));
h = h1;
disp('... |
f59d0e7beee61a5b34045eff5df7fd775b171725 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/Step_test/step_test.sci | c69a6e0957275375242ff244e73e001071789294 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,314 | sci | step_test.sci | mode(0)
global temp heat fan
function temp = step_test(heat,fan)
global heatdisp fandisp tempdisp sampling_time
sampling_time=1;
skip = 1/sampling_time;
writeserial(handl,ascii(254)); //Input Heater, writeserial accepts strings; so convert 254 into its ... |
d056c00881c393949fa0bce7a19cc66bcf72d412 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.21/5_21.sce | 4684aff71873c2dbdf5ac9a96f5236dc1a9a0285 | [] | 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,738 | sce | 5_21.sce | //pathname=get_absolute_file_path('5.21.sce')
//filename=pathname+filesep()+'5.21-data.sci'
//exec(filename)
//Volume of the tanks(in m^3):
va=4
vb=4
vc=4
//Pressure in tank A(in bar):
pa=6
//Temperature in tank A(in K):
Ta=90+273
//Pressure in tank B(in bar):
pb=3
//Temperature in tank B(in K):
Tb=300+27... |
a01e97a0fbcc5fdd5f27c45912eb59d1576c8815 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Drwline.sci | 60f0da1a836da4dcaa9662de1f5779dd466963ae | [] | 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 | 1,583 | sci | Drwline.sci | // 08.05.21
// 11.05.25
function Drwline(varargin)
global Wfile FID MilliIn PenThick PenThickInit;
Nall=length(varargin);
Thick=PenThick;
Tmp=varargin(Nall);
if type(Tmp)==1 & length(Tmp)==1
Setpen(Tmp);
Nall=Nall-1;
end;
for N=1:Nall
Tmp=varargin(N);
Pdata=Flattenlist(Tmp);
... |
95753a5a8e8744b0f38976ea1bff292eb11706c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH7/EX7.3/Example_7_3.sce | 418dcca08f7bc0346c77053fe800a4570ae6ccfc | [] | 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 | 910 | sce | Example_7_3.sce | clc;
clear;
printf('Example 7.3\n');
d=0.6;//Tank diameter
N1=4;//Rotor dpeed in Hertz
P1=0.15;//Power consumption
Re1=160000;//Reynold's number
//The correlation of power consumption and Reynolds number is given by:
//equation (7.13)
printf("\n For Constant impeller tip speed \n");
D1=d/3;
D2=6*D1;
N2=%pi*N1*D1/(%pi... |
68e1da48e0945a484714154c607ba13b368c1e31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.3/example12_3.sce | 5ba8f221facd046c220bf971eef178402a38f664 | [] | 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 | example12_3.sce | clc
// Given that
t = 15 // half-life for Na(23) in hours
r = 93.75 // percentage fraction of sample which decayed
// Sample Problem 3 on page no. 12.32
printf("\n # PROBLEM 3 # \n")
printf("Standard formula used \n")
printf(" lambda = 0.693 / t_1/2 (Decay constant) \n N =N_0*e^(-lambda*t) \n")
lambda = 0.693 / t... |
3e2dc88f85dcf3ee4b17e786abe2d68956a852e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.18/example_9_18.sce | cf32c764de87c3ec01c927141a6f824b7bddcbc5 | [] | 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 | 59 | sce | example_9_18.sce | s=%s
sys=syslin('c',(k)/(s*(s+3)*(s^2+3*s+3)))
evans(sys) |
f22977c6f9d8836f87ebbeb45881c06701a08a4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH12/EX12.6/gpc_col.sci | 569718f08a14605ce8982f66db5f5e009b4666db | [] | 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 | 975 | sci | gpc_col.sci | // Calculates the GPC law given by Eq. 12.36 on page 446.
// 12.6
function [K,KH1,KH2,Tc,dTc,Sc,dSc,R1,dR1] = ...
gpc_col(A,dA,B,dB,C,dC,N,k,rho)
D=[1 -1]; dD = 0; AD=convol(A,D); dAD=dA+1; zj=1; dzj=0;
Nu = N+1; G=zeros(Nu,Nu); H1=zeros(Nu,2*k+N-2+dB);
H2 = zeros(Nu,k+N+dA);
for j = 1:Nu,
zj = convol(z... |
24db9be7dcaeca95dbe9d5ea61170067019c5a0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH11/EX11.16/example_11_16.sce | 41a70a55a83c9da0d9fd85bdbe15345130470519 | [] | 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 | 425 | sce | example_11_16.sce | //solving the block diagram.. we have GH=k*(s+2)/s^2
s=poly(0,'s');
F=syslin('c',[k*(s+2)/(s^2)])
x=2*tan(50*%pi/180) //50 = 180 + atan((x/2)) - 180
disp(x,"omegaGC = ")
k=(x^2)/sqrt(4+x^2) // |k|*sqrt(4+x^2)/(x^2) = 1
disp(k,"for PM=50 K is ")
[GainMargin,freqGM]=g_margi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.