blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
85b9d86c6b6dbcb9a59436d4990a304326d4d742 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH9/EX9.9/Ex9_9.sce | 44cf7377ea93adfced8bba72b5c4e63f029af13a | [] | 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 | 346 | sce | Ex9_9.sce | clc
//Initialization of variables
U = 15 //ft/s
b = 96 //ft
c = 7.5 //ft
W = 210 //lb
CD = 0.046
n = 0.8
d = 2.38*(10^-3) //slugs/ft^3
// Calculations
A = b*c // ft^2
CL = 2*W/(d*(U^2)*A)
P = d*A*CD*(U^3)/(2*n*550)
// Results
printf(" the lift co efficient CL is %.2f",CL)
printf("\nthe power required by ... |
c4204faaf8f0476c5fb9ea642dfb323acd8c639d | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q07c.tst | c42b82846d3ef35003fa8fc3b4d09b0800fcb3a1 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | tst | q07c.tst | 0
0.20
aab 1
aaab 1
bbaabb 1
baaabbb 1
aabbbaaa 0
baba 0
aa 0
ab 0
|
0d81da90563cbc230e21e40f4d005e1509ce7715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH2/EX2.3/2_3.sce | a9c8ca461f8125f9f0d69c6c54a029dadc3e90ba | [] | 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 | 303 | sce | 2_3.sce | clc
clear
//Initialization of variables
pb=28.5 //in mercury
d=13.6 //g/cc
gam=62.4
pobs=-4 //psi
//calculations
patm=pb/12 *gam*d/144
pabs=patm+pobs
P=pabs*144/gam
//results
printf("Absolute pressure = %.1f psia",pabs)
printf("\n Absolute pressure in feet of water = %.1f ft of water",P)
|
b6768f9b905187f4d75daad72dc1779ce174b132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH10/EX10.1/Ex10_1.sce | f1241ccec90316c930ddb8df32714354d84eb968 | [] | 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 | 212 | sce | Ex10_1.sce | //Ex10_1
clc;
// Given:
E=4.8;// in MeV
M=128;// molecular weight of I
//Formula:
// Er=(536*E^2)/M
// Solution:
Er=(536*E^2)/M;
printf("The energy of recoil of Iodine atom is = %f eV", Er)
|
d1d6c2a3563395980ceb796639a547436e889f50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH1/EX1.5/Ex1_5.sce | b540f663275ea0d40fbc05690bf52320b4f6a560 | [] | 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 | 800 | sce | Ex1_5.sce | //calculating hardness
//Example 1.5
clc
clear
//For Ca(HCO3)2,
q1=12.5//quantity
wt1=162//molecular weight
M1=100/wt1//multiplication factor
Eq1=M1*q1//CaCO3 equivalents in mg/L
//For CaCl2,
q2=8.2//quantity
wt2=111//molecular weight
M2=100/wt2//multiplication factor
Eq2=M2*q2//CaCO3 equivalents in mg/L... |
3fd90ce8bc7c2a8329223f7d55fa30d612696f42 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-TimeSeries/FLAutoCorrelUdt-NZ-01.tst | 9df0e290e48e76f3c66ad494075b812325ef25d1 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,402 | tst | FLAutoCorrelUdt-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
8d5d3d66eaa0c6aebb4b21a8e8d5ba07858942f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH2/EX2.5/2_5.sce | e32e6a511510168daee52b5a83c529c47529d4ca | [] | 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 | 2_5.sce | clc
//initialisation of variables
r=10000//ft
l=400000//people
q=1000000//mgd
w=100//gpcd
w1=150//gpcd
m=50//percent
g=1.5//ft
h1=2.32//cfs
h2=139//cfs
d=12//ft
c=100//ft
l=10.8//ft
l2=0.85//ft
l1=1000//ft
//CALCULATIONS
a=r*w/q//mgd
b=l*w1/q//mgd
a1=a*g//mgd
b1=b*g//mgd
D=d*sqrt(h1/%pi)//in
D1=d*... |
a420a2d3e2bd4995222182703f5ff599cae2d4ea | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoCoupler.sci | a060692c0eb969af7b5bd5ac0c61cafd788c9ffa | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,339 | sci | SSSoCoupler.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [Out1,Out2]=SSSoCoupler(In1,In2,Coupling)
// Optical Coupler
//
// Calling Sequence
// [Out1,Out2]=SSSoCoupler(In1,In2,Coupling)
//
// Parameters
// In1 : Optical Input 1
// In2 :... |
059bd5b86fcbef56c802ee8e699ed666316647f9 | 9b046504c3b7683d3bfa294fe100408058e75aa3 | /Metodos/Clase3/Ejemplos/03_optimization/scilab/02_export_files/01_golden_search/prueba.sce | 5dd96db68f9b91f5c7b38ce221cf27276d7cad0a | [] | no_license | DavidAlex99/Cursos | f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f | aee547ab09db7e535bea5a6d41ed6e455f8a9a89 | refs/heads/master | 2023-01-08T02:46:07.502656 | 2020-11-14T00:45:57 | 2020-11-14T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | prueba.sce | // ************** Ejecucion metodo golden **************
clear all; clc;
// Solucion del problema de optimizacion
function fx = funcion(x)
g=9.81, v0=55, m=80, c=15, z0=100;
fx = -(z0 + (m/c)*(v0+(m*g/c))*(1-exp(-(c/m)*x))-(m*g/c)*x)
endfunction
xlow = 0, xup = 4, niter = 20;
[xlow, x2, fx2, x1, fx1, xup, d,... |
6cde33c6edb7e347cb23b1da965afe4cafa9e090 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuit_Analysis_And_Design_D._A._Neamen_1223.zip/Electronic_Circuit_Analysis_And_Design_D._A._Neamen_1223/CH14/EX14.7/Ex14_7.sce | 07f882c5c5b70651ea8dc6fccb114b0f78c1b80c | [] | 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 | 251 | sce | Ex14_7.sce | errcatch(-1,"stop");mode(2);;
;
//Example 14.7
fT=1000;//KHz
Aclo=10;
SR=1*10^3;
Vpo=10;
f3dB=fT/Aclo;
printf('\nsmall signal d loop bandwidth=%.2f KHz\n',f3dB)
fmax=SR/(2*%pi*Vpo);
printf('\nfull power bandwidth=%.2f KHz\n',fmax)
exit();
|
3520142695d532b49fa911835756067e35676838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.34/example34.sce | f96cbfc61c916b669dbd0045afd08c3bef603c7e | [] | 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 | 211 | sce | example34.sce | //derive transfer function using block diagram reduction
printf("syms G1 H1 G2 H2 G3 G4\nl1=(G1-G1*G2*G4)/(1-G1*G2*G3*G4);//X1/R\nl2=G2*(1-G1*G3)/(1-G1*G2*G3*G4);//X2/R\n g=l1+l2;//X1/R+X2/R\n C(s)/R(s)=g");
|
8cf93987b9f0dae462e855c3b949fb5a3dc2eea3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/int/%s_j_i.sci | daf4206a85a622f52ec41ea835ad04ca91422f4b | [
"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 | 306 | sci | %s_j_i.sci | function r=%s_p_i(a,n)
isn=inttype(n)
if or(double(iconvert(a,isn))<>a)|or(n<0) then
r=a.^double(n)
else
if size(a,'*')==1 then
r=iconvert(a.^double(n),inttype(n))
else
if size(n,'*')<>1 then
error(43)
else
n=double(n)
r=a
for i=2:n,r=r.*a,end
end
end
end
|
72cab9cf411021078b96a8fb6fc2e949e67aea01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH10/EX10.3/Chapter10_example3.sce | c513826a018c4182dc86da636d5c9faca844e51f | [] | 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 | 790 | sce | Chapter10_example3.sce | clc
clear
//Input data
d=0.8*10^-3;//The diameter of an orifice in m
A=1.65*10^-6;//The cross sectional area in m^2
Cd=0.9;//The discharge coefficient of the orifice
Cp=0.85;//The coefficient of the passage
p1=170;//The injection pressure in bar
p2=25;//The compression pressure of the discharge in bar
df=850;... |
ae74e64575c71a5439e8d72412fbe4ce8525cbf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH2/EX2.14/Example_2_14.sce | b60fff1c75c7d77b29dcab1834e1c62c9e1728ea | [] | 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 | 588 | sce | Example_2_14.sce | //Example 2.14
clear;
clc;
//Given
R=8.314;// gas constant in J K^-1 mol^-1
p1=2;// initial pressure in atm
v1=0.5;// initial volume in dm^3
v2=2;// final volume in dm^3
V=1.4;// coefficient of adiabatic expansion (gamma)
// To determine Work done
p2=p1*((v1/v2)^V);//final pressure in atm
Wad=(-1)*(((p1*... |
6878be6192501085f7639cf2c6b9fb6638580ed2 | 12636981a5302a614e1005bab7d20fa7e4fcda56 | /Raizes de polinômios/Bicessao.sce | 71c5ecf020249983e9d7f70f3fe4f4c43fc0a7fd | [] | no_license | willcribeiro/CN | 080593d5b9ce2f3ea04a6bee2f9df9abde77bc17 | d2329b39ac26221e544b497c88f3e2a2799118d6 | refs/heads/master | 2020-05-24T22:56:53.422197 | 2017-04-18T12:22:52 | 2017-04-18T12:22:52 | 84,888,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,054 | sce | Bicessao.sce | // Alg da Biceção
clc
clear
function y=f1(j) // Função 1
y=1-((1+j).^(-48))-34.95*j
endfunction
function y=f2(k) //Função 2
y=1-((1+k).^(-60))-39.63*k
endfunction
a=0.01 //Entervalos de confiança
b=0.03
x=a
p=5
inte=0
while(%t)
xold=x
x =((a+b)/2)
er=abs((x-xold)/x)
inte=inte+1
if... |
e287390792dbd45ee3385b9935d12d888ef73dd6 | 5ef191541ac76da7a82d9336e29b336221daf1fd | /ImportanceFunction.sce | 9d1bddb49a72b0a989886bc1a766bdd25a974b55 | [] | no_license | VictorSanh/VarianceReduction | 6dc4c5c1d6a11b52791025b86b46884aaf7519f9 | 148686b12738b5a411a9f7f55efdfc60c82c3872 | refs/heads/master | 2020-04-17T14:52:23.482332 | 2016-09-08T21:17:24 | 2016-09-08T21:17:24 | 67,740,223 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,282 | sce | ImportanceFunction.sce | clear()
N = 10000; //Nombre de simulations
T = 1; //Temps de simulations
r = 0.05; //Taux instantané
d = 10; //Nombre d'actifs considérés dans le panier;
rho = 0.0; //Corrélation de deux mouvements browniens différents.
Rho = (1 - rho) *eye(d,d) + rho * ones(d,d); // Rho, 1 sur la diagonale, rho en dehors.
//La v... |
8f06f09e2977b786715445df6ad8687842cf0c1b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/XN24TFZ/ATWM1_Working_Memory_MEG_XN24TFZ_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | 84a6bdef3056cb4b864bf40fa67c129288b09eb7 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
f06524cb8fc458904b2453acb5f25350c2759642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH8/EX8.3/Chapter8_Example3.sce | 45a445ad0768d9faecb562f679dafed2d90c76bf | [] | 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 | Chapter8_Example3.sce | clc
clear
//INPUT
dv=10;//ratio of original volume to final volume
t1=293;//inital temperature in K
y=1.41;//coefficent of expansion
//CALCULATIONS
t2=t1*(dv)^(y-1);//final temperature in K
//OUTPUT
mprintf('the final temperature is %3.2f K',t2)
|
d10c3d5dc704882e619b475f7234240623de643c | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_vrt_ind_d/~BivLCM-SR-bfas_oo_vrt_ind_d-PLin-VLin.tst | f281ae49ad4a1b3be8c702fddeb89f69c85b26cc | [] | 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_vrt_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.274847D+00
... |
59210cb44058f7a36a4669c307eb79905e914574 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/util/%c_tril.sci | 1ec935f4426598d8243167b2e8816e6f02bf15d6 | [
"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 | 185 | sci | %c_tril.sci | function d=%c_tril(a,k)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
[m,n]=size(a)
i=find(tril(ones(a),k))
a=matrix(a,m*n,1)
d=emptystr(m*n,1)
d(i)=a(i)
d=matrix(d,m,n)
|
ef1e0bc9d221f33d134ca630f49186a6e0694595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH8/EX8.2/example_8_2.sce | fc30d6cb27a19335196e05587926c43baad48b66 | [] | 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 | 992 | sce | example_8_2.sce | //Chapter 8
//Page 210
//Example 8.2
//Thevnin
clear;clc;
//Given
Zth = %i * 0.2;Xg = %i * 1;
Vt = 0.97;
I = 0.8 - %i* 0.2;
Vt_b =1;
//Calculations
//a
S = Vt * I';
Eg = Vt + Xg * I;
printf("\n P = %.3f per unit \n Q = %.3f per unit\n",real(S),imag(S))
printf("\n Eg = %.2f /_%.2f per unit \n",abs(Eg),atan(imag(Eg),real... |
909d837dccfe6cae6517e16c2aa266b0d37432b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH10/EX10.1/10_1.sce | 7f77286a7be58ce46bd37c9b42dfc196a0a91d32 | [] | 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 | 10_1.sce | clc
//initialisation of variables
v=1600//ft per sec
v1=600//ft per sec
a=15//degree
v2=0.90//ft
b=20//degree
g=32.2//ft
r=(v*cosd(a)-v1)^2//ft per sec
r1=(v*sind(a))^2//ft per sec
//CALCULATIONS
Vr=sqrt(r+r1)//ft per sec
Vr1=v2*Vr//ft per sec
V=Vr1*cosd(b)//ft per sec
V1=v*cosd(a)-v1//ft per sec
W=(V1+V... |
27ee44ffc8e1a978a3e4892e19edec7a26a8bec9 | fd7a25076f7e59bdd5cf288a37259d52c17275a1 | /TP01/zhang.sce | ff3b954e2ea7b2351fee74a21bc798fa1a9d2ca5 | [
"MIT"
] | permissive | Barchid/VISA | f8d402f9b3b392f2c25a9fe48e26f12443f2d507 | 1b8842e5985ab3f60580c25c9b9563634d4c8708 | refs/heads/master | 2020-07-28T04:44:30.033374 | 2020-01-06T00:10:19 | 2020-01-06T00:10:19 | 209,313,232 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,960 | sce | zhang.sce | []// -----------------------------------------------------------------------
// Methode de Zhang pour la calibration d'une camera
// Copyright (C) 2010-2017 Universite Lille 1
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published... |
fd2a7f8d0fe2e39c27ad53bd87e7dd11fe0eed52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH19/EX19.8/Ex19_8.sce | c9609ce52e1f6c79c505df7acad9453910197ea8 | [] | 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,985 | sce | Ex19_8.sce | l=10//span, in m
fck=15//in MPa
fy=250//in MPa
Df=100//slab thickness, in mm
D=l*10^3/15//depth of beam, in mm
D=600//assume, in mm
d=D-50//cover=50 mm
bw=300//beam width, in mm
bf=l*10^3/6+bw+6*Df//>2500 mm c/c distance of beams
bf=2500//in mm
W1=(bw/10^3)*(D-Df)/10^3*25//web, in kN/m
W2=(Df/10^3)*(bf/10^3... |
b45221a9b9aff7396c520a2c9703c2c2828f2f18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH9/EX9.6.e/E9_6.sce | 4c14f6cb74dc724e1ca40c35dfdc049999dd1a1e | [] | 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 | 246 | sce | E9_6.sce | clc
//Initialization of variables
ER=1.23 //V
EL=-0.44 //V
//calculations
E=ER-EL
//results
if(E>0)
printf("The reaction is favouring products and E is %.2f V",E)
else
printf("The reaction is not favouring products and E is %.2f V",E)
end |
bafa32b1aaa8132dcdd2df7045b29b8bcad1521d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH5/EX5.5/Chapter5_example5.sce | 52c12810936614d2d6b6da0b0cab27a6f530b50e | [] | 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 | 326 | sce | Chapter5_example5.sce | clc
clear
//Input data
r1=0.001//Initial radius in m
r2=0.004//Final radius in m
t=2*10^-3//Time in s
s=(7*10^-2)//Surface tension of water in N/m
//Calculations
P=((2*s)*((1/r2)-(1/r1)))/(t*10^4)//Rate of change of pressure in N/m^2.s*10^4
//Output
printf('Rate of change of pressure is %3.2f*10^4 N/m^2.s... |
ea1e8a97217c6e808e4b9f9566e63d0237d31fab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH5/EX5.11/Ex5_11.sce | 217606fe7f9c80875227f3a264ceed16acbc159c | [] | 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 | 649 | sce | Ex5_11.sce | //Chapter 5, Exmaple 11, page 180
//Calculate corona onset voltage and effective corona envelope
clc
clear
//(a) corona onset voltage
r = 3.175 // cm
h = 13 // m
m= 0.9 // m1 and m2
dt = 1 // Relative air density
E0 = 30*dt*(1 + 0.3/sqrt(r))*m*m
V0 = 20*r*log(2*h*10^2/r)
printf("\n E0 = %f kVpeak/cm or 20 kV/cm",E0)
pr... |
aa0f54cf4f625b9747ad7351ac8af7f3b81e7038 | e806e966b06a53388fb300d89534354b222c2cad | /macros/clipline.sci | 9f177f1017fb9495297c7958f6275b07963eeee3 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sci | clipline.sci | function [out]=clipline(width, height, x1 , y1 , x2,y2)
out=opencv_clipline(width, height, x1 , y1 , x2,y2);
endfunction;
|
20320fdc4d0633c093c9c9d2dc0cb016bbc7bcfc | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Nguyen_12.tst | f308f9419d5d32f6ee268b3795ab9f40df10819c | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58,012 | tst | Nguyen_12.tst | x y
f(xs)
0.256365 0.783034 -0.488992
0.183915 0.728186 -0.468135
0.654550 0.804641 -0.577793
0.138799 0.872240 -0.494142
0.575678 0.218533 -0.275608
0.390867 0.724123 -0.498321
0.124556 0.580947 -0.413889
0.251720 0.359972 -0.307117
0.622764 0.968845 -0.590628
0.216679 0.709155 -0.465673
0.544564 0.993831 ... |
28e218c32279a27683185ea59ec79501792e78dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH5/EX5.9/Ex5_9.sce | 04343456132eaaa1503ab41e83258a2f185e9693 | [] | 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 | 218 | sce | Ex5_9.sce |
//calculate the speed of the machine when running
N1=1000 //speed of generator
E1=205.06 //emf generator
E2=195.06 //emf of motor
N2=(E2*N1)/E1 //speed of generator
disp('speed of motor='+string(N2)+'rpm')
|
3bb57246377cf9579bab80f2a53758ccdd20849d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH2/EX2.1.4/example2_4.sce | 211bfca8eb740f0033771d558c6f7e5a7316568f | [] | 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 | 589 | sce | example2_4.sce | //exapple 2.4
clc; funcprot(0);
// Initialization of Variables
pi = %pi;
M=28.05/1000;
gamm=1.23;
R=8.314;
atm=101.3*1000;
P1=3*atm;
//calculation
//part1
P2=P1*(2/(gamm+1))^(gamm/(gamm-1));
disp(P2/1000,"pressure at nozzle throat (kPa):")
//part2
temp=273+50;
nu1=R*temp/P1/M;
G=18;//mass flow rate
nu2=nu1*(P2/P1)^(-1... |
3e627349a67992e3805fb1298f7058e4065ebb87 | 62caa60525e4b9083ff0969ad308b8ff9c1b1faf | /src/ar.sci | 6356e3b06edda1f8f7235474c997005ce9cd7b87 | [
"Apache-2.0"
] | permissive | buptliuhs/ARE | a06c78fda5b51e6cffccefdf49d1005c9b590ab5 | e5d9471d6dcb3229c0fbc121de32f418cb96eb41 | refs/heads/master | 2021-01-10T12:57:11.928817 | 2018-08-08T03:45:51 | 2018-08-08T03:45:51 | 45,362,322 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,100 | sci | ar.sci | stacksize('max');
fall=4;
moving=3;
walking=2;
shuffling=1;
standing=0;
sitting=-1;
lying=-2;
inverted=-3;
undefined=-4;
s_freq=100;
path='__SRC_FILE__';
output_file_name='__DST_FILE__';
disp("path=" + path);
disp("output_file_name=" + output_file_name);
////////////////////////////////////////
function [angle_do... |
e9b62423126d23dac453b410296bb9bbaaa0d0a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH16/EX16.2/16_2.sce | 072e2a0c23ee7abc2e31c2323a177e5328a95d8e | [] | 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 | 317 | sce | 16_2.sce | eps_e = 0.27; P = 1 ;
K = (4*eps_e^2*P)/(1-eps_e^2);
P1 = 100/760; // in Pa
eps_e_1 = sqrt((K/P1)/(4+(K/P1)));
T1 = 318; T2 = 298;
R = 8.3143; K1 = 0.664; K2 = 0.141;
dH = 2.30*R*((T1*T2)/(T1-T2))*(log(K1/K2));
disp("atm",K,"K is")
disp(eps_e_1,"epislon is ")
disp("kJ/kg mol",dH,"The heat of reaction is")
|
2326c9bd7b9c1b38425680b6590822f2427bcfe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH10/EX10.3/10_3.sce | db257ef207af946e793b3fb85da720c35ed681ee | [] | 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 | 156 | sce | 10_3.sce | clear; clc; close;
Beta = 75;
Rc = 47*10^(3);
ri = 20*10^(3);
Re = 43*10^(3);
Ac = Beta*Rc/(ri+2*(Beta+1)*Re);
disp(Ac,'Common mode gain = ');
|
99ac70c9f658a8e1dce82bcf438cdcd2b505209e | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH4/EX4.12/4_12.sce | e7646b281086d6ab6d17341a74c796e82c099b12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | 4_12.sce |
a=0.0158
b=0.0079
f=15.8*10^9
//TE10
m=1
n=0
fc=3*10^8*sqrt((m/2/a)^2+(n/2/b)^2)
printf("\n(a)\nfor TE10 \n\tfc=%.4e Hz",fc)
Vp=3*10^8/sqrt(1-(fc/f)^2)
//TE20
m=2
n=0
fc=3*10^8*sqrt((m/2/a)^2+(n/2/b)^2)
printf("\nfor TE20 \n\tfc=%.4e Hz",fc)
//TE01
m=0
n=1
fc=3*10^8*sqrt((m/2/a)^2+(n/2/b)^2)
printf(... |
4fc1f2a7d007081b84018d8c83d1dac1e295dc88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH4/EX4.20/Ex4_20.sce | 30d230e5f6dae9884c0a0dd84acaaac66a26e556 | [] | 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 | 376 | sce | Ex4_20.sce | clc
w = 50 // width of grinding wheep in mm
f = w/2 // feed in mm
t = 0.25 // toatal stock in mm
d = 0.025 // depth of cut in mm
n = t/d // number of cuts
v = 15 // cutting speed in m/min
D = 38 // diameter in mm
N = (1000*v)/(%pi*D) // r.p.m.
l = 200 // length of part in mm
Tm = (l*10)/(f*N) // min.
printf... |
f73c83b48ee0e38e55299b16eb989c4403c1ad19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH5/EX5.5/ex5_5.sce | cc6c7a0236e696772ff8d31f7ccfff7bd3bbbc80 | [] | 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 | 310 | sce | ex5_5.sce | // Exa 5.5
format('v',7)
clc;
clear;
close;
// Given data
Ri = 1;// in k ohm
Ro = 80;// in k ohm
Aiint = 150;
R_S = 5;// in k ohm
R_L = 1;// in k ohm
//Aiext = i1/i2 = (R_S/(R_S+Ri)) * (Ro/(Ro+R_L))*Aiint;
Aiext = (R_S/(R_S+Ri)) * (Ro/(Ro+R_L))*Aiint;
disp(Aiext,"The external current gain is");
|
291a14bbcdbd624009093db38b077b22b0d166d5 | 885ee700356ad98a29fe87d97751e692062de746 | /data/igt_exp/inflected+uninflected_data/lez.unclean.tst | b6cf695cedb27b7f581be514aa69dd55e0f66215 | [] | no_license | LINGuistLIU/IGT | 1e58bfea1e7d70bdff507c67fa856c55af5bbdc2 | 8b9ca93189424118a669582ce54192bf441fcc6a | refs/heads/master | 2022-08-31T12:33:23.649666 | 2020-05-28T20:27:18 | 2020-05-28T20:27:18 | 267,152,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,386 | tst | lez.unclean.tst | инсанриз инсандихъ SG;OBL;POESS
кӏурцӏулдиз кӏурцӏулди SG;ERG
вирида виридан SG;GEN
арабар арабриз PL;OBL;DAT
хуьруьн хуьре SG;INESS
гададин гададив SG;OBL;AD
кӏвалин кӏвала SG;INESS
вакай вуна SG;ERG
къерехдай къерехдиз SG;OBL;DAT
чила чилел SG;OBL;SUPER
гьаятдиз гьаятда SG;INESS
ибурувай идал SG;SUPER
ана анал SG;SUP... |
a73a3851be12f0e8e4e2e98c9968113c2428ba24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH17/EX17.9/ex_17_9.sce | 338d6c865083634e64e6bc016da4325d141a8e5d | [] | 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 | 729 | sce | ex_17_9.sce |
//soltuion
//given
W1=18000//N
F=4000//N
do=60//mm
p=10//mm
D1=150//mm
R1=75//mm
D2=50//mm
R2=25//mm
u=0.1//=tan(q)
u1=0.12
pb=7//N/mm^2
//let P1 be max force
dc=do-p//mm
d=(do+dc)/2//mm
//tan(a)=p/(%pi*d)=0.058
b=0.058
W=W1+F//N
T1=W*[(b+u)/(1-(b*u))]*d/2//N-mm//torque aacting
R=(R1+R2)/2//mm
T2=u1*W*R//N-mm
T=T1+T2/... |
7b5c74fd701842bc083d708df104f98bc6af9ab0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH12/EX12.8/eg_12_8.sce | 9ac7518d210f38cc0daf5818c53b6ae398a1df03 | [] | 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 | 406 | sce | eg_12_8.sce | clc;
clear;
disp("For the Machine M5 in PG 400");
disp("State A implies the identification of states C and D");
disp("similarly C implies the identification of E and F states");
disp("In the same way C implies the identification of A and B");
disp("Thus the smallest input consistent partition for M5 is ");
disp("pi={(A... |
4ad637854303d09cc61cc80d2b01e3aac5e24a4b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.8_4.tst | 48451a9275d0fb96c9a9e0147af1c20182dbbf84 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 548,031 | tst | 5.8_4.tst | 8 210:1 380:1 505:1 711:1 826:1 916:1 1188:1 1450:1 1480:1 1525:1 1635:1 1823:1 1916:1 1983:1 2006:1 2007:1 2235:2 2365:1 2384:1 2390:1 2391:1 2681:1 2771:1 2791:1 2859:1 2895:1 2984:1 3009:1 3256:1 3328:1 3515:1 3694:1 3848:1 3883:1 3941:1 4101:1 4208:1 4392:1 4449:1 4536:1 4643:1 4789:1 4837:1 4960:2 5099:1 5101:1 51... |
2378c1ea89dcc6bd0ac1f302db36348fbecb5eb5 | 499d051e2a4fa1bb1cc5ac86c4fe23ae88d60a6d | /scilab/plot_spec_round.sci | b9063961a164eee5e43bc5bf2aac2e5461f2d8e4 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gap-packages/automgrp | 27ef69cfb6a97093e708c4241abc2f002053359b | bae72980572af919f6498e13e88d71feb9175875 | refs/heads/master | 2022-10-11T13:52:38.771189 | 2022-09-23T07:10:33 | 2022-09-23T07:10:33 | 209,880,291 | 2 | 0 | MIT | 2022-01-27T00:21:10 | 2019-09-20T21:00:32 | GAP | UTF-8 | Scilab | false | false | 815 | sci | plot_spec_round.sci | // plot_spec_round.sci
function [sp] = plot_spec_round(autom, iter_num, prec)
if ~(exists("iter_autmats")) then
getf("/home/muntyan/math/automata/scilab/iter_autmats.sci")
end
num_states = size(autom); num_states = num_states(1);
mats = list(1);
for i=2:num_states
mats = lstcat(mats, list(1))
end
for i=1:iter_nu... |
894a58879daec37e6d2306d5de844669b3379af1 | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/8.tst | c543ea4a240e97acaee7e8b081f86220a155c27e | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | tst | 8.tst | 6 6
2
4 4 1
2 2 1
|
a508344c5073c30e91297fdb00dda7d2492026a5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/Sfgrayplot.man.tst | 956bb70051428f639336569cc51f4c2f379ef9a2 | [
"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 | 103 | tst | Sfgrayplot.man.tst | clear;lines(0);
t=-1:0.1:1;
deff("[z]=surf(x,y)","z=x**2+y**2")
Sfgrayplot(t,t,surf,"111",[-2,-2,2,2])
|
46a5077ffc7520d0c87019b945186e1bfab7cfc6 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT6.prev.tst | 151fdb15cf23cd39e27c4c14a6a7f2ec05bda665 | [
"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 | 133 | tst | RT6.prev.tst | [1,[-2,5]] * [2,[3,-5]] =
rsize1=2, rsize2=2, rsizer=3
[[2],[-1,5],[-6,25,-25]]
- x - 6*x^2 + 5*x*y + 25*x^2*y - 25*x^2*y^2 + 2
|
622751c54612913181b9327ebfdf4f8b3e614dc8 | 5e41650bc8e029f266de538eb7a9cc29e7c9ed02 | /assignment4/2.Echo/echo.sce | bc5815b4a34e75217e6055df455f9c1fc23870e5 | [] | no_license | russab0/DSP | 9f3cccd2a4510529fe16312dc3db447979036201 | c526c26197638c81fa2b249cb11ad14001b01b7f | refs/heads/master | 2022-04-25T11:25:31.570070 | 2020-05-01T18:49:27 | 2020-05-01T18:49:27 | 256,179,852 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,777 | sce | echo.sce | /*
PREPARATION
*/
clear()
clf()
BASE = "/home/sabzirov/Desktop/Spring20/DSP/assignment4/2.Echo/"
exec(BASE + "cshift.sci")
[signal, signal_Fs, signal_bits] = wavread(BASE + "sample_track.wav")
signal = signal(1, :)
[irc_given, irc_Fs, irs_bits] = wavread(BASE + "IRC.wav")
irc_given = irc_given(1, :)
... |
5e613ae46b1fcdadc0608cf329f33201501275d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.7/EX5_7.sce | 67e3e249cd80b73645e9ce0a91027e7bb2b9fb0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | EX5_7.sce | //EXAMPLE 5-7 PG NO-300
IR1=0.185; //current
IR2=0.0924; //current
R=250; //Resistance
P1=IR1*IR1*R; //POWER
P2=IR2*IR2*R; //POWER
P=P1+P2; //POWER
disp('i) POWER (P1) is = '+string (P1)+'W ');
disp('i) POWER (P2) is = '+string (P2)+'W ');
disp('i) ... |
c00e0addb1133c42217d0a26ee19dac28d6c63be | 816ccefab515b9e1fc5871beebf0913ecd2c8b94 | /regTests/cgtc/ko.tst | e90021c2e57957dfdd0cde08e26601108ccd7c63 | [] | no_license | CurtisHughey/ergo | 45dff870a6592cb29b9aa68c416bae1577f41452 | 634ea9eddbd23c917407e667a535be9dae32d55c | refs/heads/master | 2020-04-06T07:02:17.089864 | 2016-08-21T23:53:12 | 2016-08-21T23:53:12 | 58,999,319 | 8 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,330 | tst | ko.tst | #------------------------------------------------------------------------------
# Ko
#
# Computer Go Test Collection http://www.cs.ualberta.ca/~games/go/
#
# $Source: /usr/cvsroot/project_cgtc/ko.tst,v $
# $Id: ko.tst,v 1.3 2004/04/28 17:10:39 emarkus Exp $
#-------------------------------------------------------------... |
a56a99adee7dd43492bb21a97abfc4de01775aad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.2/3_2.sce | d84452ac54d7ffb3e15065eb8cfa5c0555ef231f | [] | 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 | 3_2.sce | clc;
clear;
//Example3.2
//Given
mu=15*10^-6 //sq m /s
v=2 //m/s
L=2 //[m] length of plate
Nre_x=3*10^5
xc=Nre_x*mu/v //critical length at whihc the transition takes place
//Since xc is less than 2 m.Therefore the flow is laminar
//at any distance x,.it is calculated from
//del/x=4.64/(sqrt(NRe,x))
//At x=L... |
fa28a741632877f04381201674ce20c53c42bfac | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_3/Scilab_codes/Pertubed_pole_Zero_cancellation_a.sce | 0abbfc3d1fe42dfcb71993ea7bea5fde1976df47 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Pertubed_pole_Zero_cancellation_a.sce | clear
close
clc
clf()
s = poly(0,'s');
a = -1:0.1:1;
t = 0:0.01:1;
for i = -1:0.1:1
g = (s-3+i)/(s^2-s-6)
G = syslin('c', g);
gs = csim('step' , t , G);
if (i==0)
plot2d(t,gs, style =2)
else
plot2d(t,gs)
end
end
xlabel('Time','fontsize',4)
ylabel('Ampl... |
26e3ef0deaf0bfaa99eaf64932599636b01836a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH9/EX9.4/Ex9_4.sce | 676f1888b207f1f130c4d663d713fa185468f222 | [] | 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 | 655 | sce | Ex9_4.sce | clear
//
//
//
//Variable declaration
mew_e=0.13 //mobility of electron(m**2/Vs)
mew_h=0.05 //mobility of holes(m**2/Vs)
e=1.6*10**-19
ni=1.5*10**16 //number of electron hole pairs
N=5*10**28
//Calculation
sigma1=ni*e*(mew_e+mew_h) //intrinsic conductivity(ohm-1 m-1)
ND=N/10**8
n=ni**2/ND
sigma2=ND*e*me... |
8a7dcb52e90bea7fbdc45ef8a8f1117848256721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH9/EX9.9/Ex9_9.sce | 82ffc481b80cf3fa932d0b4b822f3b9d8a72f337 | [] | 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,080 | sce | Ex9_9.sce |
clc
clear
//Input data
f=100;//The reactor is fuelled of natural uranium in tonnes
A=238.05;//The atomic mass of natural uranium
F=10^13;//The average thermal neutron flux in neutrons/cm^2s
A1=235.04;//The atomic mass of U-235
sf=579;//The fission cross section of U-235 in barns
sc=101;//The capture cross sec... |
a56c5c59fec19ba7e812a7ae3d8c8fee6c6cd252 | 1932005a6025980df3b2db017758374b04e7740a | /plot.sce | 68eb3ac55cabd381e7813764ee5b8b6916b38acb | [] | no_license | kouhei1970/drone2016 | a668e6eb9701ccc63ff8c98d3022fa7907ebbff7 | 659b08f4dc4bdff82a32458467a474027bacc9ec | refs/heads/master | 2020-06-18T05:06:03.813199 | 2016-12-01T13:54:53 | 2016-12-01T13:54:53 | 74,945,342 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 896 | sce | plot.sce | subplot(331)
xtitle("u")
xgrid()
plot(hoge.time,hoge.values(:,1))
subplot(332)
xtitle("v")
xgrid()
plot(hoge.time,hoge.values(:,2))
subplot(333)
xtitle("w")
xgrid()
plot(hoge.time,hoge.values(:,3))
subplot(334)
xtitle("p")
xgrid()
plot(hoge.time,hoge.values(:,4))
subplot(335)
xtitle("q")
xgrid()
plot(hoge.time,hoge.va... |
f0479aa1218807b6cf64fc416a662cec7148a3cb | 1988df91caa448a35bbf274a6d2698fe434571b1 | /axiom/diag2.tst | 42e094fdb3be7042f32374aa2337791633678bfd | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 17,357 | tst | diag2.tst | MARK begin;
COMMENT | ************************************************************* |
COMMENT | * AUTHOR: Alex Simpson DATE: 30/10/89 * |
COMMENT | * * |
COMMENT | * SUBJECT: The Diagonalisation Lemma * |
COMMENT | * * |
COMMENT | * NOTES: Based on the original version by Fausto. ... |
0554ed3a843a0e0d18e6b3e6afc035127c88ebd4 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/StdRegions/Tests/StdProject_Diff2D_Tri_Orth_P6_Q7.tst | 5f577f90dfb3028ae521007a42704c06fcfef2b7 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 505 | tst | StdProject_Diff2D_Tri_Orth_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject_Diff2D Triangle Orthonormal basis P=6 Q=7</description>
<executable>StdProject</executable>
<parameters>-s triangle -b Ortho_A Ortho_B -o 6 6 -p 7 7 -d</parameters>
<metrics>
<metric type="L2" id="1">
<value tolera... |
5b30ab4ee3d1f13d04068789071296187b658dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.40.25/Ex1_40_25.sce | 21123862b53970c145ff6873b2f5cdaac19be8c0 | [] | 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 | 786 | sce | Ex1_40_25.sce | //Ex 1.40.25
clc;clear;close;
format('v',9);
//Given :
Kdash=0.0259;//constant(taken as K*T/q)
A=0.5;//cm^2
Na=10^17;//per cm^3
ni=1.5*10^10;//per cm^3
delta_p=5*10^16;//per cm^3
x=1000;//Angstrum
mu_p=500;//cm^2/V-s
tau_p=10^-10;//sec
q=1.6*10^-19;//Coulomb
Dp=Kdash*mu_p;//cm/s
Lp=sqrt(Dp*tau_p);//c... |
3bd28bb6e3c675db05a12851a151e6e83fcff7bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH9/EX9.5/Ex9_5.sce | 6baaf9041173e67fc44780057f1073a5c04b14a1 | [] | 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 | 536 | sce | Ex9_5.sce | //Initilization of variables
mu1=0.2 //coefficient of friction between wedges and A
mu2=1/4 //coefficient of friction between wedges
F=20 //tonnes
//Calculations
//Using the matrix method to solve
//Summing forces in vertical and horizontal direction
A=[1,-(mu1*10+1)/(sqrt(101));0, (10-mu1*1)/sqrt(101)] //force... |
9ed5e3c0ec1d7dfb608b562fc1d84e5f37d684df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH6/EX6.1/Ex6_1.sce | 2793b9b5a19b9c94cefb643535e384850f7a66cf | [] | 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 | 920 | sce | Ex6_1.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 6.1
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
eta=0.70;//quantum efficiency
E=2.2*10^-19;//energy of the photons in Joule
Ip=2*10^-6;//photocurrent in A //the value in question is different from th... |
38af71ca740c75c1b1c418a3f95ad9e173a6fe14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH17/EX17.4/ex4.sce | 614a6ff9820440272f7304161cfcae048eb2669d | [] | 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 | 266 | sce | ex4.sce | //ques4
//Critical Temperature and Pressure in Gas Flow
clear
clc
k=1.289;
T0=473;//Temp at in K
Tx=T0*2/(k+1);//Temp in K
P0=1400//pressure in kPa
Px=P0*(2/(k+1))^(k/(k-1));//Pressure in kPa
printf('T* = %.0f K \n',Tx);
printf(' P* = %.0f kPa \n',Px);
|
42321541b522c186fe5a5f10098bd28b7b0f22f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH24/EX24.5/Example24_5.sce | cd7ec173364877bfd7bdf0cf77a3a594e7557945 | [] | 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 | 246 | sce | Example24_5.sce | exec('electrostatics.sci', -1)
//Given that
lambda = -1*10^-3 //in C/m
Eb = 3*10^6 //in N/C
//Sample Problem 24-5
printf("**Sample Problem 24-5**\n")
r = lambda/(2*%pi*Eo*Eb)
printf("The radius of the column is equal to %fm", abs(r)) |
b00c6654bc10ed51a63511935d940b873a3b3f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH3/EX3.25/EX3_25.sce | 5e1a4212556df8d7b09b51e80b677746c19964c1 | [] | 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,207 | sce | EX3_25.sce | //Example 3.25<i>
//Find whether the system is causal and stable.
clear all;
clc ;
n = -5:5;
for i =1: length (n)
if(n(i) <=0)
h(i)= 2^n(i);
else
h(i)=0;
end
end
causal =%t;
for i =1: length (n)
if n(i) <0 & h(i) ~=0 then
causal =%f;
end
end
disp (causal,'The statement that the system... |
8888b05e63eb10a69f41ff4d7ff4c5dc104dc472 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.21/Example1_21.sce | 4d367abbb9558b01a71ac995105ea38fc22395a2 | [] | 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,841 | sce | Example1_21.sce | //Example 1.21
clc
disp("Step 1: Identify topology")
disp("Making output voltage zero(Vo = 0); feedback does not become zero and hence it is not voltage sampling. By opening the output loop feedback becomes zero and hence it is a current sampling. As I_i = I_s-I_f, the feedback current appears in shunt with the inpu... |
75574450f1df5b5e8747a9a4fd01b228311cefa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.34/Ex5_34.sce | 6233ad166ef5af51c2ec84d9429a35db4852579e | [] | 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 | 294 | sce | Ex5_34.sce | //Example 5_34
clc();
clear;
//To find the angle at which it occurs
n=3
lemda=0.79*10^-10 //units in meters
d=3.04*10^-10 //units in meters
theta=asin((n*lemda)/(2*d))*180/%pi
printf("The angle at which it occurs is %.3f degrees",theta)
|
7158bd5fa6949b27aaad190a04175b59b14187fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH11/EX11.4/Chapter11_example4.sce | 444b980ce5532f0255d87ded7b819e28d9124b27 | [] | 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 | 770 | sce | Chapter11_example4.sce | clc
clear
//Input data
n=4//Number of cylinders
N=2000//Speed in r.p.m
m=13.15//Mass of fuel in kg/hour
Vd=655.5//Displacement volume in c.c
da=1.2//Density of air in kg/m^3
d=12.7//Manometer depression in cm
//Qa=0.231*sqrt(ha); Qa is the flow rate in cu.m/min and ha is the pressure difference in metres
//... |
a4394e5925fe1f70a47f900b812e1ba052e9d32d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.5_17.tst | e54d442c1c85266a90cf2b6b24870f16d420196c | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 590,649 | tst | 5.5_17.tst | 5 8:1 28:1 600:1 624:1 886:1 936:1 940:1 1004:2 1007:1 1208:1 1624:1 1718:1 1923:2 2148:1 2304:1 2385:1 2413:1 2576:1 2601:1 2845:1 2968:1 3031:2 3088:1 3418:1 3702:1 3703:1 3856:1 3909:1 4037:1 4152:1 4312:1 4318:1 4332:1 4506:1 4741:1 4747:1 4770:1 4864:1 5023:1 5030:1 5090:1 5148:1 5289:1 5367:1 5593:1 5748:1 5851:1... |
388a139e1368fcd730ebccf20eb165ea1813901d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.13_15.tst | a95bb44d818ef8961b591cf4ab7baf2867e697fd | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 15,341 | tst | bow.13_15.tst | 13 23:0.5 31:0.25 42:0.14285714285714285 56:0.25 100:1.0 136:2.0 148:0.5 158:0.16666666666666666 165:1.0 202:1.0 207:1.0 248:0.14285714285714285 354:0.5 908:1.0 1392:0.3333333333333333 3536:1.0 4816:1.0
13 4:0.14285714285714285 46:0.2 111:0.2 135:0.09090909090909091 191:0.2 224:0.3333333333333333 248:0.1428571428571428... |
32a83056a69667138ae52f329877e23ec04fd0fe | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/is_matrix-006.tst | 52b2ea7d768c14de39430990f3cab9ace6f6d218 | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21 | tst | is_matrix-006.tst | ../inputs/sep-4x3.ssv |
79ebe915a3515fcd840c723fbbe1bae6900ed033 | 6b317caeff9d26dcf0051f56bfcaa94676704bb3 | /mody.sci | 7d6029d952e0d089f411267623c25a91260f3a1c | [] | no_license | devanshmody/c-cpp-programs | 8d1a11915a421f420ba8cec71ea6d369e574baf9 | fc2cbe444c2f7ce49417e06db62c24ee89c6acaa | refs/heads/main | 2023-04-24T15:03:10.218495 | 2021-05-05T09:41:10 | 2021-05-05T09:41:10 | 364,527,543 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sci | mody.sci | //NAND
x1=[0,0,1,1];
x2=[0,1,0,1];
w1=[-10];
w2=[-10];
t=-15;
n=4;
for i=1:n
y(i)=(w1*x1(i))+(w2*x2(i));
if y(i)<t then
y(i)=0;
else
y(i)=1;
end
end;
disp(y);
plot(y);
|
af7d149fc03146a40fe207d14fbdd7e15504a529 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH3/EX3.1/exa3_1.sce | 9fe7c11d621789aa8d67973ef757df8ad48fca08 | [] | 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 | 435 | sce | exa3_1.sce | clc;
//Example 3.1
//Page no 75
//Solution
fn=10*(10^6);
k=10;
c1=10;
c2=-5;
//(a)
disp("(a)Substituting into equation 3-6 and 3-7 (refer pgno 75) give us ");
df=k*(10*c1);
disp('Hz',round(df),"dF = ");
fo=fn+(round(df));
disp('MHz',fo/(10^6),"F0 = ");
//(b)
disp("(b)Again, substituting into equation 3-6 an... |
a3b9046b4d14bf0c476a509cfb3482ba50bee788 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH25/EX25.8/25_8.sce | f6af109e54e70abc319b5c6b582623c030083617 | [] | 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,560 | sce | 25_8.sce | clear//
//Variables
hie = 1500.0 //hie (in ohm)
hfe = 50.0 //hfe
hre = 50.0 * 10**-4 //hre
hoe = 20.0 * 10**-6 //hoe
R1 = 20.0 * 10**3 //Resistance (in ohm)
R2 = 10.0 * 10... |
01f06100c4b5f7225f5249acfb319a6aa2b40578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.45/Ex5_45.sce | d1e0cbb64572852f799908c53d19962efafe5a17 | [] | 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 | 841 | sce | Ex5_45.sce | clc;
p=500*10^3; // rated power of alternator
v=11000; // rated voltage of alternator
m=3; // number of phases
l1=1500; // friction and windage losses
l2=2500; // open circuit core losses
ra=4; // armature resistance per phase
l3=1000; // field copper loss
pf=0.8; // power factor
disp('case a: Half load');
ia... |
8e350300456c380ade6b7aac7b59e30124f941b4 | aef26b59d30e6dadcb4ad4adca5fef486bba8f39 | /99乘法表.tst | 448eb557e945eab5361852e872dbf8b090c703e3 | [] | no_license | BinYangXian/ora | 23141658d122e552ae63d2c091a0b038446da275 | ebb23fed403da5248f8926f902a247b4046e540c | refs/heads/master | 2021-01-20T15:07:10.757649 | 2017-05-09T08:34:52 | 2017-05-09T08:34:52 | 90,722,061 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 451 | tst | 99乘法表.tst | PL/SQL Developer Test script 3.0
22
-- 99³Ë·¨±í
declare
v_sum number := 0;
begin
for i in 1..9 loop
for j in 1..i loop
v_sum := i*j;
if v_sum<10 then
dbms_output.put(j ||' x '||i||' = '||v_sum||' ');
else
dbms_output.put(j ||' x '||i||' = '||... |
40b6487c643ad2f9060de2c87d3d58c71c10b06d | 3fd92f4c674f895d1d671c355f8c82d06831e89e | /EP3/EP3.sce | 532f63dcc08e1ef4cf4d38c5745eea79de6fd22c | [
"MIT"
] | permissive | vitoramr/Pendulum_Dynamics_simulation | b1c98373c49aa978700575fba479740810dee9ed | 364e34b18a72e603f525ef48978661f44ee982dd | refs/heads/main | 2023-01-23T07:21:19.830047 | 2020-11-20T15:29:41 | 2020-11-20T15:29:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,719 | sce | EP3.sce | /*
Escola Politécnica da USP
Disciplina - PME3200 - Mecânica Geral II (2018)
Exercício de Simulação Numérica
Atividade 3 - Estudo de um sistema de dois graus de liberdade
de um pêndulo acoplado a uma massa-mola
*/
//LIMPEZA DE AMBIENTE
clear; // Limpa as variáveis salvas
clc; // Limp... |
2ee9224aa9ab4f3cee9033838baa0ce590d1af40 | 1cbce41ea16b5485d0ee930bccdf43682a8db11b | /misc/scilab_tcp_interface.sce | 71c5965a417506d38b26c924a608bb1dde2897db | [] | no_license | jpabb7/performand.k70.2 | 4db203348d7b4ddb0cca09eebb888490cf75c647 | df7220c3a05942c01a2b52493eaedfc2ef18199b | refs/heads/master | 2021-05-28T12:43:08.008574 | 2014-02-13T09:29:09 | 2014-02-13T09:29:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | scilab_tcp_interface.sce | SOCKET_open(1,"192.168.10.1",2000)
SOCKET_query(1,"IP?")
//while 1
SOCKET_read(1)
//end |
13910bcb98b04355d2d16fa7fe0ebcc9d40e5e2b | 18137e490b85726a353b3039386d13ce07cee8d6 | /Hack Computer/Assembly Language Programs/Program2/Program2.tst | d932ccac52973eacc652a578dd3493203ad3731e | [] | no_license | saha-nab2001/Hack-ALU-and-Hack-CPU-in-HDL | 087c9d59a9032ac4a145b8f899364ee9d6a6d74d | 3b1c461aa0f331ce7d7505b6ad9b0eab70f102e3 | refs/heads/main | 2023-06-15T16:59:24.758610 | 2021-07-19T15:50:45 | 2021-07-19T15:50:45 | 387,511,878 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | tst | Program2.tst | load HackComputer.hdl,
output-file Program2.out,
output-list time%S1.4.1 reset%B2.1.2 ARegister[0]%D1.7.1 DRegister[0]%D1.7.1 PC[]%D0.4.0 RAM64[16]%D1.7.1 RAM64[17]%D1.7.1 RAM64[18]%D1.7.1;
ROM32K load Program2.hack,
output;
// First run (at the beginning PC=0)
set RAM64[16] 3,
set RAM64[17] 4,
repeat 12 {
... |
bfb438dd80c9bbc986e3efe56aa3c33bbb7155b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.40/5_40.sce | 5b024951ef051e8e0e87e39bd84440ed78765b71 | [] | 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 | 388 | sce | 5_40.sce | T1=1000;//initial temperature in kelvin//
Kp1=0.72;//Kp value at T1 temperature//
T2=1260;//final temperature in kelvin//
Kp2=1.60;//Kp value at T2 temperature//
R=1.99;//universal gas constant//
printf('Since Kp2>Kp1 one would expect dH to be positive i.e Endothermic reaction.');
dH=(2.303*R*T1*T2*log10(Kp2/Kp1)... |
03516df76eb0801a8dd55c7e600ddef9d0e9455b | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.7/example10_7.sce | 079ae05dde1dcdbf2501e6d76cf3652f42a9b6eb | [] | 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 | 689 | sce | example10_7.sce | //clc()
Pexcess = 20;//%
PSO3 = 5;//% ( Percent of sulphur burnt to SO3 )
//S + O2 = SO2
N = 1;//kmol sulphur
Orequired = N;//kmol
Osupplied = Orequired * ( 1 + Pexcess/100);
Nsupplied = Osupplied * 79/21;
NSO2 = (1-PSO3/100)*N;
NSO3 = PSO3 * N /100;
Oconsumed = NSO2 + 3/2 * PSO3/100;
Oremaining = Osupplied ... |
e394ec5776cda22dac827ed37aab1e4f87cd94b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH3/EX3.1/Ex3_1.sce | a801621b1ca8bbbf5d95e07f1d9a25ef29dff83c | [] | 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 | 257 | sce | Ex3_1.sce | // Example 3_1
clc;clear;funcprot(0);
// Given values
P_atm=14.5; // The atmospheric pressure in psi
P_vac=5.8; // The vacuum pressure in psi
//Calculation
P_abs=P_atm-P_vac;
printf('The absolute pressure in the chamber,P_abs=%0.1f psi\n',P_abs);
|
925540cc08d9c9cabb58d2e584b603c121b6e9b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH3/EX3.16/Example_3_16.sce | 1dd4df31b3ca1c01daa3e4f969fdd95c0a7f7a18 | [] | 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 | 485 | sce | Example_3_16.sce | //Example 3.16 It has been found 2 percent of tools
clc;
clear;
m=0.02;
p=m;
q=1-p;
n=400;
s_d=sqrt((p*q)/n);
disp(n,"Sample size =",s_d,"Standard Deviation",m,"Mean");
disp("Since the sample size n=400 is large, the sample mean follows normal distribution ");
disp(0.5-0.4236,"Probab. that the sample proporti... |
f3b55cb449e6a453568fdeb078aa7eda844c6100 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH7/EX7.9/Ex7_9.sce | 33dd0bb607a758e08c58af18c2fc623af73fdbdf | [] | 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 | 808 | sce | Ex7_9.sce | errcatch(-1,"stop");mode(2);//Caption:Find the voltage regulation and power developed by the generator
//Exa:7.9
;
;
V_r=13.8*10^3;//in volts
R_a=0;
X_d=1.83;//in ohms
X_q=1.21;//in ohms
P_r=70*10^6;//in Volt-Ampere
pf=0.8;//lagging
theta=(-1)*acosd(pf);
V_a=V_r/(sqrt(3));//rms value of per phase voltage
... |
f9955a6c5b2bbef823ddaba269f6f075ea2353fd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH19/EX19.2/ex19_2.sce | fc6b1f03ab788e670596d7bdd58f12e82e0eef28 | [] | 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 | 260 | sce | ex19_2.sce | errcatch(-1,"stop");mode(2);// Example 19.2, page no-542
H=10^4 //A/m
sus=3.7*10^-3
mu=4*%pi*10^-7
M=sus*H
B=mu*(M+H)
printf("The magnetisation in the material is %.0f A/m and flux density in the material is %.2f * 10^-2 Wb.m^-2",M,B*10^2)
exit();
|
100529363322bc45e1206dc9d61cf41e96d436c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH12/EX12.1/Ex12_1.sce | b3382062043a0b90dc05a8405f7cb112aaf42c72 | [] | 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 | 534 | sce | Ex12_1.sce | clc
//to calculate electric flux
//electric flux through a surface is phi=vector(E)*vector(s)
//where vector E=2i+4j+7k,vector s=10j
E=4 //E=4j
s=10 //s=10j
phi=E*s
disp("electric flux is phi="+string(phi)+"units")
//to calculate flux coming out of any face of the cube
q=1 ... |
c18608cb845dc61639adef504a45a6f8d90dd6d3 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/P7_test_sample_size/ged_P7_sim.sce | 41a993d6ad906a93e0136bfaf574316638f556a1 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,705 | sce | ged_P7_sim.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// Proposed by author
//10 Streams
//6 Equipments
getd('../functions/');
getd('.');
clear xr sd sds x_sol xfinal jac jac_col jac_col rj sigma sigam_inv ... |
a999735ad8daf067bcdace6b4f7993a3b62eb5ee | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse_rel/diffuse/newtempmulticonc.sce | 06c95a95788bbc1c944a941b9a73e66d6c66859b | [] | 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 | 830 | sce | newtempmulticonc.sce |
function [newtempmulticonc]=newtempmulticonc(nsubsteps, nspecies, concm, n1, n2, n3,t0,t,h,dif,sourcesm,sinksm,inconsts)
//cycle over each element of the array
//update concentration
rconsts=0;
nconcm=zeros(n1,n2,n3,nspecies);
ddt=dt/nsubsteps;
for kk=1:nsubsteps
t=t0+ddt;
//t0=t0+ddt;
for isp=1:nspe... |
8e8337a4aa5a0d9c52dbc3f3c1bcd3b07bb6b996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH7/EX7.3.1/7_3_1.sce | 5cae0187c7611c57d2d5a2b91bb8c57b3ea814dc | [] | 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 | 650 | sce | 7_3_1.sce |
//chapter_no.-7, page_no.-298
//Example_no.7-2-2
clc;
//(a)Calculate_the_electron_drift_velocity
q=1.6*(10^-19);
f=10*(10^9);//operating_frequency
L=10*(10^-6);//Device_Length
vd=f*L;
disp(vd,'the_electron_drift_velocity(in m/sec)is =');
vd=vd*100;
disp(vd,'the_electron_drift_velocity(in cm/sec)is =');
vd=vd/100;
/... |
9d31c001d394e134e2fa04eb24538f69e169d063 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.33/Exa_6_33.sce | 227e9c2c3f6e12250ec7b0cf973f9e8ae98ce8b4 | [] | 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 | 689 | sce | Exa_6_33.sce | //Exa 6.33
clc;
clear;
close;
format('v',7);
//Given Data :
p1=20;//bar
Tsup3=360;//degree C
pb=0.08;//bar
m=1;//Kg
hf1=173.9;//KJ/Kg(from steam table)
h1=hf1;//KJ/Kg
wp=(p1-pb)/10;//KJ/Kg
h2=h1+wp;//KJ/Kg
h3=3160.62;//KJ/Kg(from steam table)
S3=6.994;//KJ/Kg
Sf4=0.593;//KJ/Kg(from steam table)
Sfg4=... |
2c4df8ab393f40d40e6a8997108526ba5d92d544 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.15/c6_15.sce | 2b61425d34238fa532da89c9a83d424874625ee5 | [] | 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,218 | sce | c6_15.sce | //(6.15) An air compressor operates at steady state with air entering at p1 = 1 bar, T1= 20C, and exiting at =p2 5 bar. Determine the work and heat transfer per unit of mass passing through the device, in kJ/kg, if the air undergoes a polytropic process with n = 1.3. Neglect changes in kinetic and potential en... |
8cfbe14abd39b4dc1d792a9d734752a39207682b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH21/EX21.3/Ex21_3.sce | 3c51cfdccc6526a3c68f3ddeb0847dd59e8abd8a | [] | 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,179 | sce | Ex21_3.sce | //Exa 21.3
//To find-
// a) The bandwidth of a subchannel,
// b) modulation efficiency,
// c) user symbol rate,
// d) user data rate if the information bits are encoded with a rate of 3/4,
// e) time utilization efficiency of the system.
clc;
clear all;
InfoSc=48;//Information subcarriers
SyncSc=4;//synchro... |
704888f913a8e94c43300f4b7b9f5599c0fa8b24 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/udecode/udecode10.sce | 438ea09313567b3512ceeb6700c0bdff229c7114 | [] | 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 | 561 | sce | udecode10.sce | //check o/p when i/p vector contains imaginary elements
u=int8([%i 1 -1 2 -5]);
y=udecode(u,3);
disp(y);
//output
//u=int8([%i 1 -1 2 -5]);
// !--error 52
//Wrong type for argument #1: Real matrix expected.
//at line 2 of exec file called by :
///udecode10.sce', -1
//Corresponding MATL... |
b6def837b98caf8fb385fb52f261b06309432ad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH3/EX3.2.2/Example3_2_2.sce | d33bd95d8cde23a1e4dfbd37fdee1ea16bd53e5b | [] | 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 | 159 | sce | Example3_2_2.sce | //Example 3.2.2 page 3.10
clc;
clear;
x= 0.26;
y=0.57;
Eg= 1.35-0.72*y+0.12*y^2;
lamda = 1.24/Eg;
printf("The wavelength emitted is %.2f um",lamda);
|
70ace8162acf31986c0ee9ca25584385891bb50a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH10/EX10.18/ex10_18.sce | b471b6bed6705209de2449f0ba09c7a4e9f153f3 | [] | 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 | 370 | sce | ex10_18.sce | // Exa 10.18
clc;
clear;
close;
format('v',6)
// Given data
P = 6;
A = 6;
Z = 500;
Ra = 0.05;// in ohm
Rsh =25;// in ohm
V = 100;// in V
I_L = 120;// in A
phi = 2*10^-2;// in Wb
Ish = V/Rsh;// in A
Ia = I_L-Ish;// in A
Eb = V - (Ia*Ra);// in V
// Eb = (N*P*phi*Z)/(60*A);
N = (Eb*60*A)/(P*phi*Z);// in ... |
025e0954b627ae3ccf3293042500abf1376e98e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH5/EX5.14/Example5_14.sce | 417670b7509b837f0b32fb83baef87e224f1825c | [] | 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 | 570 | sce | Example5_14.sce | //Dalton's Law of Partial Pressures
clear;
clc;
printf("\t Example 5.14\n");
nNe=4.46;//moles of Ne
nXe=2.15;//moles of Xe
nAr=0.74;//moles of Ar
PT=2;//total pressure in atm
XNe=nNe/(nNe+nAr+nXe);//mole fraction of Ne
XAr=nAr/(nNe+nAr+nXe);//mole fraction of Ar
XXe=nXe/(nNe+nAr+nXe);//mole fraction of ... |
19eaa01d5ce8f00c1cf8526bcb70db3223e4639d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH7/EX7.21/Chapter7_Exampl21.sce | 1dd98ff617421804eaac6276e5b0cce2aa09c9fd | [] | 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,393 | sce | Chapter7_Exampl21.sce | clc
clear
//INPUT DATA
t1=35;//dry bulb temperature in Degree c
t4=25;//dry bulb temperature in Degree c
V1=40;//Moist air circulation in m^3/min
x1=0.8;//realtive humidity in percentage
x4=0.6;//realtive humidity in percentage
p=760;//pressure in mm of Hg
Ra=287.3;//gas constant
cp=1.005;//specific pressure
... |
e753b0ee74d9ea24c6866f897b378cf32514ca82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.5/example3_5.sce | 4793a9525dde63240d21c25046a72f60aa2e1957 | [] | 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 | 737 | sce | example3_5.sce | //example3.5
clc
disp("The given values are, R1=2.5 ohm, R2=0.01 ohm")
k=400/6600
disp(k,"K=400/6600=")
disp("While finding eqivalent resistance referred to primary, transfer R2 to primary as R2'',")
r=0.01/((0.0606)^2)
disp(r,"R2''(in ohm)=R2/K^2=")
r=2.5+2.7225
format(7)
disp(r,"Therefore, (R_1e)[in ohm]=R1... |
0a743de88ab3ee5ea0115b343753f10498980ef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH7/EX7.5/ex_5.sce | ebf33b0dac59c51b7fda00699c538936f2f3e085 | [] | 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 | 194 | sce | ex_5.sce | //Example 5 // Frequency
clc;
clear;
close;
//given data :
n1=256;// in Hz
x=4;// in beats per sec
n2a=n1+x;
n2b=n1-x;
disp(n2a,"The frequency,n2a(Hz) = ")
disp(n2b,"The frequency,n2b(Hz) = ")
|
71c0437f38209a8bab783ca581690ba3260e830a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.19/10_19.sce | bc9ebdc573e0889620b43bc701f407e21653e426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | 10_19.sce | clear
clc
S=100
V=11
Z=V*V/S
SCA=1000
SCB=650
xa=S/SCA
xb=S/SCB
Xc=.5
xc=Xc/Z
X=round(((xa *(xb+xc))/(xa+xb+xc))*1000)/1000
FS=S/X
mprintf("Fault MVA= %.2f MVA",FS)
|
9e08e5720fc94499e6bba138c36335548e5eb98e | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.30/Ex1_30.sce | 8a16262fffd053f7bc7e9e08e72a471987743d1c | [] | 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 | 824 | sce | Ex1_30.sce | //Chapter1,Example1.30,Pg1.32
function [current1] = voltagetocurrent(voltage1)
resistance1=R
current1=voltage1/resistance1
endfunction
function[voltage2]=currenttovoltage(current2)
resistance2=R
voltage2=current2*resistance2
endfunction
clc;
disp("Refer to the figure shown in the problem")
R=... |
e32817e92a4ea332b052aa9e9f74d1a8d2db3b0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH1/EX1.11/example1_11.sce | e7879458fc1c1d3fece91ae9459c65eff72a4918 | [] | 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 | 245 | sce | example1_11.sce | //example 1.11
//page 31
clc; funcprot(0);
//initialisation of variable
sigma=0.022//from table
Gamma=9789//unit weight
S=0.79;//from table
d=2/1000;//diameter
h=4*sigma/Gamma/S/d;
disp(h*1000,"rise of height of alcohol(mm):");
clear
|
9669eb6a092dc0b4f643289e65a9d78b6c40dfdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH7/EX7.5/Ex7_5.sce | 415e224441acaff542bddb9cd330d9336ba7f532 | [] | 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 | 227 | sce | Ex7_5.sce | //Chapter 7 Conductivity
clc;
clear;
//Initialisation of Variables
m= 0.01 //M
CB= 235 //mm
R= 426.3 //ohms
M= 265
C= 0.448
//CALCULATIONS
k= M*C/(R*CB)
A= k*1000/m
//RESULTS
mprintf("Equivalent conductance= %.1f ohms",A)
|
087f5cdfc170da72accd7ca9ae5fbf7ac6dd9e8f | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 9/Lista Baron/sor.sci | db662a5c6c03591b325e1b194c197828605fde73 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sci | sor.sci | function xout=sor(A,b)
[l,c]=size(A);
D=diag(diag(A));
L=-1*(D-tril(A));
U=-1*(D-triu(A));
invD=diag(diag(1/D));
w=1.2
x=ones(l,1);
oldx=ones(l,1);
for i=1:100
if (max(abs(x-oldx))<0.001)
xout=x;
else
oldx=x;
x=-inv(D+w*L)*((w-1)*D+w*U)*oldx+w*(inv(D+w*L))*b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.