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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11eade39f67bcb6ead18c88bc185074c7eb8a0e9 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Community bonding /Dora.sce | 5efafd6d0d59746af9d39a7811fc96f14fdcb855 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Dora.sce | // Importing necessary python libraries
pyImport pandas
pyImport Dora
dora = Dora()
pd = pandas;
df = pd.DataFrame([1, 2, 100,2, 200,1, 6, 5])
dora = dora.Dora(output = 0, data = df)
disp(dora.logs) |
30e50cf1286fc3ceb1a42f1e48d71a473696b3a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.31/Ex1_31.sce | 996e2888261e27885bcb032a24969961328c76ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,216 | sce | Ex1_31.sce | //Example 1_31
clc;
clear;
close;
format('v',5);
//given data :
V1=12;//V
V2=6;//V
V3=24;//V
R1=4;//ohm
R2=2;//ohm
R3=6;//ohm
R4=3;//ohm
R5=12;//ohm
R6=16;//ohm
//solution by Norton Theorem
RL=R6;//ohm
//Thevenin theorem
//Loop 1 applying KVL
//V1-(R1+R2)*I1+V2-R3*(I1+I2);
A1=[-R1-R2-R3 -R3];//Coeff... |
8d06e6fc1ea04cc570446ad40a83f5cd3e4515a0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/metanet/knapsack.sci | 8439298364c4ea2f0701b25a64ef05c34a414e31 | [
"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,004 | sci | knapsack.sci | function [earn,ind]=knapsack(profit,weight,capa,bck)
// Copyright INRIA
[lhs,rhs]=argn(0)
if (rhs<3|rhs>4) then
error(39)
elseif (rhs==3) then
bck=-1;
end;
if (bck<0) then bck=-1;end;
n=size(profit,2);nn=size(weight,2);
// check profit weight capa
if ((n<>nn)|(n<2)) then
error('Bad dimensions of input vectors')... |
84e799e2cdd86f68969007f795eaab166b464b74 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/sci2for/cod2for.sci | 25d9202fe83f180a8743657260cc51edffa75523 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"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 | 3,137 | sci | cod2for.sci | function [txt,ilst,vnms,vtps,nwrk]=cod2for(lst,ilst,vnms,vtps,nwrk)
//
//!
nlst=size(lst)
txt=[]
ilst=ilst-1
while ilst<nlst then
ilst=ilst+1
op=lst(ilst)
if type(op)=15 then return,end
//write(6,'cod2for '+op(1)+' '+string(ilst))
select op(1)
case '1' then //stackp
//write(6,'stackp '+op(2));pause
... |
da8353274bf99407bae4cc6c76a12eee4a6403ef | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/olo.tst | 3b427fef8b4d58dabf21344b8fcf002d1945dc78 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 419,037 | tst | olo.tst | louhindu louhindua N;PRT;SG
kubaidu kubaidu N;NOM;SG
čiäry čiäry N;NOM;SG
kulku kulkuloi N;PRT;PL
käpčy käpčiä N;PRT;SG
päivikkö päivikkyö N;PRT;SG
tägäläine tägäläzii ADJ;PRT;PL
ižändättömys ižändättömytty N;PRT;SG
piähengi piähengi N;NOM;SG
piättäi piättäjöi N;PRT;PL
toppoli toppoli N;NOM;SG
mečänhoidoala mečänhoidoa... |
2939aa9aa28966fc2bbbbb2b3e9d0ac953e2efc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH10/EX10.12/example10_12.sce | fed16d1f19944dbe5b4e3a4ef438cd9ff3fc2c76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | example10_12.sce |
//example 10.12
//page 409
clc; funcprot(0);
//initialisation of variable
b=12;//width
y1=6;//depth
g=32.2;
delz=0.75//head loss
A=6*12;//area
y2=6-1-0.75;//depth
//using continuity
k=1.41;//V2/V1
//solving head loss
V1=((2*g*delz)/(k^2-1))^0.5;
Q=A*V1;
disp(Q,"flow rate(cfs)=");
clear
|
f7cdbd040b62942c5e5f0ec5bf47d321eff089eb | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.37/EX2_37.sce | 51726f2bcd8b2b5969b9550db720fa2305af834a | [] | 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 | 441 | sce | EX2_37.sce | clc;funcprot(0);//Example 2.37
//Initilisation of Variables
Ka=200;....//thermal conductivity of aluminium rod in W/m*degrees celcius
xa=40;....//distance of aluminium rod from base when temp is Ta in cm
x=20;...//distance of latter rod from base when temp is Ta in cm
//calculations
K=Ka*(x/xa)^2;....//thermal c... |
3ae05d7387150442a67ba3a90fd8b05333da0880 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH7/EX7.1/Ex7_1.sce | 1bb0de054f73d030fe630752bb88c7cd89784bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | Ex7_1.sce | //Ex7_1
clc
Ie = 6.0*10^-3
Ve = 1.1
Re = Ve/Ie
disp("Ie = "+string(Ie)+"A")//current flowing in emitter resistance
disp("Ve = "+string(Ve)+"V")//voltage drop across emitter resistance
disp("Re = "+string(Re)+"ohm")//emitter resistance
|
c7bcc59eee0279af9ae2ffccd2f0d06a1b3e8019 | 2e494112a7fd2c06f9bedfc7be770d24e2350e2b | /1857_2.sce | ba62f4d7a2f16d92428d44f2e45be66a088bcbbc | [] | no_license | NipunBhat/SCILAB | d6d8b0ff0318acabbca724b8a3325cd4487ecfe3 | db25212389eaae4de650b6d4118240c3dbf4f860 | refs/heads/master | 2022-09-25T23:50:48.302369 | 2020-06-04T05:31:45 | 2020-06-04T05:31:45 | 269,266,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sce | 1857_2.sce | function col_span(a,n)
disp("Column Span:");
disp("Converting to row reduced form");
for i = 1 : n - 1
for j = i + 1 : n
a(j,:) = a(j,:) - (a(j,i) / a(i,i)) * a(i,:);
end
disp(a);
end
for i = 1 : n
if(a(i,i) <> 0)
a(i,:) = a(i,:) / a(i,i);
... |
f8a441ed350fc233df4e5c2d107e4efa37151e20 | f7378eec5e8815bdba8a29ea1beec900bbac11b1 | /lab1/sampling-code.sci | 48e78d841f5ef337df2e32ae9e6603688316716e | [
"MIT"
] | permissive | andersoncordeiro/ComputerVision | dba8ed6a1a6c890b2aa7b8d4159b07cf311e8c70 | 163bd0e9cbcb7f0046e5f46f78d3967785b0e8b4 | refs/heads/main | 2023-03-05T18:35:06.740972 | 2021-02-16T14:16:09 | 2021-02-16T14:16:09 | 339,419,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sci | sampling-code.sci | // This is sketchy code - devise your own implementation
for i from 1 to width in steps of 2
for j from 1 to height in steps of 2
outputimage (i, j)= inputimage(i, j)
// Please also provide faster implementations than explicit for loops.
|
da5c274945212d4d9e22b23255db788a4e41d5c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.16/16.sce | f2853f1e4491d5016726114552244d4977b4e5ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 16.sce |
//Variable declaration
rho=47*10**-2
e=1.6*10**-19
mu_n=0.39
mu_p=0.19
E=10**4
//Calculations
ni=1/(rho*e*(mu_n+mu_p))
Dh=mu_p*E
De=mu_n*E
//Results
printf('ni = %0.3f *10**19 /m**3 \n',(ni/10**19))
printf('Drift velocity of holes %0.3f ms**-1 \n',Dh)
printf('Drift velocity of electrons= %0.... |
c0068cb0ffdd84accf1e5c844a74e44782b7c841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.24.1/ex_24_1.sce | 5745698d7cae33dbcff1567b04642674c02ee20e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,258 | sce | ex_24_1.sce | // The equation x^3-5*x+1==0 has real roots.
// the graph of this function can be observed here.
xset('window',2);
x=-2:.01:4; // defining the range of x.
deff('[y]=f(x)','y=x^3-5*x+1')... |
0e55552fbecb9fbae9877fb4187f864078c33fdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH4/EX4.2/4_2.sce | 31058bbf95f92377a21cbba3f41382e070099ae5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | 4_2.sce |
clc
//initialisation of variables
d= 0.62
g= 32.2 //ft/sec^2
b= 4 //ft
H1= 2 //ft
a= 2 //ft
//CALCULATIONS
D= (2/3)*sqrt(2*g)*d*b*((H1+a)^1.5-(H1)^1.5)
//RESULTS
printf (' Quantity of water flowing thourght the pipe = %.1f ft^3/sec',D)
|
4b62de54344bea86486d1e2b6b97deb10163dc3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH12/EX12.3/Ex12_3.sce | e81e4e45cf0727d041d89a0f7d27667769712f86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex12_3.sce | clc;
clear;
delta_x=10^-9 //uncertainity in the position of electron in m
h=6.63*10^-34 //Plancks constant in J-s
//calculation
delta_p=h/(4*%pi*delta_x)
mprintf("The uncertainity in momentum of the electron is greater than or equal to %1.1e kgms^-1",delta_p)
//The answer provided in the textbook is wrong.
|
9c2ea9c3cccb39d288f14446a6c4e9cbe830b581 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3588/CH3/EX3.3/EX3_3.sce | 8691ebbd380d311abf823694622cd271c638ae4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,941 | sce | EX3_3.sce | //Clearing Console
clc
clear
//First, note that the 3-D truss with four nodes has 12 possible displacements. However,
//since nodes 1–3 are fixed, nine of the possible displacements are known to be zero. There-
//fore, we need assemble only a portion of the system stiffness matrix to solve for the three
//unknown disp... |
a6998b3c74c024f63356a259e24b84127b3f83aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX1.1/example14_1.sce | 747edaa0b29224d9fcfac5c82f36499e1dbe65bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example14_1.sce | clc
// Given that
E = 75 // energy of photon in eV
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
e = 1.6e-19 // charge on an electron in J
// Sample Problem 1 on page no. 14.20
printf("\n # PROBLEM 1 # \n")
printf("Standard formula used \n")
printf(" E = h*c/lambda \n")
f = E * e / h
lam... |
474f3e8b38aa401a49bf5412cb8eb9611a3ceccf | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/m7/m7_grupo.sce | 54c6f3e751025877e30cbedcbcbe8c24579a1a64 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,429 | sce | m7_grupo.sce | clear
/**
* Se diz pra extrapolar/interpolar em menos pontos,
* só meter menos pontos nnos vetores abaixo
*/
x=[-1 0 1 2]'
y=[1 2 3 2]'
n=length(x)
plot(x,y,'ro-'),xgrid
// Monta matriz de Vandermonde
for i=1:n
for j=1:n
V(i,j)=x(i)^(j-1)
end
end
a=inv(V)*y
X=0.01 // x para interpolar
// Caso dese... |
11698187dde1270397df3654912a3f2754186ba7 | 4d006f4893193d20441423bef19f0a20798455ba | /Scilab/gaborErr.sce | 7bcb376666dc45fa44efa11087311e09aa8da58d | [] | no_license | caaarllosR/ImageProcessing | b1447f7a37ac26061f1d695779d7cd723f26156a | 7c40dc31c5b3cdf028b19dbbd4d2946ef725a400 | refs/heads/master | 2020-04-08T02:57:21.980270 | 2018-11-24T16:53:43 | 2018-11-24T16:53:43 | 100,518,670 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,005 | sce | gaborErr.sce | clear
close
xdel(winsid()) // close all windows
clc
imOrigin = imread('images\finger.png');
[x,y] = size(imOrigin);
for i = 1:x
for j = 1:y
im(i,j) = imOrigin(i,j,1);
end
end
im2 = [cat(2, double(zeros(x,2)), double(im), double(zeros(x,2)))]; //adds 2 zeros columns to the right and left
im2 = [cat(1, dou... |
f75aef36643d288b26a5d3914274991a1648ae8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH3/EX3.4/Ex3_4.sce | 438dae1c9b5fdec60e1599af3f47159a594d4033 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,138 | sce | Ex3_4.sce | clc;
p1=4; // number of poles in slip ring induction motor
p2=6; // number of poles in synchronous motor
f=50; // frequency of supply
ns=(120*f)/p2; // synchronous motor speed
ni=(120*f)/p1; // induction motor speed
disp('case a(1)');
// when synchronous motor is driven in direction opposite to the rotating fi... |
890e4fa8af84699a71a1740ca3a9f1f3835aeb3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH8/EX8.08/8_08.sce | 7d332823e7b1629b9fb7fb3633ffe9601dc7f662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_08.sce | //Minimum diameter//
pathname=get_absolute_file_path('8.08.sce')
filename=pathname+filesep()+'8.08-data.sci'
exec(filename)
//Value of dPmax(in psi):
dPmax=p1-p2
//Q in cubic feet/sec:
Q1=1500/60/7.48;
//Initially assume diameter to be 4inches:
D=4;
//Reynolds number:
Re=4*Q1/%pi/v/D*12
//For this value,
... |
d7cc42b0145ba64da0cacd225cdad3f6b183612c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH2/EX2.17/Ex2_17.sce | 078756ca0affb8f248b3baba793bab4585528baa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Ex2_17.sce |
//Variable Declaration
pi = %pi
T=1.009638376 //Time in Julian centuries from Example 2.11
UT=13 //Universal time(hours)
//Calculation
GST=(99.6910+36000.7689*T+0.004*T**2)*3.142/180 //GST(radians)
UT=2*pi*UT/24 //Universal time converted to fraction of earth rotation (radians)
GST=GST+UT
GST=(modulo(GST,2*p... |
297fc84e4a416191b4190bc41788ceb8ca730585 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Revolving Tracking.sce | ae443eb87f18937fc4ce4c487383d12783746199 | [] | 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 | 115,622 | sce | Revolving Tracking.sce | Name=Revolving Tracking
PlayerCharacters=RT Challenger
BotCharacters=RT Static Target.bot;RT Strafing Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=RT Challenger
AddedBots=RT Static Target.bot;RT Static Target.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=2;2
MapName=infinity_circuit.map
MapScal... |
c75c4d2b8aa96d61865ad616f4648f44e54704a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH11/EX11.8/11_8.sci | 644b936a21cc2650d976fe1de3a94578e1d82d40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sci | 11_8.sci | clc();
clear;
//To calculate the amount of Uranium(A=235) required
A=235; //mass number of uranium
p=1000; //amount of electric power produced
e=0.32; //energy conversion efficiency of the plant
I=p/e; //... |
1dc0eaec9b6da418662a6d623addcc272ffdcae5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.9/Ex9_9.sce | dfeab1bf2260631930f89a5dda22264698be6e54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex9_9.sce | clear
//Given
q=3.2*10**-19
B=1.2
r=0.45
m=6.8*10**-27
//Calculation
//
v=(q*B*r)/m
f=v/(2.0*%pi*r)
K=(0.5*m*v**2)/(1.6*10**-19)
V=K/2.0
//Result
printf("\n Required potentila difference is %0.0f *10**6 V",V*10**-6)
|
231e7dec0774d37e2ac665ae8d29a82cea021ba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH8/EX8.16/Ex8_16.sce | b5d882305f83df9f80648e004f3e2729bdd76c3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | Ex8_16.sce | clc
m = 1000 // Mass of fish in kg
T0 = 300 // Ambient temperature in K
P0 = 1 // Ambient pressure in bar
T1 = 300 // Initial temperature of fish in K
T2_ = -20 // Final temperature of fish in degree Celsius
Tf_ = -2.2 // Freezing point temperature of fish in degree Celsius
Cb = 1.7 // Specific heat of fish bel... |
8d2d62201bb0d99086d68ce10ce2db4ba2e171a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH6/EX6.12/Ex6_12.sce | 8698c3ef64b81df0d05bfb5d763711014cbe4878 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Ex6_12.sce |
// Theory and Problems of Thermodynamics
// Chapter 6
// Thermodynamic Potentials and Availability
// Example 12
clear ;clc;
//Given data
m = 1000 // mass of steel lump in kg
T1 = 1200 // initial temperature of lump in K
T2 = 400 // final temperature of lump in ... |
b5ec72e2e2937fb4f1ddd50fb58119897bf6a86f | 89032afea0526303299f01986ed2bca8cc6b35a0 | /day_20.tst | e823c224b9685e08247979cd404ed773cd57f9e7 | [
"MIT"
] | permissive | watmough/Advent-of-Code-2017 | 8937b5cdf021f599fe0b20f379b13b2de56a48a5 | 0de5d71999059a153b56fbcc5f9ed34dfae31bd5 | refs/heads/master | 2021-10-02T21:29:40.469908 | 2018-11-30T23:59:36 | 2018-11-30T23:59:36 | 112,746,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | tst | day_20.tst | 1000 0 0 -1 0 0 0 0 0
-1000 0 0 1 0 0 0 0 0 |
a86496bd47d4c5cf4fca2b410cc57aa2c8878162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH3/EX3.13/3_13.sce | f6c7fc3c281df80896710369b327e8aa11744395 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | 3_13.sce | //Problem 3.13: Some copper wire has a resistance of 200 ohms at 20°C. A current is passed through the wire and the temperature rises to 90°C. Determine the resistance of the wire at 90°C, correct to thenearest ohm, assuming that the temperature coefficient of resistance is 0.004/°C at 0°C.
//initializing the variab... |
d2c9b7c64e5b883ebdb48705f80a29fb6e00d0f3 | daf9a7434ea9996fc591a79030570f48e396cdc5 | /Discrete/10 variables/DiscreteCDF.sce | 633ec15e07fa3291f09684b79ff1c861cb8d9a91 | [] | no_license | isabelle-le/MonteCarloSimulation | c8dbfc2f5485f6dc6291654032ecad6c01cce401 | f96e0a11569b3e4dade452d99e9c1bbd6c3efb81 | refs/heads/master | 2020-04-05T22:40:20.686962 | 2018-11-12T19:18:50 | 2018-11-12T19:18:50 | 157,263,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | DiscreteCDF.sce | //Discrete CDF
// Le Thu Huong ADEO1
clear
N=1000;
alpha=0;
x(1)=1;
x(2)=0.5;
x(3)=8;
x(4)=0.8;
x(5)=5;
x(6)=4;
x(7)=3;
x(8)=0.4;
x(9)=7;
x(10)=10;
p(1)=0.03;
p(2)=0.28;
p(3)=0.1;
p(4)=0.08;
p(5)=0.1;
p(6)=0.01;
p(7)=0.01;
p(8)=0.02;
p(9)=0.3;
p(10)=0.07;
delta_t=0.05;
t0=0;
tmax=10;
t=[t0... |
04c036424ddb8904f64ffb388014ed06aa198982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH1/EX1.21/Ex1_21.sce | 30a706dd0bd414ad2790bab1d19982012211f17b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex1_21.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.21
//Given Data Set in the Problem(SI Units)
V1=0.6
t=50
T1=273+t
P1=0.3*10^6
V2=0.3
k=1.4
//Calculations
//1) Isothermal
//Using pv=constant
P2=P1*V1/V2
mprintf("The Final Pressure ... |
ca23a13edb3426f1a70dc0ec511ef6c5fbc57b64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH16/EX16.8/ex16_8.sce | 0f9a8c398ce2b897a2ce3214be6f5dd65c6930b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | ex16_8.sce | clc;clear;
//Example 16.8
//given data
roi=15;//rate of increase in Wb/s
tr=10^6;//total revolutions
//calcualtion
IE=roi*10^-6;//increased energy in MeV
FE=IE*tr;
disp(FE,'Fianl Energy in MeV') |
c872d753aaee696dbb8e391467648c009f6af690 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH3/EX3.14/example3_14.sce | 7553a6f4a50f4bb601aab1123fb7864ed89c2453 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | example3_14.sce |
//example 3.14
//calculate Discharge for water course
clc;
//Given
CA=1200; //culturable area
IA=0.4; //intensity of irrigation of crop A
IB=0.35; //intensity of irrigation of crop B
bA=20; //kor period of crop A
bB=15; //kor period of crop B
deltaA=0.1; ... |
e2ad5765c2e5c59a83cb9497c93c104f663dfedf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.14/Example7_14.sce | 4cd2231bcc5281e93b7dc0658a0481f0b45ed361 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | Example7_14.sce | //Chapter-7,Example7_14,pg 7-38
Rb=1*10^3
Ra=5*10^3
V=25
VRb=Rb*V/(Ra+Rb)//voltage across Rb
Vr=5
//case-1
S=1*10^3
Rv=S*Vr
Req=Rb*Rv/(Rb+Rv)
VReq=Req*V/(Req+Ra)
err=(VRb-VReq)*100/VRb
acc=100-err
printf("voltmeter reading case-1\n")
printf("VReq=%.2f V\n",VReq)
printf("percentage error\n")
printf("err=... |
b9782f5ae5bb2fc545b57dd8c4adc02a0913f2e1 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 10/Lista Baron/sor.sci | 89cae92c89b894745f81b5760ffcfccaf4046ac4 | [] | 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 | 363 | sci | sor.sci | function [x,niter]=sor(A,b,w)
[l,c]=size(A);
D=diag(diag(A));
L=-1*(D-tril(A));
U=-1*(D-triu(A));
niter=0
x=zeros(l,1);
crit=1
normb = norm(b);
while(0.00000001 < crit)
niter=niter+1
x=-inv(D+w*L)*((w-1)*D+w*U)*x+w*(inv(D+w*L))*b
crit = norm((A * x - b) ... |
13b7a5b21878d8a554808b0ea9b7b3f95fc5f889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.1.2/ques1_2.sce | 6ce8152670c26410ef26dd12dd154caa0b9d00ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | sce | ques1_2.sce | //ques1
disp('Indefinite integral');
syms x
f=integ((cos(x))^7,x);
disp(f);
|
2a8a0569114f64ed15d4c32a329037d592eff131 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /ProjetTomEval/NewTomeval/doc/TestProtoCarat/Test pb offre élargie/Résultat avant/Resultat de prince ttes chaines.tst | 9749c1c9429afad3d85b1a47d342859154dc96ca | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,287 | tst | Resultat de prince ttes chaines.tst | 5860000;1056
@1
526;4620;78.84;39.83;32.01;26299;448.8;5.69;0.9
20;15;27;38;47;55;62;67;72;76;80;83;85;87;89;91;92;93;94;95;96
@2
0;1239;21.16;
1;811;13.84;78.84
2;668;11.41;65.00
3;533;9.11;53.59
4;430;7.34;44.48
5;354;6.05;37.14
6;299;5.12;31.09
7;257;4.39;25.97
8;220;3.76;21.58
9;187;3.20;17.82
10;157;2.70;14.62
11;... |
0b2c0264cd047743bf81f2eb023fa429dabc7fd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH2/EX2.7.1/E2_7_1.sce | 00e14d563736066c686283132b3e6a8d3eb9ce96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | E2_7_1.sce | F=800 // N , given force
theta=145 // Degrees , angle with posiyive X axis
theta=theta*%pi/180;// Conversion into radian
Fx=F*sin(theta);//N, Horizontal component
Fy=F*cos(theta);// N, Vertical Component
printf("Horizontal component of F is %.2f N\n",Fx);
printf("Vertial component of F is %.2f N\n",Fy);
p... |
14ab5b6af5b77f3a0acdeaa8de59f7fd70b6476b | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Ketinit.sci | bbe02e62e401273dca666b5958a187e6fa1e70c5 | [] | 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,450 | sci | Ketinit.sci | // 08.07.08 PHI,THETA,FocusPoint,EyePoint;
// 08.08.08
// 08.08.31
// 08.09.18
// 09.10.09 ASSIGNLIST
// 09.12.25 SCALING
// 10.04.16 TEXFOR
// 13.05.19 funcprot(0)
// 13.03.05 MARKLEN instead of MEMORI
function Ketinit()
global THISVERSION
global TenSize TenSizeInit Wfile XMIN XMAX YMIN YMAX
global XNA... |
66768111bf07c6f232441f0aa16dd6a3285b2edb | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RV24.prev.tst | b09b508f91616b679c52fb0ce949c08c1dc2b4e3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | tst | RV24.prev.tst | [0,0,0,0,0,0,0,13] | [0,1,1,2,3,5,8] =
divide: quot[1] = 13/8, remd = [0,0,-13/8,-13/8,-13/4,-39/8,-65/8]
divide: quot[0] = -65/64, remd = [0,65/64,-39/64,13/32,-13/64,13/64]
gcd: [0,0,0,0,0,0,0,13] / [0,1,1,2,3,5,8] -> [-65/64,13/8] rest [0,65/64,-39/64,13/32,-13/64,13/64]
divide: quot[1] = 512/13, remd = [0,1,-3... |
405d6db647a386745cdce7b76c4e707460b4af1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.13/ex2_13.sce | 432b79d2a047d0c642e555b17c3929183219f206 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | ex2_13.sce | //chapter 2
//For quarter wave monopole
//Rrad=36.5 ohm
Im=20*(%pi)*10^-3;//from previous problem
Prad=36.5*((20*(%pi)*10^-3)/sqrt(2))^2;
printf("the radiated power is %gW",Prad);
|
c0344f664bbaed0a0720bc73fa7f3520b9b373c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH3/EX3.6/3_6.sce | 9323cc45250f639a848884d99aa3c064d308c8ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | 3_6.sce | clc
//initialisation of variables
p1=80//psia
p2=120//psia
t1=80//F
v=20//cu ft
h=144//ft
w=53.35//ft
t2=540//F
p=0.1715//ft
//CALCULATIONS
W=(h*t1*v)/(w*t2)//lb
T=(t2*p2)/t1//R
Q=W*p*(T-t2)//Btu
//RESULTS
printf('The heat added=% f Btu',Q)
|
8864a48f9ebbf6594e92cc27e42ded86fc7d8f32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH11/EX11.14.2/11_14_2.sce | c4717a2761cdeebf5004f3fe96dcb82190e9542d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | 11_14_2.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
w= 62.3 //lb/ft^3
k= 3*10^5 //lbf/in^2
//CALCULATIONS
v= sqrt(k*g*144/w)
//RESULTS
printf (' velocity of sound in the fluid = %.f ft/sec',v)
|
c8088951b98d1a5366d66eec8a5d0942c7bfc473 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH2/EX2.3/3.sce | 5d644b74102197e5fb94dad279cc10b797116395 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | 3.sce |
//Variable declaration
n=2; //number of atoms
M=55.85; //atomic weight(kg)
rho=7860; //density(kg/m**3)
Na=6.02*10**26; //avagadro number
//Calculation
a3=n*M/(rho*Na);
a=a3**(1/3); //lattice constant(m)
//Result
printf('lattice constant is %0.3f angstrom \n',(a*10**10)) |
3efb69efc9405513cad821f382e3db7be1627dd8 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testanimrotation.sce | 37a7f53fd283e8daea0171cca4632f2bca44c9ed | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | testanimrotation.sce | clf;
plot3d1() // a three-dimensional surface
for k=1:360 // loop to rotate the figure
// change the angle alpha of the view point by 1 degree
A=gca();A.rotation_angles(2)=A.rotation_angles(2)+1;
sleep(10) // to have enough time to see the figure
end
|
84f596afcab3f42b92c60a48b77895f85d324ac3 | 3ed933b74e87091fce6306ff38020e9c386f8a74 | /Calcul Matriciel avec SciLab/calcul_matriciel_function.sce | 4022ded142ca6a9a0a9fed508b847823ec146dea | [] | no_license | Moustapha00864/TPM1SDA_IA | 027307685bb60c45fc1328a650064d6f593f5e33 | 1a347175bfdf399dc05c375aa80baf7cba5c3937 | refs/heads/main | 2023-05-21T14:12:13.855637 | 2021-06-04T16:27:15 | 2021-06-04T16:27:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | calcul_matriciel_function.sce | function [somme, produit, detA, detB]=calcul_matriciel_function(A)
// Matrice identitée
I = [1 0 0; 0 1 0; 0 0 1]
// Matrice B
B = 2*A - 3*I
// A + B
somme = A+B
produit = A*B'
detA = det(A)
detB = det(B)
invA = inv(A)
invB = inv(B)
endf... |
caabdc73fff2dedd5a6a4247be13c74942284ba0 | 0845790d81f9fd3b8393b14fc9c2bdde0ffe46cf | /11_FIR_Filter/11FIRFilter.sce | 6e0597012145a2a2e4353e6b566841de02b9e653 | [] | no_license | NARAYAN1201/Scilab | 1a3fb62895b157f87b0d9e024ecd2f1c000eb6df | 48980c28ab2def9939e7519867da572660c8ac97 | refs/heads/main | 2023-02-26T02:09:05.762483 | 2021-02-01T07:24:54 | 2021-02-01T07:24:54 | 335,216,077 | 0 | 0 | null | 2021-02-02T08:17:23 | 2021-02-02T08:17:23 | null | UTF-8 | Scilab | false | false | 1,668 | sce | 11FIRFilter.sce | // To D e sig n an Low Pa s s FIR F i l t e r
// F i l t e r Leng th =5, O rde r = 4
//Window = R e c t a n g ul a r Window
//Ana
clc ;
clear ;
xdel ( winsid () ) ;
fc = input (" Enter Analog cut off freq in Hz=")
fs = input (" Enter Analog sampling Freq . in Hz=")
M = input (" Enter o r d e r of f i l t e r =")
w = ... |
b5592e8de948ba3b5ff58727044710014d358ae4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH6/EX6.31/Ex6_31.sce | 7cd049bed7cdcadeed78f5c181337f2118441ac1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,709 | sce | Ex6_31.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 6 : SYNCHRONOUS MACHINES
// EXAMPLE : 6.31
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
Pi = 2*10^6; // Power input in Volt-Amph... |
2368ba401c55f2af831ce6d04cda17f1c9a73462 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamUtilities/SxP_InteViewer/SxP_InteViewer_DiffModeSelGUI_v1.sci | 543b022f4aa2738f01eb7bb7cabf8727aef8e172 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,287 | sci | SxP_InteViewer_DiffModeSelGUI_v1.sci | // ====================== S-params Converter ====================
//
// (Semi)Intelligent Differential S-param Viewer
//
// Diff port mode selection GUI
//
// (c)2014 L. Rayzman
//
// GUI interface based on UICONTROL2 GUI demo
//
// Created : 06/23/2014
// Last Update :
//
// ==============... |
4205012f0a7ed1d9ef4e9da346399eda03cdfe0c | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Utility/PIL_equal.sci | 16275a47a26d6a6f83ca97af8b15da81224ef63f | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sci | PIL_equal.sci | // **** Purpose ****
// This function identifies whether two input numerical objects equal
// **** Variables ****
// [A]: complex, NxM
// <= numerical matrix 1
// [B]: complex, NxM
// <= numerical matrix 2
// [BL_val]: boolean value of their comparsion
// **** Version ****
// 11/11/2014
function BL_val=PIL_equal(A,... |
46eb50ac9cbf03ef8faef231331eb29cfa60be52 | cb3612e7507309a5c30d1ea7f640c0ccde8f8bf9 | /set_images.sce | 1d905df4b70b16f3ec4d69d5a1a268e6946ad9a5 | [] | no_license | aforehand/thesis | b797c6646b5f6bc48d58c3df318c014038fc6c84 | 8189db373898e264544a5d9d52fc00296ea4abb6 | refs/heads/master | 2021-01-01T04:54:01.627632 | 2017-07-26T16:46:02 | 2017-07-26T16:46:02 | 97,270,443 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,744 | sce | set_images.sce | scenario = "Set Images";
response_matching = simple_matching;
active_buttons = 3;
button_codes = 1,2,3;
default_font = "Calibri";
default_font_size = 24;
default_text_color = 100,100,100;
response_logging = log_active;
begin;
#image
bitmap {filename = "\\training\\tree_flower_18.png";} flower;
#letter
... |
eb56d95591d82b4d79d45b9a1f44b754cf026f25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH2/EX2.1/exa2_1.sce | 0d08cd6e7c02ea91d92f15c3b7c10c01c8e9787e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | exa2_1.sce | // Example 2.1
// Audio Volume Control
// It is given that amplifier draws no input current i.e i_W= 0
// From figure 2.4, v_in(t) is related to v_s(t) by voltage divider expression
R_AW=poly(0,'R_AW');
p=R_AW/(5000)-0.6
R_AW=roots(p);
// v_in=(R_AW*v_s(t))/5000, it is required that v_out(t)=60v_s(t)
// from ab... |
58197e91d338bd7c11f6306b502678727d4535cd | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Samples/Controls.SCI | 1cfe44e98b72108ba4458ca30433cd090b2ff7e0 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 2,265 | sci | Controls.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
sss.ambientlightcolor=color(0.3,0.3,0.3);
sss.VolumeShadowAdd(0,color(0,0,0,0.5),0.002,20);
sss.Light0Pos=point(0,0,100);
refframe=sss.addsubframe("refframe");
sf1=sss.addsubframe("sf1");
bola=sf1.add("sphere");
bola.position=point(... |
d98f14d029a041001bc113cbf09332ef143219d7 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /model for routing/data.sce | 4a5db0bd4699a4f7290e60f0f5d76241b128f75c | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | data.sce | xx=[11 1.5 5.5 2 8 6.5 38 14 7 37 37 4 24 28 32 32 15 32 23 33 11 13 34 15 31 34]
yy=[8.5 23 2 1.5 7 18 14 6 7.5 19 2 2.5 1.5 14 8.5 9 11 4 15 13 2.5 4.5 7.5 5 2]
dd=zeros(25,25)
for i=1:25
for j=1:25
dd(i,j)=sqrt((xx(1,i)-xx(1,j))^2+(yy(1,i)-yy(1,j))^2)
end
end
|
841ec85defa32509f892e6ed7fc24473897771c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH18/EX18.3/18_3.sce | 9ac650f7dafffe37149bf0968cd9472499299f9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | 18_3.sce | //clc()
x = 2;
x0 = 1;
m = 0;
x1 = 4;
n = 1.386294;
x3 = 5;
p = 1.609438;
x2 = 6;
o = 1.791759;
f01 = (m - n)/(x0 - x1);
f12 = (n - o)/(x1 - x2);
f23 = (p - o)/(x3 - x2);
f210 = (f12 - f01)/(x2 - x0);
f321 = (f23 - f12)/(x3 - x1);
f0123 = (f321 - f210) / (x3 - x0);
b0 = m;
b1 = f01;
b2 = f210;
b3 = ... |
5d50b095d4d79f28181e2e18418250144615f661 | ec9100b9d8a0b671a0d2f9138e4a3f9446933ecd | /source/gen_texp_use.tst | 0713b28bc4d4f502e16e5f7027db2f3d3a6f5682 | [
"MIT"
] | permissive | INovozhilov/texp | 491d6ed0d0d59c8804084bddabdaeb4970508c8d | e5d8919b27e7e511485c0956c7de5b8d07ef2568 | refs/heads/master | 2020-03-12T17:54:42.227978 | 2018-05-07T19:06:36 | 2018-05-07T19:06:36 | 130,748,174 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | tst | gen_texp_use.tst | PL/SQL Developer Test script 3.0
6
begin
-- Call the procedure
fss_cr_utils.gen_texp.generate(p_clob => :p_clob,
p_owner => user,
p_packages => 'gen_texp_test');
end;
1
p_clob
1
<CLOB>
112
0
|
3d73c56e1744155b6341422a4d722713371fa2fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH6/EX6.9/ex6_9.sce | e4c5b5c05614459611001867f97b031ea56a7151 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | ex6_9.sce | clc;
warning("off");
printf("\n\n example6.9 - pg258");
// given
spg=0.84;
p=0.84*62.4; //[lbf/ft^3] - density
dP=80*144; //[lbf/ft^2] - pressure
dz=2000; //[ft] - length of pipe
gc=32.174; //[(lbm*ft)/(lbf*sec^2)] - gravitational conversion constant
dpbydz=-dP/dz;
do=2.067/12; //[ft]
U=2000*(1/24)*(1/3... |
9f47d2ae05ecb7f938e0c2582f0ac0abd6c8b9e2 | a66c2115b47cf89accf61c16cb15d4b791afdeec | /metodos numericos computacionais/Algoritmo Interpolação e ajuste de curvas (Scilab).sce | d21ff4726c6836af76e7f57a7fd5c6b3b0cba95f | [] | no_license | juliano-soares/2018-segundo-semestre | 3430e1860f76b135d53b30cc2db838ceb3e7a4b4 | 20d15d6dcb0a85cd207cb74d60a791a180c01c2c | refs/heads/master | 2020-07-02T18:50:38.591888 | 2019-09-08T04:56:14 | 2019-09-08T04:56:14 | 201,628,628 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,200 | sce | Algoritmo Interpolação e ajuste de curvas (Scilab).sce | clc;clear;
function [x]=sist_lin(mat,y)
[l,k]=size(mat)
mat(:,k+1)=y
condicionado=%T
for j=1:k
pivor=max(abs(mat(j:l,j)))
if pivor<>0
for i=j:l
if abs(mat(i,j))==pivor
temp=mat(j,:)
mat(j,:)=mat(i,:)
mat(... |
eeaee84f16ff51855d23cad2975e43a7d2ab2e84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH8/EX8.4/Ex8_4.sce | 4659fd16dae641b4e4329648caaaa14d1cd84e55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 966 | sce | Ex8_4.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 8.6.1\n')
//given data
E=1.96*10^11//youngs modulus in N/m^2
M=10//mass of rotor in kg
g=9.81//acc due to gravity in m/sec^2
ra=0.12//radius of gyration in m
l=0.3//lenght of steel shaft in m
b=0.06//thickness of rotor in m
I=10*10^-8//moment of... |
81eb61ab3b0556324c7dbcf02eb1d6150af34b90 | a4bbc60bcc82ee6212825ce21fc9e4fa7b04e870 | /Bioinformatics_3k/4uzd/tests/1AXC.tst | 2543c0a3d6d7dc2807d35e1b7bd30f4a475b2068 | [] | no_license | Luksys5/LT_programos | 3a7cabb6c5e8a23a856983c1938d2d492cddf916 | 959ab74029df334767fcad84adc46ae36cf7cdf1 | refs/heads/master | 2021-01-19T19:33:11.505596 | 2017-03-12T18:08:14 | 2017-03-12T18:08:14 | 16,478,166 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 56,950 | tst | 1AXC.tst | VDWCONT 2.1711 2.18 -0.0088 1AXC.cif A H ARG 146 A H ARG 149
VDWCONT 2.1711 2.18 -0.0088 1AXC.cif A H ARG 149 A H ARG 146
VDWCONT 2.1723 2.18 -0.0076 1AXC.cif C H LYS 110 I H HOH .
VDWCONT 2.1723 2.18 -0.0076 1AXC.cif I H HOH . C H LYS 110
VDWCONT 2.1725 2.18 -0.0074 1AXC.cif E H ASP 97 E H THR 98
VDWCONT 2.1725 2.18 -... |
7a9010bf5d1212e94a86c2dd55101e34827bfeea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.27/Ex1_27.sce | e52450dfb1c04ea295e01fdbf0398fe1538e55e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex1_27.sce | clc
//
//
//
//Variable declaration
c=3*10**10 //Speed of Light in Vacuum
mu=1.44 //Refractive Index
//Calculations
u=c*10**-10/mu
//Result
printf("\n The Velocity in the liquid is %0.2f *10**10 m/s",u)
|
88927196d7b19368901abdd04abe615c119fd5b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.44/Ex4_44.sce | 03b05a102ce066ca97f6a9fb481a4660b769271f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_44.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
E=11+55.0/60+24.0/3600+0.5/3600*(2+40.0/60+21.2/3600);//E in hr
GHA=8+35.0/60+45.2/3600;//GHA in hr... |
99dde40d140ca1d7ab2dbdc42a835f02c008d5c1 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TEC6.prev.tst | da82d4018213244bc14a61616c6a6fd2ead15ebd | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,750 | tst | TEC6.prev.tst | Expanding for base=2, level=7, reasons+features=base,similiar invall,norm
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] x²-y³+4
---------------- level 0
expanding queue[0]^-1,meter=[2,2]: x²-y³+4
[0+2x,0+2y]: unknown -> [1] [0,0] x²-2y³+1
-> solution [2,2],trivial(2)
[1+2x,1+2y]: unknown -> [2] [1,1] 2x+2x²-3... |
cf97f4b4aed1993e7bde68bb57955101493c2a13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.8.4.b/ex_2_8_4_b.sce | 0123d92b36aa4d79bf32a5f5a2f9aa28cf16350d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | ex_2_8_4_b.sce | //Example 2.8.4.b // resistance
clc;
clear;
close;
//given data :
V=100;//in volts
I=5*10^-3;// in A
S=1000;//in ohm/volts
R_app=(V/I)*10^-3;
V1=150;//in volts
Rv=S*V1*10^-3;
Rx=Rv/6.5;//actual resistance in kilo ohms
disp(Rx,"actual resistance in kilo ohms is")
|
4abbe11c9229b472f0453a0011e1c514543c3d59 | 3073307fa4b6da9371518f0718c199501b8c5c71 | /viejos/secante.sci | b12fa9d5d854ef71d6be40e610bc104e9b6b77c2 | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sci | secante.sci | function y = f(x)
y = x^2-6;
endfunction
function [p,it] = secante(p0,p1,tol,maxit)
it = maxit;
p = zeros(maxit,1);
for i=1:maxit
p(i) = p1 - f(p1)*(p1 - p0)/(f(p1) - f(p0));
if(abs(p(i)-p1)<tol)
it = i;
return;
end
p0 = p1;
p1 = p(i);
... |
050d5e81d17ba4f73e87d1b54a335ad5d96ea6dc | 786995be3311f963d1005b87d1f1f84548cce97e | /Main1.sce | cae45a709cac71785ddbd0f306e93f3c2e5b21f7 | [] | no_license | paez74/NumericMethods | 914473a1aac1fee26c11f45b222c6250c15d90ad | d051a926931996d338d3df7b035e494a45c1d3e0 | refs/heads/master | 2020-05-18T18:34:08.886882 | 2019-05-06T14:07:56 | 2019-05-06T14:07:56 | 184,589,853 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,454 | sce | Main1.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[400,50],'figure_size',[640,480],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','vis... |
046d42a48e7ab6dab876b162811b5a53b6e6f425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH7/EX7.10/10.sce | 85221fba56f8f1e6981cc96de317a8643963f454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10.sce | // Implementation of example 7.10
// Basic and Applied Thermodynamics by P.K.Nag
clc
clear
// T is temperature,dS is change in entropy,S is entropy,Q is heat transfer
l=5 // length in m
b=7 // breadth in m
th=0.32 // thickness in m
k=0.71 // W/m*K
t1=6 //degree celsius
t2=21 //degree celsius
T1=t1+273; /... |
fb188e6c9a6391deabd7e00fc586b8a72d2fdb52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH5/EX5.8/ex5_8.sce | bda969110601dd2f075484c651c7049ab72e3078 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,158 | sce | ex5_8.sce | // Exa 5.8
clc;
clear;
close;
format('v',6)
// Given data
I_C = 10;// in mA
I_C = I_C * 10^-3;// in A
V_CE = 10;// in V
h_ie = 500;// in ohm
h_oe = 4*10^-5;// in A/V
h_fe = 100;// unit less
h_re = 10^-4;// unit less
V_T = 26;// in mV
V_T = V_T * 10^-3;// in V
g_m = I_C/V_T;// in S
g_m= g_m*10^3;// in mS... |
07e8fc6775de84b5806b0d60e839886bf53eab9c | b46eff974354904e6266175576a848641abf884e | /lisp/test/excepsit.tst | 2f25cf19175503bbd2160f4bbdd47aed3132d3ba | [
"BSD-2-Clause"
] | permissive | jasom/eclipse-lisp | c3f7aa46fa5fb143db108c2cc49d6e1f55ecf563 | 9c9318388520fba64ad20925b9f16c04cae7c5e4 | refs/heads/master | 2021-01-20T19:08:50.563375 | 2015-06-11T05:11:30 | 2015-06-11T05:11:30 | 37,240,476 | 6 | 0 | null | 2015-06-11T05:09:31 | 2015-06-11T05:09:31 | null | UTF-8 | Scilab | false | false | 17,016 | tst | excepsit.tst | ;;; Test "Exceptional situations" as specified by CLHS
;; NB: CLHS section 1.4.2 implies that we have to verify only those
;; specifications which have the wording "an error is signalled" or
;; "an error should be signalled".
#+debatable (abort)
#+debatable control-error
(acos 'x)
type-error
(acosh 'x)
type-error
... |
c2e70e5d73d1f5fcf8df49826d82685361a9f14a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH10/EX10.20/ex10_20.sce | 1c919ed3c1eb19ebc6a7015807e9309b301715e0 | [] | 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 | 265 | sce | ex10_20.sce | errcatch(-1,"stop");mode(2);// Example 10.20, page no-282
I=200//A
H=1.5//Wb/m^2
n=8.4*10^28//electronsper m^3
d=1.0*10^-3 //m
e=1.6*10^-19//C
v=I*H/(n*d*e)
printf("The Hall potential difference appearance between the ship is %.0f µv",v*10^6)
exit();
|
ca311ccb53a4327602c34595ac8e1874d48b9ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH4/EX4.12/4_12.sce | 56ceeb5e8731009894e5094fa713fa5b3e654172 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | 4_12.sce | //Example 4.12
//Givens Method
//Page no. 107
clc;close;clear;
A=[1,2,2,2;2,1,2,2;2,2,1,3;2,2,3,1];
n=4;
for k=1:3
max1=0
if k==1 then
i1=2;j1=3;
elseif k==2
i1=2;j1=4;
else
i1=3;j1=4;
end
fi=(atan((2*A(i1,j1))/(A(i1,i1)-A(j1,j1)+10^-20)))/2
disp(fi,'fi = ')... |
580226282ee9e22f236fd14be5fe40c6896f24d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH7/EX7.02/7_02.sce | ffa2abcc1a8b9cd7761fdd20ae00f8b5c903764a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | 7_02.sce | //Problem 7.02: The maximum working flux density of a lifting electromagnet is 1.8 T and the effective area of a pole face is circular in cross-section. If the total magnetic flux produced is 353 mWb, determine the radius of the pole face.
//initializing the variables:
Phi = 353E-3; // in Wb
B = 1.8; // in tesla
... |
5bacfb49ad68dbbc321097b333e84c286d99c87b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH17/EX17.8/17_8.sce | a78527e08c30bb1ea4746424c47e84fade5c655e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | 17_8.sce | //Frictionless pulleys
//refer fig. 17.8 (a) and (b)
//consider combined FBD of the system
N1=500 //N
F1=0.2*500 //N
N2=1000*cosd(30) //N
F2=0.2*N2 //N
//writing impulse momentum equation
v=20.19 //m/sec
printf("\nv=%.3f m/sec",v)
|
9a0754c1583abb6c81870b03fe99f22d7eacafe0 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TPE6.prev.tst | 9522dbe951a464b399e3eaf85046d9c6fe885aaf | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,101 | tst | TPE6.prev.tst | Expanding for base=5, level=3, reasons+features=base,same,similiar,evenexp invall,norm,showfail
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] 15x²-7y²-9
---------------- level 0
expanding queue[0]^-1,meter=[5,5]: 15x²-7y²-9
[0+5x,0+5y]: failure constant=-9, vgcd=25 [0,0] 375x²-175y²-9
[1+5x,0+5y]: failure con... |
feb93add4028eca08499609db01944d6259657cf | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_18.tst | d24abf4224cab4996891e0f058fc66912b4f476c | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 32,569 | tst | bow.5_18.tst | 5 4:0.5 6:0.5 7:1.0 8:0.25 12:2.0 20:0.5 21:0.3333333333333333 23:1.0 26:0.02127659574468085 38:1.0 48:1.0 49:0.015503875968992248 51:1.0 55:0.5714285714285714 64:1.0 68:1.0 71:2.0 100:0.3333333333333333 133:1.0 137:0.5 176:1.0 183:1.0 190:0.2 236:0.5 366:1.0 383:1.0 407:1.0 483:2.0 611:1.0 647:1.0 879:1.0 982:1.0 1087... |
8408152ba16821491ebbe8269095ae448e81893d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH5/EX5.2/exa_5_2.sce | bf7be609c456c04bbe2edbc763b948e302b04c6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | exa_5_2.sce | // Exa 5.2
clc;
clear;
close;
// Given data
V_REF= -5;// in volt
V_A= -5;// in volt
V_C=V_A;// in volt
V_D=V_C;// in volt
V_B= 0;
Vout= -1*(V_A+V_B/2+V_C/4+V_D/8);
disp(Vout,"Output voltage in volt");
|
4d4f21b57951625fadd056a007e11ebcece28650 | 499aefe6d7f6c92d69f539fe6fe98b8b27ae3021 | /Unit 3.sce | 73120a2a96d714605d26ee11e74ff5e922c40727 | [] | no_license | raksha-n/Linear-Algebra-Assignment | 1e40fb9b20a8e3d2e38dbffeb46696642e3967e4 | 1f5af1ee9fda8ae3ac441c0aaeb52c988ea4a4db | refs/heads/master | 2020-12-31T08:54:30.065183 | 2020-04-04T16:00:14 | 2020-04-04T16:00:14 | 238,961,422 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Unit 3.sce | //QUESTION 1
//Projection by Least Square
clear
n = input('Enter the number of equations:')
a=input('Enter matrix A of order nx2')
if size(a)~=[n,2] then
error('Matrix not consistent with number of equations');
abort;
end
disp(a)
for i=1:n
b(i) = input("Enter the values of b:")
end
di... |
3ef58289c246f63d29d06e21a652987d8b4569c3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/demos/lmitool/bigM.sci | 5ddc71e199bad2894b55df708c42853de969491e | [
"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 | 3,242 | sci | bigM.sci | function [x,Z,z,ul,iters]=bigM(F,blck_szs,c,x0,M,nu,abstol,reltol,tv,maxiters);
// [x,Z,z,ul,iters]=bigM(F,blck_szs,c,x0,M,nu,abstol,reltol,tv,maxiters);
//
// minimize c^T x
// subject to F(x) = F0 + x1*F1 + ... + xm*Fm >= 0
// Tr F(x) <= M
//
// maximize -Tr F0*(Z-zI) - Mz
// subject to Tr Fi*(Z... |
2ffe511e7e2d3e9a531f09b9ae0da694d2f5b74c | d3d4c2b897530aaaea4c5411ba745ee516a78083 | /x.tst | 567f46d504e14c17d903fd78f867b3b67eeeea5b | [] | no_license | jgmatu/SOT1516 | e5d260b6318515570cfc464f17a572be74f818f8 | c7d1d063ef006378577cb0ede7df3d61a945c65a | refs/heads/master | 2020-12-31T04:17:39.843950 | 2017-03-23T15:35:08 | 2017-03-23T15:35:08 | 58,229,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19 | tst | x.tst | cat psot.c
grep if
|
83e76ae75663106c1c86ab5368903158f49b1edf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH1/EX1.2/ex_1_2.sce | ba31bedc8fbbe18b53e6718c79ab94dd4dac90fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_1_2.sce | // Example 1.2: terminal voltage
clc, clear
v=4.7; // in volts
r=15; // in ohm
i=20*10^-3; // in ampere
Vz=(v+(i*r)); // terminal voltage in volts
disp(Vz,"terminal voltage in volts(v)");
|
f1c7be8dde2ea67a1e84f9d0478911ff8ad0d16c | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/vol_div.sce | 63ba5d0d6317f7698ef3c3db8157f1e6defcccd4 | [] | 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 | 2,369 | sce | vol_div.sce | //************************ Voltage Divider ****************************
if (blk_name.entries(bl) =='vol_div') then
mputl("# Voltage Divider",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
vol_div_str= ".subckt volt_div in[0]=net"+string(blk(blk_objs(bl),2))+"_"+string(ss)+ " in[1]=net"+string(blk(blk_objs... |
a5dce0c849ca016cd1457acf94121670a408fcd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH6/EX6.4/ex6_4.sce | 1af493a935978475a5eb0be1a8f4cb26a63afc72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | ex6_4.sce | // Exa 6.4
clc;
clear;
close;
format('v',6)
// Given data
I_DSS = 8;// in mA
I_DSS = I_DSS * 10^-3;// in A
V_P =-5;// in V
V_GS = -2;// in V
V_DSmin = V_GS - V_P;// in V
disp(V_DSmin,"The minimum value of V_DS in V is");
I_DS = I_DSS*((1 - (V_GS/V_P))^2);// in A
I_DS = I_DS * 10^3;// in mA
disp(I_DS,"The ... |
d39623d1ed23fe6f35694c58ebbdad82b0016049 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH2/EX2.17/ex17.sce | f03cf072af23047bd758e6d5546df9a1f87bbfc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | ex17.sce | //example 17
//Cost Savings Associated with High-Efficiency motors
clear
clc
n1=89 //efficiency of first motor
n2=93.2 //efficiency of second motor
c=0.08 //cost of electricity in $/kWh
p=60*0.7457 //rated power in kW
h=3500 //operating hours per year
e=p*h*(1/(n1/100)-1/(n2/100)) //energy savings
s=e*c //cos... |
00c3174d7d4480ec11b0062dc2cf34ab69955724 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/Инфарм.TST | 348c0944411c6aaf31b501e4ed48c357050b3fe6 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173,000 | tst | Инфарм.TST | {\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049\themelang1049\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}
{\f1\fbidi \fswiss\fcharset204\fprq2{\*... |
53010581fbafbcad625f02dae23de7d7a4a1586c | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH18/EX18.10/18_10.sce | cd216b1f7f1440e4825539a3903a22c5f3ec8de8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,059 | sce | 18_10.sce | //clc()
x = [3,4.5,7,9];
fx = [2.5,1,2.5,0.5];
//we get the following equations for cubic splines
//8*f"(4.5) + 2.5*f"(7) = 9.6
//2.5*f"(4.5) + 9*f"(7) = -9.6
//above two equations give
m = 1.67909;//(m = f"(4.5))
n = -1.53308;//(n = f"(7))
//this values can be used to yield the final equation
//f1(x) = 0.18... |
2373d5ebf24fbce921149f5255e7166aeaeec4b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH20/EX20.9.4/Ex20_4.sce | fed49ea5bcf9aa453a1c82f2b173d1a12ef056e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Ex20_4.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 20 Cathode Ray Oscilloscope
clc
clear
sw=10//sw=sweep width in cm
n=5/2//n=number of cycles given by vertical deflection plates
c=sw/n//c=centimetres occupied by one cycle of signal
ct=0.1//ct=calibrated time base of CRO in ms/cm
t=ct*c//t=time interval cor... |
4b90887bf78e995d566e694eb5abaa2fe8a55f87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH4/EX4.13/ex4_13.sce | 6723d103ac9f3a81e2d15d45df0a7dbc1b6d2bfd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_13.sce | clc;
eo=8.85*10^-12; //constant
E=9*10^4; //Electric field in N/C
r=2*10^-2; //r in m
L=2*(%pi)*E*eo*r; //calculating linear charge density
disp(L,"Linear charge density per cm = "); //displaying result |
e8e4b48d93b37edcbdf96a2fbf85c439dc41a899 | d56141249002a5da7c4a2641dbdfc609809046a8 | /Abinit/ab_band_plot.sce | d403ef7f447f49c4a79465a703940f6c5bf8fc10 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,971 | sce | ab_band_plot.sce | // This program is to plot the band structures calculated from ABINIT
// To use this code, you need to input the k-points that define pahtes
// This code will automatically search for file name with "_EIG".
// Therefore if there are more than one "_EIG" files, the code will
// report error !
clear; clc; xdel(winsid()... |
1c68170b09bdc765f3bfb52ddd2a5f0f13ae1eb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.10/Ex4_10.sce | bff9ed699cbb812583744d72d018f925d48ca40d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | Ex4_10.sce | clear
// If xc and yc are the coordinates of the centre of the circle, centroid also must have the coordinates xc and yc as per the condition laid down in the problem. The shaded area may be considered as a rectangle of size 200 mm × 150 mm minus a triangle of sides 100 mm × 75 mm and a circle of diameter 100 mm.
//
/... |
d2a57ab2995ab054334887a7ffde6552ab17b4ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH12/EX12.10/Ex12_10.sce | d33554222c354827ff001d9d14d344696d7a2068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,588 | sce | Ex12_10.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 12 : Three Phase Circuit
// Example 12 - 10
clear; clc; close; // Clear the work space and console.
//
// Given data
V1_mag ... |
30aa9b8d507ae7deb9590d43b7035a5a6223b5be | d2367b231e629cb27f70906d2034b91541793a6c | /csf/cw1/Mux8.tst | 6c67e135bc64cd4dacb5fc9c241114492f3683d6 | [] | no_license | O-e-s/uni | 6c8cd1c6b31f2d88058c8df486cba1f6be5d127b | 2ac80abf8d60d6eb8095cf4e7339e776c961f5c4 | refs/heads/master | 2020-04-16T14:05:23.055435 | 2018-05-31T20:18:18 | 2018-05-31T20:21:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | tst | Mux8.tst | // This file is adapted from part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
load Mux8.hdl,
output-file Mux8.out,
compare-to Mux8.cmp,
output-list a%B1.8.1 b%B1.8.1 sel%D2.1.2 out%B1.8.1;
set a 0,
set b 0,
set sel 0,
eval,
output;
se... |
2e64b6352ec4ce60f14bfd8c0068cf4e576b35b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH34/EX34.9/eample9.sce | 47211feee08ca75cab13425eb83001abe6ddc939 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | eample9.sce | //chapter 34
//example9
clc
//given
e=1.6*10^-19 //in coul
R=5.1*10^-11 //radius of th enucleus in meter
f=6.8*10^15 //frequency with which elecron circulates in rev/sec
u0=4*%pi*10^-7 //in weber/amp-m
x=0 //x is any point on the orbit, since at center x=0
//(A)
i=e*f
B=u0*i*R^2*0.5/((R^2+x^2)^(3/2))
disp(B... |
fcc20cc9be3778e96f7603248dd1bccf3fe8c973 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /xcos/models/eqm_data.sci | 5583c85a7e7ae60e75f873ee64be155ebd8e4c6c | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sci | eqm_data.sci | exec('models/mass_geom_data.sci');
exec('models/atmos_constants.sci');
params = load_aircraft_params();
geom = params.geom;
mass = params.mass;
g0_ftps2 = 32.17;
rad2deg = 57.29578;
ft2m = 0.3048;
kn2mps = 0.514444;
pa2lbfpft2 = 0.0208854;
initial.VT_ftps = 0.0;
initial.alpha_rad = 0.0;
initial.beta_rad = 0.0;
initia... |
8a5ba9f81239022f0e95a979920329b57b993800 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.18/example4_18.sce | 54f86befdf96d00d4975d4de03002fd06d573b57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | example4_18.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.18
// Page 149
printf("Example 4.18, Page 149 \n \n");
// solution
// given
// (.1*M*R1)/(.415M+1.775a) + (.1125a*P)/(.415M + 1.775a) + 1 = .1M
// R1*(.315M-1.225a)/(.415M + 1.775a) = .9M-4... |
2967339c6625d1ad246685e3c472c6ed3b51ed79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH4/EX4.10/Ex4_10.sce | 997208cbef085b65a4d89563eb27d5e9d0719114 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | Ex4_10.sce | clear
//
//Given
//Variable declaration
P=100 //Impact load in N
h=2*10 //Height in mm
L=1.5*1000 //Length of bar in mm
A=1.5*100 //Area of bar in sq.mm
E=2e5 //Modulus of elasticity in N/sq.mm
//Calculation
V=A*L //Volume in mm^3
//case(i):Maximum instantaneous stress... |
da91eba254ac94e8db257f354b196ec724fbb4e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH3/EX3.03/3_03.sce | 3bf6195fe8a4b9e9eb4b13459eaab69ec6146cdb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_03.sce | pathname=get_absolute_file_path('3_03.sce')
filename=pathname+filesep()+'3_03data.sci'
exec(filename)
printf("\Answer:\n")
printf("\n\Temperature of air at flying altitude of airplane: %f K\n\n",T) |
4823bfd8f0cfeba7d58a2e69533786e3ab38a497 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_5_a.tst | 1fbb6044c6d1be239bf0a57d49d2667182b47cdc | [
"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 | 85 | tst | test_ods_5_a.tst | begin transaction (level = 1)
aaa
bbb
ccc
commit transaction (level = 1)
aaa
bbb
ccc
|
89c78ce80ba9bcb8f46a610d66ed5f0078db107b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH4/EX4.9.4/EX4_9_4.sce | d7a3447d6232af7cbab78c90ff63a9fc5cfa25a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | EX4_9_4.sce | //Example No. 4.9.4
clc;
clear;
close;
format('v',6);
//l=lambda/8
lBYlambda=1/8;//(length/Wavelength)
Rr=80*%pi^2*(lBYlambda)^2;//Ω(Radiation resistance)
disp(Rr,"Radiation resistance in Ω : ");
|
ddbbbb1135c76f99776a2aa339a95889389b5ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH1/EX1.12/Ex1_12.sce | bf05bff0d313772a98a316c26b4a5b217dcfc2d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_12.sce | b=250//width, in mm
sigma_cbc=5//in MPa
sigma_st=190//in MPa
m=280/(3*sigma_cbc)//modular ratio
M=75*10^6//bending moment, in N-mm
//critical depth of neutral axis, Xc=d/(1+sigma_st/(m*sigma_cbc))=a*d
a=1/(1+sigma_st/(m*sigma_cbc))
d=(M/(b*sigma_cbc*a*(1-a/3)/2))^0.5//in mm
d=640//round-off, in mm
Xc=a*d//in m... |
5224ca245fe5271d17b2b8df1a4d35b3ca0f1488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH4/EX4.9/Ex4_9.sce | 4749e112d53d86365ed8274674b4bc7698f9ec8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | sce | Ex4_9.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 4 : DIRECT CURRENT GENERATORS
// Example : 4.9
clc;clear; // clears the console and command history
// Given data
P = 4 // number of poles
Z = 500 // number of conductors
I_a = 30 // ... |
d5b2a5e7c2938f72b9293611d97d7d6e74edb128 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH4/EX4.5/Ex4_5.sce | 641a3fbad935c276df4d9aa58a50fe681dd93cd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,033 | sce | Ex4_5.sce | clear ;
clc;
// Example 4.5
printf('Example 4.5\n\n');
printf('Page No. 95\n\n');
// given
m_h = 1.05;// Mass flow rate of hot liquid in kg/s
Thi = 130;// Inlet Temperature of hot liquid in degree celcius
Tho = 30;// Outlet Temperature of hot fluid in degree celcius
Cph = 2.45*10^3;// Specific heat capacity... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.