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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58ece45fceb5c97cc77d4cb6af1614b38827700d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/poly.man.tst | 4d41cb2ca95e53fe6ec054f46d2b949028c921d7 | [
"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 | 67 | tst | poly.man.tst | clear;lines(0);
s=poly(0,"s");p=1+s+2*s^2;
A=rand(2,2);poly(A,"x")
|
751b6612eb37f6d9d987ce4c0e7e89536d9be0c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.43/example4_43.sce | e62ddadd851add1dc31485ae74c1a048a46aa4be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | example4_43.sce |
//example 4.43
//calculate average depth of precipitation
clc;funcprot(0);
//given
A=[90 140 125 140 85 40 20]; //area of isohytes
I=[13:-2:1]; //average isohytel interval
s=0;t=0;
for i=1:7
s=s+A(i)*I(i);
t=t+A(i);
end
Pavg=s/t;
Pavg=round(Pavg*10)/10;
mprintf(" average depth... |
473cd59f5f2a15f95811d21521849fd5973ae590 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /QL MidAir Rocket.sce | 2ce7b78f14f86968e3414ebeec47c8376f99b9cc | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46,201 | sce | QL MidAir Rocket.sce | Name=QL MidAir Rocket
PlayerCharacters=Rocketman
BotCharacters=Pigeon.bot;Quaker Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Rocketman
AddedBots=Pigeon.bot;Pigeon.bot;Pigeon.bot;Quaker Bot.bot;Quaker Bot.bot;Quaker Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;0;0;0
MapName=boxe... |
d51a32971e7051d0c1deb30a6d89388e5f801676 | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Interpolação Lagrange.sce | e124ba8d40b4bbe4183e716116c535385e55d20c | [] | 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 | 702 | sce | Interpolação Lagrange.sce | //Interpolação Lagrange
clear
close
clc
x = [0; 0.2; 0.4; 0.5]
y = [0; 2.008; 4.064; 5.125]
p1 = 0.3
p2 = poly(0, 'p')
n = size(x,1)
L = zeros(n,1)
function [s] = main(p)
for i=1 :(n)
aux1 = 1
aux2 = 1
for j=1 : (n)
if j<>i
aux1 = aux1 * (p - x(j, 1))
... |
c203d128b1d930f1f4265d6cb0200566b4a90498 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH10/EX10.4/PPJ_4.sce | 3418b1bbca1ea3e761a777a040f9c7cd4dc83de1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | PPJ_4.sce | // sum 10-4
clc;
clear;
p=1.25;
D=200;
nt=0.75;
C=9;
sigta=20;
t=(p*D)/(2*sigta*nt)+C;
t=18;
D1=D+(2*t);
dr=D1+10;
sigp=310;
sigba=sigp/4;
db=16;
Db=dr+32+5;
Do=Db+(2*db);
P=%pi*(251+db)^2*1.25/4;
n=6;
Y=(Db-dr)/2;
M=P/n*Y;
Z=dr*tand(30)/6;
tf=sqrt(M/(sigta*Z));
tf=22;
Deff=dr+db+5;
// prin... |
33ea49ff3ebbf2a8e53bf4d882a0c560c7dd0337 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_struct.sci | 65e3cc3c443cac744036368572eefa5920a8acaf | [
"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 | 298 | sci | sci_struct.sci | function [stk,txt,top]=sci_struct()
// Copyright INRIA
txt=[]
names=['struct'];vals
for k=1:2:rhs-1
names=[names;stk(top-rhs+k)(1)]
end
names='['+strcat(names,';')+']'
for k=2:2:rhs
vals=[vals;stk(top-rhs+k)(1)]
end
stk=list('tlist('+makeargs([names;vals])+')','0',string(rhs+1),'?','16','?')
|
ec96977d41ea6b35bc1f48b3b27b9a9e89710e56 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/linear/scilab/functions/robust_structure.sci | 50a7b28405daf8620dd926cb60233729e5db5f31 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,861 | sci | robust_structure.sci | // Data Reconciliation Benchmark Problems From Literature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// aux functions to ipopt solver
//***************************************************************
//This function analyses the structure of the problem ... |
dfea2ca9d84ae9f4d89c98e9a198c1095e933875 | 694ad1c574305de3b85702522d231dea9660e94c | /test/pages.tst | 1e739cd8c7c4443a3ccff78d28301b0852950b25 | [] | 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 | 31 | tst | pages.tst | tpyrun $p/bin/util/pages_test
|
400f15fb7a1df9dd3acb915705060c5894e6922b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH6/EX6.3/Ex6_3.sce | 04c423d74667312eb69e7dc87bea585dfc4679eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | Ex6_3.sce | //Ex 6.3
clc;clear;close;
format('v',5)
n=8;//no. of bits
Range=0:10;//range
LSB=max(Range)/2^n;//V
MSB=max(Range)/2^0;//V
VFS=MSB-LSB;//V
disp(LSB*1000,"LSB(mV)");
disp(MSB,"MSB(V)");
disp(VFS,"VFS(V)");
|
f8987f665198fcb9e0199087dc17841fadb42442 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH22/EX22.7/Ex22_7.sce | 642691d5f9cc990d1f4be071b2f71d17f26881c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Ex22_7.sce | clc
// Given that
V = 1 // Volume of the flask in litre
p = 1 // Pressure in atm
t = 300 // Temperature in K
r = 1.8e-10 // Radius of oxygen gas molecule in m
m = 5.31e-26 // Mass of oxygen molecule in kg
printf("\n Example 22.7 \n")
n = (p*(1.013e5))/((1.38e-23)*(t)*1000)
sigma = 4*%pi*(r^2)
v = ((8*(1.38e-2... |
e335b0cd169230f41c4a23d0d6c8fa1fac55d7b2 | b437086cb1c76af82e408ae60119e8119e7d0ddf | /make_stuff/make_1/taut.tst | 14721fd23ce29fa69d2807fdea51a26681281dc1 | [] | no_license | Zyoto/Demo | ea2eb76a007b8321eefdf30e3ce385be55a36cf5 | 501476aeb0ef2d66b074ccdd54daf3e3cc66a787 | refs/heads/master | 2016-09-03T03:18:06.165419 | 2013-09-27T16:51:35 | 2013-09-27T16:51:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | tst | taut.tst | Pv-P
-PvP
(PvQvR)&(-P&-Q&-R)
(-Pv-Q)<->-(P&Q)
(-P&-Q)<->-(PvQ)
-(P&-P)
|
a6256668108a56af4324ef7786cd1dd5c8ed45d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH6/EX6.5/52ex3.sce | 572e0d71851aa430b615d3f6f49260cf162c055f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sce | 52ex3.sce |
clear;
clc;
close;
x=poly(0,'x');
p1=3*x/5+x/2;
p2=5*x/4-3;
p3=p1-p2;
x=roots(p3) //by the law of signs
|
4eaaeb59d55003fceea5388c493934e8b88c9226 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH14/EX14.10/ex14_10.sce | e3d28c7edba55c51ddfc95acc61afb3104c76304 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | ex14_10.sce | clc
//Example 14.10
//Install Symbolic toolbox
//Determine the transform of rectangular pulse
syms t s
v=integ(exp(-s*t),t,2,%inf)-integ(exp(-s*t),t,5,%inf)
disp(v,'V(s)=') |
49666954aa431af9fcfb4269c11425822bd31c57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH9/EX9.3cd/Exa_9_3cd.sce | ed81e1b2863a88d8276c54c0ae9f37af8ba5ff9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | Exa_9_3cd.sce | //modified Impulse invariant Design
//(c)H(s)=4s+7/s^2+5s+4
s=%s;z=%z;
HS=(4*s+7)/(s^2+5*s+4);
[d1]=degree(numer(HS));
[d2]=degree(denom(HS));
HZ=((3*z)/(z-%e^-2))+(z/(z-%e^-0.5))
if (d2-d1==1) then
h=(4+7/%inf)/(1+5/%inf+4/%inf)
HMZ=HZ-0.5*h
else
HMZ=HZ
end
HS1=4/((s+1)*(s^2+4*s+5))
HZ1=(0.21... |
19c36a933599a50b24081a462f1a3dffff27c87a | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH6/EX6.12/example12_sce.sce | ac86a6f30c5c5a2ad3df8cf6ea635f9eac550238 | [] | 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 | 500 | sce | example12_sce.sce | //chapter 6
//example 6.12
//page 277
printf("\n")
printf("given")
Rc=5.6*10^3;Rl=33*10^3;rs=600;
hfe=100;hie=1.5*10^3;vs=50*10^-3;
disp(" CE circuit operation with vs at transistor base and Re bypassed")
Av=(hfe*((Rc*Rl)/(Rc+Rl)))/hie
Zb=hie
Rb=(R1*R2)/(R1+R2);
Zi=(Rb*Zb)/(Rb+Zb)
vi=(vs*Zi)/(rs+Zi)
vo=Av*... |
53106e779f8b0888b1ad755140d1ba88a8be1216 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH18/EX18.5/18_05.sce | deab73fbb3825d37aa3b3d35e6ba3dec8a7be7de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | 18_05.sce | clear
clc
CAo=0.1;
eA=3;
rA=[3.4;5.4;7.6;9.1];
CA=[0.039;0.0575;0.075;0.092];
XA=zeros(4,1);
inv_rA=zeros(4,1);
for i=1:4
XA(i)=(1-CA(i)/CAo)/(1+eA*CA(i)/CAo);
inv_rA(i)=1/rA(i);
end
//W=FAo*integral(dXA/-rA) from 0 to 0.35
//Using Trapezoidal rule to find area,XA must be in increasing order
//Sorting XA ... |
2fd28034eb4e4978bf6e238f8f081cf531ce0208 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH6/EX6.9/exm6_9.sce | 061af9c51ba04813eb37463606cceea914cc7f41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | exm6_9.sce | //page no 187
//example no 6.9
//TURN OFF THE AIR CONDITIONER.
//to turn OFF the air conditioner, reset bit D7
//Assuming the same input as earlier as it is a continuation of previous example.
clc;
A=[1 0 1 0 1 0 1 0];
B=[0 1 1 1 1 1 1 1];
Y=bitand(A,B); //ANDing input (A) with B to keep the D4 bit always set
... |
3073ceb92381a595696bdd740c0729d1f4f85f5e | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /_wrdFrame.sce | fcfa9e952aa24af18988d916bb8455402314564f | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,447 | sce | _wrdFrame.sce | // WRD frame
TopFr = uicontrol(frame_addWRD, 'style', 'frame','constraints', createConstraints('border', 'top', [0, 140]),..
'layout', 'grid','backgroundcolor', [1 1 1],'layout_options', createLayoutOptions('grid', [1,2]));
BotFr = uicontrol(frame_addWRD, 'style', 'frame','constraints', createConstraint... |
5f2abed6f5908c46e25c1cb7b2d2bf6fe0cd127c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH1/EX1.3/Ex1_3.sce | 0b276222939114f94c3cbb3282727b96a6dc31c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex1_3.sce |
//points A,E,F,G are at the same potential
Rab=20
Reb=50
R1=Rab*Reb/(Rab+Reb) //equivalent resistance of Rab and Reb
Rbc=25
R2=R1+Rbc //equivalent resistance of R1 and Rbc
Rfc=50
R3=Rfc*R2/(Rfc+R2) //equivalent resistance of R2 and Rfc
Rcd=30
R4=R3+Rcd //equivalent resistance of R3 and Rcd
R=R4*50/(50+R... |
062990c433929cf576b5c2d60b8c52d632c54703 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.20.b/solution5_20.sce | f0257e7a85758d1131caef309dd82f64152a08e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,792 | sce | solution5_20.sce |
function[] = plot_format()
//Get the handle of current axes
g = gca()
//Give labels and set label properties
g.labels_font_color=5
g.font_size=3
g.grid=[1,1]
g.box="off"
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution5_20.sce')
//Obtain path ... |
7aeb90872a9f7414e5a07203be72c06215762c33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH2/EX2.15/2_15.sce | 02bef3a87f3273e4f7ab751be757f2ee7c73c252 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | 2_15.sce | clear
clc
disp('Exa-2.15');
r=1.5*10^11; I=1.4*10^3; //radius and intensity of sun
s=4*%pi*r^2 //surface area of the sun
Pr=s*I // Power radiated in J/sec
c=3*10^8; //velocity of light
m=Pr/c^2 //rate od decrease of mass
printf('The rat... |
98d5ee64f6d41c5640847459b3dcd5811cd4fb41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH8/EX8.3/example8_3.sce | 37436a5f2f877b401c752646bed6006539a17340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | example8_3.sce | //example8.3
clc
disp("Given : I_B=20 uA, I_E=6.4 mA")
disp("I_E=I_B+I_C=I_B+[(I_B)*(beta_dc)]=(I_B)*(1+(beta_dc))")
b=(6.4*10^-3)/(20*20^-6)
disp(b,"(beta_dc)+1=(I_E)/(I_B)=")
b=320-1
disp(b,"Therefore, (beta_dc)=")
a=319/320
format(7)
disp(a,"(alpha_dc)=(beta_dc)/(1+(beta_dc))=319/(1+319)=")
i=319*20
disp... |
3aeb1c574e66adbd7c2315c5e1cc68704b91b107 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH6/EX6.7/6_7.sce | 7c7f898bd105b9276b9a0b825cb8707a0eb6c8d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | 6_7.sce | // example:-6.7,page no.-312.
// program to design three section binomial transformer.
Zl=50;Zo=100;N=3;taom=0.05;
A=(2^-N)*abs((Zl-Zo)/(Zl+Zo));
frac_bw=2-(4/%pi)*acos(0.5*(taom/A)^2);
for c=1
Z1=Zo*((Zl/Zo)^((2^-N)*(c^N)));
disp(Z1,'Z1 = ')
end
for c=3^(1/3)
Z2=Z1*((Zl/Zo)^((2^-N)*(c^N)));
disp(Z2,'Z... |
d7bdf62518f3ace4630bf71384d6a99148177480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH13/EX13.7/Ex13_7.sce | 766191140b1bf07ff2bfe3d83a6e13c568635bd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | Ex13_7.sce |
// Variable Declaration
I_a = 10.0*exp(%i*90*%pi/180) //Line current(A)
I_b = 10.0*exp(%i*-90*%pi/180) //Line current(A)
I_c = 10.0*exp(%i*0*%pi/180) //Line current(A)
// Calculation Section
a = 1.0*exp(%i*120*%pi/180) //Operator
I_a0 = 1.0/3*(I_a+I_b+I_c) //Zero-sequence component(A)
I... |
a4c55d23059b25856d2e36139e0ea20942a3ecee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.21/Example_1_21.sce | e0e1c39e7331fa6558fe36f642677b61f4e9b499 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Example_1_21.sce | //Example 1.21 A batch contains 10 articles of which 4 are defective .
clc;
clear;
N=120;
disp(N,"total no. of ways in which 3 articles are selected out of 10 =");
M= 20;
disp(M,"No. of favourable cases are ");
P=M/N;
disp(,P,"Probability that 3 articles are chosen at random and none is defective = ");
|
d350c255039c8b77710994cf4d025307bd2379b7 | 96ddb5c7e26f4c4665fed642bcd3e7492c8b3af9 | /pammod.sci | ad03c89fbe0c9eb1719967a06bd442357d1b8233 | [] | no_license | kUser18/comm_scilab | 8faa238d1affd5842ae20b8dbc0d59324d12b477 | c98d78ba55b73644bf32cf1f901b6c0e45d73bc2 | refs/heads/master | 2020-03-26T11:00:15.328570 | 2018-09-30T20:35:50 | 2018-09-30T20:35:50 | 144,823,988 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,312 | sci | pammod.sci | function P = pammod(x, m, phi, datatype)
//
//Function Description
//pammod: This function modulates a sequence of integers
//x into a complex baseband phase amplitude modulation signal.
//
//Calling sequence:-
//pam = pammod(x,m)
//pam = pammod(x,m,phi)
//pam = pammod(x,m,phi,datatype)
//
//Parame... |
837051af736a4d76aef8b0c21eb1ee139765ae23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH8/EX8.11/Example8_11.sce | f27555f7207b9a98766351a4ddf819e3f6229dc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Example8_11.sce | //Chapter-8,Example8_11,pg 8_56
R1=1.2*10^3
R2=4.7*10^3
C1=1*10^-6
C3=1*10^-6
f=0.5*10^3
w=2*%pi*f
Rx=R2*C1/C3
Cx=R1*C3/R2
D=w*Cx*Rx
printf("unknown capacitance and resistance\n")
printf("Rx=%.f ohm\n",Rx)
printf("Cx=%.8f F\n",Cx)
printf("dissipation factor\n")
printf("D=%.3f",D)
|
c00edf504ff56fa78b3c18d4a4bd6663a94c534b | 132b4ac959b21691290ffeefbc31eefe24500a25 | /a8/a8/test3.tst | 2e9d0ab48211cef9df17ac4a0d7bae9d878ec4c0 | [] | no_license | HanlonsStraightRazor/cs310 | df790b8c10b1ebb942313b4a620fd3ce655a075b | 0a053116659eb65ffacb9bf410774e31b17e8fbd | refs/heads/master | 2023-03-12T22:35:35.357502 | 2021-03-02T20:47:48 | 2021-03-02T20:47:48 | 343,901,992 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | tst | test3.tst | load Larc.hdl,
set RAM4K[0] %X8101, // 1. li R1 1
set RAM4K[1] %X8202, // 2. li R2 2
set RAM4K[2] %X0000, // 3. nop
set RAM4K[3] %X0000, // 4. nop
set RAM4K[4] %X0000, // 5. nop R1 <-- 1
set RAM4K[5] %XD512, // 6. sw 5(R1) R2 R2 <-- 2
set RAM4K[6] %XC324... |
5b7405dbc6557958e2c9c5b9c48ddce102c8f1ae | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_error.sci | d11c02d4234012e8ee67b52f31b6b8667cb69bf7 | [] | 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 | 440 | sci | kiks_error.sci | function [] = kiks_error(errstr)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
// !! L.8... |
0b8d5692bf39cefb6f38a977df9b833aff4f77d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.31/Ex1_31.sce | 6a1e1391430756cd1b3ab7e914a7957e2187c906 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex1_31.sce | // Ex 31 Page 374
clc;clear;close;
// Given
G=37;//dB
f1=50;//Hz
f2=18.7*1000;//Hz
BW1=f2;//Hz (f2-f1~=f2)
A1=10**(G/20);//Gain
A3=sqrt(A1);//Gain
RL1BYRL2=A1/A3;//ratio
RL2BYRL1=A3/A1;//ratio
//BW=2*%pi*Cd*RL
BW1BYBW2=RL2BYRL1;
BW2BYBW1=RL1BYRL2;
f2dash=f2*sqrt(sqrt(2)-1);
BW2=BW2BYBW1*f2dash;//Hz
printf("Bandwidth... |
c401c094bfd68bb079971bbd25e40dc2eb1e5328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH1/EX1.7/Ex1_7.sce | 1226163b4086ebf9cdf200b8ff08499b69ffc6d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex1_7.sce |
//refer Fig.1.13 in the textbook
//by applying KVL
//for mesh ABCDA, 7.45*i1-3.25*i2=10
//for mesh EFBAE, 8.55*i2-5.3*i3-3.25*i1=10
//for mesh HGBFEAH, 11.3*i3-5.3*i2=80
a=[7.45 -3.25 0;-3.25 8.55 -5.3;0 -5.3 11.3]
b=[10;10;80]
i=inv(a)*b
i1=i(1,1)
i2=i(2,1)
i3=i(3,1)
mprintf("Current in 6 ohm resistor=%f ... |
6fee70c6b556acc2b8ea5570c6258a11561e5d35 | be72b348d2bbd0cd916ee42daf3151ca8d3d6fc5 | /Fourier-Transform-in-Image-Formation/aperture.sce | aaadbc81522c3888ded08f69e076895a423d706f | [] | no_license | albertyumol/Image-Processing-on-Scilab | f9b859b35cd4279abaa79aef65598425a7ef37c9 | 33032c819026222dc75b8364b81012986a5e46ab | refs/heads/master | 2020-04-26T15:40:55.463187 | 2019-12-06T16:25:15 | 2019-12-06T16:25:15 | 173,654,065 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,662 | sce | aperture.sce | r0 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture0.jpg");
r1 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture1.jpg");
r2 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture2.jpg");
r3 = imread("C:\Users\csrc-lab03\Desktop\Activity5\Aperture3.jpg");
r4 = imread("C:\Users\csrc-lab03\Desktop\Act... |
6e82c7bbd7ad633b2c0d1bebea3a72fbc0e3d201 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH5/EX5.5/Example5_5.sce | eb55c260b2e53d240d2c736c32def7d67ff7e12b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,605 | sce | Example5_5.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 5 : UNDERGROUND POWER TRANSMISSION AND GAS-INSULATED TRANSMISSION LINES
// EXAMPLE : 5.5 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
C_a = 0.45 * 1... |
dd98ee2feb4d17f7999d079c39b5c27c12001a7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH7/EX7.1/7_1.sce | f1666030043a658d15a2de3d3eb943c0e729a1f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 7_1.sce | //type of system
s=%s
G1=syslin('c',(1+0.5*s)/(s*(1+s)*(1+2*s)*(1+s+s^2)))
disp(G1,"G(s)=")
printf("type 1 as it has one s term in denominator")
G2=syslin('c',(1+2*s)/s^3)
disp(G2,"G(s)=")
printf("type 3 as it has 3 poles at origin") |
bba84d712b35748d7c5a7005d7a5cd885d815bce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH3/EX3.7/Ex3_7.sce | e08b3f336f3c99e54b630cf90d78e1f947054870 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Ex3_7.sce | clear
//
//
//
//Variable declaration
d=0.203*10**-9 //lattice spacing(m)
h=1
k=1
l=0 //miller indices of (110)
lamda=1.5 //wavelength of X-rays(angstrom)
//Calculation
a=d*sqrt(h**2+k**2+l**2) //length(m)
V=a**3 //volume of unit cell(m**3)
r=sqrt(3)*a/4 //radius of atom(m)
//Result
p... |
fc02b2264c9685fad00d70856fd3be6a83aaf9ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH2/EX2.13/Ex2_13.sce | ee597f493ffb804b994ed17d1029e4a711b5f01a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | Ex2_13.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
// Example : 2.13
clc;clear; // clears the console and command history
// Given data
k_h = 110 // hysteresis co-efficient in J/m^3
V_cvol = 0.005 // volume ... |
4a7c481ae09c3796d558162fe64339af024aa1ed | e4657d526ddb006886c9fca8229ddb7dc9b6c6cf | /two/FullSubtractor.tst | 4ff68d012b9aaf94a2a338e7099ff4aec76b0355 | [] | no_license | marcusshepp/computer_arch | 14cfcf65c13a5db1c2255a011a743601a55ac4cb | 564dd2bcf32e7791b33e5ff41a3ec63e08b2b69e | refs/heads/master | 2021-01-10T07:54:53.011805 | 2016-04-16T22:37:38 | 2016-04-16T22:37:38 | 43,556,935 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | tst | FullSubtractor.tst | load FullSubtractor.hdl,
output-file FullSubtractor.out,
compare-to FullSubtractor.cmp,
output-list a%B3.1.3 b%B3.1.3 c%B3.1.3 diff%B3.1.3 borrow%B3.1.3;
set a 0,
set b 0,
set c 0,
eval,
output;
set a 0,
set b 0,
set c 1,
eval,
output;
set a 0,
set b 1,
set c 0,
eval,
output;
set a 0,
set b ... |
5415a695d64ee629615e641e9891ca5683002ae3 | 68bc9ed8216a93c9b0bc0a6dbde62a7bb8328383 | /param/test_ping.tst | 8053f9af1c88ca952956d37408413c187a209fb6 | [] | no_license | michaelhuang14/AutonomousAgentsGreenhouse | 5e305e522c95dfaaebd7e4f148de87572d4185ce | 83e4aad142c9ca72ba4ababf58c25bed53428f0c | refs/heads/main | 2022-12-20T01:59:27.773408 | 2020-10-08T03:02:55 | 2020-10-08T03:02:55 | 300,742,055 | 1 | 0 | null | 2020-10-08T02:41:49 | 2020-10-02T21:40:36 | Python | UTF-8 | Scilab | false | false | 444 | tst | test_ping.tst | # Wait a minute before starting, to give agent a chance to initialize
DELAY FOR 60
WHENEVER True
# Wait 6 minutes for a ping
WAIT ping FOR 360
# Reset the ping and wait until the next one
WHENEVER ping
WAIT not ping FOR 10 # Don't want the current ping to confuse things
ENSURE not ping FOR 120 # This should... |
211baa18622ab753405528ef511a1f0a412359b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3407/CH6/EX6.1/Ex6_1.sce | dd23b1d81f1510d222bf93a0c3bced7b74f0ad17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,423 | sce | Ex6_1.sce | clear;
clc;
funcprot(0);
//given data
dt = 1.0;//tip diameter in m
dh = 0.9;//hub diameter in m
alpha1 = 30;//in deg
beta1 = 60;//in deg
alpha2 = 60;//in deg
beta2 = 30;//in deg
N = 6000;//rotational speed in rev/min
rhog = 1.5;//gas density in kg/m^3
Rt = 0.5;//degree of reaction at the tip
//Calculat... |
916b702a1f9aa5fce42b03e6393aa4631b15d282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH17/EX17.17.5/Ex17_5.sce | 0665fd9603f00fbf359e8a19409332a2077fab0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex17_5.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
clc
clear
dec=263
base=5
s=dec2base(dec,base)
disp(,s,"Equivalent of 263 in a code base 5 is ")
|
104460552ca11699f8430e47a175fed04c3c64d0 | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /SCILAB/SCILAB-2.sce | 82df5b55dcca410417766224aaabaabe443e30ac | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,620 | sce | SCILAB-2.sce | clear; clc;
// SCILAB-2.sce
// Constantes
A = 1; alpha = 0.5; omega = 2;
// Funciones
function y = f(t)
y = A*exp(-alpha*t).*sin(omega*t);
endfunction
dt = 0.001; tfin = 10; t = 0:dt:tfin;
y = f(t);
// Gráficas
scf(1); clf(1);
plot(t,y);
xgrid; xlabel('t'); ylabel('y');
// Objetivos
yobj = 0.5;
indexyobj = ... |
e78a2ec51c7b7170044815e0535308fb04a303af | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH4/EX4.10/Ex4_10.sce | 80fcae32236186af3f9c00c3227f87464a17db8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ex4_10.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex4_10
clc;
clear;
V=500;// voltage in V
I=15;//Current in A
t=0.6;//time in sec
f=80;//frequency in Hz
Vav=V*t;
Vi=V-Vav;
Ton=t/f;
L=Vi*(Ton/I);
disp(L,"The inductance in Henry is:")
|
c58a1144369dd5b9b703947e5cefeaa11915897f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH8/EX8.20/example8_20.sce | 1ab5eddb361eea2072b66fbea4c6ada2688ab086 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,332 | sce | example8_20.sce |
//example 8.20
//calculate streeses at heel and toe of dam
clc;funcprot(0);
//given
c=1;
hw=80; //heigth of water in reservior
Bt=6; //width of top of dam
H=84; //heigth of the dam
Hs2=75; //heigth of slope on downstream side
wb=56; //width of base of dam
... |
eef73928b46ec7c39941bfd927f072b044d339fc | 74e16a3319b092caef1a70e3dd39e18601fd44c8 | /reservoir_simulation.sci | 773f4b434281b95f5bceb5408e2f89a2552f94cb | [] | no_license | renluqin/MathematicalModeling | f54e163cd38ae023614d088b9ec017b419407c57 | c5b6e98165cf113d64b0a51f040182af0093b7a8 | refs/heads/master | 2022-12-11T11:59:57.153853 | 2020-08-27T21:14:07 | 2020-08-27T21:14:07 | 290,882,622 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,232 | sci | reservoir_simulation.sci | p=[0.1,0.7,0.8,0.85,0.9,0.95,1]
function [n]=test()
n=1
c(1,n)=4
while c(1,n)>0
u1=rand()
i=1
while i<=7
if u1<=p(i) then
c(1,n+1)=c(1,n)+i-1
break
else
i=i+1
end
end
i... |
4e44f551efea648f3398d329915879838611ec4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH17/EX17.3/Ex17_3.sce | 888bfd5744760ee3ba0f4e20a94002ffcd2b2e21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex17_3.sce | //chapter17
//example17.3
//page379
L1=1000d-6 // H
L2=100d-6 // H
M=20d-6 // H
C=20d-12 // F
Lt=L1+L2+2*M
f=1/(2*%pi*(Lt*C)^0.5)
mv=L2/L1
printf("operating frequency = %.3f Hz or %.3f kHz \n",f,f/1000)
printf("feedback function = %.3f",mv)
//in book the answer is 1052 kHz but the accurate answer is 1054.029 kHz
|
dbcc69162747fb5c1616d75d2ffa0e85745c5368 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH8/EX8.28/Ex8_28.sce | c9511fb9ded0d6e414fc989fe85439ca60da7eb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,268 | sce | Ex8_28.sce | clear
//
//variable declaration
Db=(20) //diameter of brass rod,mm
Dse=(40) //external diameter of steel tube,mm
Dsi=(20) //internal diameter of steel tube,mm
Es=(2*100000 ) //Young's modulus steel, N/mm^2
Eb=(1*100000 ) //Young's mod... |
7d7998411a12e2fbbfe3fe3b07d524b6cbea674f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH7/EX7.9.1/7_9_1.sce | c2078713342dd9dc2c89f6279ffae96268f9a0a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 7_9_1.sce | clc
//initialisation of variables
k= 15 //knots
w= 64 //lbf/ft^3
W= 5 //tonf
l= 6 //ft
U= 6080 //ft/km.hr
//CALCULATIONS
P= (0.5/32.2)*w*(k*U/3600)^2
Ct= (W*2240)/(P*%pi*(l/2)^2)
nf= 2/(1+sqrt(1+Ct))
Pb= (W*k*2240/nf)*6080/(3600*550)
//RESULTS
printf (' theotrical power= %.f h.p',Pb)
|
2dbaf5cf14ac8b716885ffb94312ea8d999fc2d7 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.23/Ex12_23.sce | a895a3b0da15bbf08a381fcdf9a8d7ab9e5a1b51 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex12_23.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 5.21
A=[1 -1 1 0;1 -1 1 1;0 1 1 -1;0 2 3 -3]
ainv=inv(A)
disp(ainv,'A^-1')
mprintf('(a,b,c,d)=\n')
mprintf(' l1(1,1,0,0)+l2(-1,-1,1,2)+l3(1,-1,1,3)+l4(0,1,-1,-3)')
|
2e090705af3c1cab426a1f77153f84af6662395e | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH6/EX6.3/6_3.sce | 173686ddbfaeca32d522da01164687de4f96b3d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 6_3.sce | //clc()
//f(x) = exp(-x)-x
//f'(x) = -exp(-x)-1
for i = 1:5
if i == 1 then
x(i) = 0;
else
x(i) = x(i-1) - (exp(-x(i-1))-x(i-1))/(-exp(-x(i-1))-1);
et(i) = (x(i) - x(i-1)) * 100 / x(i);
x(i-1) = x(i);
end
end
disp(x)
disp(et)
|
78737d72d7fff545fcf96a533cb6e5f62dc9399b | 9e12e4e26437f9b52ce8d8b7fa8c4e9e65be1c62 | /1task_triangles/Tests/100.2.tst | 802a2efe0d815eb038b26018530d0d8871c42708 | [] | no_license | synthMoza/ilab_2course | 6a73fa119ce10eb01a400a29d963cf8c70e4c5c8 | 92638e7fb529265bd93572fef8a6eb9df99799f5 | refs/heads/master | 2023-06-30T19:14:49.667143 | 2021-08-09T15:04:29 | 2021-08-09T15:04:29 | 293,534,227 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,074 | tst | 100.2.tst | 100
-2.5 0 0
0 4.33013 0
2.5 0 0
-2.5 7.88925 0
0 12.2194 0
2.5 7.88925 0
-2.5 0 0.5
0 4.33013 0.5
2.5 0 0.5
-2.5 4.17849 0.5
0 8.50862 0.5
2.5 4.17849 0.5
-2.5 0 1
0 4.33013 1
2.5 0 1
-2.5 1.8691 1
0 6.19923 1
2.5 1.8691 1
-2.5 0 1.5
0 4.33013 1.5
2.5 0 1.5
-2.5 8.22943 1.5
0 12.5596 1.5
2.5 8.22943 1.5
-2.5 0... |
dcc0733755bb7919c43b775b974633f327492ede | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/percent/%lnp.sci | 4e3ba7303576fe6f31a32767101d75905218f4ea | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 140 | sci | %lnp.sci | //[r]=%lnp(l1,l2)
//%lnp(l1,l2) correspond a l'operation logique l1==l2 avec l1 une liste
//et l2 une matrice de polynomes
//!
r=%t
//end
|
6e17cee366e227ab3a6bd9c2f6cf556550ac8872 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH7/EX7.6/Ex7_6.sce | 7253fc27dcae9c5770f8dfa144aadf8ee8577fc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | Ex7_6.sce | clear
//Given
//we will divide this into two equal parts and other part
l = 10.0 // in - The height
t = 0.1 // in - The width
b = 5.0 //mm- The width of the above part
A = t* b //sq.in - area of part
y_net = l/2 // The com of the system
y_1 = l // The position of teh com of part_2
I_1 = t*(l*... |
593b40dd544826e8a908874344a46b1c06a532f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH12/EX12.7/Ex12_7.sce | 6bf46aba17b3c242bd9a9c5458ebee8c5db082f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,573 | sce | Ex12_7.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 12 ; Example 12.7
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
C1=[8e-3 10 0] //Coefficients of cost equation for unit 1
C2=[9e-3 8 0] //C... |
8c2291b5e8e85c812c7b47df17be69c0d76575a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH24/EX24.12/ex_24_12.sce | 58849c286bb22af6a4a8915d4870cb10a49a5fa6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | ex_24_12.sce | //find..
clc
//solution
//given
P=45*1000//W
N=1000//rpm
a=(%pi/180)*12.5
D=500//mm
R=250//mm
u=0.2
pn=0.1//N/mm^2
T=P*60/(2*%pi*N)*1000//N-mm
//let b be face width
//T=2*%pi*u*R^2*b
b=T/(2*%pi*pn*u*R^2)//mm
printf("face width is,%f mm\n",b)
Wn=pn*2*%pi*R*b//N
We=Wn*(sin(a)+0.25*u*cos(a))
printf("axia... |
78d35eff50f802fd2a6e4af304cd0e41cf78730f | 6cb9e819eeeec94f4180602ba9707c879af925fc | /ElNet_ss_16/Labor_3/3rd_protokoll_readLTspice.sci | 65c3c5b58d79c1acdc72df7c2d6dbee26491bf5f | [] | no_license | shinroo/TUB_Programs | ddc6a1e04c3a6f93221ac00abba93977fc5a1ca9 | aae3afa488ad43fbcbcf592285bdd79fcacfb10e | refs/heads/master | 2021-01-19T03:27:29.597735 | 2018-01-23T17:26:54 | 2018-01-23T17:26:54 | 54,027,264 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,730 | sci | 3rd_protokoll_readLTspice.sci | //---------------------------------------------------------------//
//---------------------------------------------------------------//
//-------------------------- TU Berlin --------------------------//
//--------- Fakultaet IV: Elektrotechnik und Informatik ---------//
//------------------------------------------... |
517117c7bdd567b300569f56e915f3a57d16ee07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.34/Ex4_34.sce | 8e8eaf12fe92fab3ed44a093c1a656aa89656fd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Ex4_34.sce | //pagenumber 221 example 34
clear
em1cur=2*10^-3;//ampere
v1=12;//volt
vcc=12;//volt
format(12);
colres=5*10^3;//ohm
em1res=v1/em1cur;
colcur=em1cur;
voltag=colcur*colres;//ic*r
v1=vcc-(colres*colcur);
disp("emitter current = "+string((em1cur))+"ampere");
disp("collector current = "+string((colcur))... |
4715060680fe0eb6239f3cc3be969698535a0dda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.10/ex10_10.sce | 68d13b39058bdaf3f8be2d3fc920c57f97bc245b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | ex10_10.sce | // Example 10.9, page no-273
clear
clc
e=1.6*10^-19//C
m=9.1*10^-31//kg
h=6.626*10^-34
k=1.38*10^-23
eg=1.1*e
mue=0.48//m^2/V.s
muh=0.013//m^2/V.s
T=300//K
ni=2*(2*%pi*m*k*T/(h^(2)))^(1.5)
ni=ni*%e^(-eg/(2*k*T))
sig=ni*e*(mue+muh)
printf("\nThe carrier concentration of an intrinsic semiconductor is = %.... |
9d387a4dcbc6eca92c13bd40dbcaf70109550841 | 6b317caeff9d26dcf0051f56bfcaa94676704bb3 | /sdpt.sci | 9c059dfa05006e0716f98336e617e426db4e7a9c | [] | no_license | devanshmody/c-cpp-programs | 8d1a11915a421f420ba8cec71ea6d369e574baf9 | fc2cbe444c2f7ce49417e06db62c24ee89c6acaa | refs/heads/main | 2023-04-24T15:03:10.218495 | 2021-05-05T09:41:10 | 2021-05-05T09:41:10 | 364,527,543 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,410 | sci | sdpt.sci | X1=[0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,1,1,1,1,1,-1;
0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,1,1,1,1,1,0,0,0,0,0,-1;
0,0,1,0,0,0,0,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,-1;
0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,1,1,1,0,0,-1;
0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,-1;
1,1,1,1,1,0,0,1,0,0,0... |
adb05a286427c736f753834867911f1454fec6a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH13/EX13.8/13_8.sce | e02cf1947b8a0036762c7e08249bf9fa19180027 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 13_8.sce | clc
//initialisation of variables
P= 680 //lb
K= 1000 //lb/in
L= 6 //ft
E= 30*10^6
Ina= 1.728 //in^4
//CALCULATIONS
A= [((L*12)^3/(3*E*Ina)),-(1/K);1,1]
b= [0;P]
c= A\b
Pb= c(1,1)
Ps= c(2,1)
//RESULTS
printf ('Force in the spring= %.2f psi',Ps)
|
540caadaf0389eb3921f6d0880b4ac0428b4336a | 15d3702a1f4402ab16e6b4cfc725ff7e996843ef | /predictions/linzen/wsj-nltk/parses.tst | e6814b6ae1be7b5b4603b29982d7e060e1878061 | [] | no_license | viking-sudo-rm/industrial-stacknns | 2ecb36a6c5da2e295b91f854dc96d6bc4c2e4b6a | f08da2dcc27f2688eb99e10934ad89e41b879de8 | refs/heads/master | 2020-04-26T03:36:50.038626 | 2019-12-26T16:51:52 | 2019-12-26T16:51:52 | 173,272,681 | 14 | 3 | null | 2019-04-13T19:51:25 | 2019-03-01T09:22:01 | Jupyter Notebook | UTF-8 | Scilab | false | false | 1,254,190 | tst | parses.tst | (X (X (X (X (X Pierre) (X Vinken)) (X (X ,) (X (X (X (X 61) (X (X years) (X old))) (X ,)) (X will)))) (X (X join) (X (X the) (X board)))) (X (X as) (X (X (X a) (X (X nonexecutive) (X director))) (X (X Nov.) (X (X 29) (X .))))))
(X (X (X Mr.) (X Vinken)) (X (X is) (X (X chairman) (X (X of) (X (X (X Elsevier) (X N.V.)) (... |
ae1c291e08d6281394e1b5f6cf50ffcd248a5c8a | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/place/scilab/motor_pd.sce | 2f5a785e478e1d37aebd172a511b0e773709ad9a | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,222 | sce | motor_pd.sce | // Updated(1-8-07)
// 9.21
// Motor control problem
// Transfer function
a = [-1 0; 1 0]; b = [1; 0]; c = [0 1]; d = 0;
G = syslin('c',a,b,c,d); Ts = 0.25;
[B,A,k] = myc2d(G,Ts);
[Ds,num,den] = ss2tf(G);
// Transient specifications
rise = 3; epsilon = 0.05;
phi = desired(Ts,rise,epsilon);
// Controll... |
94c9799ba6e495ac88645f5131c47186d7f42b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH7/EX7.1/7_1.sce | db902fe7944a32ea4545ce67b55ad41dce109e90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | 7_1.sce | q=4.0*10^-3;//quantity of electricity in coulombs//
e=1.6*10^-19;//charge of an electron in coulombs//
N=q/e;//no. of electrons per second//
printf('No. of electrons per second=N=%f=2.5*10^16',N);
|
b139d82b5251c7e546ae9e35c2a15eebb1bd8e73 | 4ed576b765859807d6c29665521e0697d6f9bae7 | /archive/01/mistakes_errors.sce | b7d9039ffb6ca66cbea7b2ddd6d2bb5dc895cdc8 | [] | no_license | sbednarz/scilab | 96b9182730fa48d11f27840fc197d151adb01e2c | 28f81c58bc4972eeb41f403cb157fb989e809f41 | refs/heads/master | 2021-07-11T04:42:04.289126 | 2021-05-17T20:55:19 | 2021-05-17T20:55:19 | 100,467,366 | 3 | 1 | null | 2020-06-19T06:49:18 | 2017-08-16T08:37:06 | Scilab | UTF-8 | Scilab | false | false | 22 | sce | mistakes_errors.sce | // mistakes & errors
|
09f697a3f9f222643839af5998f8d00932b6ccb6 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_6/Scilab_codes/parte.sce | 171cfece58520c6219f6a5774427556994d87624 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | parte.sce | clear
clc
s = poly(0,'s');
G = 1/((s+3)*(s+4)*(s+12));
for k = 1:50:1000
T = k*G/(1+k*G);
t = 0:0.1:20;
T1 = syslin('c',T);
ts = csim('step' ,t, T1);
plot(t , ts);
end
|
329b3020298d184fe232ee31ea483ee7db9b543f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH5/EX5.4/ex5_4.sce | 73cfe6dde4babe814cf499e7d50da50e553cb32c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_4.sce | //Part A Chapter 5 Example 4
clc;
clear;
close;
T1=827+273;//K
T2=27+273;//K
T3=-13+273;//K
Q1=2000;//kJ
Q2=545.45;//kJ
WE=Q1-Q2;//kJ
Q3BYQ4=T3/T2;
WE_sub_WR=300;//kJ
WR=WE-WE_sub_WR;//kJ
Q43=WR;//kJ(Q4-Q3=WR)
Q4=WR/(1-Q3BYQ4);//kJ
Q3=Q4-Q43;//kJ
Qt=Q2+Q4;//kJ
disp("Heat transfered to refrigerant = "+s... |
01b8773323cfbfff57d3d6dc5bc84f052677a9a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.24/EX4_24.sce | 8de1acae6b9e6acb33686c5f79a1ca18aed8ad0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | EX4_24.sce | //Calculate speed of motor and maximium torque
//Chapter 4
//Example 4.24
//page 321
clear;
clc;
disp("Example 4.24")
V=400; //supply voltage in volts
f=50; //frequency in hertz
P=6; //number of poles
ph=3; //three phase supply
R2=0.03; ... |
974248769e2062a5f6ccdf01321ff6d2bff8ba44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH9/EX9.4/Ex9_4.sce | 922ae5d396a6a5141d21464c0cb8b65919289932 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | Ex9_4.sce | //Example 9.4
g=9.80;//Acceleration due to gravity (m/s^2)
w_a=2.50*g;//Weight of forearm, m*g, (N)
w_b=4.00*g;//Weight of load, m*g, (N)
r1=4*10^-2;//Distance of force exerted by biceps from elbow (m)
r2=16*10^-2;//Distance of CG of forearm from elbow (m)
r3=38*10^-2;//Distance of load from elbow (m)
F_B=(r2*w_... |
5d0a03fc6086d591290d231a02a1d49ff6f92d52 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/meas_volt.sci | cece1ba8f0d96b757b7319532220bf2ba6e1ea6f | [] | 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 | 1,762 | sci | meas_volt.sci | function [x,y,typ]=meas_volt(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then //** GET INPUTS
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getori... |
9264771da3f60f5be0350cbecda2b8611250822e | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH8/EX8.9/8_9.sce | 9ba6353334d3dc2d6a10df43743d9f088b506d7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,313 | sce | 8_9.sce | clear;
clc;
printf("\t\t\tExample Number 8.9\n\n\n");
// effective emissivity of finned surface
// Example 8.9 (page no.-409-410)
// solution
// for unit depth in the z-dimension we have
A1 = 10;// [square meter]
A2 = 5;// [square meter]
A3 = 60;// [square meter]
// the apparent emissivity of the open cav... |
fc03a6737cffe511eb250a892b8e7d9eb9b42be9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH17/EX17.4/17_4.sce | e39675bc4c4a8942634401877614cef74317a657 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | 17_4.sce | printf("\t example 17.4 \n");
printf("\t approximate values are mentioned in the book \n");
// The area between the saturation line and the operating line represents the potential for heat transfer
// at T=79.3F
Hs=43.4; // fig 17.12
H=30.4; // fig 17.12
d1=(Hs-H);
printf("\t difference is : %.1f \n",d1);
//at ... |
7df10897abd0a56bb332c48ba8691fa531fa7626 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH8/EX8.10/8_10.sce | c6dd92db21a8adb94e5b70636f965c32f341ecb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,115 | sce | 8_10.sce | //To find velocity, torque and acceleration
clc
//Given:
NAO=100 //rpm
OA=150/1000,AB=600/1000,BC=350/1000,CD=150/1000,DE=500/1000 //m
dA=50/1000,dB=dA,rA=dA/2,rB=dB/2 //m
pF=0.35 //N/mm^2
DF=250 //mm
//Solution:
//Refer Fig. 8.21
//Calculating the angular speed of the crank AO
omegaAO=2*%pi*NAO/60 //rad/s
... |
112b38eb1d1be3ee6d44d199bcfe26741b5db2eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH15/EX15.8/Ex15_8.sce | 5d466c0aa64c73c908b5421fd9f0542e16fd9602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | Ex15_8.sce | //Caption: (a)Power alternator can supply (b)Power factor of synchronous motor (c)Load taken by motor
//Exa:15.8
clc;
clear;
close;
P=500//Load supplied by alternator(inKW)
pf=0.8//Power factor
e=0.9
L=P/pf
Ps=L-P
disp(Ps,'(a)Power alternator can supply(in KW)=')
Pr=P*tand(acosd(pf))
pfm=cosd(atand(Pr/Ps))... |
128e83e5e298721b800ecd282fa070c117505de8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH10/EX10.3/Example_10_3.sce | de461bd022dfe8a57bb176aa6432385f2d90d15f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,017 | sce | Example_10_3.sce | //Caption: Rank Correlation
//Test of Significance of rank correlation coefficient
//Example10.3
//Page375
X = [1,2,3,4,5,6,7,8,9,10];//rating by judge-1
Y = [2,4,5,1,3,6,7,9,10,8];//rating by judge-2
n = length(X);
rs = 0;
for i = 1:n
rs = rs+(X(i)-Y(i))^2;
end
rs = 1-6*(rs/(n*(n^2-1)));
disp(rs,'The r... |
fe4e764b8e82acd70f2c1807d225e38a94b8d62d | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH14/EX14.9/9.sce | 3f9a772fc65b8b4d9f588c7edb48b2609bd5e49a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | 9.sce | clc; funcprot(0);//Example 14.9
//Initializing the variables
As = 6;
d = 0.02;
f =0.01;
L = 1.5;
K = 0.9;
g = 9.81;
//Calculations
Ap = %pi*d^2/4;
function[y] = Qinv(h)
y = sqrt((4*f*L/d +K+1)/(2*g*h))/Ap;
endfunction
//By direct integration
t = -As*intg(3.5,2.25,Qinv); // Discharge is 2 m below... |
b4508b1bb0fb82eefd7a6a8f826d187359239df8 | da5f041febe4b5e738a88500e6b5c0eeea4da116 | /signals (1)/СХЕМА.sce | 8189d95d5910b1ae02a345fa3d77abeabc1c9f2d | [] | no_license | djouani/scilab-project | 283a5d7467957851787288bb0505a6ceac8b0e07 | 01331434dff090bdff27d416c57ee54484cd2c47 | refs/heads/main | 2023-07-25T04:49:09.341708 | 2021-09-08T11:39:39 | 2021-09-08T11:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,622 | sce | СХЕМА.sce | clear,clc, xdel(winsid());
pathname = get_absolute_file_path("СХЕМА.sce")
chdir(pathname)
winnum=1; win=string(winnum); //Создаем рабочую панель
cf=figure(winnum);
set(cf,'figure_name','ОКНО УПРАВЛЕНИЯ');
cf.figure_position=[200,100]
cf.figure_size=[1500,600]
startButton_Nazvanie = uicontrol(c... |
45a109b28fa0a24910713de5d81f8271518ab7df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH12/EX12.12/Ex12_12.sce | 56f16d1000bb54d4af25b1630af6ec50d483342a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Ex12_12.sce | Vgs1=-5;
Vgs2=-0.75;
Gm01=0.006;
Gm02=0.002;
Vgsoff1=-8;
Vgsoff2=-2;
Gm1=Gm01*(1-(Vgs1/Vgsoff1));
Gm2=Gm02*(1-(Vgs2/Vgsoff2));
RD=8200;
RL=100000;
rD=(RD*RL)/(RD+RL);
Avmax=rD*Gm1;
Avmin=rD*Gm2;
disp(' ',Avmax,"Avmax=")//The answers vary due to round off error
disp(' ',Avmin,"Avmin=")//The answers vary du... |
afed5f533b88f13ab59473cba8851165ffbcb2ed | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /newton.sce | 1f5003e1cdff64891cdc7bc8612b716d8630e05d | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | newton.sce | exec('path', -1)
x=[0:.1:10];
deff('z=f(x)','z=exp(x)-3*x');
deff('z=fp(x)','z=exp(x)-3');
z=newton(f,fp,0.25,10,0.001)
|
f9d0c0e1c83839b427850f429d9d0ff7593ec38e | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH20/EX20.21/20_21.sce | 67d67f53ced2c25b031f2140ebf7a1f91309b9bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | 20_21.sce | //Problem 20.21: The output stage of an amplifier has an output resistance of 112 ohm. Calculate the optimum turns ratio of a transformer which would match a load resistance of 7 ohm to the output resistance of the amplifier.
//initializing the variables:
R1 = 112; // in Ohms
RL = 7; // in Ohms
//calculation:... |
149fd0193e76741203cbc91a8c0c0c7114c405ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH7/EX7.7w/7_7w.sce | 52a405eec0c495e22c6c18115c6b855ee05d8071 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | 7_7w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 7.7w
//calculation of the value of force exerted by the air on the plane
//given data
v=900*10^3/(60*60)//speed(in m/s) of the fighter plane
r=2000//radius(in m)of the vertical circle
M=16000//mass(in kg)
g=9.8//gra... |
cea2bf1ff02c8e2dfa57c0533812cb110c46d475 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/errcatch.tst | e3cdd85b71d68c5d7df6c264517a7eba58cae205 | [
"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 | 1,952 | tst | errcatch.tst | clear;
errcatch(4,'continue','nomessage')
a
if iserror(4)==1 then errclear(-1),else pause,end
a;b=1;
errclear(-1),if b<>1 then pause,end
b=[];for k=1:3,b(1,k)=k;a,end
errclear(-1),if or(b<>(1:3)) then pause,end
deff('foo()','x=a','n')
foo();if iserror(4)==1 then errclear(-1),else pause,end
deff('foo()','x=a')
foo();i... |
d9bac6deb7ac79f4fe6744b69774a1d24da16d0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH3/EX3.21/EX3_21.sce | 62f6d131bc5b21dcb477d3d47d788c5ae024282b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX3_21.sce | //Example 3.21
//Determine the response of the below relaxed system.
clc;
close;
n=-10:.01:10;
for i=1:length(n)
if n(i)<0 then
h(i)=0;x(i)=0;
else
h(i)=(1/3)^n(i);
x(i)=2^n(i);
end
end
y=convol(h,x);
//figure
f=scf(0);
plot(n,h,'black');
xtitle('input ... |
12e2416b5034618ff85d192d20b74f99c7fd1ad2 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 2/Aula 10 - Quadratura Gaussiana/Calculadora_de_pesos_da_quadratura.sce | e4843123de3edff2b06095226e6293ecf0217ce7 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Calculadora_de_pesos_da_quadratura.sce | //Exemplo: Sejam os nós x [0 0.6 1]. Encontre os pesos Ai da quadratura I = A1*f(x1) + A2 * f(x2) + A3 * f(x3) tal que o erro seja o menor possível
//para integrar f no intervalo 0 a 1
//Primeiro calcula A que neste caso com os valores 0, 0.6 e 1 será "A = [1 1 1; 0 0.6 1; 0 (0.6)^2 1]"
//Depois de calcula b, que no i... |
f5260050a3567d813592f082c054f0e25bf09f75 | d8be154f94daec7c0bf6e452bfd38c0d324c8ae2 | /scripts/complexe.sci | 540d7b8324b1c336519a3f574dd128c66a1fb312 | [] | no_license | BasileBr/Tatouage | bead5b85415ed359d899ce2fb211501586c9d53f | 8ac0922899085b168f78faacd24a34b55cd1b783 | refs/heads/master | 2020-03-29T02:20:49.262172 | 2018-05-10T17:38:30 | 2018-05-10T17:38:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sci | complexe.sci | function [mod,phase] = complexe(matrice)
[N,M] = size(matrice)
for x = 1:N
for y = 1:M
mod(x,y) = abs(matrice(x,y))
phase(x,y) = atan(imag(matrice(x,y)),real(matrice(x,y)))
end
end
endfunction
|
21823dee5f67d2046ac641911a6a927bf2af7096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH11/EX11.2/2.sce | a1be2da55045560c03ab2a9878e41af7362eb2f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | 2.sce | clc
p1=75.882; //cm of Hg
T1=286; //K
V1=0.08; //m^3
p2=76; //cm of Hg
T2=288; //K
V2=p1*V1*T2/p2/T1;
m=28; //kg
c=4.18;
t2=23.5; //0C
t1=10; //0C
Q_received=m*c*(t2-t1);
HCV=Q_received/V2;
disp("Higher calorific value =")
disp(HCV)
disp("kJ/m^3")
amt=0.06/0.08; //Amount of vapour formed per m... |
6ba3e789ce2b7a72b8975f692dbb9d67441d3ea7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/xdess/zgrid.sci | fa4669215ce26cb7b946037fd218842a950d8a41 | [
"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 | 950 | sci | zgrid.sci | //<>=zgrid()
//
xselect();
square(-1.1,-1.1,1.1,1.1);
xtitle( ['loci with constant damping and constant frequencies';...
'in discrete plane'],' ',' ');
//
xsi=0:0.1:1 //
// 2 2
//roots of s + 2*xsi*w0*s +w0
//given by : w0*(-xsi+-%i*sqrt(1-sxi*xsi))
raci... |
2a3dc40e377c06f26116b9c009104e6ac806dd56 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/BIPO/RU62HEJ/ATWM1_Working_Memory_MEG_RU62HEJ_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | d9e423593ca80393514b1e4ffdf47552a5c0d791 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
0d8055234a277617824ba600b8ed3664c29251d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.4/4.sce | bf9cba2f996de990709b6d47fad22d829237ab5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | 4.sce | clc
clear
//INPUT DATA
h=1//miller indices with respect to x axis
k=1//miller indices with respect to y axis
l=0//miller indices with respect to z axis
d=2.86*10^-10//the distance between miller indices in m
//CALCULATION
a=(d*(sqrt(h^2+k^2+l^2)))/10^-10//The lattice constant in m *10^-10
//OUTPUT
printf(... |
4474c7418831058e4962d488c98460f8bdff402a | 7c3f5d0908e4b8296e6f510e1b52197d07f7aa50 | /tabelaPosicoes.sce | a51f2759a3f8050635d0bee35fdf5a217ed0f5f9 | [] | no_license | mtxslv/Projetos-Calculo-Numerico | 883da40114255c871b47fb1882e3890a63d71d9d | 96949e60d384d973f048712a5222796dc989a088 | refs/heads/master | 2020-03-26T08:43:46.551491 | 2018-09-01T23:19:56 | 2018-09-01T23:19:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | tabelaPosicoes.sce | clc
C_x = [485 490 545 611 606 596 567 546] // x do Centro
C_y = [308 312 315 335 351 352 343 344] // y do Centro
P_x = [524 317 169 582 758 867 1004 515] // x do movimento pendular
P_y = [1271 1254 1194 1302 1299 1274 1178 1276] // y do movimento pendular
tmps = [0 106 305 644 745 815 1020 1393] // tempos d... |
a252112b89a5283e5e591feeeb7ebb4674ec3f8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.22/ex5_22.sce | 16e567e68478d86fa2ca9cea4992c053b8bf027e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_22.sce | //Chapter-5, Example 5.22, Page 182
//=============================================================================
clc
clear
//INPUT DATA
Z1=7+((%i)*5);//impedance of branch1 in ohms
Z2=10-((%i)*8);//impedance of branch2 in ohms
V=230;//supply voltage in volts
f=50;//frequency in hz
//CALCULATIONS
Y1=1/(Z1)... |
5664e8ddefa0b555dc717a886eb529d1085b67ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH4/EX4.4/4_4.sce | 6f23cb3731c4595fda91709d4a6b83c7992b4085 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | 4_4.sce | clc
//initialisation of variables
t=1200//F
t1=1660//F
p1=39.7//lbf
p2=14.7//lbf
cp=0.24//Btu
v1=4930000//ft
//CALCULATIONS
T=(t1)/(p1/p2)^(0.4/1.4)//R
V=cp*(t1-T)//Btu
V2=sqrt(v1)//ft per sec
//RESULTS
printf('the steady of flow equation reduces=% f ft per sec',V2)
|
603814c10ec03c1dd445e2cc50fbe86d174539c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH9/EX9.2.2/9_2_2.sce | 99bdc13fb868557ba3b895eec057ce3af3311410 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 9_2_2.sce | clc
//initialisation of variables
A= 600 //ft^2
W= 40 //lbf/ft^2
n= 75 //percent
r= 10
v= 300 //miles/hour
//CALCULATIONS
L= W*A
D= L/r
P= D*v*5280/(60*33000)
hp= P*100/n
//RESULTS
printf (' brake horse-power of the engines= %.f h.p',hp)
|
bc43690155b0592cb8492febb73aeae9cbef8215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH23/EX23.7/C23P7.sce | 304ea5b89a3fec090b6affa0cfece11e519b6132 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,045 | sce | C23P7.sce | clear
clc
//to find change in internal energy
//Given:
//refer to figure 23-17 from page no. 529
//refer to problem 23-4
//final volume
vf = 1.0//in m^3
//initial volume
vi = 4.0//in m^3
//initialvolume
pi = 10//in Pa
//value of constant for monoatomic gas
gama = 1.66
//number of moles of ideal gas
n =... |
a9cdfdc07c0b421907cb0d4ab8d01426e1a2ec06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH11/EX11.2/example11_2.sce | 27ace5acc84670eeb43406f5b0e7977a0deb6f85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | example11_2.sce | disp("Part a");
r1=5*10^(-2);
r2=7*10^(-2);
n=400;
i=2;
f=1.5*10^(-4);
d=r2-r1;
a=%pi*d^2/4;
b=f/a;
mmf=n*i;
r=(r1+r2)/2;
l=2*%pi*r;
h=mmf/l;
mu=b/h;
disp("the permeability of the iron core (in Wb/At.m) is");disp(mu);
disp("Part b");
mu0=4*%pi*10^(-7);
mu1=mu/mu0;
disp("the relative permeability is");... |
e97c2777411fe9e9552d10d01f8d385a678f20d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH5/EX5.10/Ex5_10.sce | 37ea5997860bfdbaa675bd2d2be313dfa9deb5d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex5_10.sce | clc
P1=100*10^3
v1=1
v2=1/16
n=1.25
T1=300
P2=P1*((v1/v2)^n)
mprintf("P2=%fMPa\n",P2/(10^6))
T2=(T1*P2*v2)/(P1*v1)
mprintf("T2=%fK\n",T2)
R=8.314
W=(R*(T1-T2))/(n-1)
mprintf("W=%fkJ/mol\n",W/1000)
gama=1.4
q=((R*(T2-T1))/(gama-1))+W
mprintf("q=%fkJ/mol",q/1000)
|
b2415e6f38d9462c2049e2dcea072b56c529589e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH16/EX16.2/Chapter16_example2.sce | 4c006fe68d02442e1608811b722859f995b09d0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | Chapter16_example2.sce | clc
clear
//Input data
d=0.175;//The diameter of the bore in m
pi=3.141;//The mathematical constant of pi
L=0.32;//The length of the stroke in m
p=6.5;//Mean effective pressure in bar
pp=0.4;//Pumping loop mean effective pressure in bar
N=510;//The speed of the engine in rpm
pm=0.65;//Diagrams from the dead cy... |
4f9d970f67ea1d05dbb32c59a0293c75059ae333 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /NT ACE LEFT CLOSE SHORT 5BOT.sce | 11ca6df5c9a1454a95ce7238fa181e315f28ff65 | [] | 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 | 47,620 | sce | NT ACE LEFT CLOSE SHORT 5BOT.sce | Name=NT ACE LEFT CLOSE SHORT 5BOT
PlayerCharacters=Counter-StrikerplayerNT
BotCharacters=Counter-Striker BotNT.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-StrikerplayerNT
AddedBots=Counter-Striker BotNT.bot;Counter-Striker BotNT.bot;Counter-Striker BotNT.bot;Counter-Striker BotNT.bot;Counter-Striker BotNT... |
3ce557e8d4e2ff1e25f6c3e40ba06d9c7238f386 | f1d98f30cf89c5cd6339af6cecba8f945b5ec75a | /Project/Chapt3/movavew.sci | 9badf12e7033cf82fed180cba159e1ac30f36968 | [] | no_license | robin29man/scilab_practice | 1a43a27b7fd732fb8ad8a34e0665351467a10678 | 5dbd37cd3a0f35d238bd1cc519f903924036ed51 | refs/heads/master | 2020-05-24T16:34:56.604967 | 2019-05-22T13:32:39 | 2019-05-22T13:32:39 | 187,362,476 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sci | movavew.sci | function [y,q]=movavew(x,m,w)
n=length(x)
y=zeros(1:n-2*m)
q=0
for i=1:n-2*m
y(i)=0
for j=1:2*m+1
y(i)=y(i)+x(i+j-1)*w(j)
end
q=q+abs(x(i+m)-y(i))
end
q=q/(n-2*m)
endfunction
|
41497565100963dff7b0e3c8a83554eeb64e85e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH14/EX14.01/14_01.sce | bf6d193881c00c0ae95cf0b1451af3af87fc37e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | 14_01.sce | //Problem 14.01: Determine the periodic time for frequencies of (a) 50 Hz and (b) 20 kHz
//initializing the variables:
f1 = 50; // in Hz
f2 = 20000; // in Hz
//calculation:
T1 = 1/f1
T2 = 1/f2
printf("\n\n Result \n\n")
printf("\n (a) Periodic time T = %.2f secs",T1)
printf("\n (b) Periodic time T = %.2... |
68f46ddaba08a1132be515e06ea18e62188edcb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH8/EX8.6/Ex8_6.sce | 674109f0aa6222d22ddb6a627c77db835c4fc299 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,411 | sce | Ex8_6.sce | //chapter-8 page 338 example 8.4
//==============================================================================
clc;
clear;
//For a reflex klystron
n=2;//peak mode value
V0=500;//beam voltage in V
Rsh=20000;//Shunt resistance in ohms
L=0.001;//distance in m
f=8*10^(9);////Operation frequency in Hz
V1=200... |
6cff05a63ad7e73977212d3c5f5366ca233e15d8 | 381be712cd10ab88d51ef144b1781befee729ab9 | /Project1/Mux16.tst | 91958eecf3b47fdf802ca9a9d1f06cd5eef96287 | [] | no_license | ryoua/OS | 125846d9c121124f6487ea043db43c22e6aafd79 | 1b6de0cc2fbf2e432a552b9c99b0be63a4fdb6c9 | refs/heads/master | 2020-03-26T21:40:05.884264 | 2018-11-19T12:37:00 | 2018-11-19T12:37:00 | 145,401,691 | 14 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | tst | Mux16.tst | load Mux16.hdl,
output-file Mux16.out,
output-list a%B1.16.1 b%B1.16.1 sel%D2.1.2 out%B1.16.1;
set a 0,
set b 0,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set a %B0000000000000000,
set b %B0001001000110100,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set a %B1001100001110110,
set b %B0000000000000000... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.