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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
74e10e8dc66d5773e3a8cc0ed5f4c06fcf9f760b | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/machine-sliding-mode/obokata/制御入力比較/制御入力の比較.sce | f8df68e5111a2ef4976e988a29db16598a6bf43b | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 2,886 | sce | 制御入力の比較.sce | //------------------------------------------------
//■2013.12.14 秋山殿
// 比例到達則+対称化
//------------------------------------------------
//▼2自由度機械システムの定義
L=[1 0; 0 1]; //アクチュエータに加わる力を表す行列(正則行列)
//L=[1 3; 0 0]; //アクチュエータに加わる力を表す行列(正則でない正方行列)
m1=1; m2=2; //質量
k1=1; k2=2; //ばね定数
d1=1; d2=2; //減衰定数
M=[m1 0; 0 m2]... |
4435205d53d68c1ff1dfb514bc82ba71aa751e2b | b6021eff22c8ea544160e5f1a9bc1b01fcac1248 | /delta_documentation/Scilab_resources/trajectoriaV2.sce | 60320c4aee4484c0c7e306f5d4600221fe864093 | [] | no_license | x-itg/ros_delta_robot | 190a1a8d9e8b35f7fc69bafb95b5b2a838ebfc5c | 5940f173e6c5ca05aa4bb1cbf7bc135b6618412b | refs/heads/master | 2023-08-28T16:04:59.792250 | 2018-02-16T15:33:34 | 2018-02-16T15:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,783 | sce | trajectoriaV2.sce | //Draw trajectory
// Aquest script dibuixarà una trajectòria del delta esquivant punts singulars.
// Pot ser necessari ajustar els paràmetres de la màquina al fitxer inverseDelta.sce
// Aquest script ÉS TOTALMENT EXPERIMENTAL, no hiha garanties de que funcioni
// Neteja la memòria, figures i executa l'script inverseDel... |
ef10128280849b4fa5589c9361618caaa1dfa18e | 663857eeaf229747b6f19ba93d35654aed648084 | /masseRessort_charneux/MasseRessort_exoBase.sce | e5bfb3e1da276ffc0a0f814d380d7537aaaf2434 | [] | no_license | DimitriCharneux/M3DA | 0a61e0365d1daf7b57a071f1da2025ac5991693d | b0d4baf1115b0577c5295401d8fc81552f779ced | refs/heads/master | 2021-06-14T11:09:03.784206 | 2017-01-12T10:10:28 | 2017-01-12T10:10:28 | 68,389,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,327 | sce | MasseRessort_exoBase.sce | getd();
// MAILLAGE //
[ noeuds , elements ] = MSHLoader('rectangle1.msh');
numElements = size(elements,2);
numNoeuds = size(noeuds,2);
[segments] = findSegments(elements)
numSegments = size(segments,2);
// parametres physiques
k=10000;
m=1;
g=-9.81;
// parametres temps
dt = 0.005;
T = ... |
65152ff4ad442cd4f4bf456004cc018ee71f3b81 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rooteig/rooteig4.sce | 9fe6eb3060a88c487533ea35459267209573ee83 | [] | 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 | 465 | sce | rooteig4.sce | //i/p args are x,p and sampling frequency fs and 'corr'
clc;
clear;
exec('/home/debdeep/Desktop/TEST NOW!!/rooteig/rooteig.sci');
x=[1 2 3 4 6 7 8 9];
p=2;
fs=4e6;
[f,pow] = rooteig(x,p,fs,'corr');
disp(f);
disp(pow);
//output
//!--error 77
//type: Wrong number of input argument(s): 1 expected.
//at line 88 of ... |
0d7f4b235944223fa218b6cd3d0d409af5ae0f5c | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/plot_ls.sci | 55284991c0a73cba76f6024f9bf72ca2f0f6b111 | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sci | plot_ls.sci | function [] = plot_ls(x,y,a0,a1)
scf(5);
clf(5);
P = a0 + a1 * x;
plot(x,y,".");
plot2d("nn",x,P,style=5);
p1 = get("hdl");
p1.children.thickness = 3;
xtitle("Mínimos Cuadrados", "Peso Promedio (x)", "% de Ocurrencia (P(x))"); // titulo, eje x, eje y
... |
7c37077dd1e5affcd53c9e085ef4f27b93607f2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH2/EX2.1/Ex2_1.sce | 4dea675fa2792c5a21c7aed1263c70a83c36de88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Ex2_1.sce | clc;
//delta_L=L2-L1
//I proportional to square of amplitude so when amplitude is doubled intensity will becomes 4 times
//L1=10*l0g10(I1/I0)
//L2=10*log10(I2/I0)
//delta_L=L2-L1
//delta_L=10*log(I1/I0)-10*log(I2/I0)=10*log(I2/I1)
I21=4;//I2/I1=4 because intensity=amp^2
delta_L=10*log10(I21);//increase in inte... |
cf06beefa34f89ff06a361398f63447024771622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH10/EX10.13/13.sce | 781af8571b483c3af63049e37ae7b9f31134837d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13.sce | clc
clear
//INPUT DATA
me=50//The electron mobility of pure semi conductor in m^2 V^-1 s^-1
t1=4.2//temp of pure semi conductor in k
t2=300//temp in k
//CALCULATION
m=me*((t2^(-3/2))/(t1^(-3/2)))//mobility of pure semi conductor in m^2 V^-1 s^-1
//OUTPUT
printf('mobility of pure semi conductor is %3.6f m^2... |
45727e1742295b2780d12ab040f4052b53eecb2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH6/EX6.16/Ex6_16.sce | f0a3ed40a6f78a9816d82d90d7a1a7cfe80a9650 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Ex6_16.sce | //Ex 6.16
clc;
clear;
close;
format('v',4);
//Data given
tau=1;//ms(time period)
R1byR2=1.8:0.2:9;//range of R1/R2
Beta_min=1/(1+min(R1byR2));//minimum value of Beta
Beta_max=1/(1+max(R1byR2));//maximum value of Beta
Tmax=2*tau*log((1+Beta_min)/(1-Beta_min));//ms////For minimum value of Beta
fmin=1/(Tmax*10^... |
afccfb2cb39ba1af079bcd427f169b90521934c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH32/EX32.1/Example32_1.sce | b3c1263b6dbcb419ca33e0110e39aa47a7ecc276 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example32_1.sce | //Given that
T = 300 //in K
B = 1.5 //in T
ub = 9.27*10^-24 //in J/T
mu = 1.0*ub
K = 1.38*10^-23 //in J/K
e = 1.6*10^-19 //in coulomb
//Sample Problem 32-1
printf("**Sample Problem 32-1**\n")
K = 3/2*K*T
deltaU = 2*ub*B
printf("The average translation kinetic energy of the atoms is %1.2eeV\n", K/e)
p... |
88f661c1bb11140135be9754e99a094fd337d496 | de14a6897d4397228a52bacb8905b8807370ef4b | /GPS_1.sce | 66d67b91c39e57c9b469b0bb9293a58daaba5d0e | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | GPS_1.sce | function out=f(X)
out=[norm(X-S1)^2-d(1)^2
norm(X-S2)^2-d(2)^2
norm(X-S3)^2-d(3)^2];
endfunction
S1 = [-11716.227778, -10118.754628, 21741.083973]'
S2 = [-12082.643974, -20428.242179, 11741.374154]'
S3 = [14373.286650, -10448.439349, 19596.404858]'
d=[22163.847742, 21492.777482, 21492.469326];
X=ze... |
53cc7483254bfb2383018a928752a65ff649ed01 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH1/EX1.4/Ex1_4.sce | 37704928cd73a205f696e0f51676b8b921cde2c5 | [] | 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 | 1,475 | sce | Ex1_4.sce | errcatch(-1,"stop");mode(2);//Caption:Calculate (a) equivalent resistance and reactance of low voltage side in terms of high voltage side (b) equivalent resistance and reactance of high voltage side in terms of low voltage side (c) total resistance and reactance of transformer in terms of high voltage side (d) total re... |
f6cb2f0d0693e66be444f780b3ceedbc99dadb79 | 46eca1705dcc3c7c6a459ddb14cf25a755d63364 | /ElectricityRechargeSystem/plsqls/对账明细.tst | 160bd9120b7ca12ba5d2d584efccb8015c20ef54 | [
"Unlicense"
] | permissive | XUranus/NEUBCourse | 66e96ccd994569e89d23b43559ecd5c175117774 | 695a1c33c65357fb5bb170483e84fecb4368d224 | refs/heads/main | 2023-03-24T23:58:28.192567 | 2021-03-25T07:53:24 | 2021-03-25T07:53:24 | null | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 2,063 | tst | 对账明细.tst | PL/SQL Developer Test script 3.0
40
-- Created on 2018/8/29 by 王星校
/*
(5)对明细账
涉及到的表:
用户缴费表、对账明细、对账异常表
输入:
银行对账明细记录集合
输出:
无
交易描述:
总账不平需要逐笔核对明细账。判断账务不平的原因,并记录到对账异常表中,由其他应用程序来处理。
根据银行传来的银行代码,银行交易流水号,交易日期时间,客户号,交费金额等信息,在用户缴费表中查找相应的记录,对账不平的可能性有企业方无此流水号的缴费信息,银行无此流水号的缴费信息,金额不等,把所有对账不平的信息及原因记录到对账异常表。
*/
DECL... |
bc0c1a5802b2cf7e466258b5b112827db2093573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.7/EX3_7.sce | 357bc7a9e49bc5e11ead36dbea8379a673adb1fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | EX3_7.sce | //EXAMPLE 3-7 PG NO-176-177
Vab=400+%i*0;
Vbc=-200-%i*346.410;
R=100;
Ica=0;
Iab=Vab/R;
disp('i) CURRENT (Iab) is in rectangular form = '+string (Iab) +' A ');
Ibc=Vbc/R;
disp('i) CURRENT (Ibc) is in rectangular form = '+string (Ibc) +' A ');
Ia=Iab-Ica;
disp('i) CURRENT (Ia) i... |
abdd3c7cd3fe31fa82523f53c66dfe478ab0308e | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/TD78LPW/ATWM1_Working_Memory_MEG_TD78LPW_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | 169c7c62e28085fac67f0f04e7a39acf8efd58e8 | [] | 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,408 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run2";
#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... |
a704da32cbae086adb1d447612c37fd48e763516 | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH9/EX9.3/Exa9_3.sci | 9077b8a86c71bded50694aa18f0005f12a9a8b99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sci | Exa9_3.sci | //Determine the ERP
P0 = 500;
Fgain = 2;
erp = P0*(Fgain^2);
disp(erp, 'Erp (in W)')
|
c871b1e3a74ebfd6167406dbceb14012a52dfa75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH7/EX7.27/7_27.sce | b134a51f9e78cc9918ac78ce19c08ca6371e7dd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sce | 7_27.sce | Ksp=2.2*10^-8;//Solubility product of PbSO4//
Pb=0.01;//concentration of Pb in Pb(NO3)2//
SO4=Ksp/Pb;//Concentration of SO4 in PbSO4 solution//
printf('Let us first calculate the maximum concentration of SO4 that can remain in equilibrium with PbSO4 if the concentration of Pb is 0.01M');
printf('\nConcentration of ... |
714841be5ab2e5880f881899d582b00a6d81101d | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/KP85YLZ/ATWM1_Working_Memory_MRI_KP85YLZ/ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | 8dc88fbb58a3d3bcde4412595ce9443a39064d86 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,282 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_uncued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds... |
5cea6706ead5a49fea2dc9ec6e238c31c24d58f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH8/EX8.7/Ch08Ex7.sci | e9b943df9a5a6c29a47ed214879f16ae2f256413 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sci | Ch08Ex7.sci | // Scilab Code Ex8.7: Page-173 (2010)
c = 3e+008; // Speed of light in vacuum, m/s
tau = 2.6e-008; // Mean lifetime the particle in its own frame, s
d = 20; // Distance which the unstable particle travels before decaying, m
// As t = d/v and also t = tau/sqrt(1-(v/c)^2), so that
// d/v = tau/sqrt(1-(v/c)^... |
7e8ed9d035eafcfd298e42dfaeb034c0f22f67ac | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH1/EX1.56/ex_1_56.sce | a7f44eb756bcd048e60fbe7a91e84580fd52c2cb | [] | 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 | 409 | sce | ex_1_56.sce | errcatch(-1,"stop");mode(2);//Example 1.56://probability error and readings
;
;
d=15;//deviation in r.p.m
h=0.04;//precision index
SD=(1/(sqrt(h)));//standard deviation
y=d/SD;//
py=0.3015;//probablity
pr= 2*py;//probablity of an error
r=0.6*20;//no. of readings lie between 1485 to 1515 r.p.m
disp(pr,"probability of an... |
ff340add395574697b9df98c5b18c0d8964e09b3 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Proyecto_1/floyd.sce | 868e4ae84d3f8bb66ae9196d2bc7e4367a25085a | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | floyd.sce | function M = floyd_warshall(graph)
INF = 1000
[m, nV] = size(graph)
for k = 1:nV
for i = 1:nV
if (k <> i) & graph(k, i)== 0 then
graph(k, i) = INF
end
end
end
dist = zeros(nV, nV)
for i = 1: nV
for j = 1: nV
dist(i, j) = g... |
d519a57dd19b52564f0591d02e7a61eafd5ae3a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.21/Chapter5_Exampl21.sce | 621ef094aa866885bb29c362f3df0391de5772a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Chapter5_Exampl21.sce | clc
clear
//INPUT DATA
p1=1;//initial pressure in bar
v1=2;//volume in m^3
R=0.287;//gas constant
t1=288;//temperature in K
p2=8;//final pressure in bar
t2=313;//final temperature in K
d=14;//displacement in m^3/min
T=70;//time in seconds
//CALCULATIONS
m1=p1*10^2*v1/(R*t1);//initial mass in kg
m2=p2*10^... |
8642723eb8c43c4d7bf90082ffe2103c5f16ce49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/4_5data.sci | c7b2ebf645dda34a12e0ef91f20fffc10c9579ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 4_5data.sci | W=100;//in N
L=20;//in m
E=200000;//in N/mm^2
I=0.5// moment of Inertia of cross section, in m^4 |
2fabd6e4e5f8048b9858db39c5916212a60367bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH7/EX7.29/ch7_29.sce | 894a584458f4a307a528316050a37a4a16fe3251 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | ch7_29.sce | clear;
clc;
I_mx=425;
I_lt=180; //lower limit of current pulsation
I_mn=I_mx-I_lt;
T_on=.014;
T_off=.011;
T=T_on+T_off;
T_a=.0635;
a=T_on/T;
V=(I_mx-I_mn*exp(-T_on/T_a))/(1-exp(-T_on/T_a));
a=.5;
I_mn=(I_mx-V*(1-exp(-T_on/T_a)))/(exp(-T_on/T_a));
T=I_mx-I_mn; printf("higher limit of current pulsation... |
66af24b6b2e232476e40198c1463c623c50e2aa3 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLDeg2Rad-NZ-01.tst | 53484d6068dea962faca834d19abba0e3aa0d2a7 | [] | 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 | 2,258 | tst | FLDeg2Rad-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.
... |
200c65178af57dbd8042fe4b914936b09b75c660 | caeeba65136d7b667e3e14cc35ec86579cd57e52 | /Ticket/Attachment/134668/36391/html-tidy.tst | 57543de65b834fa052cb7a819ee99f1df0477c92 | [] | no_license | rt-cpan/rt-cpan.github.io | 934a442fa11602a2b377029eb166199bbe2f6fbe | 28345cf6425a51e68d37fe6ce2a0b4ff399b44ec | refs/heads/master | 2023-03-10T19:34:13.055361 | 2021-03-01T12:45:51 | 2021-03-01T12:45:51 | 321,269,936 | 9 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,099 | tst | html-tidy.tst | ~/HTML-Tidy-1.04 15:03:36% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load............ok
t/extra-quote........ok
t/ignore-text..... |
777a7d99a321106a4273f8648c18297b62cd237b | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.57/ex_6_57.sce | 631926af2290e1f0235f4dfb921fcde7c15307b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | ex_6_57.sce | clear;
close;
clc;
x=[1 1 -1 -1 -1 1 1 -1];
N=8;
n=0:7;
k=0:N/2-1;
WkN=exp(-%i*2*%pi*k/N);
f=[];
g=[];
for i=1:length(n)
if modulo(n(i),2)==0 then
f=[f x(i)];
else
g=[g x(i)];
end
end
Fk=dft(f,-1);
Gk=dft(g,-1);
//Xk=Fk-WkN*Gk
Xk=Fk-WkN'.*Gk;
Xk=[Xk; Xk];
disp(round(Xk)... |
7b2fc7f995dbb774653c05479520f4d884276b6f | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/misc/tfdata.sci | d3e0e486b493faeebda2f83c04adfbd0da62a1d7 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | tfdata.sci | function [num,den]=tfdata(G)
// Gen numerator and denominator from a transfer function
num=G('num');
den=G('den');
endfunction
|
06df0338b80f73388b71734b1ca34747e350b3a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH11/EX11.1/11Q1.sce | 7010dce4d5f597c2834f92675709c7dc6915bbf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | 11Q1.sce | clc
Tz=150
b=1
l=2
z=5*b
Es= (10000*2 + 8000*1 +12000*2)/5
a=4
H=z
m=l/b
n=2*H/b
F1=0.641 //from tables 11.1 and 11.2
F2=0.031
u=0.3
Is= F1 + ((2-u)/(1-u))*F2
If=0.71 //from table 11.3
Sef= Tz *a*b/l *(1-u^2)*Is*If/Es
Ser=0.93*Sef
printf('The elastic settlement at the centre of foundation = %f m',Ser)... |
7518d9b1ad8076fbf5b416b92dfa2979749c5160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH7/EX7.3/Ex7_3.sce | f91547ec8016bb92b939cf88a9569ad586aab17c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex7_3.sce | // Example 7_3
clc;funcprot(0);
// Given data
T_H=95;// °F
T_L=70;// °F
// Solution
COP=(T_L+459.67)/((T_H+459.67)-(T_L+459.67));// Coefficient of performance
printf('\nThe Coefficient of performance,COP_Carnot air conditioner=%2.0f',COP);
|
21b4bef9adb514ebe384c28e49e4138072daf7fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH4/EX4.7/ex_7.sce | c4d2e09fe750066d3792d397ded804a6e3c66a36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | ex_7.sce | //Example (pg no.144)
A = [1 2 3;4 5 6;7 8 9]
[L,U,E] = lu(A)
// L is lower triangular matrix(mxn)
// U is upper triangular matrix(mxmin(m,n))
// E is permutation matrix(min(m,n)xn)
A*E |
c1b578aae179d49852d6425702f244570705c650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH11/EX11.2/11_2.sce | 9774a2fc9e5a588c088ffb5fa4b0f408e7be071d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 11_2.sce | clc
//initialisation of variables
g=264//quartz
p=0.39//percent
//CALCULATIONS
S=(1-p)*(g-1)//in
//RESULTS
printf('the hydralic gradient and seepage velocity=% f in',S)
|
5374a4927601cd104351f0940da7914eaa0dace6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH6/EX6.5/Ex6_5.sce | 4eed53321bc19504ccd97418ad8287b7448b62ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Ex6_5.sce | //Chapter 6, Example 6.5, Page 158
clc
clear
// Energy released
MLa = 138.906348
MMo = 94.905842
MXE = 138.918787
MSr = 94.919358
Ep = (MXE+MSr-MLa-MMo)*(931.5)
printf("Ep = %f MeV",Ep)
//Answers may vary due to round off error
|
72924cb91b806f9158e5c67f3e3e04042119a2bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH2/EX2.15/example15_sce.sce | 7ef8432d4a4c81138624a0b4e8cd9dad7cdfce4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | example15_sce.sce | //chapter 2
//example 2.15
//page 63
printf("\n")
printf("given")
Vz=7.5;Pd=400*10^-3;D=3.2*10^-3;
Izm=Pd/Vz
printf("current at 50C is %3.3fA\n",Izm)
disp("At 100C")
P2=Pd-((100-50)*D)
printf(" power at 100C is %3.3fW\n",P2)
Izm=P2/Vz;
printf(" current at 100C is %3.3fA\n",Izm) |
65bab64aaa925b23184edd761da777df598e1ae1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH7/EX7.10/example710.sce | 53b4ba2f3599d8f3d441cdfadaefc51019bc30d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | example710.sce | //Example 7.10
//Z-transform of (2^n)u[n-2]
clc;
syms n z;
x=2^n;
X=symsum(x*(z^-n),n,2,%inf);
disp(X,'X(z)='); |
b638117889d0d0f53e896b79fc89916c0ba4dae6 | db18f7aa669196e57458d4a2454efab07de89ef1 | /practicePlot.sce | 32e29a15db8747c0cbbfc6180dead844751d64da | [] | no_license | crypto-dot/Scilab | ad9bea4178ccfb4c7feb0b478efe97743ba54e57 | 3d65e2a49e067a86328f5bc985b0804547e99b00 | refs/heads/main | 2023-07-29T04:37:27.666186 | 2021-09-05T22:34:47 | 2021-09-05T22:34:47 | 342,746,109 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | practicePlot.sce | x = [0:0.1:2*%pi]; //Plots from 0 to 2pi (visible part of the graph)
// Enter an interval size by putting a number in between.
y=sin(x);
plot(x,y);
|
b97f193f8ccd0ac160d6a60d2bb2d42371deee93 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Meditate for 5 minutes.sce | 619dfad72aef8f56a94f1713b05ca460ff972d18 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,916 | sce | Meditate for 5 minutes.sce | Name=Meditate for 5 minutes
PlayerCharacters=Meditator
BotCharacters=bot.bot
IsChallenge=true
Timelimit=300.0
PlayerProfile=Meditator
AddedBots=bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=0
MapName=boxer1spnobounds.map
MapScale=6.0
BlockProjectilePredictors=false
BlockCheats=true
InvinciblePlayer=false... |
5ff703f2d67a713eeeb2544e85563c3e03e5840f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/slewrate/slewrate6.sce | 11e0dd51132cb0c49f89c1e570ee850f9e97ff87 | [] | 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 | 484 | sce | slewrate6.sce | //chek o/p when the i/p parameters are X,t and Tolerance
x=[1.2, 5, 10, -20, 12];
t=1:length(x);
[s,LT,UT,LR,UR]=slewrate(x,t,'Tolerance',45.0);
disp(s)
//output
//The percent state level tolerance must be less than the mid/lower percent reference level.
//at line 287 of function midcross called by :
//at line ... |
c67343d766618d916001d09ecf72b48e160c2286 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH22/EX22.5/Ex22_5.sce | 9c970abfff8b71b61b8df1b8d08e52596e8e4a06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Ex22_5.sce | clc
// Given that
p = 1 // Pressure in atm
t = 300 // Temperature in K
F = 5 // For oxygen gas degree of freedom
printf("\n Example 22.5 \n")
v = 445 // In m/s as given in the book
m = 5.31e-26 // Mass of oxygen molecule in kg
sigma = 3.84e-19 // As given in the book in m^2
k = (1/6)*(v*F*(1.38*10^-23))/sigma
... |
0e5bd3b3bb8d3799de3b69e96f24d814306ebd33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH2/EX2.10/Chapter210.sce | 75af849f3db32cf4333bc87efc728c81f043bbd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,694 | sce | Chapter210.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 2, Example 10")
//A copper pipe having 35mm outer diameter(Do) and 30mm inner diameter(Di) carries liquid oxygen to the storage site of a space shuttle at tempratu... |
ec40b8de46cf9e20e2f3551cd89e90d3581699d4 | 31cfd6fac62ce1e0f8bb81f96db3978b301d4fd2 | /Equações Diferencias/Euler PVI/euler.sci | 90771e083cb22f02c306fbce15d434d21b6f096c | [] | no_license | PierreVieira/Scilab_Programs | 2205084b7356cf9ab68e8b04525e55fd7e29636c | 63d717f04db929c81dc1ff7fa9eb886f3c6b6a8c | refs/heads/master | 2020-09-09T00:59:34.924700 | 2020-03-17T18:46:50 | 2020-03-17T18:46:50 | 221,296,397 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sci | euler.sci | function [VetX, VetY] = Euler(a, b, m, y0)
//Objetivo: Resolver um PVI pelo método de Euler
//Parâmetros de entrada: a, b, m, y0
//Parâmetros de saída: VetX, VetY
deff ('z = f(x,y)',' z = x - 2*y + 1')
h = (b-a)/m
x = a
y = y0
Fxy = f(x, y)
VetX(1) = x
VetY(1) = y
printf(" i ... |
8ad7d00f2868a8078b2e426bcbdb93450503a021 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH10/EX10.1/Example_10_1.sce | c18726e16b69c9864a2b0e9298ac7a0748eefc9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | Example_10_1.sce | //Chemical Engineering Thermodynamics
//Chapter 10
//Compressor
//Example 10.1
clear;
clc;
//Given
V1 = 2.7;//flow rate of CO2 in cubic meter/min
T1 = 273-51;//temperature in K
P1 = 1;//initial pressure in Kgf/sq cm
P2 = 10;//final pressure in Kgf/sq cm
y = 1.3;//gamma
v1 = 0.41;//specific volume in cubic... |
36ef337d8427d0e5e318cc4ad2770dbb1f88454a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH8/EX8.3/Ex8_3.sce | 602c05e1be368714549e9fd1044b59f033a446a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | Ex8_3.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 8.3
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
n1=1.48;//Dimensionless refractive index of fiber core
n2=1.46;//Dimensionless refractive index of fiber cladding
Lambda0=1e-6;//Wavelength in m
//Fo... |
0d9088594a7a8b08d4f3f9ffe50e59512b034113 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH6/EX6.03/6_03.sce | 532dcc96f1fa0f77afda7ef7d603c59e23f11591 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | 6_03.sce | //Problem 6.03:A 5 μF capacitor is charged so that the pd between its plates is 800 V. Calculate how long the capacitor can provide an average discharge current of 2 mA.
//initializing the variables:
I = 2E-3; // in amperes
C = 5E-6; // in Farad
V = 800; // in volts
//calculation:
Q = C*V
t = Q/I
printf("... |
328d25ed4da6c2ab718d25a2a7d0ba7b419f946a | 39b357bcd82af01ab069c0a12ca520c112ecd5fa | /mlt/presets/filter/dynamicText/note.tst | ea69f7f24ce018392c9a7ea5b6c45b448d751b9f | [] | no_license | 0TemetNosce0/moviemator_qml | 6963eed2d455e52b8c0e613fe3c3902c33423e2a | b0d2eaef84ab6d9b099deed8c2678d365c65cc88 | refs/heads/master | 2021-05-25T12:22:53.788915 | 2019-08-26T03:37:52 | 2019-08-26T03:37:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | tst | note.tst | geometry=0.464062 0.0333333 0.527344 0.136111 1
shear_x=-0.2
halign=center
valign=bottom
size=67
fgcolour=255 255 0 174 1
family=Times New Roman
weight=750
olcolour=255 0 0 0 1
outline=0
bgcolour=0 0 0 0 1
pad=00:00:00.000=0
letter_spaceing=0
shadow_distance=13
shadow_angle=45
|
a0c7064a2f079bfab34792b624f2f5a47a601117 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH9/EX9.1/Ex9_1.sce | 11b0ee8947eb8e09ff8f2f667f03770ce93e523c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 887 | sce | Ex9_1.sce | clc
clear
// initialization of variables
AFactual=20 // air fuel ratio actual
// The energy balance is done from equation
// C4H10 + 6.5(O2+3.76N2)-----> 4CO2 + 5H2O + 24.44N2
P=100 // atmospheic preesure in kPa
mair=6.5*(1+3.76)*29 // mass of air
mfuel=1*58 // mass of fuel
AFth=mair/mfuel // theoritical... |
465e1425111fb4a5019d52359e4023b836b4781c | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /while.sce | a3552e0ae976dca268c969677d689dba14bedaea | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 47 | sce | while.sce | i = 1
while i<20
disp(i);
i = i*2;
end
|
cd5d46a58dec3071ecb6fd56f62d16c6558aa603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH5/EX5.6/5_6.sce | a8a220fcf08e4dcc01c9ce5e1bb353925d091349 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 5_6.sce | pathname=get_absolute_file_path('5_6.sce')
filename=pathname+filesep()+'5_6data.sci'
exec(filename)
SA=0.187*M0/r;
SB=0.44*M0/r;
SC=0.373*M0/r;
printf("\nSA: %f N ",SA)
printf("\nSB: %f N",SB)
printf("\nSC:%f N",SC)
printf("\nM1: %f N.mm",SA*r)
printf("\nM2: %f N.mm",SB*r)
printf("\nM3: %f N.mm",SC*r) |
e71185ed09902840c1df6c6ab8c60add1cc43e35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH5/EX5.14/Chapter5_Example14.sce | 2b5ee56323b450bc372ada3aa7d68bf1b8e1b4df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 934 | sce | Chapter5_Example14.sce | //Chapter-5, Illustration 14, Page 264
//Title: Air Compressors
//=============================================================================
clc
clear
//INPUT DATA
V=0.2;//Air flow rate in (m^3)/s
P1=0.1;//Intake pressure in MN/(m^2)
P3=0.7;//Final pressure in MN/(m^2)
T1=289;//Intake temperature in K
n=... |
c3fdd3ff3cad8486e08862bc85a5c378dfbef47c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH7/EX7.16/16.sce | edc670a5b8cd043f2dc6cdd727e0ee348386a823 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | 16.sce | clc
clear
//INPUT DATA
x=5.87*10^7//electrical conductivity in ohm^-1 m^-1
k=380//thermal conductivity of copper in W m-1 K^-1
t=293//temperature of copper in k
//CALCULATION
L=(k/(x*t))/10^-8//Lorentz number in W ohm K^-2 *10^-8
//OUTPUT
printf('Lorentz number is %3.4f *10^-8 W.ohm.K^-2',L)
|
5aff1d59ce4d87544626dd366dc12a0b2f9d826b | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/wiener2.sci | 65c1c078f1cd87b0aa59b63baa72af2f83a81a27 | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,409 | sci | wiener2.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
1ac7cfd85806a6bdd55f67df0069240f5ac34e03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.8/ex9_8.sce | 2101a95b477ea727ef094c3b6d666f93853ba6fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_8.sce | // Exa 9.8
clc;
clear;
close;
format('v',6)
// Given data
Rating = 25;// in KVA
V1 = 2000;// in V
V2 = 200;// in V
Pi = 350;// in W
Pi = Pi * 10^-3;// in kW
Pcu = 400;// in W
Pcu = Pcu * 10^-3;// in kW
phi= acosd(1);// in °
output = Rating;
losses = Pi+Pcu;
Eta = (output/(output + losses))*100;// %Eta i... |
3bdb60ea7df96914058a502283bf7e68ea96aff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.2/1_2.sce | 1ce2da2d5ce0972bbe316c3d173f00674097f1d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | 1_2.sce | clc
clear
//Input data
r1=6;//Initial compression ratio
r2=7;//Final compression ratio
r=1.4;//Isentropic coefficient of air
//Calculations
nr1=(1-(1/r1)^(r-1))*100;//Otto cycle efficiency when compression ratio is 6 in percentage
nr2=(1-(1/r2)^(r-1))*100;//Otto cycle efficiency when compression ratio is 7 in... |
d2995e969ebfcceaff94cb529bcc00b2eaa48db6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH2/EX2.18/Ex2_18.sce | 9afc2546b0a7a24013b684f34e52a6bab4402058 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Ex2_18.sce | clear
//
//node eqns are obtained form the figure
printf("\n va=8.33V and vb=4.17V")
i=8.33/(8)
printf("\n current through 8 ohm resistor is= %0.1f A",i)
|
34dfae10ee08c718bbf0bb908f35e2f5c3ff4eb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH2/EX2.10/2_10.sce | 6335adbb131bf247a2a3fbf3cfd7b7947905bbdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 2_10.sce | //Problem 2.10:
//initializing the variables:
pH = 1
//calculation:
CH = 10^(-1*pH)
COH = 10^(-14)/CH
printf("\n\nResult\n\n")
printf("\n hydroxyl ion concentration of an aqueous solution is %.2E g.ion/L and of hydrogen ion is %.1f g.ion/L\n",COH, CH)
|
a30ab7b5bfabcb833fdc6a9a79d577cbd4eef1e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH3/EX3.15/Ex3_15.sce | 22f7c270419a39a8f63fed53736fd16d9f899735 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_15.sce | clc
//given that
lambda = 2 //wavelength in angstrom
h = 6.63e-34 // Planks constant
m_e = 9.1e-31 // mass of electron in kg
c = 3e8 // speed of light in m/sec
theta = 45 // scattering angle
printf("Example 3.15")
d_lambda= h*(1-cos(theta*%pi/180))*1e10/(m_e*c) // calculation of wavelength shift in angstrom
... |
1b34f8b90fcbac54d5278fa3fb078144cb592f9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH2/EX2.3/3.sce | 96c8bf2f0e7f807b4e2b0b8fc288364dbdf0a718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | 3.sce | clc
clear
//input
v=120 //velocity
a=75 //accleration
//calculation of time
t=2*v/(a*cosd(45))//eqn of uniformly accelerated body
//output
printf("the time taken is %3.3f s",t)
|
f0d94f3f5b1f972a5ac0177fff5731924147d79a | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/anirudh.sce | 59c82e559d2596b3eb286fea433d50038a90d723 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | anirudh.sce | clc
clear
a=round(1000*rand(50,180))+round(100*rand(50,180))
b=round(1000*rand(1,180))+round(100*rand(1,180))
c=(sum(b)+1000)/50
d=zeros(50,1)
e=zeros(50,1)
f=zeros(50,10)
r=0
while r~=180
k=min(a)
for i=1:50
for j=1:180
if a(i,j)==k
if e(i,1)<c
d(i,1)=d... |
b0142c46f2f4cc2799a5c0dcb13abc7d16a8f8d7 | c7ca7c2793552f5f73495c73ad14a36f10d92e80 | /M3DA/Simu1/TestInterpolationTriangle.sce | a23a16a7f2e50a0fef7ae1e57511468f9f81e830 | [] | no_license | UchihaMadamiaow/Lille1-Master-Info | f402fb69497b1dd100236ed634590deae983bbcc | 353b05ede296d729bc66b0cec8fa146a3552448b | refs/heads/master | 2021-09-07T19:14:09.730841 | 2018-02-27T19:13:57 | 2018-02-27T19:13:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | TestInterpolationTriangle.sce | getd();
/// définition de la géométrie
P1=[0;0;0];
P2=[10;0;0];
P3=[5;6.6;0];
/// définition de la topologie
t1 = [1;2;3];
/// tableaux
noeuds=[P1 P2 P3];
elements=[t1];
/// On suppose qu'on connait le déplacement aux noeuds
U1=[5;1.5;0];
U2=[4.5;-0.3;0];
U3=[5.3;1.2;0];
U_noeuds = [U1 U2 U3];
/// on calcule les ... |
a973d57ae6003669bc1c8fb1b7d6fe2ef25c6e5d | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /detrend.sce | 6d8e7080b964f0d5c39678049277d6037cab421d | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,141 | sce | detrend.sce | function [y] = detrend(x, flag, bp)
//
// this function removes the constant or linear or
// piecewise linear trend from a vector x. If x is
// matrix this function removes the trend of each
// column of x.
//
// flag = "constant" or "c" to removes the constant trend
// (simply th... |
25c53aa2b56e4f592764fc40f4d263d0a1c1ca31 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/GF38CPK/ATWM1_Localizer_MRI_GF38CPK/ATWM1_Localizer_MRI.sce | 41046a9f031b8dfb7c1b2268a7b66c0e0fa164b8 | [] | 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 | 40,042 | sce | ATWM1_Localizer_MRI.sce | # ATWM1_MRI_Localizer
scenario = "ATWM1_Localizer_MRI";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = false;
active_buttons ... |
6f630ec504790946da6b7f4c228026b6ccbe01f9 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/clr.instr.tst | 87d148d5faac01dd43bd205771fff8c28712e929 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,438 | tst | clr.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000040 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000074 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x00 0x24 eor r0, r0
0x2: 0x11 0x24 eor ... |
bf43265946370b8e5ae20ca0234aaf7691e7c000 | 6bbc9f4f7e12ef440acd3fe25a51b4f048cde42d | /Image Restoration/contraharmofilter.sce | 244ec8d0a5684a42d721eab0f0d25d2be86e704f | [] | no_license | krisbimantara/Image-Processing-SCILAB | 9dee568676b4f2943c54074d8c88c84cb33b3bb2 | bf8e8905efcdd6e3e0096f7a87cce8212fe0f14c | refs/heads/main | 2023-03-27T04:55:37.463238 | 2021-03-29T13:30:26 | 2021-03-29T13:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,328 | sce | contraharmofilter.sce | clc;clear;
a=imread('gtw.jpg');
Q=3;
c=im2double(a);
me=c(:,:,1);
hi=c(:,:,2);
bi=c(:,:,3);
dme=me;
dhi=hi;
dbi=bi;
bme=dme;
bhi=dhi;
bbi=dbi;
[r1,c1]=size(double(a));
for i=2:r1-1
for j=2:c1-1
a1me=double(dme(i-1,j-1))+double(dme(i-1,j))+double(dme(i-1,j+1))+mtlb_double(dme(i,j-1))+double(dme(i,j))+double(... |
bf66b37352b0c6b393c295391dac29073fc21a18 | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-core/src/test/resources/resources/profileconfig/ProfileWithDuplicateProperties.tst | 30b1c27bcffec10b1ca021c7d0ac7b08886e6c55 | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Scilab | false | false | 208 | tst | ProfileWithDuplicateProperties.tst | [source]
endpoint_url = https://global-endpoint-override.aws
[test]
s3 =
endpoint_url = https://s3-endpoint-override.aws
elastic_beanstalk =
endpoint_url = https://elastic-beanstalk-endpoint-override.aws |
cb642a7f87311979ce27e6f3148dd08954093f7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH19/EX19.3/example19_3.sce | b8b30dcd8771931fa0bf664b31439ed0f13588ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 6,911 | sce | example19_3.sce |
//example 19.3
//design a syphon aqueduct
clc;funcprot(0);
//given
Q=25; //design discharge of canal
B=20; //bed width of canal
D=1.5; //depth of water in canal
bl=160; //bed level of canal
hfq=400; //high flood discharge of drainage
hfl=160.5; ... |
cb837ca6f31ada5c9a3a86ed487ae0ffb7d7685f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH2/EX2.14/2_14.sce | b2de0d29aae104ea0fe36ab7a45209afc04cf368 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | 2_14.sce | clc;
//page no:2-27
//Example:2.14
//Given carrier power is 360W and two modulation percentages are 55 and 65
u1=0.55;
u2=0.65;
ut=sqrt(u1^2+u2^2);
disp(ut,'ut=');
pc=300;
Ut=0.85;
Psb=(pc*[Ut^2])/2;
disp(+'W',Psb,'Total sideband power is');
|
ba2a79e1489aa7f5ac3f1d8507e6567d5fa66cfc | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/uencode/uencode3.sce | 8eef0a772cc361d9a61ba91f58719e0613ff6f8c | [] | 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 | 159 | sce | uencode3.sce | //check o/p when the signed flag is passed as an i/p argument
u = -2:0.5:2;
y = uencode(u,5,2,'signed');
disp(y);
//output
// -16 -12 -8 -4 0 4 8 12 15
|
d32458845c2e875fc0eb0c847c701971987766a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH5/EX5.8/example5_8.sce | a2c01a9e749c44e858a73bdb1a71fdb9c4275077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | example5_8.sce | //Chapter 5
//Example 5_8
//PAge 95
clear;clc;
md=100;
pf=0.8;
lf=0.6;
fc=75;
rc=0.15;
ucpy=md*lf*8760;
mdkva=md/pf;
bill=fc*mdkva+rc*ucpy;
printf("Units consumed per year = %.0f kWh \n\n", ucpy);
printf("Max demand in kVA = %.0f kWh \n\n", mdkva);
printf("Annual bill = %.0f kWh \n\n", bill);
|
a79ee982e00ec8605e872c3ada515e7ddf737b2d | c3a0e2a7a3a32ad4374793a62e548d1d3bedf245 | /Birthday_Tune.sce | db90d8791584a193c1d39aa58acff353f05fa5f4 | [] | no_license | prachi416/Scilab | 824ab1ae62b44b84f151b15b2d4994c4b1928a53 | e2bc92cd723d1fe1e7f69fed3e1e4dfa58daaeee | refs/heads/master | 2023-01-01T23:08:54.420417 | 2020-10-26T15:17:30 | 2020-10-26T15:17:30 | 294,625,279 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Birthday_Tune.sce | clc
clear all
freq=[262,262,294,262,349,330,262,262,294,262,392,349,262,262,523,440,349,330,294,466,466,440,349,392,349]
fs=1046
no=8
n=1:500
temp=[]
for i =1:no
y=sin(2*%pi*(freq(i)/fs)*n)
temp=[temp y]
end
sound(temp,fs)
|
a48a0a3d2ecfd26524f07d30801280776ed9f1b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.21/Ex5_21.sce | 3ff9730cc777c333146064db14904384e581ce70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,703 | sce | Ex5_21.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.21
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
m = 3; // Total Number of phase in Induction M... |
d3eeef624c697d5e578c3432b445bfa7cfc81598 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.19/Chapter5_Exampl19.sce | d1ff880fcb485d7b340c41e9e09cf7a1e0f22def | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | Chapter5_Exampl19.sce | clc
clear
//INPUT DATA
va=30;//volume in m^3
p1=1;//pressure in bar
p2=16;//pressure in bar
n=1.32;//index of expansion and compression
N=320;//speed of the copressor in rpm
t1=300;//temperature in K
t2=312;//temperature in K
c=0.04;//clearance
nm=0.8;//mech efficiency in percentage
//CALCULATIONS
va1=p1... |
a4db0fafc524a5c0e320366a69445a695922c6fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH23/EX23.4/Ex23_4.sce | 94940340ccb20013197ac198a35eec27130bb3fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sce | Ex23_4.sce | //23.4
clc
p=40//in cm
q=-(2*p)
x=(1/p)-(1/q)
f=1/x
disp(f,"The focal length in cm=")
//Answer given in book is wrong
|
51c41e14950b2eacfe2dc3ddbc9bdf04ac232955 | ebeb01647d8befa67b61bb30a7503abd26cc518e | /forThen.sce | 230823ed4b67ae58135ca6a494349d68c8877a4a | [] | no_license | ciarap/Scilab_Labs | 153903c46c94492672c1da9497a030f548d3940e | af994c56ae44c4872a969cab376056dd18871f3c | refs/heads/master | 2021-07-04T20:12:39.635697 | 2017-09-25T22:53:15 | 2017-09-25T22:53:15 | 104,810,103 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44 | sce | forThen.sce | x=1
if (x==1) then disp('x equals 1');
end
|
25c842d33eef01b6b5ff5f6e6e1281e92ef5f8e7 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /ProjetTomEval/tomeval/b198_p1.tst | 2404d340713cd457083143602e25668b1b330fa1 | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 1,921 | tst | b198_p1.tst | Test médiamétrie P1 Janvier Février 98
7,ménagères - 50 ans
101
-1
1
1
0
1,B198,101
f:\source\SFR01
10390000
1
1
11,2000,8,1,0,4.9,22/01/98,1
3,1900,8,1,0,3.3, /01/98,1
2,730,8,1,0,2.0, 22/01/98,1
1,2040,8,1,0,18.6, /01/98,1
2,810,16,1,0,2.4, /01/98,1
3,2030,16,1,0,4.2, /01/98,1
16,1351,16,1,0,3.6, /01/98,1
16,2005,... |
bd36ba4753d98d8d98517cacd4470edd43c4229b | 8fd5474ab7779b552e5f198a3ce4afc4d82cb47f | /bin/libGeo/New_Grid.sci | 2dc9d09b5172bc5175ce39380301002b73cf0ca3 | [] | no_license | 2-BiAs/UCASI_ALIGNMENT_SCAN | 807353741517c084007cdf978b149f34f8a13dae | 85b8d79f50e23051cbf365385b49e05293827941 | refs/heads/master | 2020-06-21T10:26:29.419281 | 2017-05-19T02:01:27 | 2017-05-19T02:01:27 | 74,790,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,277 | sci | New_Grid.sci | function gridOutput = New_Grid(rectBoundingBox, fNomSpacing, sType)
iColumnCount = int(rectBoundMain(2,1) / fSpacingNom);
iRowCount = int(rectBoundMain(2,2) / fSpacingNom);
fGridLeft = rectBoundMain(1,1);
fGridRight = rectBoundMain(1,1) + rectBoundMain(2,1);
fGridTop = rectBoundMain(1... |
3546ec4a9cffc563f9c36016a0bd8c68585193f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.4/Ex1_4.sce | 2c3e6d3653c60f323910b7e891b56e19f711a561 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | Ex1_4.sce | clear
s=100
dsm=3500
adsm=dsm/s
printf("\n distance between stations on map= %0.3f centimeters',adsm)
actuals=50
td=adsm*actuals
printf("\n true distance on ground = %0.3f meters',td)
|
bfd532a878ca109927805483b5d31a567ddba09d | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/solarsystem.SCI | 9d54ac2f6895992b9ab0580801ef674cb8e55eb6 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 2,899 | sci | solarsystem.SCI | planetorbitcolor=color(0.0,0.3,0.6,1);
orbits=list;
function A2T(a)
{
return(360.0/(0.9856076686/(a*sqrt(a))));
}
au2km=149598000;
//au2km=1;
resetallscenes;
vp=all.viewports.main;
vp.cameradir=vecnorm(vector(0,-100,-1));
vp.camerapos=point(0,0,0)-4*au2km*vp.cameradir;
vp.cameraupdir=vector(0,0,1);
vp.enableusern... |
89b6d8d96a78646bdcb4e6e1f6123dd97920ccee | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/str-001-mvst.tst | 1d219309e7a2e039f248ab5ae4ae01756ef9ff75 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 2,646 | tst | str-001-mvst.tst | *Testcase str-001-mvst.tst:
# Created and placed into the public domain 2018-12-27 by Bob Polmanter.
#
# NOTE - the nature of the string instructions is such that this test
# case will only validate properly for the string instruction
# improvement modifications committed in December 2018. The
# ... |
ced60cff75ca4df39ff824ece09006d05ec58050 | 5a8eb1c11f93715e070b588e85f2961065c3714d | /books/nand2tetris/ch01/Mux/Mux.tst | ed405095bf2f5ddca346e6275c8398403cee81dd | [
"MIT"
] | permissive | luksamuk/study | 0e19bf99d33e0793127c3d3f8ad3936fbeb36505 | 6a9417e071a8624c4cd9db696c16a3abcc430219 | refs/heads/master | 2023-03-04T20:08:53.266241 | 2023-02-12T20:42:09 | 2023-02-12T20:42:09 | 151,009,060 | 4 | 1 | MIT | 2023-02-12T20:42:11 | 2018-09-30T21:33:44 | C++ | UTF-8 | Scilab | false | false | 512 | tst | Mux.tst | load Mux.hdl,
output-file Mux.out,
compare-to Mux.cmp,
output-list a%B1.1.1 b%B1.1.1 sel%B2.1.2 out%B2.1.2;
set a %B0, set b %B0, set sel %B0, eval, output;
set a %B0, set b %B0, set sel %B1, eval, output;
set a %B1, set b %B0, set sel %B0, eval, output;
set a %B1, set b %B0, set sel %B1, eval, output;
set a... |
5bba55019afdbc7bd07adc0ce3207c884b2c5fd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH4/EX4.6/example4_6.sce | e3f088732c026757fc08deb6165952a83c2ada59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | example4_6.sce | clc
// Given that
D = 5e-3 // diameter of laser in meter
lambda = 6.943e-7 // wavelength of light in meter
f =0.1 // focal length in meter
P = 0.1 // power of laser in watt
// Sample Problem 6 on page no. 4.27
printf("\n # PROBLEM 6 # \n")
r = (D / 2)// calculation for
theta = (0.637 * lambda) / r// calculation for a... |
2550612e8fefb3ad0e5d7423d7218c75812dc1f1 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/vpw-balans/edit-me.sce | c8be853741528158846d3030368d843a156454f8 | [] | 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 | 941 | sce | edit-me.sce | function [sum] = solve(ns,goal)
// Gegeven een rijmatrix ns en een getal goal,
// tel hoeveel sommen a + b == goal je kan vinden
// waarbij a en b uit ns komen.
//
// De sommen moeten uniek zijn: 3 + 5 en 5 + 3 tellen als
// een enkele som.
//
// Bijvoorbeeld, stel ns = [1, 1, 2, 3, 4]... |
9fb3bad43ec027cca6efe23d90761cccb4afc7dd | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/pgm10.sci | 14b6dc98135e0703a6f79813040e0d11754fd883 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | sci | pgm10.sci | function y = pgm10(x)
y = x .* x .* log(x .* x + 1);
endfunction
|
3f277516c1b8e715ce49408ed092470d20c4c288 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/colorChange/test5.sci | 2bddaba5e7a0dd24cc724ded326127e7620428ef | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 208 | sci | test5.sci | src=imread("../images/color1.jpg");
[row col] = size(src)
mask = zeros(row,col) //creating a mask
mask(100:140,100:150) =255
imshow(mask);
c=colorChange(src,mask,2.5,0.5,100);//out of range values
imshow(c);
|
42425a31da24b432346b8a72ca2e41aa79fc98b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.17/ex5_17.sce | 451731113471375d2bf1a59547d1e81788d98875 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_17.sce | // Exa 5.17
clc;
clear;
close;
// Given data
alpha = 1.732;
k_f = 1.274;
C1 = 1;// in F
C2 = C1;// in F
R1 = alpha/2;// in ohm
R2 = 2/alpha;// in ohm
R_F = R2;// in ohm
f_3dB = 2;// in kHz
f_3dB = f_3dB * 10^3;// in Hz
f_c = f_3dB/k_f;// in Hz
Omega_c = 2*%pi*f_c;// in rad/sec
R1 = R1/Omega_c;// in ohm
... |
69bfa07dd08d6e114738af69e63c2c45afb7a946 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH5/EX5.6/Ex5_6.sce | 3a72a5d96e7164c8857de0d5241ecb2234e93b8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | Ex5_6.sce | //clear//
//Example5.6:design a circuit with upper break frequency
//Page 142
clear;
clc;
Av1=26; //in dB
Av=20; //ordinary gain
f2=500*10^3; //in Hz
funity=f2*Av; //(Anoise=Av for non inverting terminal)
disp("Hz",funity,"funity")
//411 has funity =4MHZ ,therefore atleast 2 stages would be r... |
f46e8fe2a41d275f783d5def05582e5b32d361e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH16/EX16.4/Ex16_4.sce | 56536105b1832a4ec307ba442d5d8dca5add199b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex16_4.sce | clear;
clc;
//Example 16.4
Vdd=5;
Vtnd=0.8;
Vtnl=-2;
Kn=35;
Vo=0.1;
Vi=5;
//W/L=Y
yl=0.5;
//Kd/Kl=x
x=(-Vtnl)^2/(2*Vo*(Vi-Vtnd)-Vo^2);
printf('\nKd/Kl=%.2f\n',x)
//Kd/Kl=yd/yl
yd=2.41
yl=0.5
iD=Kn*yl*(-Vtnl)^2/2;
printf('\ndrain current=%.2f microA\n',iD)
P=iD*Vdd;
printf('\npower dissipation =%.2f ... |
ccf97d54f849bafe736db379e5c619c316a05511 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassrateup/allpassrateup.sci | 8541d62c05be276b32f6d5c3ce57afdd2f5e2a21 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,654 | sci | allpassrateup.sci | function [AllpassNum,AllpassDen] = allpassrateup(N)
// Allpass filter for integer upsample transformation
//
//Calling Sequence:
//[AllpassNum,AllpassDen] = allpassrateup(N) returns the numerator, AllpassNum, and the denominator, AllpassDen, of the Nth-order allpass mapping filter for performing the rateup frequency tr... |
bcc0146d761bdccc806fc70ce9f91ee376cdf2c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH10/EX10.4/ex10_4.sce | 0d091c859034d1a4689c0fad58b8abaa0bfd84eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | ex10_4.sce | clc
//Example 10.4
//Determine phasor current and time-domain current
printf("Given")
disp('Voltage is 8(-50 deg),Frequency is 100rad/s,Inductance is 4H')
L=4;
w=100;
Vamp=8;Vang=-50;
//Let current be I
Iamp=Vamp/(w*L)
Iang=-90+Vang
printf("I=%3.2f(%d deg) A \n",Iamp,Iang)
//In time domain
printf("i(t)=%3.... |
623a6eba32e577896b5533b227c6e5749d75204b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH4/EX4.22/4_22.sce | 2e6731ee3254828d69fd4c44f3a24ed9d4be7918 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_22.sce | clc
//initialisation of variables
p= 1 //atm
p1= 3 //atm
R= 1.987 //cal/mole K
T= 27 //C
b= 0.0428 //l mole^-1
a= 3.61 //l^2 atm mole^-1
//CALCULATIONS
G= R*(273+T)*log(p/p1)
A= R*(273+T)*log(p/p1)
G1= R*(273+T)*log(p/p1)+(b-(a/(0.08205*(T+273))))*(p-p1)*(R/0.08205)
//RESULTS
printf (' Gibs free energy= %.... |
d3d27ed6e41beea74e74289dc6e3a539e1c4283f | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH5/EX5.4/Example5_4.sce | 3143fba590b9fd0500453dc15e554bc898d448c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Example5_4.sce | //Example 5.4
//Program to estimate the insertion loss for
//NA = 0.2
//NA = 0.4
clear;
clc ;
close ;
//Given data
n1=1.48; //CORE REFRACTIVE INDEX
n=1.0;
theeta=5; //degree - ANGULAR MISALIGNMENT
//Calculation for NA = 0.2
NA=0.2
eeta_ang1=16*(n1/n)^2/(1+n1/n)^4*(1-n*theeta*%pi/180/... |
7d07c8efa8c9b9fcf52b8545ad7d79240bab3233 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH13/EX13.2/Chap13_Ex2.sce | c2c02d9be84f7ec3612bf2cb1e443330692ff47e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,554 | sce | Chap13_Ex2.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-13, Example 2, Page 332
//Title: Effect of Gas Properties on h
//==========================================================================================================
clear
clc
//INPUT
dp... |
3a2b0ffda4ffb9caa40e8a3144d5dbf712f48ae9 | efc2fec9dd841d0ca834702c904e00c52762a9f9 | /PeopleDetector/peopleDetector3.sce | 240145c17060238b2433216da6cbcb57058110a6 | [] | no_license | surajch77/Scilab-Computer-Vision-Toolbox-TestCases | 64c8e0382e8b9d416c4c27c1ed4272f49bf45b51 | 969f9bcddefea05b42c623aeebe2e0cdcffd6eeb | refs/heads/master | 2021-01-20T20:24:14.345296 | 2016-06-29T15:16:52 | 2016-06-29T15:16:52 | 61,932,313 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | peopleDetector3.sce | // read the image standing.jpg
I = imread("standing.jpg");
bboxes = peopleDetector(I)
// output:
// bboxes:
// 37. 120. 94. 210.
// 235. 149. 71. 160.
// 308. 131. 89. 199.
// 114. 45. 126. 282.
|
1019736fcd09e6b9485824ee1edef6bb12e16d80 | 8293f7c8800a04665e23ea5814feac83786d8b75 | /Testes e Algoritmos/binary_mixture_ethane_limonene.sce | 3da9f451caabb4cdf77775096bc3ef90b8525347 | [] | no_license | gusplatt/paper_libotte | 6deb983260bc62b0645f3c3f4b674162829b6e02 | 249eae1595b581e350c6479fcdda4446c9f2c54e | refs/heads/master | 2021-01-19T19:18:46.392726 | 2017-10-03T23:21:22 | 2017-10-03T23:21:22 | 101,187,042 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,225 | sce | binary_mixture_ethane_limonene.sce | clear
clc
warning('off')
function phi = binaryMixture(theta, setFrac, phase)
x1 = theta(1);
P = theta(2);
x = [x1; 1 - x1];
y = [setFrac; 1 - setFrac];
T = 307.4;
R = 8.3144621e-3;
Tc = [305.3; 660];
Pc = [4872; 2750];
omega = [0.1; 0.313];
Tr = T ./ Tc;
ki = 0.37464 + (1.54... |
5e8c0e4cbfbf667aeef01c2e55836308f714897e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH28/EX27.9/EX27_9.sce | e5afa1b17779b1a3acf5fe3662afb57ee2fdd01a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | EX27_9.sce | // Grob's Basic Electronics 11e
// Chapter No. 27
// Example No. 27_9
clc; clear;
// Calculate the resistance Rs, required to provide an LED current of 25 mA.
// Given data
Vin = 24; // Input voltage=24 Volts
Vled = 2; // Voltage drop at LED=2 Volts
Iled = 25*10^-3; // LED Current=25 ... |
3211dc63efb85d22a4f4a32adb377b10d33bd396 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH2/EX2.6/Example2_6.sce | f0b3123b4c382a98760ae4efa7179456c101e799 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Example2_6.sce | clear;
clc;
// Illustration 2.6
// Page: 37
printf('Illustration 2.6 - Page 37\n\n');
// solution
//****Data****//
T2 = 70+273;// [K]
//**********//
// a = mannitol b = H2O
// From Illustration 2.5 at 20 C
viscosity1 = 1.005*10^(-3); // [kg/m.s]
Dab1 = 0.56*10^(-9); //[m^2/s]
T1 = 273+20;// [K]
... |
0cabcfd97f9a804261aaac576ec4128ee5d786c5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.3_15.tst | 12d167bed8938c9d6684d92e4decf0342bde24c0 | [] | 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 | 31,747 | tst | bow.3_15.tst | 3 15:0.06666666666666667 17:0.25 23:0.2222222222222222 37:0.2 82:0.14285714285714285 95:1.0 96:0.1111111111111111 97:0.6666666666666666 114:0.3333333333333333 115:1.0 116:2.0 128:0.2 145:1.0 171:0.5 272:1.0 350:0.125 531:0.5 561:0.5 622:1.0 641:1.0 809:1.0 892:1.0 938:1.0 1168:1.0 1430:1.0 1618:1.0 1742:1.0 1947:0.5 19... |
d19536aa4c536e9b215b493436004d51556563fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH11/EX11.3/Ex11_3.sce | e4aa47dacf4ace15f96a1449aa2deb4800997b18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_3.sce |
// Example 11.3
V=0.85; // Supply Voltage
f=175*10^3; // Frequency
C=320*10^-12; // Capacitance
L=1/(4*3.14^2*f^2*C); // Inductance
disp('Inductance is = '+string(L*10^3)+' mH');
Xl=2*3.14*f*L; // Indctive reactance
Q=50; ... |
52a18a1eb7cbe3fd756b3847ff0501581d6c0583 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH7/EX7.20/Ex7_20.sce | 08d951a0c61e23e6a06b0873397b378b5941dfd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,031 | sce | Ex7_20.sce | clc
//initialization of new variables
clear
t=1 //cm
a=40 //cm
A=236
// calculations
ybar=a*t*0.5+(50-1)*4*0.5/(a*t+(50-1)*4)
y1bar=1.25*a-ybar
IAA=a*t^3/3+(50-1)^3*4/12+(50-1)*4*25.5^2
Io=IAA-A*ybar^2
//part (1)
r=y1bar/ybar
// results
printf('Ratio of maximum bending stress in the stem and flange')
pri... |
b1deebab7de6b528f35a23289e3dd486c6b0d97a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.29/Exa_5_29.sce | 45da7575497fb3bc6bd6b3ccc47e4866a9113bcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Exa_5_29.sce | //Example No. 5.29
clc;
clear;
close;
format('v',9);
//Given Data :
V=220;//V
Vin=230;//V
N1=1500;//rpm
Ia1=10;//A
Ra=3;//ohm
N2=600;//rpm
E1=V-Ia1*Ra;//V
E2=E1*N2/N1;//V
Ia2=Ia1/2;//A(because of Tnew=T/2)
Vapp=E2+Ia2*Ra;//V
alfa=acosd(Vapp*%pi/2/sqrt(2)/Vin);//degree
disp(alfa,"Firing angle of conv... |
fc06c42a89654d0313ed781379347e9785acb9ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH14/EX14.3/Ch014Ex3.sce | c6b359749d8c75387496c3dd5af10c681ca43806 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,288 | sce | Ch014Ex3.sce | // Scilab code Ex14.3 : Pg:719(2011)
clc;clear;
e = 1.6e-019; // Charge on an electron, C
mu_e = 0.13; // Mobility of an electron, metre square/V-s
mu_h = 0.05; // Mobility of a hole, metre square/V-s
n_i = 1.5e+016; // Intrinsic concentration of Si, per metre cube
// Pure Si
sigma = e*n_i*(mu_h+mu_e); ... |
37273a9e232526dc3f47d0a66768255b71d978d6 | a224e73b03e44940d761ce34b72d5b3cee86880b | /exemplo99.sce | 6e0775af1f4b7b7117c9ff1d8012295693b04061 | [] | no_license | DericsonPablo/controledesistemas | 5092eab41134fe752add986b457278776a1bad90 | 74d4263c4819fa7e4e7b689b38e083dd87440777 | refs/heads/master | 2020-07-31T05:33:17.109455 | 2019-09-24T03:10:19 | 2019-09-24T03:10:19 | 210,500,755 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | exemplo99.sce | // exemplo 9.9
// dia 11/04 aul 15
s = %s
x = poly(0,'x')
Gc = ((s+55.92)*(s+0.5))/s //controlador ideal -> tabela 9.10 //foto do circuito no celular
// Vout / Vin = - [R2C1s +(R2/R1 + C1/C2)+ 1/R1C2/s]
// Gc = s + 56.42s + 27.96/s -> essa equação esta nos termos da equação de cima
// R2C1 = 1
// (R2/R1 + C1/C2) = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.