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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f98e4e8fd8b7c031e790ca90be75d60fff12b298 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH1/EX1.7/1_7.sce | 9509ea9858b031ef5c319022802eac6d54ecb503 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | 1_7.sce | clc;
//page no 23
//pro no 1.7
//Given:refer fig.1.12 of page no.23;R1=100ohm,300K;R2=200ohm,400k;B=100kHz;Rl=300ohm
R1=100;T1=300;R2=200;T2=400;B=100*10^3;Rl=300;k=1.38*10^-23;
//open-ckt noise voltage is given by
//Vn1 =sqrt(Vr1^2 + Vr2^2)
// =sqrt[sqrt(4kTBR1)^2 + sqrt(4kTBR2)^2]
//by solving this we get ... |
f7b73dd7c1461d6d685e89d98a662e3438636ee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.22/example3_22.sce | e361cb3ca78e2ed441e9e3ed3fec8756ea7ff72c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,099 | sce | example3_22.sce | //example3.22
clc
disp("%eta_FL = 96%, cos(phi)=0.8, %eta_HL =97.2%, cos(phi)=1")
disp("%eta_FL=(VA *cos(phi))/(VA *cos(phi)+P_i+P_cu(FL))*100 i.e. 0.96=((259*10^3)*0.8)/((250*10^3)*0.8+P_i+P_cu(FL))")
disp("Therefore, P_i+P_cu(FL)=8333.333 ...(1)")
disp("%eta_HL=(n*VA*cos(phi))/(n*VA*cos(phi)+P_i+(n^2)*P... |
ce8c6d61a3056ba3a0c01eaccbaad9c36f92c0fa | de14a6897d4397228a52bacb8905b8807370ef4b | /tapis_recursif.sce | 5dfcbc0eac10cdaf668cabbd5327cf7603b10a85 | [] | 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 | 1,560 | sce | tapis_recursif.sce | function sierpinski(n,a,b,c,d)
if n<1
plot([a(1),b(1)],[a(2),b(2)]);
plot([b(1),c(1)],[b(2),c(2)]);
plot([c(1),d(1)],[c(2),d(2)]);
plot([d(1),a(1)],[d(2),a(2)]);
e=gce()
set(gca(),"isoview","on")
else
//calcul des coordonnees des points
e=[(b(1)-a(... |
4a01d18cb8c940df71949590b4482362b60d7c17 | 494b677053e1199325a80808377463794e1003e5 | /experiments/irprop-c/irprop-c/results/Ignore-MV.iRProp+-C.vehicle/result5s0.tst | bac2775e932644ce8991b13bf69b9097f31339f9 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,573 | tst | result5s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attri... |
b49e090e8260ca8934ba80f29e6d9b643ab6dd9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH14/EX14.9/example14_9.sce | 285e448aa41beea6c1e88fda1323c26f965718fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,058 | sce | example14_9.sce | clear;
clc;
//Example14.9[Measuring Diffusion Coefficient by the Stefan tube]
//Given:-
D=0.03;//Diameter of tube[m]
P=83.5;//Atmospheric Pressure at an elevation of 1600m[kPa]
T=20+273;//Ambient temperature[K]
R=8.314;//Universal Gas Constant[kPa.m^3/kmol.K]
P_vapor0=2.34;//The saturation pressure of water a... |
0c76e8e3dac167100b545f4b33c83fe50a631354 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH1/EX1.2/ex1_2.sce | d791b7f1aa92814e0a47d01857ccdcc1576966fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | ex1_2.sce | // Exa 1.2
clc;
clear;
close;
// Given data
V_CC = 50;// in V
V_BE2 = 0.7;// in V
R = 50;// in k ohm
R = 50 * 10^3;// in ohm
I_C1 = 10;// in µA
I_C1 =I_C1 * 10^-6;// in A
V_T = 26;// in mV
V_T = V_T * 10^-3;// in V
I_C2 = (V_CC - V_BE2)/R;// in A
R_E = (V_T*log(I_C2/I_C1))/I_C1;// in ohm
R_E = R_E * 10^-... |
f4921b9060630713dba7fa1dcd62e03b8f2397e7 | ae13380005e92ccde53c0efc1dd54bb736c1abfd | /cosmi-cut.sce | de66869e1b3a7835f1dbae948cf44dfbc909fb0f | [] | no_license | nezumi-tech/Scilab-Cosmi-Cut | fd39e286cc1710b9ade80bcda9765e947df46c97 | 84738e41861a3ac9fb04dd8a4321d93d58caa2c5 | refs/heads/main | 2023-04-03T08:30:19.061178 | 2021-04-15T11:22:40 | 2021-04-15T11:22:40 | 358,232,195 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,760 | sce | cosmi-cut.sce | //Image Processing and Computer Vision Toolbox for Scilab (IPCV)が必要
//コスミカット法のアルゴリズム
//加算合成
//比較明合成
//加算-比較明
//結果/(枚数-1)
//ファイルの準備
//Scilab カレントディレクトリ/alignd_num/0.tif, 1.tif, 2.tif, ..., n-1.tif (Light Frame)
//キャッシュクリア
clear();
xdel(winsid());
//Light Frameの枚数
num_of_img = 10;
img_index = num_of_img - 1; //0から始まる... |
2ec826ddd25aea17eab88a6c412056cd32f5350a | de14a6897d4397228a52bacb8905b8807370ef4b | /validation.sce | af91fac8cd49f8f774cd26b01ad9821bbd9929ea | [] | 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 | 1,134 | sce | validation.sce | data=[...];//ici les donnees
t=data(:,1); y=data(:,2);
function return=constrA(t,y,d)
n=length(t); A=ones(n,d+1); for i=1:d A(:,i+1)=t.^i; end return=A;
endfunction
function [theta,reg,erreur]=reglin(t,y,p)
A=constrA(t,y,p); theta=A\y; erreur=norm(A*theta-y)^2; reg=A*theta;
endfunction
function y=evalpoly(th... |
16de0f07a9b919152a3eef59d20346a2225212f8 | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Ajuste_Linear.sci | 9081b26755410b8b9ffa0c3982d7d2fabc662b21 | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sci | Ajuste_Linear.sci | clear
close
clc
valor = 3
x = [1; 2; 3; 4; 5]
y = [15; 28.4; 45.3; 58.6; 77.4]
X = [size(x,1) sum(x); sum(x) sum(x^2)]
Y = [sum(y); sum(x.*y)]
A = X\Y
resultado = A(1,1)+A(2,1)*valor
disp (resultado, "Resultado: ")
disp (A, "A: ")
disp ("f(x) = a+b/x")
|
a0439da6b41370a89fb66a070445d3fb63e4d186 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.7/EX9_7.sce | 842640c0f4c0030b1e88c91d2f25d51be88b0c8c | [] | 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 | 667 | sce | EX9_7.sce | clc;funcprot(0);//Example 9.7
//Initilisation of Variables
T=5800;....//Temparature of sun in K
L1=0.35*10^-6;....//First Visible range of Wavelength in Mew m
L2=3.0*10^-6;....//Last Visible range of Wavelength in Mew m
R=5.67*10^-8;.....//Stefens boltsman constant
Tr=0.93;....//Glass Transmissivity of incident r... |
7b6acf3aeaf0b2feacae6d5b0677f574cc915ff6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH6/EX6.1/Example6_1.sce | 5d557a2a8ca8cda1a2986577bb8a645b41bf1d08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,480 | sce | Example6_1.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 6 : DIRECT CURRENT POWER TRANSMISSION
// EXAMPLE : 6.1 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
K_1 = 2.5 ; // Factor
K_2 = 1.7 ; // Factor
... |
b3e726671b40fa4f3ab7b0b3048983830f4ce3a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH3/EX3.4/Ex3_04.sce | 8aae3e4b1c3a68a7095c148aeb8094fcfb4fef62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Ex3_04.sce | // Scilab Code Ex3.4: Page-98 (2013)
clc; clear
T = 1600 + 273; // Temperature of the furnace, K
b = 2.898e-003; // Wein's constant, m-K
lambda_max = ceil(b/(T*1e-009)); // Maximum wavelength from Wein's Displacement Law, nm
printf("\nThe maximum wavelength emitted from the heated furnace = %4d nm", lambd... |
07f198584867efdb923cd10599bfdc7dd31c8cdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH2/EX2.3.C/EX2_3_c.sce | 77d02850cf720580b29f3365623f6310eea15eed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | EX2_3_c.sce | clc;
t=-12:0.01:12
x=sin(2*t)+cos(t)+0.5*(sin(3*t)-sin(t))
h=-sin(2*t)+cos(t)-0.5*(sin(3*t)-sin(t))
e=cos(t)//(x+h)/2
o=(x-h)/2//sin(t)+0.5*(sin(3*t)-sin(t))
subplot(3,1,1)
plot(t,e)
xtitle('even signal')
subplot(3,1,2)
plot(t,o)
xtitle('odd signal')
|
b347112320c43c7030dea1f8b22c43affdfbd7f2 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/VW42LKU/ATWM1_Working_Memory_MEG_VW42LKU_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 774aea8a4499335dc56dca8e8321871b75445737 | [] | 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,620 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_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_monito... |
162d1bec6f688afda3d0943ba04fbfeaa49686d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH3/EX3.2/q2.sce | b6410311d58b1e90bb19519454fe734fa73ab53a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | q2.sce | s=%s;
syms k;
num=s+1;
den=(s^2)*(s^2+5*s+6);
t=syslin('c',num,den);
clf;
evans(t)
|
74583a9d142cf58dde863ca0466951bf15b5a8ee | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/countby.tst | 8cdffd966984f1ec09d6977fafffb11c85d660f6 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | tst | countby.tst | DECLARE
results grp.results_tt;
indx PLS_INTEGER;
minrow PLS_INTEGER;
maxrow PLS_INTEGER;
BEGIN
results := grp.countby ('employee', 'department_id');
indx := results.FIRST;
LOOP
EXIT WHEN indx IS NULL;
IF minrow IS NULL OR
minrow > results(indx).countby
THEN
... |
321707bbf459eed4881b775b886ae858445a12aa | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH2/EX2.15/Ch02Ex15.sce | 1fceed21427e12591654903a72013f79b206d9c7 | [] | 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 | 1,338 | sce | Ch02Ex15.sce | // Scilab code Ex2.15: Pg.96-97 (2008)
clc; clear;
// For electron
// For simplicity let velocity of light be unity
c = 1; // Velocity of light, m/s
E_k = 10; // Kinetic energy of electron, MeV
E_r = 0.511; // Rest energy of the electron, MeV
gama_e = 1 + (E_k/E_r); // Simplification factor
E = E_k ... |
e0f2b4fbae19ddb76358dc7fbc15c7737e68469a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH1/EX1.3/ex1_3.sce | 87d8749d2513e1447811542504a507ebeb325ff1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sce | ex1_3.sce |
//Find the equivalent current source
clear;
clc;
//soltion
//given
Vs=2;//Volts //dc voltage source
Rs=1;//ohm //internal resistance
Rl=1;//ohm //load resistance
Ise=Vs/Rs;//ampere //equivalent current source
// In accordance to figure 1.23a
Il1=Ise*(Rs/(Rs+Rl))... |
29ecb82ac2de1f11c43e7abbafeaac9576d9b26c | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH8/EX8.9/8_9.sce | 1810d89eddcffbe98081087281775f64007b170c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,652 | sce | 8_9.sce | //To find velocity and accelerations
clc
//Given:
omegaAO1=100 //rad/s
O1A=100/1000,AC=700/1000,BC=200/1000,BD=150/1000,O2D=200/1000,O2E=400/1000,O3C=200/1000 //m
//Solution:
//Refer Fig. 8.19
//Calculating the linear velocity of A with respect to O1
vAO1=omegaAO1/O1A //m/s
vA=vAO1
//By measurement from the v... |
d336ea2df36c83dcadee5386df63b874ecdbc593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.9/6_9.sce | 6aced8aa4cac6b0db78d6359112e7a4d2aaf4329 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | 6_9.sce |
clc
//initialisation of variables
Q= 450 //gal/min
w= 6.24 //lb/ft^3
f= 0.005
l1= 1000 //ft
l2= 2000 //ft
r1= 1.6
r2= 4.4
r3= 0.8
r4 = 12.85
h1= 59.1 //ft
h2= 40.19 //ft
v= 1.2 //ft/sec
f= 0.0056
l= 10 //ft
//CALCULATIONS
Q1= Q/(w*60)
Q2= (r1+sqrt(r1^2+4*r2))/2
Q3= Q2-Q1
Q4= (-r3+sqrt(r3^2+4*r4))... |
c4761ac0c8816dbee8ed8190fe64b48e160a70b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH8/EX8.8/Ex8_8.sce | 4852d569ae2d967b7b9d6000b34f892c64df47b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | Ex8_8.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex8_8.sce.
clc;
clear;
R=200;
P=100e3;
V=500;
E=525;
printf("\n (a)")
Il=P/V;
If=V/R;
Ia=Il+If;
Ra=(E-V)/Ia;
printf("\n The armature resistance=%1.4f ohm \... |
f282962c420409a96fa341fed0b79921d08dac5e | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/initation_scilab/ex22.sci | 1b9f3b0115562c96b639ba9be5925ce6afec186d | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | sci | ex22.sci | r=2;
t=linspace(0,2*%pi,102);
x=r*cos(t);
y=r*sin(t);
//plot2d(x,y,2)
comet(x,y)
|
a867783902459faf8437139d7c1d80dd4d9ca242 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/machine-sliding-mode/obokata/状態変数の比較/aaa.sce | 7413a82f544fcd22e96a2657f4a5da348e8e2351 | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | aaa.sce | A11 = [0];
A12 = [1];
S2 = eye(1);
// 配置したい極を指定
p = [-5];
// 超平面の設計
F = ppol(A11,A12,p)
S = S2*[F S2]
//切換超平面Sの値をコンソールに出力
disp("切換超平面:S=")
disp(S)
|
a56a0aa8b20ddf75751c86611272c11488cc75e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH5/EX5.1/example5_1.sce | c6d5c3914257d325f5f1d5a688b7e535a4943813 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,559 | sce | example5_1.sce | // Calculate BJT parameters using beta gain
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 5-1 in page 235
clear; clc; close;
// Part 1
// Given Data
beta_bjt=100; // Beta Gain of BJT
Vcc=10; // DC voltage across Collector in V
Rb=100000; //... |
2cbb88013cafa54880f212f0d31443e7796fd902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH14/EX14.10/Ex14_10.sce | 0b761eab83f0159ba78a8680537ed6eb9cb1df65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Ex14_10.sce |
clc
//initialisation of variables
P=100 //lbf/in^2
T=600 //F
A=20000//lbm/hr
P1=0.545 //lbf/in^2
P2=54.5 //lbf/in^2
S=1.7581 //Btu/lbm-R
h0=1329.1 //Btu/lbm
T1=460//F
h=1264.0 //Btu/lbm
V=w1*sqrt(h0-h)//ft/sec
v1=9.961 //lbf/in^2
PE=20 //lbf/in^2
sE=1.7581 //Btu/lbm-R
hE=1174.9 //Btu/lbm
vE=21.28 //lb... |
eb883bb83c5adf2fff30d57564dfcc7d3a33104f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH6/EX6.5/5.sce | aa716ca111caf4377accb45972d1fbe168c1622c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 990 | sce | 5.sce | clc
clear
//Input data
n=2 //Number of jets
D=0.25 //Diameter of turbojet in m
P=3000 //Net power at turbojet in W
mf_kWh=0.42 //Fuel consumption in kg/kWh
CV=49000 //Calorific value in kJ/kg
u=300 //Flight velocity in m/s
d=0.168 //Density in kg/m^3
AFR=53 //Air fuel ratio
//Calculatioon
mf=mf_kWh*P/... |
5aff989827be427e8a824a4003b167c5e0405291 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3655/CH3/EX3.1/Ex3_1.sce | eb032a13187913d385e121d29d4632e67511d128 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | Ex3_1.sce | // Example 3.1
// Computation for mobility of the free electrons in aluminium//
// Page no.61
clc;
clear;
close;
//Given data ;
d=2.70*10^3//2.70*10^3 kg/m3
v=3;//3 electrons/atom
A=26.98;
M=1.660*10^-27;//1.660*10^-27 kg/atom
e=1.60*10^-19;
R=3.44*10^-8;//R=resistivity
//...................................(B)......... |
6ee2a79621dec80a7b90a7786c93293da94a7662 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH15/EX15.2/15_2.sce | 4e8c38139267628454e031a9a4593f5c15e03b5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | 15_2.sce | clc
//initialisation
n=5
h=2
p=1/6
//CALCULATIONS
t=1-p
a=((factorial(n))/(factorial(h)*factorial(n-h)))*(p^h)*(t^(n-h))
//results
printf(' \n probability of apperance of 4 in two dices= % 1f ',a)
|
abd8cf6102ab35abf1e135a5e404a5b43c0a8575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH6/EX6.10.2/EX6_10_2.sce | 765355076dabea21fa44c8b1e605454e0092496b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sce | EX6_10_2.sce | //Example No. 6.10.2
clc;
clear;
close;
format('v',6);
D=20;//dB(Directivity)
//d=lambda/4;(spacing)
dBYlambda=1/4;//(spacing/wavelength)
D=10^(D/10);//unitless(Directivity)
n=D/4/dBYlambda;//no. of elements
disp(n,"(i) No. of elements : ");
LBYlambda=(n-1)*dBYlambda;//(length/wavelength)
disp("(ii) Length ... |
1025db4541d282d8537c0c5adb3e2cf1b9bb6d2a | 891e9f4e3fce67f553f07f24cef2e802423770b9 | /fgoalattain/fgoalattainTests/demo2.sce | d313a1dcd805f57789fb3784cfa053e9ff2a5016 | [] | no_license | animeshbaranawal/FOSSEE | ae6b6c1a39803ad0fb26780b7f960a62431c71d2 | 75b1b18dcfd935f7ebbe89b44573c8076dae4267 | refs/heads/master | 2022-06-24T14:20:49.508846 | 2022-05-30T17:13:09 | 2022-05-30T17:13:09 | 50,281,099 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | demo2.sce | function f2=objfun1(x)
f2(1) = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2;
f2(2)= x(2)-x(1)*5+x(2)*x(2)
endfunction
x0 = [-1,2];
A = [1,2];
b = [3];
goal=[5,-6];
weight=abs(goal);
[z,gval,attainfactor,exitflag,output,lambda]=fgoalattain(objfun1,x0,goal,weight,A,b)
|
87139ae0c6f5861d558a636d83a476035838dbda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH7/EX7.7/N_Ex_7_7.sce | ed9e10157566eed89a97c3b59a9cfc3e349dee0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | N_Ex_7_7.sce | clc
//Chapter7
//Example7.6
//Given
mue=25// tube parameters
rp=10e3// tube parameters
gm=2.5e-3// transconductance
Req=2.5/gm// equivalent resistance
Rs=1000
Rg=1e5
F1=1+(((Req*((Rs+Rg)^2))+Rg*Rs^2)/(Rs*(Rg^2)))//noise figure of the first stage
Rg2=9.1e3
Rs2=10e3
Es=1// assuming Es=1 for ease of calculati... |
fd17af8fe266eb6eb1c84c15e8801e52912b2bc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.27/Example9_27.sce | 79e86b97c2a8f9f45ac8b6a820e636da23dc2e64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Example9_27.sce | //Chapter-9,Example9_27,pg 9_81
V=250
FLo=16*10^3//full scale output
n=80
I=FLo*100/n//input
Il=I/V
Il=Il
Ia=1.5*Il
//at start
Ra=V/Ia
Rac=0.18//Ra actual
Ras=Ra-Rac//Ra starter
Ia=Il//Ia drops as motor starts
Eb=V-Ia*(Ra)
printf("back e.m.f\n")
printf("Eb=%.2f V",Eb)
|
83e4ac48ca2204067f2d17e0e66a4f278c643799 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/roiPoly/test6.sce | 7241927a04878dd8a6794dc94b0c0957b3136a0e | [] | 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 | 144 | sce | test6.sce | I = imread('../images/color2.jpeg');
c1 = [200 250 300 250 200 150 200]
r1 = [ 170 170 135 100 100 135 154]
BW = roiPoly(I,c1,r1);
imshow(BW)
|
331a25b15b474255eac598756a89459595da0d4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.16/example6_16.sce | 39fa3e4bc168afbad7562b79a44054bc0528f7f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | example6_16.sce | T1=1*5*10*1;
T2=1*10*1;
L1=10*(-1);
L2=1*(-2);
L3=5*10*1*(-1);
L4=10*1*(-1)
delta=1-(L1+L2+L3+L4)+(L1*L4)
del1=1;
del2=1-L1;
TF=(T1*del1 + T2*del2)/delta ;
disp(TF,"C/R = ")
|
463eaca8c9e05fcce6e777d8296ce9b95e2a730f | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/correctionSway1D/testCorrectionSway1D_iros2011_period.sce | d914f75c043ea08e529153d4ac2d53706e0fb984 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,777 | sce | testCorrectionSway1D_iros2011_period.sce | // 1d servo of a position x to zero
// when the PG disturbs the control with an additional sin
// comparison of 2 methods
// 1) cancelling the effect of the sin in the control
// 2) compensate for the sin
clear
// --- Control variable
sat = 2; // control saturation
k = 0.7; // gain... |
3570b638bb00873b12c30793a3260e45c215cfa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.34.1/ex34_1.sce | 045fa36c040036aad837efdc2586cadc10a906ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | ex34_1.sce | clc
A=[1 2 3;3 4 4;7 10 12]
disp('rank of A is')
p=rank(A)
if p==3 then
disp('equations have only a trivial solution:x=y=z=0')
else
disp('equations have infinite no. of solutions.')
end |
5b055ed978b658207cf3a019cf52b9c442661436 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.4.b/solution7_4.sce | d9a2ee3c36cefa4c2d1e9f53f46d1b1805e2acab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | solution7_4.sce |
//Function to standardise the given bolt-size
function[v] = standard(w)
v = ceil(w)
rem = pmodulo(v,10)
if (rem ~= 0) then
v = v + (10 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution7_4.sce')
//Obtain path of data file
datapath = path + fi... |
d6e238e5b4e67900b04eb1626fb8e84778aafbb8 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r34/xmpl/scope.tst | 5a93d822e2819f32483258079ed3f641ec275452 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 1,704 | tst | scope.tst | % Test SCOPE Package.
% NOTE: The SCOPE, GHORNER, GSTRUCTR and GENTRAN packages must be loaded
% to run these tests.
on priall$
optimize z:=a^2*b^2+10*a^2*m^6+a^2*m^2+2*a*b*m^4+2*b^2*m^6+b^2*m^2
iname s;
off priall$
on primat,acinfo$
optimize
ghorner <<z:=a^2*b^2+10*a^2*m^6+a^2*m^2+2*a*b*m^4+2*b^2*m^... |
a54d861c3cb568b5969c995b2d3a0638ad580551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH4/EX4.25/ex4_25.sce | 8241e217926b2e0bd8c038743537d6d853f23a4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | ex4_25.sce | // Exa 4.25
clc;
clear;
close;
// Given data
R_F = 5;// in k ohm
R_G = 1;// in k ohm
R1 = 10;// in k ohm
R2 = 20;// in k ohm
A = (1 + ((2*R_F)/R_G))*(R2/R1);
disp(A,"The gain of instrumentaion amplifier is");
|
66c1ff894fe10412a913050e9cf29687b92cbd47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH3/EX3.8/example3_8.sce | 1d81bc4623a1e2df7a8f9576763720515700bdf0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sce | example3_8.sce | v=120;
i=3;
t=12;
e=v*i*t;
disp("energy supplied by the source (in J) is"); disp(e); |
cbc97400c5573ac79a421ebeee697171bd02f935 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testcomplexe.sce | eb86be09a28fc6e2c80357094e6c8c2d34b6679f | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | testcomplexe.sce | z=1+2*%i // a complex number
conj(z) // complex conjugate
real(z) // real part
imag(z) // imaginary part
[r,a]=polar(z) // polar representation
r*exp(%i*a) // =z
sqrt(-1) // principal sqrt of -1
|
cbb5fc0919655161af6ca4030b93c310fb5a64e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH3/EX3.2.1/3_2_1.sci | 9fb608a0349b0941ff843aa7fdd6261382d587aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sci | 3_2_1.sci | //page 155
clear;
close;
clc;
b=[1;2;3];
disp(b,'b=');
a=[1;1;1];
disp(a,'a=')
x=(a'*b)/(a'*a)
disp(x*a,'Projection p of b onto the line through a is x^*a=');
disp((a'*b)/(sqrt(a'*a)*sqrt(b'*b)),'cos(thetha)=');
//end |
fd9628b70b2a30bad351c123e5ce30ba48e4f02a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.13/ex_7_13.sce | 05e97302f85382c385d3ef256fc31e0eb48fc9a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | ex_7_13.sce | //Example 7.13: maximum power and total distance
clc;
clear;
close;
format('v',5)
//given data :
w=250;//in tonnes
we=(1+(10/100))*w;//efective weight in tonnes
r=5*9.81;//in N/tonne
G=1;//
t1=30;//in sec
t2=70;// in sec
alpha=2;//kmphps
V1=alpha*(t1);// in km/h
ft=(277.8*we*alpha)+(98.1*G*w)+(w*r);//in newtons
po=((ft... |
ab926660ad04e606ebf5262bb385fba642c85607 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH4/EX4.8/sadiku_4_8.sce | 9fc78384591f74cd78ac930a41c620ac08a08288 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | sadiku_4_8.sce | clear;
clc;
r1=0,r2=1,z1=-2,z2=2,q1=0,q2=2*%pi;
Q=integrate('p^2','p',r1,r2)*integrate('(cos(Q)^2)','Q',q1,q2)*integrate('1','z',z1,z2);
disp(Q,'Total charge is ='); |
9eaf50512118d5d2258cb9f1466a14856ed1478d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH2/EX2.12/Ex2_12.sce | 88e7d37cef3845793ff715384eb7e69ba5e37924 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Ex2_12.sce | clear
//
//eqns derived from figure
//6v1-4v2=2-->1
//-4v1+7v2=-3-->2
//eqn 1 and 2 are written in matrix form and solved using cramers rule
printf("\n v1=0.0769 V")
printf("\n v2=-0.3846V")
printf("\n current in 0.5ohm resistance is 0.154A,0.25ohm resistance is 1.846,0.66ohm resistor is -1.154A")
|
56f79df3c23d84965bc6dddef71e453d56f66acd | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH7/EX7.5.7.a/exa7_5_7_a.sce | 777f5da0a2b0aaf93034fc7bedb42777f17638c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | exa7_5_7_a.sce | //caption:stability_using_Routh-hurwitz_criterion
//example 7.5.7.(a)
//page 207
s=%s;
syms T K
P=s*(s*(s+10)+T);
CH=sym('s^3+10*s^2+T*s+K');
disp('=0',CH,"characterstics_eq,CH=")
c0=coeffs(CH,'s',0);
c1=coeffs(CH,'s',1);
c2=coeffs(CH,'s',2);
c3=coeffs(CH,'s',3);
b=[c0 c1 c2 c3]
n=4;
routh=[b([4,2]);b([3,... |
a67fb08f657a9ea618661f16f85365b2a8ed8a7c | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /matlab/plasma/particle_lorentz_field_trajectory_2.sce | d2dcd346072cbf5633cc144d014c968dc2a3e615 | [] | 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 | 1,868 | sce | particle_lorentz_field_trajectory_2.sce | //Script to model influence of uniform e and b field
//on charged particle motion
clear();
exec('lorentz.sce');
m=1.6*(10^(-27));
q=1.6*(10^(-19));
dt=5.0*(10^(-9));
it=1:1:1000;
r=zeros(3,1);
v=zeros(3,1);
v(2,1)=1.0*(10^6);
b=zeros(3,1);
e=zeros(3,1);
//bfield in z direction
b(3,1)=0.1;
//efield in y direction... |
11ddfddea454ccfa76482446fdb2a6fac035fbde | 88c914c9be129f1873d66f7242928d980a0c45e0 | /Scilab/src/tolsolvty.sci | 5211059615c30d6fb13b229243a01ff5e4d1b4c5 | [] | no_license | MaximSmolskiy/tolsolvty | 6b0555a242ea6b497c98ba85bb55d42bd6aec54e | 47756130bb87936ea98ef600e321392cc679254d | refs/heads/main | 2023-05-31T20:07:23.403227 | 2021-06-28T22:48:55 | 2021-06-28T22:48:55 | 309,448,233 | 1 | 0 | null | 2021-06-28T22:48:56 | 2020-11-02T17:40:28 | MATLAB | UTF-8 | Scilab | false | false | 19,132 | sci | tolsolvty.sci | function [tolmax,argmax,envs,ccode] = tolsolvty(infA,supA,infb,supb,varargin)
//
// Вычисление максимума распознающего функционала допускового множества
// решений для интервальной системы линейных алгебраических уравнений
//
// TOLSOLVTY(infA, supA, infb, supb) выдаёт значение максимума распознающего
// функц... |
cd6533b05ee98118a7ebf1ba76c6914aff553c3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.25/Ex5_25.sce | d29c90d351ab271ed8f141b97634e90c29e62dda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_25.sce | clc
C = 1000 // cost of fixture
Co = 700 // cost of old fixture
Cs = 250 // scrap value
a = 10 //saving per piece in paisa
a = a/100
b = 30 // overhead applied on direct labour saved
b = b/100
I = 8 // interest rate
I = I/100
M = 3 // allowance for maintenance
M = M/100
T = 12 // allowance for tax
T = T/10... |
1a73dfed0076f30f635b1d082eac215d593c0e63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.11/7_11.sce | 5464ab8040e1f5ab526ead354a1197fa4f93f9cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | 7_11.sce | clear;
clc;
//Example - 7.11
//Page number - 246
printf("Example - 7.11 and Page number - 246\n\n");
//This problem involves proving a relation in which no numerical components are involved.
//For prove refer to this example 7.11 on page number 246 of the book.
printf(" This problem involves proving a relati... |
d14ffe3208822fe36ce3738b0d737c9cc6c7f4ec | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0055.tst | 97954b3e3f4e2d4687f8a86d02ddf5ded2a371d2 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 309 | tst | 0055.tst | spliTTER IG {}
fILtEr RRv { }
FilTER Y {nOt P Or nj }
V -> YC
GROUper k {MoDUlE MmGzI{ } MoDULE Y{ fAv < UAKXT DEltA 56 YT < R RdelTA 5 } aggRegATE UX }
UngRoupEr N { }
GrouPFiLteR aFaw {}
meRGeR n { MoDule T { braNches vIs } MODUle Q { BrAncHEs n } MoDule x { bRaNCheS c, z, mQ } ExpOrT Fpr } |
82729e2beb66c15efbe8aa8a89ceb9f8255b7714 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH4/EX4.6/Ex4_6.sce | 4a5ca8bcb0907bf4a0766187ee01808e3bfaec8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | Ex4_6.sce | //example 4.6
clc; funcprot(0);
Gamma=16.8;
B=1.5;
//from table
Nyq=120;
qu=1/2*Gamma*B*Nyq;
disp(qu," shear stress in kN/m^2");
|
8e36daad579afaea2de86df13a0d7e38db02df7d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH2/EX2.48/ex48.sce | 9fd3927d1a3b18febf40d7bc7bbd6763163a880f | [] | 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 | 148 | sce | ex48.sce | errcatch(-1,"stop");mode(2);
A=[-1 2 -2;1 2 1;-1 -1 0]
disp("R is matrix of transformation and D is a diagonal matrix ")
[R D]=spec(A)
exit();
|
88575115e8ab855d72218c41117d8ed986192eaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.14/Ex7_14.sce | 9ff071f7dd2edea3a552fe07869dd879ce5a8019 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | Ex7_14.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 251
clear;
clc;
//Given Data
IDSS=15D-3;//drain saturation current in amperes
VGS0=-6;//gate to source cutoff voltage in volts
VGS_1=-2;//gate to source voltage in volts
VGS_2=2;//gate to source voltage in volts
//Solution
... |
3209210c5b3215fe79654ab173b8e05be6776656 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH17/EX17.5/EX17_5.sce | cccda93c649f35aec7267ce6097bb29638ae1167 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX17_5.sce | //Finding of Force Exerted
//Given
rho=1000;
d=0.07;
V=25;
theta=20;
theta2=15;
//To Find
A=(%pi/4)*d^2
Fx=rho*A*V^2*(sin(%pi/9)+cos(%pi/12));
Fy=rho*A*V^2*(sin(%pi/9)-sin(%pi/12));
disp("Fx ="+string(Fx)+" Newtons");
disp("Fy ="+string(Fy)+" Newtons");
|
169d5c03942d482704966c5ebfeac6f6904da757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH5/EX5.5/Ex5_5.sce | 77362790adb1f8172c0b4b8acf70299ae0c8e29c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex5_5.sce | //Ex 5.5 page 186
clc;
clear;
close;
Vs=220;//V
Vo=660;// V
Toff=100;// micro s
//Vo=Vs/(1-alfa)
alfa=1-Vs/Vo;// duty cycle
//alfa=Ton/(Ton+Toff)
Ton=alfa*Toff/(1-alfa);// micro s
T=Ton+Toff;//micro s
printf('Pulse width of output voltage, Ton = %d micro s & T = %d micro s',Ton,T)
//(ii) reduce pulse width by 50%
To... |
a052e979df1f42c4f0cf0e4d47e9846cd60bf011 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/IsentropicVortex16_P3.tst | c8a1a2484022dc2ba254f4956c7d9791f4cbc6f3 | [
"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 | 1,020 | tst | IsentropicVortex16_P3.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler Isentropic Vortex P=3</description>
<executable>CompressibleFlowSolver</executable>
<parameters>IsentropicVortex16_P3.xml</parameters>
<files>
<file description="Session File">IsentropicVortex16_P3.xml</file>
</files>
<metr... |
9f015110105e3bfab9ddc4e293ad39d79c10bc50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH11/EX11.7/Ex11_7.sce | 55a33ed1cddb4d6b9489bb59f52b85115d039fe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | Ex11_7.sce | clear ;
clc;
// Example 11.7
printf('Example 11.7\n\n');
printf('Page No. 320\n\n');
//given
T1 = 40;// in degree
T2 = 0;// in degree celcius
//As from carnot cycle, C.O.P = (T1/(T1 - T2)), where temperature are in degree celcius
C_O_P1 = ((T1+273)/((T1+273) - (T2+273)));
printf('C.O.P. is %.1f \n',C_O_P1)... |
2ea48b325a698f16cef1bdb757c4cae3d6928bef | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/xdess/hist3d.sci | 7604bcfce2df003e009e949905a73225c6c14d79 | [
"MIT",
"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 | 6,766 | sci | hist3d.sci | function []=hist3d(f,labels,view)
// hist3d() ---> example
defaults=list(['x','y','z'],[0,%pi/4,%pi/3,xget('white'),2,0.25])
smod=0;first=1-smod;
//gestion de la liste d'appel
[lhs,rhs]=argn(0),
if rhs<=0, write(%io(2),'hist3d(rand(10,10));');
hist3d(rand(10,10));
return;end;
enable_r=0
select rhs
case 1 then,[la... |
d9aed7235c683ea710685ce1e8d012db87144d3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH4/EX4.3/Example_4_3.sce | 3cd5a591379f977d641079f2f0a347a70610bed9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,074 | sce | Example_4_3.sce | clc;
printf("\n Example 4.3\n");
Q=50; //volumetric flow rate of methane
P=101.3e3;//Given Pressure
T1=288;//Given Temperature
d=0.6;//Diameter of pipeline
l=3e3;//length of the pipe line
R_R=0.0001;//Relative roughness
P2=170e3;//Pressure at which methane is to be discharged
T2=297;//Temperature at which ... |
9bad3132c3ed55d22d696114ac7d7daaf2321fb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH4/EX4.5/Example4_5.sce | b8856e64d38cd1d2d4b7f9c87b4fddbf4e514fb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | Example4_5.sce | //Caption: 2D DFT of 4x4 grayscale image
//Example4.5
//page 171
clc;
F = [16,0,0,0;0,0,0,0;0,0,0,0;0,0,0,0];
N =4; //4-point DFT
kernel = dft_mtx(N);
f = (kernel*(F*kernel'))/(N^2);
f = real(f);
disp(f,'Inverse 2D DFT of the transformed image f =')
//Result
//Inverse 2D DFT of the transformed image f =
... |
d61f3370ab62bd2c2bebadd6f800f2b33c91ac95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH7/EX7.23/ch7_23.sce | a2c8ef67bd0f83c3f2fcb449c45d8d26142794d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | ch7_23.sce | clear;
clc;
V_s=230;
C=50*10^-6;
L=20*10^-6;
I_cp=V_s*sqrt(C/L);
I_o=200;
x=I_cp/I_o;
t_c=(%pi-2*asin(1/x))*sqrt(C*L); printf("turn off time of main thyristor=%.2f us",t_c*10^6);
th1=asind(1/x);
t=(5*%pi/2-th1*%pi/180)*sqrt(L*C)+C*V_s*(1-cosd(th1))/I_o; printf("\ntotal commutation interval=%.3f us",t*10... |
3a9b0d44f8335a07c93a663f3a89d855a027efbd | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ac_usi_d/~BivLCM-SR-bfas_ac_usi_d-PLin-VLin.tst | 15a738e90a10828172dd9b5130d4fdafd56c4fab | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfas_ac_usi_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.266132D+00
2 -0.438931D-02 0.228397D-02
3 -0.110970D+00 0.29250... |
545a7a6fde5c29c701fc997c7d18026f1e581510 | bbc11c0776778eadc6701c4eedfe19ae8dfa1584 | /scilab/substituicaoRetroativa.sce | 5636dd31bdad118855adbc4bca358ae74aa48851 | [] | no_license | ceconelli/Metodos-Computacionais | 842eeebf11cc74acc66fa08d7ca67f9c45f3b268 | 07f4326c4821facaf5989f89d5d959f8000e062c | refs/heads/master | 2020-06-03T03:23:51.762483 | 2017-06-12T16:12:12 | 2017-06-12T16:12:12 | 94,114,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | substituicaoRetroativa.sce | y=[5 -2 6 1;0 3 7 -4;0 0 4 5;0 0 0 2];
c=[1 -2 28 8];
x=[0 0 0 0];
for i=4:-1:1
soma=0;
for j=i+1:4
soma=soma+(y(i,j)*x(j));
end
x(i)=(c(i)-soma)/y(i,i);
end
disp(x);
|
2ea8f48982ae576af24f358de357a3fdfc1f9da0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.10/Ex5_10.sce | 971e82683e8afa95335ee0307b7303ebf3a52f50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_10.sce | //pagenumber 290 example 10
clear
re=1*10^3;//ohm
hie=100;//ohm
hfe=100;
//voltage gain
volgai=1/((1+(hie/(2*(1+hfe)*re))));
//ri
ri=(hie/2)+(1+hfe)*re;
disp("voltage gain = "+string((volgai)));
disp("input resistance = "+string((ri))+"ohm");
|
fbb75b73d8bdc813fa47c334bcf7e42b9338bb7f | 10c4e756cd02827a2850ac551e68da15c21dff39 | /video_condition.sce | fcec49d9377d1c578d3f2f0e1aad1762fb30dc8c | [] | no_license | bkretzmeyer/decision-making-in-lane-merging | 401e811c6a8a7bd0b0b707e4ddd469b215edde9a | fdd5a0594b588e499cb6a787f38f6b362917d113 | refs/heads/master | 2020-06-04T08:49:30.864860 | 2020-01-10T13:07:36 | 2020-01-10T13:07:36 | 191,951,825 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,365 | sce | video_condition.sce | #### Benedikt Kretzmeyer - current version: 11.11.2019
#### Decision-Making and how it as affected by Cognitive Workload in a Lane Merging Task.
#### A fMRI driving simulator study
### Script is supposed to:
### - calibrate and control eyetracker
### - play video
### - play nback soundfile
### - record button presse... |
6a755eed1406595224172202a61b722889b95fbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH3/EX3.17/Ex3_17.sce | 48e3c6aadb40bae693ce58eaa4267c153f4f44b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Ex3_17.sce | // Example 3.17
//Computation of conversion efficiency
// Page no 484
clc;
clear;
//Given data
i=10*10^-6; // Device current
p=5; // Electrical power
op=50 *10^-6; // Optical power
ip=5*10*10^-3; // Input power
//Conversion efficiency
c=op/ip*100; ... |
f8ee6881c25e0da11e70496fd1800e05a6a1e454 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH3/EX3.10/10.sce | e8f138d43ac153f6bd4f2fc12c722df26f0cfbb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | 10.sce |
//Variable declaration
lamda=1.54; //wavelength(angstrom)
h=1;
k=1;
l=1;
n=1;
theta=19.2; //angle(degrees)
//Calculation
theta=theta*%pi/180; //angle(radian)
d=n*lamda/(2*sin(theta));
a=d*sqrt(h**2+k**2+l**2); //cube edge of unit cell(angstrom)
//Result
printf('cube edge of unit cel... |
2e1bb7ae12740365d4c9c8b1b4b98f057b95acb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH11/EX11.5/115.sce | 0ba03f77e6fd367949d2016383355abba1a3ecd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 115.sce | // problem 11.5
H=50
Q=1.2
u1=18
y=160
y2=180-y
Cv=0.94
g=9.81
V1=Cv*((2*g*H)^0.5)
Vw1=V1
Vr1=V1-u1
Vr2=Vr1
Vw2=Vr2*(cosd(y2))-u1
w=9810
P=(w*Q*(Vw1+Vw2)*u1)/(g*1000)
n=P*1000/(w*Q*H)
disp(n*100,P,"power developed in Kw and efficiency of the wheel")
|
75f03e4e4049fcd1e9e9e71c6480d15792fa27ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH1/EX1.1/Exa1_1.sce | 4b41d2ca26327759589365cf7654605f4642d283 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Exa1_1.sce | //Exa 1.1
clc;
clear;
close;
//Given data
I=40;//in mA
V=0.25;//in Volt
T=20;//in degree C
T=T+273;//in Kelvin
ETA=1;//For Ge
e=1.6*10^-19;//in Coulamb(electronic charge)
k=1.38*10^-23;//in J/K(Boltzman Constant)
//Formula : I=Io*(exp(%e*V/(ETA*k*T))-1)
y=(e*V/(ETA*k*T));//Assumed
y=round(y);
Io=I*10^-3/... |
09a2800f2fa52c9017596ffe82464e78e3835d14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH20/EX20.10/Ex20_10.sce | 33a028b736d12ff0b0ade8239437938ea565907d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | Ex20_10.sce | clc;
hfe=50;
hfb=-hfe/(1+hfe);
disp(hfb);
hfc=-(1+hfe);
disp(hfc);
|
c239dda14c2a937e244d06c5253d4b5518798443 | cafd8519410b1371e80fafecc5f233a5a34edc65 | /lista-7/2-questao-delfino.sce | e035207c7ebec2c3b1168705c479c6bb9c7282b6 | [] | no_license | pdelfino/numerical-analysis | 1da89897284a92af69941ef4f63b888a0a4f3016 | aa4d7ade992690263bd5ec159a8c11cc7aeb587c | refs/heads/master | 2020-03-25T18:04:21.542228 | 2019-04-02T20:53:47 | 2019-04-02T20:53:47 | 144,011,835 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sce | 2-questao-delfino.sce | function z = f(t,y)
//f(t,z) represents the sysmte of ODEs:
// -the first argument should always be the independe variable
// -the second argument should always be the dependent variables
// -it may have more than two arguments
// -y is a vector 2x1: y(1) = theta, y(2) = theta'
// ... |
52adf99a670a1ddd655760b787b0ead794398ebd | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/Doolittle_Factorisation LU.sci | 88c6783c16a4c96fe4607e01480bdac0c713aeed | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,248 | sci | Doolittle_Factorisation LU.sci | /*
Etideur:
Jinshan GUO
Objecitf:
Fonction à réaliser l'algorithme de Doolittle pour le calcul direct en factorisation LU
Principe
A = LU => Ax = b => LUx = b => Ly = b,Ux = y
Containtes:
A est une matrice carré inversible
L est une matrice triangulaire inférieure dont les termes diagonaux... |
94bf7aa0806807c3a2ddab733df5a67cd691cdb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH4/EX4.4.3/exa4_4_3.sce | 85f07f40741364ba1bd9de69c9044a25a253bf1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | exa4_4_3.sce | //Caption:to_find_various_signal_flow_graph_parameter
// example 4.4.3
//page 66
syms a b c d e f g h ij
// forward path denoted by P1,P2 and so on and loop by L1,L2 and so on
//path factor by D1,D2 and so on and graph determinant by D
//six independent path
P1=a*b*d
P2=e*f*h
P3=a*j*h
P4=e*i*d
P5=-e*i*c*j*h... |
edd3aafc00563d0087a129db91daaa22060f18fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.20/example5_20.sce | bfc9847db05894df4b863600c30ac24dfc54942f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | example5_20.sce |
//example 5.20
////calculate
//yield from well
clc;
//given
h1=2.5; //initial pumping depression
h=1.8; //heigth after recuperation
t=80; //time
h2=h1-h;
KbyA=2.303*60*log10(h1/h2)/t;
d=4; //diameter of well
H=3; //depression head
... |
5f3107213f5b882a7115d744e63cb21a589a909b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH9/EX9.13/ex9_13.sce | 76673f80292b6647231b88cda81458480a3188a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,206 | sce | ex9_13.sce | //Page Number: 9.20
//Example 9.13
clc;
//Given
Mf1=0.003;
//for f<=1.5D+3 Hz
f1=1.5D+3; //Hz
Mf2=0.001;
//for 1.5D+3 <=f<=3D+3 Hz
f2=3D+3; //Hz
Mf3=0;
//for f>3D+3 Hz
//(a) Ac that power transmitted is 100mW
St=100D-3; //W
//As St=2*[{f1*(Mf1*Ac/2)^2}+{f1*(Mf2*Ac/2)^2}+{f2*(Mf3*Ac/2)^2}]
//Negle... |
6df6135db292498fd730b79900b1cf9a6c4bf20c | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/ss/scilab/double_int_bad.sce | 938dcadb3af41efd4a7cce8113454bd860a28a89 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | double_int_bad.sce |
-->Ab = [1 -2 1]; dAb = 2; zBb = [0 1 1]; dzBb = 2;
-->phi = [1 -1.2 0.52]; dphi = 2;
-->[S1,dS1,R1,dR1] = xdync(zBb,dzBb,Ab,dAb,phi,dphi)
dR1 =
1.
R1 =
1. 0.32
dS1 =
1.
S1 =
0.48 - 0.32
-->diary off
|
f35237f708bd51a99bbbeefd5bed8174292fb047 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_5_i.tst | 2cce81118f7309f71c2634fc02a76c05a404d24a | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 34 | tst | test_ods_5_i.tst | aaa
bbb
ccc
ddd
eee
0
aaa
bbb
ccc
|
05e540c97f93be69a29a276980f778323d7a6751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH3/EX3.1/example3_1.sce | 5f1dba2fd7ceed769ccba65d065068d74f7c5cf0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3_1.sce |
//example 3.1
//page 119
clc; funcprot(0);
// Initialization of Variable
rho=997.1;
pi=3.14;
v=15;//velocity
A=pi*0.3^2/4;
Q=v*A;
disp(Q,"discharge in (m^3/s)");
m=rho*Q;
disp(m,"mass flow rate(kg/s)=");
clear
|
dbec87aeffc241227a918003dec5b039bacbf034 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/KP85YLZ/ATWM1_Working_Memory_MRI_KP85YLZ/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | d2f62e05cec3a725d2d9f0635e01dd6bbe659354 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,492 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds =... |
b063c33e893443d3cdfda6e13a1e3e683c3dca0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH7/EX7.7/Exa7_7.sce | b110fc38810b0b6ad223a39bf2a4cf31188f5bfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa7_7.sce | //Exa 7.8
clc;
clear;
close;
//Given data :
format('v',5)
L=0.3;//in mm
L=L*10^-3;//in meter
n=3.6;//Refractive Index(unitless)
c=3*10^8;//speed of light in m/s
lambda=0.82;//in um
lambda=lambda*10^-6;//in meter
deltaNEU=c/(2*n*L);//in Hz
disp(deltaNEU*10^-9,"Frequency spread between longitudinal modes in ... |
615daccb6a4fc1272179e0d4551d50809b6435e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.18/13_18.sce | 8dded6a250221138cd946f4890c95dd074acd2ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | 13_18.sce | //To find speed of road wheel
clc
//Given:
TA=10, TB=60
NA=1000, NQ=210, ND=NQ //rpm
//Solution:
//Refer Fig. 13.24 and Table 13.20
//Calculating the speed of crown gear B
NB=NA*(TA/TB) //rpm
//Calculating the values of x and y
y=200
x=y-210
//Calculating the speed of road wheel attached to axle P
NC=x+y /... |
f37e26145065db0e5f3dab7eec75ac6fe4ee25a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH5/EX5.2/5_2.sce | 87648f54e4cad68e2835c2841729837f0cc77567 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_2.sce | clc
//initialisation of variables
clear
w= 62.4 //lbf/ft^3
g= 32.2 //ft/sec^2
v= 86.5 //ft/sec
d2= 3 //in
d1= 6 //in
dp= 50 //lbf/in^2
//CALCULATIONS
Fb= -((%pi*(w/g)*v^2*(1/d1)^2*(1-(d2/d1)^2)*0.25)-dp*144*(%pi/4)*(1/d2)^2)
//RESULTS
printf ('Load on the bolts = %.f lbf',Fb)
|
e502b2d2193f5aa12fc39f4ee1fd8d3a5061afd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH13/EX13.8/13_8.sce | f6a9b529873afdc52e2de23057e55aed521b7ea1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | 13_8.sce | //clear//
clc
clear
k=0.1
cao=8;
z0=0;
z = 0:1:200;
function w=f(z,x)
w =zeros(1,1);
lam=200-z;
ca=cao*(1-x)
E1=4.44658e-10*(lam^4)-1.1802e-7*(lam^3)+1.35358e-5*(lam^2)-.00086
5652*lam+.028004;
E2=-2.64e-9*(lam^3)+1.3618e-6*(lam^2)-.00024069*lam+.015011
F1=4.44658e-10/5*(lam^5)-1.1802e-7/4*lam^4+1.35358e-5/3*lam^3... |
81f4d05ba8301947b1496f38e04d594404ecbe98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH15/EX15.3/Ex15_3.sce | 6dc4eeffeb3b8aa68ef822168dfb7412ad2c5df3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | Ex15_3.sce | clc();
clear;
//Given :
lambda = 1.25; // wavelength in mu_m
n1 = 1.462; // refractive index of core
n2 = 1.457; // refractive index of cladding
// Single mode propogation : (2*pi*a*sqrt(n1^2 - n2^2))/lambda < 2.405
a = (2.405*lambda)/(2*%pi*sqrt(n1^2 - n2^2)); // radius in mu_m
d = a*2; // diameter in mu_m
p... |
ba02f9b1d54f3e2a574d31b1f03c593499a7b352 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/polyscale/polyscale5.sce | 81bc8cd8b7bd8837fd094148f7762c3f6f834bb0 | [] | 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 | 266 | sce | polyscale5.sce | //i/p arg x contains only negative elements
x=[-12 -3 -4 -5 -6 -7 -8 -9];
a=5;
y=polyscale(x,a);
disp(y);
//output
// column 1 to 5
//
// - 12. - 15. - 100. - 625. - 3750.
//
// column 6 to 8
//
// - 21875. - 125000. - 703125.
//>>
|
97d809861a619be19a109c5abc3eff4e4bee653f | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /uva.onlinejudge.org/112, Tree Summing/test4.tst | 8d29d154a7249487206a7439253960fbf9ab7fb1 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | tst | test4.tst | 5 (5 ()())
~~~~~~~~~~~~~~~~~~~~~~~~
yes
|
d366ea2bc39597648f388969e737df5d5cc0096b | 2587236934174196597ea90b834c2cf87d5bdb0d | /Q3.sce | 4874b7e72ee05981594ba6130787afe637ce05f7 | [] | no_license | Stephaniebraga/SC2 | 386bb257d07e874e3a22595d90c1327ec26bf365 | 011331e5cad4a633f935495ff8e95151254a118a | refs/heads/master | 2021-01-19T04:56:19.429061 | 2015-08-04T12:39:35 | 2015-08-04T12:39:35 | 39,805,292 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,752 | sce | Q3.sce | //Trabalho de Simulação
//Disciplina: Sistemas de Comunicação II
//Dupla: Stéphanie Braga e Hugaleno
//Questão 3 - Equalizador ZF.
clc;
close;
clear;
//****SINAL****//
b=rand(1,10); //Gera matriz com valores aleatórios entre 0 e 1.
s=round(b); //arredonda os valores para 0 ou 1.
ns=size(s,2); //retorna o número... |
d370598c56015e6f916e9f938165114782c95117 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH1/EX1.18/Ex1_18.sce | 573da624565f1b53ebf706b294da06276db66d5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Ex1_18.sce | // Example 1.18
clc;
clear;
close;
// Given data
format('v',5);
VEE= 10;// in V
VBE= 0.715;// in V
beta_ac= 100;
beta_dc= 100;
R= 5.6;// in kΩ
I_REF= (VEE-VBE)/R;// in mA
IC1= I_REF*beta_ac/(2+beta_ac);// in mA
// IC1= IC2= IC3 (by symmetry)
IC2= IC1;// in mA
IC3= IC2;// in mA
I_RC= IC1+IC2+IC3;// curr... |
99cab8850a1a6cdf4194e11e0fe0ef51c314e95b | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.11/11.sci | 68d38f47d1986e6344525becc9d203604328032a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sci | 11.sci | clc;
clear all;
disp("Local HT coefficient")
U=5;//m/s velocity of air
rho=0.815;//kg/m^3 density of air
k=0.0364;// W/(m.C)
mu=24.5*10^(-6);//Ns/m^2 viscosity of air
Pr=0.7;// Prandlt number
Ts=200;// degree C
Ta=120;// degree C
x=0.5;//m width of plate
v=mu/rho;
Rex=U*x/v;// Reynold's number
Rex
delt... |
255bb5fa9a767c9e37d8d09ff614eaca905c7405 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH11/EX11.4/11_4.sce | 5064ef2be12dda531a21394c4cce2cdd50850426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | 11_4.sce | clc
//initialisation of variables
s= 3.61*10^-8 //cm
v= 4.44*10^4 //cm/sec
n= 2.46*10^19 //molecules
N= 6.02*10^23 //molecules
Z1= 13.6*10^16 //collisions cm^-3 sec^-1
N= 6*10^23 //molecules
//CALCULATIONS
Z= sqrt(2)*%pi*s^2*v*n^2*10^3/(2*N)
Z2= Z1*10^3/N
//RESULTS
printf ('Z= %.2e moles of collisons litre... |
9acecc81f395bf41bb84105827ce8da3dd88fb77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.7/Ex4_7.sce | bdd81f46dcd1f5c6dbe1c56b0f8e6c016746c287 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Ex4_7.sce | clear
// Note that it is convenient to take axis in such a way that the centroids of all simple figures are having positive coordinates. If coordinate of any simple figure comes out to be negative, one should be careful in assigning the sign of moment of area
//variable declaration
A1=2.0*6.0*1.0/2.0 //... |
8249070d3db40efacbea2d2cee19b89c78fd7b1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH6/EX6.4/example_6_4.sce | ff184ec2c1dc012534b256af0baff023f68a6ce0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | example_6_4.sce | //Chapter 6
//Example 6.4
//Page 147
//leakagereactance
clear;clc;
//Given
V_lt = 110;
V_ht = 440;
P = 2.5e3;
x_lt = 0.06;
//Calculations
disp('Viewed from low-tension side')
lt_base_impedance = (V_lt)^2 / P;
printf("\n Leakage reactance from low-tension side = %.2f ohm",x_lt)
printf("\n Low-tension base impedance = ... |
be6f7183b2b22031579b2dd2ab98da9cf1d1700a | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshiftc/test_13.sce | a59939c5bf25b02eb7a65c6cbfc7ed20bf99b723 | [] | 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 | 296 | sce | test_13.sce | // Test # 13 : Valid input test case #2
exec('./allpassshiftc.sci',-1);
[n,d]=allpassshiftc(0.861,0.546);
disp(d);
disp(n);
//
//Scilab Output
//d=1. 0.
//n= 0 0.5490228 - 0.8358074i
//
//Matlab Output
//d = 1 0
//n = 0.0000 + 0.0000i 0.5490 - 0.8358i
|
d1e2984ab16a8f6169f667b853b29b78162d9274 | 694ad1c574305de3b85702522d231dea9660e94c | /test/markdown.tst | 8cf8be0f55766d214e1d5d9844ec1a8628d55328 | [] | no_license | Mark-Seaman/SeamanTech | ced41e87b2b6fe2ffdc1172c2bd1b2e207536dfd | f2635eb82c26990305ff338c1a9dcbbf4618a3ed | refs/heads/master | 2021-01-13T02:03:24.626053 | 2015-12-07T16:20:34 | 2015-12-07T16:20:34 | 23,025,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 34 | tst | markdown.tst | tpyrun $p/bin/util/markdown_test
|
87f64a372d140f6b9f555239538348977b5a19a6 | 54cca39cd1cf7f62b001c8a4d64dcc3d29e3cb4e | /PitchDetection/sinwave.sce | 10c0772338c0537efff74f64119e6e7a942dddcc | [] | no_license | hamling-ling/NumericalResearches | d2487c2566c24ba3dc674e7e17f1745c1020d542 | a824357d7650d3ed86220f1315ee37e577285a7d | refs/heads/master | 2021-01-25T08:36:58.455319 | 2015-04-22T15:17:21 | 2015-04-22T15:17:21 | 7,775,139 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | sinwave.sce | funcprot(0);
clear all;
//////////////////////////////////////////////////////////////////////
// parameters
//////////////////////////////////////////////////////////////////////
sampleNum = 1024; // sample number
sampleFreq = 44100; // sampling frequency
waveFreq = 440; // wave frequency
/////////////////////... |
fedde4a8a5366532ee4ab3edc5e0ed77ffc3c1b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH3/EX3.3/EX3_3.sce | 1558af4ca7e3433ccdf49cbd09c5682409ad4544 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | EX3_3.sce | // Example 3.3
// Computation of (a) Buck boost transformer parameters
// (b) Repeating the same assuming utilization voltage as 246V
// Page No. 102
clc;
clear;
close;
// Given data
S=10000; // Supply voltage
VLS=212; // Voltage at the low side
VHSNEW=246; // New volt... |
3dc2de6315c3b04e62753b0034683f5f739bbb25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH3/EX3.10/ch3ex10.sce | 5d4a422cc0b85dc170b903cb383f49c4b01a26ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | ch3ex10.sce | //signals and systems
//time domain analysis of discreet time systems
//total response with initial conditions
clear;
close;
clc;
n=(-2:10)';
y=[25/4;0;zeros(length(n)-2,1)];
x=[0;0;4^-n(3:length(n))];
for k=1:length(n)-2
y(k+2)=0.6*y(k+1)+0.16*y(k)+5*x(k+2);
end;
clf;
a=gca();
plot2d3(n,y);
y1=[2... |
bc8ef7be2a6265b2f7787c206f729ad131ec4ec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.35/Ex3_35.sce | 1eab6bc84cef1de1aefc5f477738033cd193a460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex3_35.sce | clc
//to calculate smallest angle between two stars
lambda=5*10^-5 //wavelength in cm
a=100*2.54 //diameter in cm
theta=1.22*lambda/a
disp("the smallest angle between two stars is thita="+string(theta)+"radians")
|
1f6973158720a22ac50a25c24d6d700b073c0b2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH8/EX8.2/8q2.sce | 7668b13d9e1ca0c15e7084e3f521a091da0acdb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8q2.sce | clc
//initialisation of variables
Nd= 6
H1= 5.6 //m
H2= 2.2 //m
k= 5e-5 //cm/sec
dL= 4.1 //m
//calculations
H= (H1-H2)/Nd
h1= 5.61-H
h2= 5.61-5*H
q= 2.38*(H1-H2)*k/Nd
i= H/dL
//results
printf ('at point a,water will rise to height of = % 3f m ',h1)
printf ('at point b,water will rise to height of = % 3f ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.