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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7a7ca6bead87399a6f21c1662fbf1831aa237d7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH13/EX13.8/13_8.sce | 5cfd955d9c104231da6bc71d72368985a704c50e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | 13_8.sce | clc
//Initialization of variables
Kp=1.1*10^40 //atm^-0.5
dn=-0.5
R=0.08206 //lt atm/deg mol
T=298.15 //K
//calculations
Kc=Kp*(R*T)^(-dn)
//results
printf("Kc = %.1e (mol/lt)^-0.5",Kc)
|
c72e2fa275e5482cca5122006ef2744c3a5b6973 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH8/EX8.8/Example8_8.sce | 567ef654554ba838592fdb8db8f33454c41e8c2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Example8_8.sce | //chapter8,Example8_8,pg 184
Dn=1.40
D=1.27
//when u=1
//(Dn^2)=4*n*lam*R=(1.40^2)
//when u=u1
//(D^2)=(4*n*lam*R)/u1=(1.27^2)
//from above eqn's
u1=((Dn^2)/(D^2))
printf("RI of liquid\n")
printf("u=%.2f",u1) |
3775e57855f1626fcb14083c725d9b7ca740318d | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH6/EX6.5/6_5.sce | 12dfa095d1c0585f8e10cc2d81adf175ec3af01c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | 6_5.sce | clc;
clear;ang1=0;//radians
ang2=%pi/6;//radians
vp='-2*log(r)';
//vr=d(vp)/d'r
//vr=(-2)/r;
//vang=(1/r)*(d(vp)/d(ang))
vang=0;
q=(integrate('-2','ang',ang1,ang2));
disp("ft^2/sec",q,"Volume rate of flow (per unit length) into the opening = ") |
7010d8a7d580cd0eff2671cd65563b41e960c879 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH8/EX8.19/8_19.sce | cff632319fa426603b87fadd898165566d698838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | 8_19.sce | //boundary value problem by cubisc spline nethod
//example 8.18
//page 331
clc;clear;close;
h=1/2;
//arranging in two subintervals we get
A=[10 -1 0 24;0 16 -1 -32;1 20 0 16;0 1 26 -24];
C=[36;-12;24;-9];
X=A^-1*C
printf('the computed value of y(1.5) is %f ',X(4,1));
|
2a5cf17b0952181efe4761621febd11f9c8d5251 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab12_18i190002/ex2.sce | f6a4d045ae024a6c81f9eb9a35c3dcd1a5f17b76 | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,164 | sce | ex2.sce | //Shubham Sharma
//Msc PhD OR
//Roll no: 18i190002
clc
clear
function counter=JobsDoneInOneArrival(lambda,meu,x)
x1(1)=grand(1, 1, "exp", 1/meu)
//first guy took x1(1) times to go
for i=2:x
x1(i)=x1(i-1)+grand(1, 1, "exp", 1/meu)
//The other people took time taken by the previous one + expon... |
c26e28dce1b96aceee16e134621c2f416398386c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH5/EX5.12/5_12.sce | e908bf02f1bad0aae81d62852e2da84db5f3771d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 5_12.sce | clc
//initialisation of variables
h= 25 //ft
l= 2000 //ft
d= 12 //in
g= 32.2 //ft/sec^2
f= 0.005
dz= 16 //ft
zb= 25 //ft
zc= -16 //ft
//CALCULATIONS
v= sqrt(2*g*h/(1.5+(4*f*l/(d/12))))
Q= %pi*(d/12)^2*v/4
l1= (34-dz)*l/(zb-zc-dz)
//RESULTS
printf ('Discharge = %.1f cfs ',Q)
printf ('\n length of the in... |
3714729fe79fe3d234efca1cb8828a2b6fbd8be7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH2/EX2.13/2_13.sce | 9ca763a4a1949c90f75b854abaa20af7b7f1cde7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_13.sce | //Current through AB using Nortons theorem
clc;
clear;
// Resitances in order from the 2V side
R1=2;
R2=12;
R3=1;
R4=3;
// Voltage Sources
V1=2;
V2=4;
//Using Superposition principle
Iab1=V2/R4;
I1=V1/(R1+(R2*R3/(R2+R3))); // Current drawn from 2V supply
Iab2=I1*R2/(R1+R2);
Iab=Iab1+Iab2; // Cu... |
bb6c37cd254aad7b10ecb6f1b52a262c73e6b1c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH4/EX4.12/4_12.sce | ff60f80270467a8fa303bb045acc2a2bfbed86f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,293 | sce | 4_12.sce | clear;
clc;
//Example - 4.12
//Page number - 163
printf("Example - 4.12 and Page number - 163\n\n");
//Given
P_1 = 140;//[kPa] - Initial pressure
T_1 = 20 + 273.15;//[K] - Initial temperature
P_2 = 560;//[kPa] - Final pressure
eff = 0.75;// Compressor efficiency
R = 1.987;//[cal/mol*K] - Universal gas con... |
5ca513b51153d0704e6bec74b5d608e52173b5b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH1/EX1.17/Ex1_17.sce | d0f8d09cf14053cd86ee5b19ff632f24aa824d70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | Ex1_17.sce | //Ex:1.17
clc;
clear;
close;
p=1.724*10^-8;//in ohm-meter
l=8;//in meters
a=1*10^-6;//in sq. meter
r=(p*l)/a;
printf("Resistance = %f ohms",r); |
a83cff71a8c9050c3e86d14abfedb2db2ba8ca17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.13/Ex7_13.sce | e4df2e9bb6fa27d54ed7195e603bf9a19b451275 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | Ex7_13.sce | clc
P1=1
P2=2
T1=300
T2=500
R=8.314
Cp=(7*R)/2
deltas=(Cp*log(T2/T1))-(R*log(P2/P1))
mprintf("deltas=%fkJ/kmol K",deltas)//ans vary due to roundoff error
|
38cd2ece2d9209da6503a7d4ccf438a613d4b543 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH1/EX1.8/ex_1_8.sce | daf5162320b9d3bef6cbaadb9b9f4d9cf9edaf8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | ex_1_8.sce | //Ex 1.8
clc;
clear;
close;
format('v',6);
IREF=1;//mA
Io2=20;//micro A
Io3=40;//micro A
VBE1=0.7;//V
VT=26;//mV
VCC=10;//V
VEE=-10;//V
R=(VCC-VBE1-VEE)/IREF;//kohm
disp(R,"Value of resistance R(kohm)");
RE2=VT/Io2*log(IREF*1000/Io2);//kohm
disp(RE2,"Value of resistance RE2(kohm)");
RE3=VT/Io3*log(IREF*... |
a194ce526a56ce1c1f1c3c8ec2443e5b63c908b8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%hm_floor.sci | 0c648f3807b27418baf51e2be38950c94bcc7c4a | [
"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 | 80 | sci | %hm_floor.sci | function M=%hm_floor(M)
// Copyright INRIA
M('entries')=floor(M('entries'))
|
02447077451cb60a6b195411a4bde4ff0281dd1d | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0043.tst | 3b585fd57377a4e67af238b956ce624ff22a3842 | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9 | tst | 0043.tst | ;'!08o
|
18d80d37afc030468ceec9f8abdd176f7bbd26ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH7/EX7.3/Example7_3.sce | d80abb4a4b866b3872eb7bb3c5ca7c3183b247a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Example7_3.sce | //Exa 7.3
clc;
clear;
close;
format('v',5);
//Given data :
V=132;//kV
r=2/2;//cm
Vexceed=210;//kV(rms)
go=30000/sqrt(2);//Volts/cm
go=go/1000;//kV/cm
Vdo=Vexceed/sqrt(3);//Volt
mo=1;//assumed
del=1;//assumed air density factor
//Formula : Vdo=go*del*mo*r*log(d*100/r);//in kV
d=exp(Vdo/go/del/mo/r)*r;//c... |
c0ea107562e096348dd88f269ea1e26b591247d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH5/EX5.3/Ex5_3.sce | 6c6fe8c886f6200829eb92aac9eb92596c9ca1bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | Ex5_3.sce |
N=120//no. of turns in coil
dphi=(.3-.8)*1D-3//change in flux due to motion of conductor
dt=.08//time taken for change in flux
e=-N*dphi/dt
mprintf("Induced emf in the coil=%f V\n",e)
R=200//resistance offered by the coil
I=e/R
mprintf("Induced current=%f mA",I*1000)
|
e1b76f44d3096a35ad0e57b5a229a4780efa19e1 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/vmmwta.sce | 7a6081c83de1f174e7e8566f9c6e46fc3fdb0008 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,785 | sce | vmmwta.sce | //************************* VMM_WTA ************************************
if (blk_name.entries(bl) =='vmmwta') then
addvmm = %t;
cap_info = cap_info2(cap_info,pass_num,'vmm_out1', bl)
cap_info = cap_info2(cap_info,pass_num,'vmm_out2', bl)
cap_info = cap_info2(cap_info,pass_num,'vmm_out3', bl)
cap_in... |
7c162a344a166da4933a270e424d41425e2121be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.9.1/Ex8_9.sce | 9843874579b2f7369f6ca8ab2ee04f3a920bb890 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | Ex8_9.sce | clc
clear
Vs=5.665/600;
Vc=0.04*Vs;
V3=Vc;
n=1.3;
P3=5.6;
P2=0.97;
V4=V3*[(P3/P2)^(1/n)];
V1=Vs+Vc;
Vd=V1-V4;
T1=300;
Tf=288;
P1=0.96;
Pf=1.01325;
Vf=[Tf*P1*Vd]/[Pf*T1];
Mcd=V1/(Vd);
printf('Vf= %2.4f m^3/cycle',Vf);
printf('\n');
printf('Mc/Md= %2.2f ',Mcd);
printf('\n');
N=600;
W=[n/(n-1)]*[... |
46a09f627850748359c8e805c98be530308e3c04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.53/53.sce | ab3be111f80be8c2d0675bbf3fd4b51ee510c6b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | 53.sce | clc
m=1; //kg
p=8; //bar
s1=6.55; //kJ/kg.K
T=200; //0C
s_f1=2.0457; //kJ/kg.K
s_fg1=4.6139; //kJ/kg.K
h_f1=720.9; //kJ/kg
h_fg1=2046.5; //kJ/kg
h2=2839.3; //kJ/kg
x1=(s1-s_f1)/s_fg1;
h1=h_f1+x1*h_fg1;
Q=h2-h1;
disp("Heat supplied=")
disp(Q)
disp("kJ/kg")
// For T-s diagram
s=0:0.01:10;
T=(-(s-5... |
a5657d21bac17ea0d4494c76801bc469ec894969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.7/example14_7.sce | 2912ad30a3ef84c2e4ca7e11aa99e097ab5e8c3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | example14_7.sce |
//example 14.7
//design a channel in alluvial soil using tractive force approach
clc;funcprot(0);
//given
Q=45; //discharge
S=1/4800; //bed slope
N=0.0225; //rogosity coefficient
sigma=0.0035; //permissible tractive stress
s=1/2; //side slope
gamma_w=9.81; //unit weigth of water
... |
49dde09aaefb88a26328a90ed76670568f9cd494 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.2/Ex2_2.sce | fc9241b1bebe8b1ba8891877a58ff88b42351db3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_2.sce |
clc
//given that
del_x = 4e-10 // Uncertainty in position in m
h = 6.63e-34 // Plank constant
printf("Example 2.2")
h_bar = h / (2*%pi) // constant
del_p = h_bar/(2*del_x) // Calculation of uncertainty in momentum
printf("\n Uncertainty in momentum of particle is %e kgm/sec.\n\n\n",del_p)
// Answer in book... |
d8c767a5c5808f651b9bb1b65ab0eab6df3e2bf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH1/EX1.11/1_11.sce | 3ccd11cd5bd353f6cd4b85370bc4686d5b3572d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_11.sce | clc,clear
printf('Example 1.11\n\n')
V_t=225 //voltage across winding
R_a=0.04 //armature resistance
R_sh=90 //shunt resistance
R_se=0.02//resistance of series field winding
I_L=75 //load current
//E -I_a*R_a=V_t+I_L*R_se
I_sh=(V_t+I_L*R_se)/R_sh //current through shunt field winding
I_a=I_L + I_sh //... |
8f6dd6b6bc221e610110496800c4e555adc29c69 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.15/Ch11Ex15.sce | 1b8fe697b1a3b7482a0394d2d2c84111109e0e92 | [] | 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 | 368 | sce | Ch11Ex15.sce | // Scilab code Ex11.15: Pg.511 (2008)
clc; clear;
h_cross = 1.06e-34; // Reduced Planks constant, J-s
c = 3e+08; // Velocity of light, m/s
m = 140e+06/c^2; // Mass of pion, MeV
R = h_cross*c/(m*1.6e-19*c^2); // Range of nuclear force, m
printf("\nThe range of nuclear force = %3.1f fm", R/1e-15);
//... |
5f559e906f979b191e93399af1ad32fcc6650df1 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Shade.sci | ff22a933378b090e9c5db8fc3e6a3e85c581a6ef | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,662 | sci | Shade.sci | // 08.05.22
// 09.12.25
// 11.05.27 (for pdflatex )
// 17.01.09 (shade, thickness )
function Shade(varargin)
global Wfile FID MilliIn;
// 2nd arg is a color name or '[..]{ }'
Nargs=length(varargin);
Iroflg=0;
if Nargs>1
Iroflg=1;
Iro=varargin(Nargs);
if type(Iro)==10 then
if length(strch... |
3fcd5cd754b7b48077b46a484dfe2285bd1caa5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH2/EX2.12/2_12.sce | 058b5914641ad075f3eefc2208dd07714e93d918 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 2_12.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 2.18w
//calculation of value
//given data
x=24.36;
y=0.0623;
z=256.2;
//calculation
//since after point the value of z is in one digit,thus consider only one digit after point.
//the other values can be thus w... |
7936b23b14fbf9fe6e9a21afc754529a7536197e | f8551f1c22ee634be672d893e6755b100f0d1994 | /ICP/decimation.sci | e5a3b9e040b3a19c95485a0445223d0e30ea1886 | [] | no_license | yanisdxw/computer-vision | ed605061a632ae0c7536007de6f83e2ff5ee1d51 | e9bd0961194f2e4290211296dbe6268ecad8f1c1 | refs/heads/master | 2021-08-23T05:30:24.864657 | 2017-12-03T17:05:35 | 2017-12-03T17:05:35 | 111,726,798 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sci | decimation.sci | function X_ech=decimation(X, k_ech)
// Fonction downsampling facteur k_ech
[n,l]=size(X)
n_ech=int(n/k_ech)
X_ech=zeros(n_ech,l);
for i = 1:n_ech
X_ech(i,:)=X(i*k_ech,:);
end
endfunction
//
//X=read('bunny.asc',-1,3);
//[n,l]=size(X)
//X_ech=decimation(X,10)
//write('bunny_ech.asc',X_ech);
//figure(1);
//clf
//para... |
be77dd45103c085f07bebbf46b140fc7ed44870b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH4/EX4.19/Ex4_19.sce | 32fa332b4dc02bc0dd6291945b2a0df409b766ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ex4_19.sce | //Ex:4.19
clc;
clear;
close;
BW=15;// beamwidth in degree
f=3*10^3;// frequenc in MHz
y=300/f;// wavelength in m
D=(140*y)/(BW);// diameter of the paraboloidal reflector in m
printf("The diameter of the paraboloidal reflector = %f meter", D); |
fc303274b32e2115d1d47db3889c1752a569d5bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH7/EX7.8/ex_7_8.sce | c617f12ee409e4bc72b3340ce3f8bfdcde7c7f47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | ex_7_8.sce | clc;
close
clear;
z=%s;
tf=syslin('d',((1+(1/2)*z^-1)/(1-(3/4)*z^-1+(1/8)*z^-2)));
ss=tf2ss(tf);
|
686705d586e0960e327aa0ee5feadfb175d3a0f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH3/EX3.19/ch3ex19.sce | fd34c2c069399dd465fd85e63a308d5051350589 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | ch3ex19.sce | //signals and systems
//time domain analysis of discreet time systems
//convolution by sliding tape method
clear;
close;
clc;
n=(0:14);
x=3^n;
a=[1 -3 2];
b=[0 1 2];
y=filter(b,a,x);
clf;
plot2d3(n,y); xlabel('n'); ylabel('y[n]');
|
f8ff9c9d9e42193bd39920fe254fc51b443cbade | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH4/EX4.3/Ex4_3.sce | c5a1ed738e77d6e7d409192d171d2ddf6439c973 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex4_3.sce | //Chapter 4, Example 4.3, Page 94
clc
clear
// Q value of an endothermic and exothermic reaction
//Exothermic reaction
Be = 9.012182 //Reactants
He = 4.002603 //Reactants
C12 = 12 //Product
n = 1.008664 //Product
C2 = 931.5 // C^2 in MeV
Exo1 = Be+He
Exo2 = C12+n
Dif1 = Exo1-Exo2
Q1 = Dif1*C2
printf("\n Q of the exothe... |
f4497395bbbdbfb789334307dc725af291e9e765 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH2/EX2.2/Ex2_2.sce | 55e7afacffaf15931885e649d9e4be7638d8946e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex2_2.sce | //Ex2_2
clc
C= 10*10^-6
V = 10
disp("C ="+string(C)+"F")//capacitance
disp("V = "+string(V)+"V")//voltage
disp("Q = C*V = "+string(C*V)+"C")//calculation for charge
|
22667e37ad560d93847474f6f262f9cce4c9f3f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH4/EX4.6/Ex4_6.sce | 193fdf6be7191b16f5cca70f4e5f9456027044cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | Ex4_6.sce | clear;
clc;
//page no. 112
e1 = 100;//ft
theta = 60;//degrees
e2 = 98.5;//ft
V_s2 = 20;//fps
e3 = 95;//ft
t2 = (e1-e2)/cos(theta*%pi/180);
p2 = 3*62.4*cos(theta*%pi/180);
V_F2 = sqrt((e1 + (V_s2^2 /(2*32.2)) - p2/62.4 -e2)*2*32.2);
q = 3*1*V_s2;
y = 11.22;//ft
y1 = 10.74;//ft
V1 = sqrt((y-y1)*2*32.2... |
5a6901c2cfa67e792ccae97a8114cc99b4d359f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH11/EX11.3/Ex11_3.sce | 80df0134dbf5f9f420942c48ce0d60c921ce4e19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Ex11_3.sce | // Problem 11.3,Page no.274
clc;clear;
close;
A=300 //cm**2 //Area of column
e=5 //cm //eccentricity
//Calculations
//sigma_d=P*A**-1 //Direct compressive stress
//M=P*e //Bending Moment
Z=((20**4-10**4)*(6*20)**-1) //cm**3 //Section modulus
//sigma_b=M*Z**-1=P*250**-1
//Now sigma_d+sigma_b=60*10**2
//P*300**-... |
80af3a5e6d19ec1966459f79e94cf89577d37742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.17/Ex1_17.sce | 06f475a7f59916c64fbb65b8ac70d66649f0b7fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,038 | sce | Ex1_17.sce | clc
// Variable Initialization
Vm=230//Supply Voltage in Volts
Ra=2//Armature circuit resistance in Ohm
L=50e-3//Inductance in mH
N=1500//Motor speed in Rpm
V=220//Rated voltage of motor in Volts
a=60//firing angle in Degree
a1=120//firing angle in Degree
I=10//motor current in Amp
f=50 //source Frequency in... |
9c8d7ec9f48c658be0fceb4c6b2f8c4c2e823e97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH4/EX4.21/Ex4_21.sce | 20ea7103d8036f2ac2a9089dd39915073feaa44e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_21.sce | //the examples are continuously numbered throughout the textbook
//Example 4_21 page no:261
clc;
//given
surf_area = 0.36;//in m^2
thickness = 0.0254;//in mm
mass_den = 8.96 * 10 ^ 3;//in kgm^-3
ece = 32.9 * 10^-8;//in kgC^-1
mass_cop = surf_area * thickness * 10^-3 * mass_den;
ece_cop = ece * 3600 * 1000;
am... |
d8a2a580433f0d0afea3ea81340ec7e7baed9b60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3407/CH3/EX3.3/Ex3_3.sce | 1d6803cd7af00980253ce37a22538ff3b4392d8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex3_3.sce | clear;
clc;
funcprot(0);
//given data
alpha1 = 58;//in deg
alpha2 = 44;//in deg
AVR = 1.0;
//Calculations
alpham = (180/%pi)*atan(0.5*(tan(alpha1*%pi/180) + tan(alpha2*%pi/180)));
zetam = (180/%pi)*atan(tan(alpham*%pi/180) - 0.213);
Cpi = 1-(cos(alpha1*%pi/180)/cos(alpha2*%pi/180))^2;
s_l = 9*(0.567-Cpi);
theta = ((z... |
b2bd499ec85484653f155382690ee4a19ade8a33 | 6be22cc470807d3b2d9a8042a18ccd96070d00ae | /propulsion/ramjet_engine/hw_6_P4.sce | 0b4409e4f1b1888f22c7b43ce14c972d74a2549b | [] | no_license | ordinatorix/scilab_projects | a8e5096ddd0c343559bb06c1c05c0926e4f13fdc | 1f227a2bdf8e2ae7a7f1fa42788e9a346710fa40 | refs/heads/master | 2022-02-27T14:52:47.802082 | 2016-05-06T21:09:07 | 2016-05-06T21:09:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,237 | sce | hw_6_P4.sce | // clear previous calculations
close; clc; clear; close; close; close
// Independent Parameters
gamma_a = 1.4;
R = 287;
T_a = 220;
P_a = 8500;
h_c = 43000000;
To_4 = 2540;
cp_a = (gamma_a/(gamma_a-1)*R);
M = [1:0.25:6];
combustion_eff = [0.01:0.01:1];
r_n = [0.01:0.01:1];
//setting up empty matrices
To_2 = ... |
bbe7791de674b7d7fe1fa6163994cf99320d9b3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH10/EX10.5/10_5.sce | d3f3e49fa4a29be211c8e0e5576a19d3487ec0c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | 10_5.sce | clc
//initialisation of variables
P= 100 //psia
n= 0.97
hf= 298.4 //Btu/lb
hfg= 888.8 //Btu/lb
hg= 1187.2 //Btu/lb
//CALCULATIONS
hx= hf+n*hfg
hx1= hg-(1-n)*hfg
//RESULTS
printf ('Enthalpy= %.f Btu/lb',hx)
printf (' \n Precise Enthalpy= %.1f Btu/lb',hx1)
|
d1269f35186d75f1cce1ffe2065c2422fd8de35b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH3/EX3.9/Ex3_9.sce | 2c34d37d65dba75fd0571d0e4a840fb3daaf9a03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sce | Ex3_9.sce |
//To Determine the location and magnitude of minimum voltage
//Page 114
clc;
clear;
Vs=220; //Supply Voltage at End A and B
//Different Conductor Lenghts
//From End A
L1=100;
L2=50;
L3=50;
L4=400; //Length of uniform loading
A=0.5; //Uniforming loading spread over 400m
r=0.05; // Resistance of Conducto... |
d24e1429a4e94899297a09ebdfe159c0580c46d1 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_server_2_b.tst | d82689bb0501f6fefb289b2abffdc206ed7c988b | [
"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 | 1,466 | tst | test_server_2_b.tst | module_load Meta
object_create Meta User
1
object_execute 1 set "Description \"Test Description\""
okay
object_validate 1
Error: Password must not be empty.
object_execute 1 set "Password \"Test Password\""
okay
object_validate 1
Error: User Id must not be empty.
object_execute 1 set "User_Id \"Test User_Id\""
okay
obj... |
e239515dae01d7234340e5b681b72c88a9c3390e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH13/EX13.2.a/13_2a.sce | 43634fbd38e7ad8420dcafe13bdd4bfbe7a0ab42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | 13_2a.sce | clc
//initialization of varaibles
T1=350+460 //R
v1=6 //cu ft/lb
m=1 //lb
R=53.34
v2=2*v1
cp=0.24
//calculations
P=R*T1/(v1*144)
W=P*144*(v2-v1)
T2=T1*v2/v1
Q=cp*(T2-T1)
h1=194.25
h2=401.09
dh=h2-h1
//results
printf("Final temperature = %d F",T2-460)
printf("\n Enthalpy = %.2f B/lb",dh)
printf("\n He... |
15c2a84021da297f83621d7d148f8f2c99769868 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH3/EX3.2/Ex3_2.sce | 5e1b8eca39a368f71c0e2f0a68cd77377e06c761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Ex3_2.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex3_2
clc;
clear;
Vs=400;//Supply voltage in V
Id=80.88;//Current in A
Rd=2;//Resistance in ohm
Eb=-150;//Back emf in V
Vdia=Id*Rd+Eb;
a=acos((Vdia*%pi)/(2*sqrt(2)*Vs));
Alpha=(a*180)/%pi;
disp(A... |
dc7e17fd1b01df7e221b96179a2322f7fa9a6ae5 | d9111ba53f15c146e1ba9ef4c76ae213b4af2db0 | /gauss/scilab/gauss.sce | 31922bf15dc18534173a8c9b2d5e6a462d7064df | [] | no_license | Andruka/ChislMethod-5-semestr- | c404b946e093d2e7ac2bbdd914ffb4b243310f0b | a28547b347d62bb5594131900bd8a33653aef259 | refs/heads/master | 2021-09-02T05:04:10.915470 | 2017-12-30T16:05:16 | 2017-12-30T16:05:16 | 115,805,317 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,134 | sce | gauss.sce | N=input('N=');
x=0;
d=0;
cur=1;
Max=0;
disp('Ввод матрицы A');
a=input('');
disp('Ввод матрицы Y');
y=input('');
if(size(a,1)~=N) then
abort;
elseif (size(a,2)~=N) then
abort;
elseif (size(y)~=N)
abort;
end
aa=a;
yy=y;
F=zeros(N,1);
z=[a y];
disp('');
disp('Система:');
disp(z);
fu... |
0e75bdac802562d1a31630cba4723dbee5d5bf09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.12/ex5_12.sce | 94f8dfc492556a84f4b885b52c888edb0d5c6bea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_12.sce | // Exa 5.12
clc;
clear;
close;
format('v',7)
// Given data
W1 = 20;// in kW
W2 = -5;// in kW
P = W1+W2;// in kW
disp(P,"The power in kW is : ")
phi = (atand( sqrt(3)*((W1-W2)/(W1+W2)) ));// in lag
// Power factor of the load
pf= cosd(phi)
disp(pf,"The power factor of the load is : ");
|
afa9c1b8aa59ea38e7bc18e07cc79622c484d52f | 665eac2bfd0d2f1d559f485375f89e8a91632c6e | /VOL_300/310_01/OLDMAKE.TST | 36ab5ede1a070a09343475a39c54cbcc01b32400 | [] | no_license | kubohisa/CUGL | 615c29732e5fc2c6bcb29a4013be3351dc21dda6 | 75fc7cb2f8c5f3869a091b2b5c50c09323bc1c03 | refs/heads/main | 2023-03-15T16:19:49.355867 | 2020-10-02T21:19:00 | 2020-10-02T21:19:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,107 | tst | OLDMAKE.TST | .SUFFIXES : .st .test
BINDIR = ../bin
FILES = Makefile in *.st *.out
.st.test:
$(BINDIR)/st -m $*.st <in | diff - $*.out
install:
echo Performing Self Checking Tests
-make basic.test
-make blocks.test
-make fork.test
-make new.test
-make super.test
-make copy.test
-make num.test
-make fi... |
96a7826b7fcb21e4a515e52b43349ec1d6e47d3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH8/EX8.10.e/8_10_example.sci | 231e8e02ddfe78436869a87734426f7bbd48f15a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 8_10_example.sci | //Example 8-10 Measuring Flow rate with an Orifice Meter
rho_met = 788.4 //density of methanol at 20C [kg/m^3]
rho_Hg = 13600 //density of mercury [kg/m^3]
mu = 5.875 * 10**-4//dynamic viscosity of methanol [kg/m.s]
D = 4 //diameter of pipe [cm]
d = 3 //diameter of orifice [cm]
h = 11 //differenctial height [cm]
g = 9.... |
26c1784c1b9be0bcd9e55cae8bf2297e173a0505 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/obj2ply.sci | c80b94e001b52fe9913561fafdf89503e163cc98 | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sci | obj2ply.sci | function obj2ply()
// Converts a OBJ file to PLY format.
//
// Syntax
// PointCloud(InputOBJFilename,OutputPLYFilename,"obj2ply")
//
// Parameters
// inputOBJFilename : obj file as input
// outputPLYFilename : ply file as output
//
// Description
// This function converts a OBJ file to PLY format.
//
//... |
002040a9cf1c01b1cd1ef84314ea4b5b4e3c98e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH30/EX30.18/30_18.sce | 75bf1c5862adc146d08779e845098d5ad818fd87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | 30_18.sce | clear//
//Variables
gm = 2500.0 * 10**-6 //Transconductance (in Amper per volt)
RD = 10.0 * 10**3 //Drain resistance (in ohm)
RS = 2.0 * 10**3 //Source resistance (in ohm)
//Calculation
Av = gm * RD //Voltage gain
R1i... |
46ac9cd629c4027def5d7da8e24a7be19d1aef19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH18/EX18.2/example18_2.sce | bf0cd6722a6c886757d993cbd5f3842a691052ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,728 | sce | example18_2.sce |
//example 18.2
//design an unflumed straight glacis non-meter fall
clc;funcprot(0);
//given
Q=40; //full supply discharge
sl_u=218.3; //supply level at upstream
sl_d=216.8; //supply level at downstream
D=1.8; //suplly depth
L=26; //bed width
bl_u=... |
98c72915ba4fe5b59196e707ea00c76250b8556e | 80fc9b7a10b546c9071b974c5328180e74ee1c5d | /TP1/2.2.sce | 5ef95a00e961ab027f444f4e0ec49250ef0fcee1 | [] | no_license | ASokem/TP_MAP101 | a443ddbd656d63918dd5caad3ce89418d02c0123 | b87d45faea6bc793161bae2238bd6489e5d9ede5 | refs/heads/main | 2023-08-10T20:42:07.377878 | 2021-09-29T09:15:34 | 2021-09-29T09:15:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | 2.2.sce | // Copyright (C) 2021 - UGA - JIANG Yilun
//
// Date of creation: 2021-9-15
//
v1 = [2 3 1 -7 9.5]
v2 = [1, 3, 5]
w1 = [0; 3; 5; 6]
disp(v1), disp(v2), disp(w1),disp(v1(2))
A = [1 2; 3 4; 5 6; 7 8]
B = [4 6 -2; 5 8 3]
C = [1 2; 0 3]
disp(A), disp(B), disp(C)
disp(A(1,:))
disp(B(:, 3))
|
68066429ba68504d19519f689896beef8a41271f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH2/EX2.11/ch2_11.sce | 6309fe193234724f3353fd81c789151be5e3441d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,673 | sce | ch2_11.sce | clc;
clear;
printf("\t\t\tChapter2_example11\n\n\n");
// determination of heat transferred and fin effectiveness
printf("\t\t\tSolution to part (a)\n");
//parameters of the problem are
N=9; // number of fins
delta=0.003/2;
L=0.025;
Lc=L+delta;
R=0.219/2;
R2c=R+delta;
R1=R-L;
T_w=260; // root wall temperat... |
a0ad06bba849c3fa970ec5bceb1a8c2567f277b9 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/sigma_delta.sce | ad9d184d9c5d65f9db1f7eac4135737229fce8c0 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 289 | sce | sigma_delta.sce | style.fontSize=14;
style.displayedLabel="<table> <tr> <td align=left><b>Vin<br><br>Vbias<br><br>CLK</b></td> <td></td> <td></td> <td align=center>Sigmadelta<br></td> <td></td> <td></td> <td align=right><b>out0</b></td> </tr> </table>";
pal5 = xcosPalAddBlock(pal5,"sigma_delta",[],style);
|
fd4cf44644d0377bc822cd44a7b775d4de97086f | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/array_to_permutation_embedding-006.tst | f503424d359f97afe653a9f48191acac3e9a9d88 | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30 | tst | array_to_permutation_embedding-006.tst | ../inputs/integer_array-01.ssv |
5034dc64981a89a97c4ff346a27d3d5dd3bbd3b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH4/EX4.7/ex4_7.sce | 2c9d2d45cbeec248d463cf9717cf5996d1dbed91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | ex4_7.sce | // Example 4.7, page no-211
clear
clc
//(a)
sg_at_60=1.02
API=(141.5/sg_at_60)-131.5
printf("(a)\nDegrees API = %.2f°API",API)
//(b)
Be=145-145/sg_at_60
printf("\n(b)\nDegrees Baume(heavy) = %.1f°Be",Be)
//(c)
Bk=(sg_at_60-1)*1000
printf("\n(c)\nDegrees Barkometer = %d°Bk",Bk)
//(d)
Q=(sg_at_60-1)*1000
... |
0ddf1f9713cd71473e50b65775b78e3ba8101215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH9/EX9.2/Aerials_Ex_9_2.sce | 9a402a53a3ba60c3280912bf58f6c58214faeec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Aerials_Ex_9_2.sce | clc
//Chapter9
//Example9.2, page no 397
//Given
n=10//no of aerial elements
d=0.5//distance in terms of wavelength
Beam_Width=2/(n*d)//
Beam_Width_degrees=Beam_Width*180/%pi
mprintf('Angular beam width is %f degrees\nBeamWidth is %f rad',Beam_Width_degrees,Beam_Width)
|
9efb387f3c6ded026eec73f19c066d7caa47e48b | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH2/EX2.8.b/Example2_8_b.sce | ccc1e8de9860ccf2012c0e6618aabb352214c6d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sce | Example2_8_b.sce | //Example 2.8(b)
clear;
clc;
R1=10*10^3;
R2=98*10^3;
R3=9.9*10^3;
R4=103*10^3;
//For first pair of inputs (v1, v2)=(-0.1 V, +0.1V)
v11=-0.1;
v21=0.1;
vo1=(R2/R1)*(v21-v11);
vcm1=(v11+v21)/2;
//For Second pair of inputs (v1, v2)=(4.9 V, 5.1V)
v12=4.9;
v22=5.1;
vo2=(R2/R1)*(v22-... |
561f809f08f19882d5899f170062e122200c19c3 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20151220_leastsquares/least_squares_nfet.sce | 20432d0aa53de2dfce862d562da913f9b6e93d65 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,257 | sce | least_squares_nfet.sce | nfet_iv=csvRead("./test_20151220_leastsquares/data_nFET_IVg_curve");
//epsilon=0.005;
//plotting="on";
//[Is, VT, kappa]=ekvfit(nfet_iv(:,1), nfet_iv(:,2), epsilon, plotting)
tm = nfet_iv(:,1); // Vout
ym = nfet_iv(:,2); // Id
x0 = [500e-9 ; 0.7; 0.4; 5]; // initial parameters guess
function y=Id2(t, x) // x(1)=Ith, ... |
422b24d4e7851c95975fb6aa5e405ec754115b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH12/EX12.23/Ex12_23.sce | 740d943622399c55c2004ca454fc6fe8cc67827f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | Ex12_23.sce | clear;
clc;
//Example 12.23
A=10^3;
Cf=30*10^-12;//feedback capacitor (F)
R2=5*10^5;
Cm=Cf*(1+A);
printf('\nMiller capacitance=%e F\n',Cm)
fp=1/(2*%pi*R2*Cm);
printf('\ndominant pole frequency =%.2fHz\n',fp)
|
819cac6b5eca1396995d4cdff5749c2ca8dd7e94 | bb3c300381ad1a419b5fb40891e830e534656595 | /test/testcases/bad_method.tst | 6770cb5b890dbb7341f97ad334a1c60a2864a28d | [] | no_license | DHorrible/visited_count | 60a082514dbce832fbd621223a44b0260300b34b | 5a7709b59c9feb2135844687d6303abb16991098 | refs/heads/master | 2021-04-17T00:41:52.110770 | 2020-03-24T22:53:14 | 2020-03-24T22:53:14 | 249,397,482 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 65 | tst | bad_method.tst | METHOD='MY_METHOD'
OUT='Error: Method should be "GET" or "POST"'
|
1e47a4272380f55200ce2c14bf9454374f2980da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH4/EX4.11/eg_4_11.sce | 9563bb9b3d111e5ea04d6bbf685ef99f1ab448e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | eg_4_11.sce | //Example 4.11
//Convolution sum of x[n] and h[n]
clc
clear
n=-1:1;
n1=-2:2;
x=[0.5 0.5 0.5];
h=[3 2 1];
A=[x 0 0;0 x 0; 0 0 x];
y=A'*h'
disp("Convolution of x[n] and h[n] is...")
disp(y)
subplot(3,1,1)
xtitle("input signal x(n)","....................n","x[n]");
plot2d3('gnn',n,x,5);
subplot(3,1,2)
xtit... |
9288f875ac918845dd3b3de100008e4387a0f08c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH2/EX2.15/example15.sce | f468b1077fbf4918a744410096bbb44d7efc522a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,128 | sce | example15.sce | printf("closed loop transfer function =16/(s^2+s+16)");
printf("characterstic equation of the given system is s^2+s+16=0");
printf("compare it with the standard second order characterstic equation s^2+2*d*w*s+w^2=0");
w=sqrt(16);
d=0.5/w;
disp(d,"damping ratio=");
disp(w,"undamped natural frequency(in rad/sec)=")... |
97ac582101194fbf33938c96b54a5863d91a8ebb | e806e966b06a53388fb300d89534354b222c2cad | /macros/graydist.sci | fc3c081883e74b1aebb98c559bb2086574269ac6 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sci | graydist.sci | function[dstImg] = graydist(srcImg, mask)
srcMat = mattolist(srcImg)
out = opencv_graydist(srcMat, mask)
channels = size(out)
for i = 1:channels
dstImg(:,:,i) = out(i)
end
endfunction
|
dd04d50a272316f127e196d0043237b79142b31f | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /test-unitary/testVelField.sce | b5fa4371aff7335ce8e24fb6ca81d609c9208b0b | [] | 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 | 865 | sce | testVelField.sce | // on veut creer un champ de vitesse pour un objet...
// histoire de se derouiller les meninges
clear
getd("src/transformation")
//1 . Creation de l'objet : c'est un ensemble de points 3D
// creation d'un cube
body = [0,0,0;0,0,1;0,1,0;0,1,1;1,0,0;1,0,1;1,1,0;1,1,1];
//2. On definit la position du cube dans un repere... |
c3b1fce2065675fc5cd63ae3c56cd6aa477f237d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.1/Chapter6_Example1.sce | 4b81d4f9afd528569129501341bc01f95de8fccf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,057 | sce | Chapter6_Example1.sce | clc
clear
//Input data
H=80;//The Heat flows into the system in joules
W=30;//The Work done by the system in joules
//Calculations
U=H-W;//The internal energy of the system in joules
W1=10;//The work done along the path ADB in joules
H1=W1+U;//The heat flows into the system along the path ADB in joules... |
42d3181565a2680c5f97d588412ac4f669b3497b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.11/Ex3_11.sce | f6ec2e9c960ca3412142e726b672336037921f22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_11.sce | clc;
//ex3.11
Vac=12; //volt
Vspk=Vac/0.707; //volt
Vf=0.7; //volt
Vlpk=Vspk-2*Vf; //volt
Vave=(2*Vlpk)/%pi; //volt
RL=120; //ohm
Iave=Vave/RL; //Ampere
disp('V',Vspk,"Vspk="); //The answers vary due to round off error
disp('V',Vlpk,"Vlpk="); //The answers vary due to round off error
disp('V',Vave,"Vave="); ... |
87c66bbe5501361185fb0c952d3385eaf764dd00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.12.1/Ex4_12.sce | 6fd9acf2910e076140b3c903021b980850c2bd33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Ex4_12.sce | clc
clear
//Combined Seperating and Throttling Calorimeter
m1=2; //mass of water seperated in kg
m=20.5; //Steam discharged from calorimeter in kg
mt=m1+m; //Steam inlet in kg
x1=m/(mt); //Dryness fraction
//At 12 bar pressure
Hf=798.6; //in kJ/kg
Hfg=1986.2; //in kJ/kg
P_b... |
ee3f9a5bb27a6e408dfbcc652b8e7a5b010b22d9 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 8/Lista Barão/Francis.sci | dd37aaf44501a53d2af167172c6cbeacfc86197b | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sci | Francis.sci | function [Autovalores]=Francis(A,p)
// recebe uma matrix A e uma precisão p
if(argn(2)==2)
A_1=A
verificador = 1
//inicia verificador = 1 para entrar no laço
funcprot(0);
while verificador == 1
[Q,R] = qr(A)
A=R*Q
... |
5b9daeb818d757c36dc59557b8d31c6413938281 | 70882f8f71a98cdb0e190c773094ea9547a339e8 | /Codigo/Entrada.sci | af87d84fcb1435163ac4c5340cd6c0b89f095412 | [] | no_license | joycebrum/Calculo-numerico-projeto | 6e6efb9375bc5cfd45df2aedb35c59f4e431c6ee | 3402d8d1f79738400e57b2b93ec92214e7a3531e | refs/heads/master | 2021-08-19T14:55:33.670571 | 2017-11-26T19:31:59 | 2017-11-26T19:31:59 | 111,951,685 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 360,219 | sci | Entrada.sci | function[T] = Entrada() //matriz do tipo [nivel , taxa de aprovacao , nota]
T =[100 96.10 732.00
83.3333333333 94.60 507.82
100 90.10 652.43
100 88.70 591.84
100 84.50 583.48
83.3333333333 89.20 580.83
66.6666666666 73.90 543.68
83.3333333333 88.70 602.07
66.6666666666 54.90 518.64
50 75.50 415.45
66.666... |
bdb6aa7ec2244a3d2144587d13e83e69d98634c5 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /DTFT_signals.sce | 2a4524f0dd62f4768c281f5fd0b45e17b00c8d03 | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | DTFT_signals.sce | clear;clc;close;
h=input('enter the input sequence'); //h=[1 1 1 1 1]
n=0:length(h)-1;
w=-%pi:%pi/4:%pi; //To evaluate X(ejw) at equi-spaced frequencies
wn= n'*w;
minus_jwn= -%i*n'*w
H=h*exp(minus_jwn);
magH=abs(H);
angH=atan(imag(H),real(H));
figure();
subplot(311),plot2d3(n,h);
xtitle('Impulse Response','time index n... |
f2a705d902b80c02392081567cf0c476ca5476c9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/signal/%k.sci | a791411a56e2e955675daab8078ee1ca01b7d92e | [
"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 | 667 | sci | %k.sci | function [K]=%k(m)
//K=%k(m)
//Calculates Jacobi's complete elliptic integral
//of the first kind:
// K = integral from 0 to 1 of
// [(1-t**2)(1-m*t**2)]**(-1/2)
//m is allowed to be a vector
//Ref :Abramowitz and Stegun page 598
// m :Parameter used in calculating the elliptic
// :integral where 0<m<1.
// K... |
8910a1d047b381ba1c02f6c5dc9ddeebdba25a4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH12/EX12.1/12_1.sce | 307bff06840a8e123c3e20b7a6791f1ea58ccbb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | 12_1.sce | clc
//Initialization of variables
disp("From Mollier diagram,")
h1=1357 //500 psia, 700 F
h2=935 //P2=2 psia
h3=93.99 //sat liq at 2 psia
vf=0.01613
P4=500 //psia
P3=2 //psia
//calculations
dh4=vf*(P4-P3)*144/778
h4=h3+dh4
eta= ((h1-h2)-(h4-h3))/(h1-h4)
//results
printf("Thermal efficiency = %.1f percent ... |
76a0252435051c4dafbe97581172cd99246641c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH8/EX8.3/Example8_3.sci | 99300304a64f9508216d99fba390f0718740e367 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sci | Example8_3.sci | //Chapter 8_Applications of Operational Amplifier
//Caption : Device Temperature
//Example8.3:a)The ambient temperature of the device of Example8.2 rises above 90 degree celsius. What is the new value of Td if it still generates 500 mW?
//a)Solution:
clear;
clc;
Pd=500*10^-3;
Rt=150;//thermal resistance
Ta=90;/... |
310c69b3836c103cb741fccc162e9d7a39cada65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH1/EX1.2/Ex1_2.sce | e96b37911adc51a5ff76c2e36bf54210b0f87e55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex1_2.sce | //Example 1-2, Page No - 15
clear
clc
c=300000000
wavelength=1.5
frequency=c/wavelength
printf('Signal frequncy is %.3f Megahertz',frequency/1000000)
|
417759f8feae386bf3b0117dd0bb3d8610983915 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH3/EX3.1/Ex3_1.sce | 2e482e05791f077aa49a888ed9ff3d806e8b664f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,056 | sce | Ex3_1.sce | clc
//code uses userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
r2=0.02;
X11=20 //in ohm
x1=0.05 //in ohm
X22=2000 //in ohm
x2=5 //... |
dca19adf104e3aad06bece3d066150a8a712050d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.a.8/Example_a_2_8.sce | 3a3826e74697b4935895f855460f8047e6a668d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_2_8.sce | //Example 2_8 page no:92
clc;
R6=6;
delta=[1.83,-1,-0.5,
-1,-1.167,-0.167,
-0.5,-0.167,0.867];
delta2=[1.83,6.67,-0.5,
-1,5,-0.167,
-0.5,0,0.867];
delta3=[1.83,-1,6.67,
-1,-1.167,5,
-0.5,-0.167,0];
V2=det(delta2)/det(delta);
V3=det(delta3)/det(delta);
I6=(V2... |
1c6dfa435cde14b057df2968a12224e6a769a9ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH2/EX2.15/2_15.sce | bc7142b4ec6aab73bd535edb67567ae1e84727a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 2_15.sce | //Example 2_15
//Find the convolution of two sequences
clc
n=-8:1:8;
for i=1:length(n)
x(i)=exp(-n(i)^2);
h(i)=3.*n(i)^2;
end
y=convol(x,h);
figure
plot2d3(n,h);
title('Impulse responce');
figure
plot2d3(n,x);
title('Input signal');
figure
n1=-16:1:16
plot2d3(n1,y);
title('Output signal');
|
fb51dcab214b32f20f696a8a91b1bd5abb4cc7a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH29/EX29.04/29_04.sce | e00a0d3a1b4c0b84ebfdf145f584c1d4c8a2efda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 29_04.sce | //Problem 29.03: A two-branch parallel network is shown in Figure 29.8. Determine the resonant frequency of the network.
//initializing the variables:
RL = 5; // in ohms
L = 0.002; // IN Henry
C = 25e-6; // IN fARADS
Rc = 3; // in ohms
//calculation:
//Resonant frequency, for parallel
fr = (1/(2*%pi*((L*C)^... |
99dd923b2f10dd67549706f39a256127a87f517f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH3/EX3.2.1/Example3_2_1.sce | 0b9778319d184c6c5cbf7a4e338062299b21646c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | Example3_2_1.sce | //Example 3.2.1 page 3.10
clc;
clear;
x= 0.07;
Eg= 1.424+1.266*x+0.266*x^2;
lamda= 1.24/Eg;
printf("The emitted wavelength is %.2f um",lamda);
|
1be635b500372c04c02b63ce30b01b37568d66f9 | ffe9e19b244ceec2af7b863d956d8dbdc079103b | /Matemática Computacional II/8170312/exerc32-spline_quadratica.sce | cf075d64b284e737c5612395d84c359d6decc988 | [] | no_license | Vmvs007/ESTG-LEI | 25b67be60f3695f8677be57779dccd0670a8e48e | ae99dd7f6cd57a67cfdc6b1d303a03df3e6e5c69 | refs/heads/master | 2020-05-06T12:28:36.560414 | 2019-04-13T17:02:09 | 2019-04-13T17:02:09 | 180,124,885 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | exerc32-spline_quadratica.sce | x_nos = [1 2 5 7];
y_nos = [1 2 3 2.5];
A=[(x_nos(2))^2 0 0 x_nos(2) 0 0 1 0 0;
0 (x_nos(2))^2 0 0 x_nos(2) 0 0 1 0;
0 (x_nos(3))^2 0 0 x_nos(3) 0 0 1 0;
0 0 (x_nos(3))^2 0 0 x_nos(3) 0 0 1;
//
(x_nos(1))^2 0 0 x_nos(1) 0 0 1 0 0;
0 0 (x_nos(4))^2 0 0 x_nos(4) 0 0 1;
//
2*x_nos(2) -2*x_nos(2) 0 1 -1 0 0 0 0;
0 ... |
381b850f0de8e5c78690f6ab90d1fb308104583d | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH11/EX11.9/11ex9.sci | a0c5635b9cedfcad6cf6edda371c285a5e4dff83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sci | 11ex9.sci | a=2^4*3^3*7*11*13
b=2^3*3^2*5^2*11*17
V=int32([a,b]);
[d]=gcd(V)
lcm1=2^4*3^3*5^2*7*11*13*17 //lcm is the product of those primes which appear in either a or b |
af0a0ed3e219cad65fce390b6b8761a0c91d8714 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_calculate_speed_from_profile.sci | 42432647fdfe14ea5c782e2ef2a2671eead33b7d | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,006 | sci | kiks_calculate_speed_from_profile.sci | function [spd] = kiks_calculate_speed_fro(t0,t1,t2,t3,max_speed,acc,time)
// Ouput variables initialisation (not found in input variables)
spd=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Stor... |
d39e05ed0ffec9e43897a0239e23d6cae319730d | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH12/EX12.10/W_10.sce | 5b7a7c7992cef4ca1b5035b2abcde871b798f065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | W_10.sce | // sum 12-10
clc;
clear;
P=300*10^3;
l=500;
A=2*l;
Td=P/A;
T=(350-250)*P;
IG=(l^3*2/12)+(l*2*5^2);
r=sqrt(250^2+5^2);
Ts=T*r/IG;
Ts=Ts+Td;
Ta=110;
t=Ts/Ta;
h=t/0.707;
h=9;
// printing data in scilab o/p window
printf("h is %0.0f mm ",h);
|
e755b1abe383955581eb2d66072543add63ad3dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH3/EX3.8/3_8.sce | ea14437a57776cc18d3a3184fd1394becaf41ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | 3_8.sce | clc;
clear;
dia=0.03;//m
dia1=0.01;//m
p=3;//kPa(gage)
//density of air d is found using standard temp and pressure conditions
d=(p+101)*1000/((286.9)*(15+273));
//applying Bernoulli's equation at points 1,2 and 3; p=p1
v3=((2*p*1000)/d)^0.5;
Q=%pi/4*(dia1^2)*v3;
//by continuity equation, A2*v2=A3*v3
v2=((di... |
49476518b37b9817386f361014babb191318204f | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.10/example_7_10.sce | 2da8f6dcfb2373212a4d0609c9e00c016238f06b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | example_7_10.sce | syms k1 k2 s
T= k1/(s^s+k1*k2*s+k1)
Mp=25 //given
zeta=0.4037
Tp=4
omegaN=%pi/(Tp*(sqrt(1-zeta^2)))
disp(omegaN,"omegaN = ")
k1=omegaN^2
disp(k1," k1 = ")
k2=2*zeta/(sqrt(k1))
disp(k2," k2 = ")
|
fcb035be4895d128bb255d86305f056a05dc4d90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH6/EX6.7/Ex6_7.sce | 8a48f01726da25c60e93a86524a2e7bac84abe55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Ex6_7.sce | // chapter 6 , Example6 6 , pg 174
L= 2.26*10^-8 //Lorentz number (in W*m /K^2)
T=27+273 //temperature (in K) (converting celsius into kelvin)
rho=1.72*10^-8 //electrical resistivity (in ohm *m)
//according to Wiedemann-Franz law
K=(L*T)/rho //thermal conductivity
printf("Thermal conducti... |
f32c16984608f8b87cd5d1b0097fac3ce76e3f22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH10/EX10.2w/10_2w.sce | 6991f95ff4ba02ca7a339b15e60dc6e7972dc464 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | 10_2w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 10.2w
//calculation of the angle rotated during the next second
//given data
theta=2.5//angular displacement(in rad) of the wheel
t=1//time(in s) required
//calculation
alpha=(theta*2)/(t*t)//equation of angular m... |
d0ec9795895eeafce84161bf115cd4b2a01d2872 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH3/EX3.15/example3_15.sce | 44644e7dbc8f00cb2afc9deac1d575c5965302be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sce | example3_15.sce | // Find current,dc voltage,voltage across load
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 3-15 in page 150
clear; clc; close;
// Given data
Vm=50; // Maximum voltage in V
f=50; // Frequency in Hz
Rf=20; // Internal resistance in ohms
Rl=... |
b7d5ee432f2853d9e507492720a0fa48ef8579c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH2/EX2.3/example_2_3.sce | 5ff7fcc5e2284ce5601d3d05cfeccb0c6bfa1884 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | example_2_3.sce | s=%s;
F=(s+2)/(s*(s+3)*(s+4))
syms t s;
y=ilaplace(F,s,t);
disp(y,"f(t)=") |
03fa5bfbdcdab4cc5d67736c01a3bc32d477b545 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH5/EX5.3.1/Linear_Filtering_DFT.sce | a7566c35505dbcde2d46e8e3fd2263988099e358 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | Linear_Filtering_DFT.sce | //Graphical//
//Example 5.3.1
//Performing Linear Filtering (i.e) Linear Convolution
//Using DFT
clear;
clc;
close;
h = [1,2,3]; //Impulse Response of LTI System
x = [1,2,2,1]; //Input Response of LTI System
N1 = length(x)
N2 = length(h)
disp('Length of Output Response y(n)')
N = N1+N2-1
//Padding zeros to Make Le... |
a0317ad381e94bf3e5df5870c725b6e3ea047757 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH9/EX9.4/ex_9_4.sce | ba8a8e84a62c1b4bc6d26c0fb2ad470e0d97fbe3 | [] | 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 | 851 | sce | ex_9_4.sce | //find efficiency
clc
//solution
//given
t=13//mm
ft=80//N/mm^2
T=60//N/mm^2
fc=120//N/mm^2
pi=3.14
d=6*sqrt(t)//mm//dia of rivet
//use standard value from table 9.3
//let p be the picth of rivets
//Pt=(p-d)*t*ft=(p-23)*1040//N//tearing resistance of plate
Ps=2*(pi/4)*d^2*T//N//shearing resistance of rivet... |
27daab34b04773b03bd6c484deaea6b0ebd58e4f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elementary_Heat_Power_H._L._Solberg_2420.zip/Elementary_Heat_Power_H._L._Solberg_2420/CH5/EX5.1/5_1.sce | 2a9276a151721dcb2c3c7245a04eb45653a59025 | [] | 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 | 210 | sce | 5_1.sce | errcatch(-1,"stop");mode(2);
//Initialization of variables
x=0.98
vg=26.80
vf=0.01672
//calculations
vx=x*vg+(1-x)*vf
//results
printf("Specific volume of wet steam = %.6f cu ft per lb",vx)
exit();
|
79c2151d3c409110de73edb34283d3124f667809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH5/EX5.5/example5_5.sce | cdad4923a0d65c17934c64fbb1be4b8d3c31df66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | example5_5.sce | //Example 5.5 a
//constructing Routh array in scilab
clear;clc
xdel(winsid());//close all windows
mode(0);
s=%s;
A=s^3+s^2-s+1
routh_t(A)
//Example 5.5 b
s=%s;
B=s^4-s^2-2*s+2
routh_t(B)
//in this example 0 occurs in the first column of the array
// for which system assumes any small value "eps" and co... |
fd943f12c8d099be259ccd1c10b0c59e8326e36a | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Air 2.sce | 9ab74715c484b48890af3c4b11957d7d4dc18e35 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 48,998 | sce | Air 2.sce | Name=Air 2
PlayerCharacters=A
BotCharacters=Bot Rotation air.rot
IsChallenge=true
Timelimit=100000.0
PlayerProfile=A
AddedBots=Bot Rotation air.rot
PlayerMaxLives=0
BotMaxLives=9
PlayerTeam=1
BotTeams=2
MapName=airmap1.map
MapScale=6.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=fals... |
834b1719a5120fa6f57d6c8621e82fd2a94b42f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.21/Ex4_21.sce | 82f432f09c9f41ff1094d8795b4af342df88a8e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,704 | sce | Ex4_21.sce | clc;
Vrated=30;//rated output voltage of generater
Irated=200;//rated output current of generator
Ra=0.03;//armature resistance(including brushes)
Rf=2.4;//field winding resistance
//No-load saturation curve at 2200rpm
If=[2 4 6 8 10 12];
Ea=[15 27 35 40 43 45];
plot(If,Ea);//magnetization curve at 2200 rpm
... |
59983adb8f1f761af8d2767ea2c1c2990b5119f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH10/EX10.8/10_8.sce | bc328cd0866352c02d58909ec1d79f6dfaa359d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 10_8.sce | clc
//initialization of varaibles
en=1303.7 //B/lb
P=300 //psia
//calculations
disp("Given hg is less than h, steam is superheated. T=580 F")
T=580 //F
//results
printf("Temperature = %d F",T)
|
1d4aecfcb86704cc63d044320c067181ea0aa99f | 33cf645e9e65f22a3670517a08959b0963cd0cd3 | /Exercice2_tp1.sce | dfeedd9a922129a75b766c9dd67c85b3bc23356d | [] | no_license | Abla-Adem/TP-calcul-numerique | eecda616e8d512e972c19701c3ff847c184c9e6b | c75cc37dd09787fa87867c106adb1ee69d6b581d | refs/heads/main | 2023-02-06T15:15:50.993839 | 2020-12-25T13:10:35 | 2020-12-25T13:10:35 | 314,226,297 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Exercice2_tp1.sce | function [erreur_avant,erreur_arriere,cnd,x]=erreur(n)
a=rand(n,n)
xex=rand(n,1)
b=a*xex
x=a\b
erreur_avant=norm(x-xex)/norm(xex)
erreur_arriere=norm(b-a*x)/norm(b)
cnd=cond(a)
x=cnd*erreur_arriere
endfunction
|
cf60e554c3b0e36ac00bc56c7b6fa29ae0f32d28 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_adc_sim.sci | a273368e077c006f67f09f5c987c659f50503305 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,162 | sci | mdaq_adc_sim.sci | function block=mdaq_adc_sim(block,flag)
global %microdaq;
if %microdaq.dsp_loaded == %F then
select flag
case -5 // Error
case 0 // Derivative State Update
case 1 // Output Update
if %microdaq.private.connection_id > -1 then
channels = block.ipar(3:3+b... |
afc5b06673a2e38d7847f2ce2941904075541bd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH5/EX5.6/example6.sce | 3d24ff7a573d1bb572ceee1bbf91d50e30245d1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,471 | sce | example6.sce | clc
clear
//input data
R=0.5//Degree of reaction
P1=14//Initial pressure in bar
T1=588//Initial temperature in K
P2=0.14//Final pressure in bar
Ns=0.75//Stage efficiency
RF=1.04//Reheat factor
N=20//No. of stages
W=11770//Total power output in kW
a1=20//Exit blade angle in degree
hD=1/12//Ratio of blade h... |
f688ba4b7ca752a4be95ba7d2ab6c5cf1cdb0781 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.3w/16_3w.sce | d0e9bdc82dcf116407aad9c719af08acd24d0fda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 900 | sce | 16_3w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.3w
//calculation of the frequency,wavelength,speed,maximum and minimum pressures of the sound wave
//given data
//equation of the sound wave is
//p = (0.01 N/m^2)*sin((1000 s^-1)*t - (3.0 m^-1)*x)............(1)
p... |
6e9856c995bbd81902e50a1400d4dd9d6465c0f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.24/Ex2_24.sce | d1e62bf63ebb167c90f76cdcdbbffb3c58bc5564 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | Ex2_24.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.24
//Given Data Set in the Problem
dens=1000
g=9.81
Z=7500
p0=10.143*10^4
t0=15
T0=t0+273.15
dens0=1.285
//calculations
//1)incompressible
p=p0-integrate("dens0*g","z",0,Z)
... |
2b70c5a958b0cfbf33dbb67810696ec01467142c | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.1/1.sce | 2a4d6648f3b9f2ea0459419a351dea6a31fe64e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | 1.sce | clc
t1=60; //0C
t2=35; //0C
L=0.22; //m
k=0.51; //W/m 0C
q=k*(t1-t2)/L;
disp("Rate of heat transfer per m^2 =")
disp(q)
disp("W/m^2") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.