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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc87b3d695aaba37ed9574dbaf85a6675f3bb621 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH22/EX22.4/22_4.sce | 6a9e062e56cf596ce9e933fa23259d25e350752b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | 22_4.sce | //clc()
//f(x) = 0.2 + 25*x - 200*x^2 + 675*x^3 - 900*x^4 + 400*x^5
// for using three point gauss legendre formulae, the intervals have to be changed to -1 and 1
//therefore, x = 0.4 + 0.4 * xd
//thus the integral is transferred to
//(0.2 + 25*(0.4+0.4*x) - 200*(0.4 + 0.4*x)^2 + 675*(0.4 + 0.4*x)^3 - 900*(0.4 + ... |
9a435baae9683552ba02e8e900f31131a9d4fc30 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/drop.tst | 6450c674fded95fd1b7995fb1b3611a679ab4ca8 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 169 | tst | drop.tst | ## Test drop command
set echo
set relax
drop
read <min.fi
drop
drop
read <min.fi
read <min.fi
drop
drop
choose min
drop
read <min.fi
read <min.fi
drop min2
drop min
|
c2314c0a6cae275ab93aa6bb53c5e21d304dc2a6 | 33cf645e9e65f22a3670517a08959b0963cd0cd3 | /Exercice4_tp1.sce | 5daf9ac52d43df8d1abdc21af5d59d8c551ef47e | [] | no_license | Abla-Adem/TP-calcul-numerique | eecda616e8d512e972c19701c3ff847c184c9e6b | c75cc37dd09787fa87867c106adb1ee69d6b581d | refs/heads/main | 2023-02-06T15:15:50.993839 | 2020-12-25T13:10:35 | 2020-12-25T13:10:35 | 314,226,297 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Exercice4_tp1.sce |
function [x] = usolve(U,b,n)
x=zeros(n,1)
j=n-1
x(n)=b(n)/U(n,n);
for i=1:n-1
U(j,j+1:n)=U(j,j+1:n)/U(j,j)
x(j)=b(j)/U(j,j)-U(j,j+1:n)*x(j+1:n);
j=j-1
end
endfunction
function [x] = lsolve(L,b,n)
x=zeros(n,1)
j=n-1
x(1)=b(1)/L(1,1)
for i=2:n
... |
efe5ab6267fa8d8b8f7b5ffc4ebe316d4ca5858b | 04227b0d1bb094503d6c9ca0b21de26102c7572c | /test.sce | 1192d703fb04dc55263a8402d78d7708b6c48220 | [] | no_license | C-ELAzouzi/Reconnaissance-facial-matlab | be48b496aab193ec07f7aaa95cae2915ea5badfa | ee8073c77bd5fd3f9647ddd18b0115b4a9d27ae3 | refs/heads/master | 2023-06-05T16:25:23.844539 | 2021-06-16T12:46:06 | 2021-06-16T12:46:06 | 377,476,453 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,629 | sce | test.sce | clear ;
xdel(winsid());
clc ;
exec lbp.sci
exec getmapping.sci
nb_classe =50;
nb_image =8;
nb_ima_train = 4;
//ona 25 imagette
nb_bins =255;
Attribut = zeros(nb_ima_train * nb_classe,nb_bins);
Attributs_test=zeros(nb_ima_train * nb_classe,nb_bins);
attribut_test=zeros(1,nb_bins);
comp_train = 1;
comp_train_test=1;
int... |
17e97981592a12d4bddc4000089ce814f1921a65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH21/EX21.2/21_2.sce | b1c6b101bdbde9f2d64e8367cfde981b8685aed9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | 21_2.sce | //S.H.M
r=0.75 //m
T=1.2 //sec
omega=((2*%pi)/(1.2)) //rad/sec
vxmax=0.75*5.236 //m/sec
axmax=0.75*5.236^2 //m/sec^2
printf("\nvx(max)=%.3f m/sec\nax(max)=%.3f m/sec^2",vxmax,axmax)
|
1d2ae412a52b2f946006cffa160b0cf02fe5234d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH2/EX1.2/EX1_2.sce | 72f32b82a480315b0f055ff801325b63dc08fa0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX1_2.sce | // Grob's Basic Electronics 11e
// Chapter No. 01
// Example No. 1_2
clc; clear;
// A dielectric has a positive charge of 12.5*10^18 protons. What is its charge in coulombs?
// Given data
ec = 12.5*10^18; // Electron charge=12.5*10^18 electrons
disp ("This number of electrons is double the charge of... |
a44f047a63e1063541935ca62e144bb9e60b510c | f5f41d427e165a46b51c8b06f6c2010b4213033a | /Scilab/interpolation.sce | f756decf15905d9734fcd04efe623c498e9aa288 | [] | no_license | rissuuuu/IT_LAB | a40f6ea5311f5d8012364cfa3d3ad37d83be3afd | 8d0f44a2b8b20ed1101c34a5cb263e6229c200cc | refs/heads/master | 2021-01-03T05:06:49.877644 | 2020-02-12T07:42:44 | 2020-02-12T07:42:44 | 239,934,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | interpolation.sce | //19MCMI07
//Rohan Yadav
function y=data_fit_l(x,c)
y=exp(c(1)*x)*cos(c(2)*x)+c(3)*sin(x);
endfunction
function e=myerror(c,z)
x=z(1);
y=z(2);
e=y-data_fit_l(x,c);
endfunction
xdel(winsid());
clear;
clc;
x=[1 0.55 1.11 1.66 2.22 ]
y=[1 0.47 3.73 2.22 2.61 ]
plot(x,y,'ro')
z=[x;y];
c0=[2 2 2]';
[copt... |
b302b933feb49028b5043d7bcadf2b0748ab0fc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH5/EX5.6/Ex5_6.sce | 7117c3c20c3edcc3af32d42acf358f8b28deb1cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | sce | Ex5_6.sce | clc
Na=10^17
disp("Na = "+string(Na)+"/cm^3") //initializing value of medium p doping concentration.
Nd=10^15
disp("Nd = "+string(Nd)+"/cm^3") //initializing value of light n doping .
no=1.5*10^10
disp("no = "+string(no)+"cm^-3") //initializing value of intrinsic carrier concentration.
e=1.6*10^-19
disp("e = "+... |
4c125225e38ca9e35619e949a2010b8f7b1345f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH10/EX10.2/ex10_2.sce | 26a683c162d874476fb63775e3a005cd1f9b6e3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | ex10_2.sce | stacksize("max");
//define crystal parameters
Lq=0.1;
Rq=25;
Cq=0.3*10^-12;
C0=1*10^-12;
//find series resonance frequency
ws0=1/sqrt(Lq*Cq);
disp(ws0);
ws=ws0*(1+Rq^2/2*C0/Lq);
fs=ws/2/%pi
//find parallel resonance frequency
wp0=sqrt((Cq+C0)/(Lq*Cq*C0));
wp=wp0*(1-Rq^2/2*C0/Lq);
fp=wp/2/%pi
//define frequency rang... |
df361d8fdd2a4aeae3dc73fbd1e61984d3c64ae4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.15/ex_3_15.sce | 9c08c84f1a92a825c87f57836f4ac0e161b3899f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | ex_3_15.sce | //Example 3.15:High resistance
clc;
clear;
close;
//given data :
V1=500;// in V
V2=300;// in V
t=60;// in sec
C=2.5*10^-6;// in F
R=t*10^-6/(C*log(V1/V2));
disp(R,"Unknown resistance,R(M-ohm) = ")
|
3612033a6499f3a757368c908686bd5debf40726 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH15/EX17.28/EX17_28.sce | bf5f14f636503fcb18594ffa4d617cdf0d3c63a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,254 | sce | EX17_28.sce | clc;funcprot(0);//EXAMPLE 17.28
// Initialisation of Variables
D=0.2;.................//Engine bore in m
L=0.25;...............//Engine stroke in m
n=2;......................//No of cylinders
r=13;......................//Compression ratio
fc=14;..................//Fuel consumption in kg/h
N=300;.................... |
14e00f2d08eb3ce4f6c1070db69bf105eb894609 | dd62f0e176af8b35f4de2d6b64692105fd90afd6 | /iddata.sci | 6a3ff37955a60f39f08eaac80289f143670be594 | [] | no_license | FOSSEE/FOSSEE-System-Identification-Toolbox | 2a631de0f2d6b993b3f19df4a220b274a1d85edb | 11ee9c829fe88301c69b731cdf9fe7957d0fa68c | refs/heads/master | 2018-10-15T08:25:21.323393 | 2018-07-31T10:56:53 | 2018-07-31T10:56:53 | 108,255,727 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,297 | sci | iddata.sci | function varargout = iddata(varargin)
// Stores plant input-output data
//
// Calling Sequence
// plantData = iddata(yData,uData,Ts)
// plantData = iddata([],uData,Ts)
// plantData = iddata(yData,[],Ts)
// plantData = iddata(yData,uData)
// plantData = iddata(yData)
//
// Parameters
// uData : nx1 matrix... |
cfca16de3a07e624d0adb30ae20324b98d76f5f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH4/EX4.1/Ex4_1.sce | d2792b9a1fa44a3e852a0e045a009899d120bb95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | Ex4_1.sce |
mu_not=4D-7*%pi
a=(3D-2)^2//cross-sectional area
La=(20-1.5-1.5)*1D-2//length of flux path in part A
mu_r=1000//relative permeability for part A
Sa=La/(mu_not*mu_r*a)
mprintf("Reluctance of part A=%f*10^4AT/Wb\n",Sa/10^4)
Lb=(17+8.5+8.5)*1D-2//length of flux path in part B
mu_r=1200//relative permeability fo... |
9a5c6f3c947c711064defa4b05871f71144d9c10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH5/EX5.1/1.sce | baa4d4069b89099f4901bf31b37f20942fbe1a92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | 1.sce | clc
rho_m=840; //kg/m^3
g=9.8; //m/s^2
H=0.03; //m
rho=1.2; //kg//m^3
dp=rho_m*g*H;
v1=sqrt(2*dp/rho);
disp("Velocity =")
disp(v1)
disp("m/s") |
3b9d4c892db42b8f6a78cba4a889832a13cfb8cd | 816ccefab515b9e1fc5871beebf0913ecd2c8b94 | /regTests/cgtc/blunder.tst | 52d685a15bd01b337b92db9a95a3a7b07550d315 | [] | no_license | CurtisHughey/ergo | 45dff870a6592cb29b9aa68c416bae1577f41452 | 634ea9eddbd23c917407e667a535be9dae32d55c | refs/heads/master | 2020-04-06T07:02:17.089864 | 2016-08-21T23:53:12 | 2016-08-21T23:53:12 | 58,999,319 | 8 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,241 | tst | blunder.tst | #------------------------------------------------------------------------------
# Blunders
#
# Computer Go Test Collection http://www.cs.ualberta.ca/~games/go/
#
# $Source: /usr/cvsroot/project_cgtc/blunder.tst,v $
# $Id: blunder.tst,v 1.3 2004/04/28 17:10:39 emarkus Exp $
#--------------------------------------------... |
afc60214dec9fa990f2bb6c530fe4cd346a7a2d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH8/EX8.10/10.sce | cd610176e588bd6bd9e266a4a6fb4e5db9c0c167 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | 10.sce | clc
m=12*10^3/3600; // kg/s
Rho=815; // kg/m^3
d=0.05; // m
e=0.02;
d1=50; // m
d2=0.038; // m
g=9.8; // m
v=4*m/Rho/%pi/d^2;
f1=1/(2*log10(d1/e)+2.28)^2;
L_eq=d1+2*d1*d;
H_50mm=4*f1*L_eq*v^2/(d*2*g);
v=4*m/(Rho*%pi*d2^2);
f2=1/(2*log10(38/e)+2.28)^2;
L_eq=d1+2*d1*d2;
H_38mm=4*f2*L_eq*v^2/(... |
3b045362ba3a9ffc2cadc4925ddb577ff6cd0e6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH20/EX20.6/example6.sce | e24e2677ee640416ac007e92e2d08d5fe8b19271 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | example6.sce | // find decimal equivalent of binary input and output voltage of the converter
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 20-6, page 762
clear; clc; close;
// Given data
D0=1;// binary input
D1=0;// binary input
D2=0;// binary i... |
d782fe10e690d97b69accdb47bae572ee3d48f3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.11/Example5_11.sce | 756716c2b0fe7b6786b39b8d50874af419067b71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Example5_11.sce | //Example 5.11
clc
disp("Fig 5.25 shows the implementation of given Booolean function with 8:1 miltiplexer.")
disp("Implementation table")
disp(" D0 D1 D2 D3 D4 D5 D6 D7")
disp("A'' 0 1 2 3 4 5 6 7")
disp("A 8 9 10 11 12 13 14 15")
disp(" 1 1 0 A'' A'' 0 0 A... |
46cb71b1d45c8aec633dfbe951f5e681b8c33fa1 | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/execution/operateurs.tst | 8b4926bd4c220303ea62d64c3cdaaa755abca893 | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,009 | tst | operateurs.tst |
class TestOperateurs
public TestOperateurs() {}
private integer eval(integer v, string n)
{
prints(n);
prints(" a ete evalue\n");
return(v);
}
private string boolToString(integer v)
{
if v then
return("vrai");
else
... |
a99f15ea13ad8304fff8060327028b45f273616d | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH3/EX3.5/5.sci | 52758e6cf39631e0feeaefb01ee8635e87664574 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sci | 5.sci | clc;
clear all;
disp("Heat loss/length")
a=0.6;// m
b=0.45;//m
H=1.5;//m
k=0.51;// W/(m*C)
tp=105;// degree C
ts=5;// degree C
x=log(1+H/a);
y=H/b;
Sfc=2.756*((x^(-.59))*(y^(-.078)));
Q=k*Sfc*(tp-ts);
disp("W",Q,"Heat loss per meter length, Q =")
|
580dddb95f7fb685820a0fad54996915cae301bf | a7e81c6044ab372b6d8679d518050eced390391e | /ANN_Toolbox/builder.sce | efb3bc01d0c7357238e3bfd6ff0a8b89c002af4f | [] | no_license | AlessandroFC15/LicensePlateRecognition | 8a85541867ee5e855a8b14788ae99b423a4cf495 | 586834751c188eb750042f74ffb625c0ba1ef8be | refs/heads/master | 2020-07-14T01:32:31.450394 | 2016-09-12T17:48:59 | 2016-09-12T17:48:59 | 67,956,711 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,423 | sce | builder.sce | // =============================================================================
// Copyright INRIA 2008
// Copyright DIGITEO 2010 - 2011
// Allan CORNET
// =============================================================================
mode(-1);
lines(0);
function builder_main()
TOOLBOX_NAME = "ANN_toolbox";
TOOLBOX_... |
c0d2af8b25a131d2102bd64b098c530544057f3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.1/ex1_1.sce | f79d2c6e2b5f783827b0282209f5d5e3a9ccb7c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | ex1_1.sce | // Exa 1.1
clc;
clear;
close;
// Given data
T1 = 25;// in degree C
T2 = 100;// in degree C
del_T = T2-T1;// in degree C
V= 0.7;// barrier potential t 25°C in V
del_V = -(2)*del_T;// in mV
del_V= del_V*10^-3;// in V
V_B = V- abs(del_V);// in V
disp(V_B,"(i) When the junction temperature is 100 °C, the barri... |
157b7fd8cd57b4ed5b7ad548f5a93b3cbbde2096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH6/EX6.10/Ch06Ex10.sce | 81e66ac8326f704b4b90575e834ff2a94d2c219c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Ch06Ex10.sce | // Scilab Code Ex6.10: Page-200 (2006)
clc; clear;
x = 0.38; // Al concentration in host GaAs
E_g = 1.424 + 1.266*x + 0.266*x^2; // Band gap of GaAs as a function of x, eV
printf("\nThe energy band gap of 38 percent Al doped in GaAs = %5.3f eV", E_g);
// Result
// The energy band gap of 38 percent Al dope... |
d741e8415c5bd790c24cdb199ce630754de24b51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH27/EX27.13/Ex27_13.sce | 4d9506a09f56ade0fd9e9a0742fd165f039283e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | Ex27_13.sce | clear
//Given
B=45.0
Ic=1 //V
//Calculation
Ib=Ic/B
//Result
printf("\n The base current for common emitter connection is %0.3f mA",Ib)
|
d341d381fe3a663bbe2c9ad3e61acbd51a35c328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH1/EX1.10/Ex1_10.sce | c3a88c77312e5994fed21837471f3482fddb112c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex1_10.sce | //variable declaration
n=4
M=58.5 //Molecular wt. of NaCl
N=6.02*10**26 //Avagadro number
rho=2180 //density
//Calculations
a=((n*M)/(N*rho))**(1/3)
s=a/2
//Result
printf('a=%0.3f*10**-9 metre\n",(a/10**-9))
printf('spacing between the nearest neighbourin... |
088b8414f85e64338b1c0fe9b1e3e1c26187a305 | f0919c8ea73f22939a890aa4f8327f8200344d2b | /svn/script/put_svn.tst | 518c7e3dbe6d74a954feb2ea1af8022eb19b0bdc | [] | no_license | kalex375/OVC | af5e91f90754454b90f339e846c5b9112d38d6c8 | f4b47dfc497299c4944b4ff9b93253c279012454 | refs/heads/master | 2021-05-31T07:55:44.326597 | 2013-12-02T14:15:52 | 2013-12-02T14:15:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,400 | tst | put_svn.tst | PL/SQL Developer Test script 3.0
69
DECLARE
c utl_tcp.connection; -- TCP/IP connection to the Web server
ret_val pls_integer;
BEGIN
-- OPTIONS to start ra_session
-- PROPFINDs to discover various opaque URIs
-- MKACTIVITY to create a transaction
-- try:
-- for each changed object:
-- ... |
bb9d63a6ef4ef64b3002eb2132fefd0c279bb0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3889/CH10/EX10.2/Ex10_2.sce | 349079f1bec2a493e48c8210b2d1cb5063f4f4f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | sce | Ex10_2.sce | //Example 10.2
//page 657
//Control Systems: Principles and Design
//M Gopal, Second Edition, Tata McGraw-Hill
//Chapter:Compensator design using Bode Plots
xdel(winsid())//close all graphics Windows
clear;
clc;
s=poly(0,"s")
w=poly(0,'w')
G=1/(s^2)
zeta=0.45
pm=50 //degrees
K=1
G1=syslin('c',K*G)
[gm,f... |
9f14dc70eca384a3e059edac5100e646cfb3e1f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.8/EX4_8.sce | f36d6673b2d4c851cacf3240b755906eb68e0087 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | EX4_8.sce | //EXAMPLE 4-8 PG NO-230-231
V=25;
Vm=0.64;
Vn=3.05;
R1=5;
R2=9.64
I1=(V-R2)/R1
disp('i) CURRENT (I1) is = '+string (I1) +' A ');
I2=R2/4;
disp('ii) CURRENT (I2) is = '+string (I2) +' A ');
I3=(R2-Vn)/10;
disp('iii) CURRENT (I3) is = '+string (I3) +' A '... |
4126e443a7e8156bb8d6e8221bbb791ee28af916 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CF20.prev.tst | a546038d205e0de27c208d6e5f31ed73d05d0a21 | [
"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 | 194 | tst | CF20.prev.tst | 0 0
1 1
2 1;2
3 1;1,2
4 2
5 2;4
6 2;2,4
7 2;1,1,1,4
8 2;1,4
9 3
10 3;6
11 3;3,6
12 3;2,6
13 3;1,1,1,1,6
14 3;1,2,1,6
15 3;1,6
16 4
17 4;8
18 4;4,8
19 4;2,1,3,1,2,8
20 4;2,8
|
c313904dc548029427a9e014edb30c2bd9055f60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.37/4Ex37.sce | a011834bec9e074c376fba28db43222584414de9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 4Ex37.sce | //chapter 4 Ex 37
clc;
clear;
close;
cost1=86; cost2=112;
x=poly(0,'x');
y=(cost1-2*x)/3; //equation 1
y=cost2-4*x; //equation 2
for x=1:99
if (cost1-2*x)/3==cost2-4*x
break
end
end
y=cost2-4*x;
printf("The cost of pen is Rs.%d and that of pencil is Rs.%d",x,y);
|
9a698dd4a19289536f0a17ed52256b3f3e3dd46a | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0074.tst | 1a65b40ac55ddfeb125df51a48ed86ade1716785 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 276 | tst | 0074.tst | SPLITTeR f {}
fILTER xYHy { }
fiLTER Nk {X oR jIT Or Ds or o NOT DYD }
Y -> jJ
grOuper x {mOdULe ba{ w < cfy RdElTA 50m } aGGREgAte COUNt(C.g) aS x ,AVg(aceeKB) as HVO ,joS.vx ,zzn.S }
uNgROUPER DuZBk { }
gROUPfILter xA {not Hjl ( ) }
mErgEr miu { exPOrt uCCY } |
5084521a5b929f50f37b3212905aa50d6cc48898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH6/EX6.4/Ex6_4.sce | 93e64dcec9d8ca4872b7a0eb5495c4ab5fc34583 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 887 | sce | Ex6_4.sce | //CHAPTER 6 ILLUSRTATION 4 PAGE NO 177
//TITLE:Turning Moment Diagram and Flywheel
//figure 6.4
clc
clear
//===================
pi=3.141
N=480// speed of the engine in rpm
k=.6// radius of gyration in m
Cs=.03// coefficient of fluctuaion of speed
Ts=6000// turning mo... |
2bffa4757bfca9d99f0037efa0084ddb38ebfb7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH6/EX6.4/ex6_4.sce | 7b2135ee02d6f9e490701256ddebf720fb94757e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | ex6_4.sce | //Part A Chapter 6 Example 4
clc;
clear;
close;
T1=150+273;//K
T2=25+273;//K
m=1;//kg
cp=0.393;//kJ/kgK
deltaS_block=-m*cp*log(T1/T2);//kJ/kgK
HeatLost_block=-m*cp*(T1-T2);//kJ
deltaS_water=-HeatLost_block/T2;//kJ/K
deltaS_universe=deltaS_block+deltaS_water;//kJ/K
deltaS_universe=deltaS_universe*1000;//J/... |
1749cc43e30be476386a3bbef0d71f8b306c632e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH23/EX23.1/Ex23_1.sce | bea86cdec51fb5dc237547931cef4b0b4cad8640 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | Ex23_1.sce | clc;
ID=4*10**-3;
IDSS=2*ID;
RS=390;
VGSQ=-ID*RS;
VP=-4.5;
RD=2.2*10**3;
gm0=(2*IDSS)/(-VP);
gm=gm0*(1-(VGSQ/VP));
Av1=-gm*RD;
Av2=-gm*RD;
Av=Av1*Av2;
disp(Av);
vi=20*10**-3;
vo=Av*vi;
disp('mV',vo*10**3,"vo=");
Zi=10*10**6;
RG=10*10**6;
disp('Mohm',Zi*10**-6,"Zi=RG=");
Z0=2.2*10**3;
RD=2.2*10**3;
... |
ecd738a63e7df9fb81d068b6d95ff16890179d62 | b24d354cfcd174c92760535d8b71e22ced005d81 | /Signal Processing functions/demod.sci | 1ac7a751beb891e577f96536a35ad7d7840eb335 | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 7,397 | sci | demod.sci | function [x1,varargout]= demod (y,fc,fs,method,varargin)
//Demodulation for communication systems
//Calling Sequences
//
//x = demod(y,fc,fs,'method')
//x = demod(y,fc,fs,'method',opt)
//x = demod(y,fc,fs,'pwm',centered)
//
//Input parameters:
// y: Real carrier signal
// fc: Carrier frequenc... |
eebb768fb6a52c2bfe8e842ef52e0179ec36112d | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.11.2/ques11_2.sce | 0aa2b23433b1c7c023f96b5889a6d7d0cb98d182 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | ques11_2.sce | //ques11
disp('To find the inverse laplace transform of the function');
syms s t
f=(s+2)/(2*s^2-4*s+13));
il=ilaplace(f,s,t);
disp(il);
|
a5bdb2e043457ce994206565216450fc6c7f5c31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH8/EX8.1/8_1.sci | ffe63563dfa561425d8f30d54c4a611adc50ce2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sci | 8_1.sci | // calculate the arrangement of slip gauges
clc;
Dd=52.215;
disp(Dd,'desired value=')
Pb=4;
disp(Pb,'Protected block=')
R=Dd-Pb;
disp(R,'Reminder=')
Tp=1.005;
disp(Tp,'thousand block=')
R=R-Tp;
disp(R,'Reminder=')
Hp=1.010;
disp(Hp,'Hunderths block=')
R=R-Hp;
disp(R,'Reminder=')
Ttp=2.20;
disp(Ttp,'te... |
ec574667ace11035d8a5e2c4bedc78307c76f341 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH12/EX12.3/Ex12_3.sce | 15894b9f94d3be1706011cdc6b850cf3895eabdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex12_3.sce | clear;
clc;
Length=4 //in micro-m
Width=1 //in micro-m
R=1000 //in ohm
xj=1*10^-4 //junction depth in cm
//Calculation
N=Length/Width
R0=R/N
rho=R0*xj
mprintf("Sheet resistance= %i ohm\n",R0)
mprintf("average resistivity= %0.3f ohm-cm",rho)
|
03fede5c0ac95f940817f772269ac96a40aba1bc | be07c1e346737e6e38bb958d9a66f52f6da2180a | /Regression/CONTROL_FLOW/CONTROL_FLOW_W.tst | 3c587ebafc59faef02161f0bd39850c976623559 | [] | no_license | dpreisser/Training | 1bc8840d646306d861f4c7610a28bb23667f06e5 | 97eb58c7963e4725d6a2ad9e8200ca9367c84061 | refs/heads/master | 2021-01-10T13:03:12.508795 | 2016-04-11T12:49:06 | 2016-04-11T12:49:06 | 54,963,561 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,313 | tst | CONTROL_FLOW_W.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : CONTROL_FLOW_W
-- Unit(s) Under Test: control_flow
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST... |
568c4145e904886d0645707139abaa70442849b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.56/EX4_56.sce | a957b17eb2cfa57eb77529245277631614f0125b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | EX4_56.sce | //EXAMPLE 4-56 PG NO-265
I1=5.92-%i*4.833;
V=12+%i*0;
Z=V/I1;
disp('i) Input Impedance (Z) is = '+string (Z) +' ohm ');
|
09ebc0981d94cf071d48d3302b2ca459ad50f1c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.5/ex1_5.sce | 18228aae98bec5bc02abc112dc2072f8b293261d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex1_5.sce | // Exa 1.5
clc;
clear;
close;
// Given data
R_L1 = 1*10^3;// in ohm
R_L2 = 0.23;// in ohm
R_T = R_L1+R_L2;// in ohm
v1 = 10;// in V
v2 = 0.7;// in V
V_T = v1-v2;// in V
I_L = V_T/R_T;// in A
disp(I_L*10^3,"The load current in mA is");
V_L = I_L*R_L1;// in V
disp(V_L,"The load voltage in V is");
|
a4dc7da1e5e434da96c7de158688afa10d71d0f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.9/9_9.sce | febc416a1c52566bf12ef133990fa6a17ee296c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | 9_9.sce | clc
//initialisation of variables
W= 2000 //kW
m= 2 //kg/s
h1= 3023.5 //kJ/kg
s2= 5.6106 //kJ/kg K
s1= 6.7664 //kJ/kg K
//CALCULATIONS
h2= h1-(W/m)
S=s2-s1
//RESULTS
printf (' enthalpy = %.1f kJ/kg',h2)
printf (' \n entropy change = %.4f kJ/kg K',S)
|
4286efaee0b7c22636a2becfc6830c33f6a8bc80 | 0778f91e335afef58ae45c5a33184587cee76088 | /EX5.sci | a949baa2bb9a84f5d99b8596089d006922dbc295 | [] | no_license | LtavaresII/CN | b38e6f5531a3597f8705bdf163f4cec49f49d51e | 0dcfb182692dee3ecf71d62162f986f816b3d687 | refs/heads/master | 2020-03-25T23:35:53.410172 | 2018-12-05T14:17:32 | 2018-12-05T14:17:32 | 144,282,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sci | EX5.sci | function z = gx(t,x,y)
z = x*t - y
endfunction
function w = gy(t,x,y)
w = y*t + x
endfunction
function [t,x,y] = heun(a,b,h,x0,y0)
t = a:h:b
n = length(t);
x(1) = x0
y(1) = y0
for i = 1:n-1
k1x = gx(t(i),x(i),y(i))
k1y = gy(t(i),x(i),y(i))
k2x = gx(t(i) + h... |
e06cc66271e1969f33fc5229e8e794c5df678f9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH10/EX10.4/4.sce | 6eed23f7ba7901a126526d7f6f86756f0ac6d9cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4.sce | clc
clear
//input
n=6//order of fringe
l=0.63*10^-6 //wavelength
x=24.8*10^-3 //seperation of bands
d=1.5
a=2.7*10^-4
//calculation
x=d*(6+1/2)*l/a//distance between centre and sixth fringe
w=l*1.6/a//fringe width
//output
printf("the distance between centre and sixth fringe is %3.3e m",x)
printf("\nthe fr... |
9a3666d552472e5804fe06e3a1cbd5b33cff823f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.1.b/2_1_soln.sce | 0137924c2e5c6420787ee4f2fce368f340136a81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 2_1_soln.sce | clc;
pathname=get_absolute_file_path('2_1_soln.sce')
filename=pathname+filesep()+'2_1_data.sci'
exec(filename)
// Solutions:
// we know acceleration due to gravity,
g=32.2; //ft/s^2
W=(m*g);
// Results:
printf("\n Results: ")
printf("\n The weight of Body is %.0f lb.",W)
|
76763acaf2bc02f261456297d14069f23b386436 | 928fd2a05943aaa54c26a75b62a39e027bcb2b63 | /tests/fix_atari.tst | 7d0eeae39f72f4cb9f9f1b65892ae2ffeb82a32c | [
"MIT"
] | permissive | timotamo/michi-c | e70156aea474c66ee28d6d49081d956b2d203010 | fc4b0d75b2764fff80a2afec374e5286b93e65bd | refs/heads/master | 2020-12-25T00:27:43.211705 | 2015-08-30T18:08:25 | 2015-08-30T18:08:25 | 41,674,387 | 1 | 0 | null | 2015-08-31T12:35:28 | 2015-08-31T12:35:28 | null | UTF-8 | Scilab | false | false | 863 | tst | fix_atari.tst | #-------------------------------------
# tests of the michi fix_atari routine
#-------------------------------------
# escape
# ------
debug setpos C8 C9 E9 B8 F9 D8
10 debug fix_atari C8
#? [1 C7]
debug setpos C1 G7 B2 B1
20 debug fix_atari B1
#? [1 A1]
play b e5
30 debug fix_atari B1
#? [1]
# counter capture
# --... |
1b9d58dd9f9b05f158853a8d05f6e062033891dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH16/EX16.8/Chapter16_example8.sce | 89b541dc7c4d4c28baa23b8256381ac5f431a78a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,288 | sce | Chapter16_example8.sce | clc
clear
//Input data
d=0.2;//The diameter of bore in m
L=0.3;//The length of the stroke in m
r=5.5;//The compression ratio of the engine
N=400;//The speed of the engine in rpm
imep=4.5;//The indicative mean effective pressure in bar
a=6;//Air to gas by volume
CV=12000;//The calorific value of the gas in kJ/... |
a2e9783356cd96ae5d1fe0d267d67af0071c0db3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/ins2sci.sci | aa4515d2b81aa31b168cff79760ba2b971018a20 | [
"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 | 488 | sci | ins2sci.sci | function [txt,vnms,vtps,lcount]=ins2sci(lst,ilst,vnms,vtps)
// traduit un ensemble d'instructions debutant a l'adresse ilst de la
// liste courante lst
//!
// Copyright INRIA
nlst=size(lst)
level;level(2)=0;
txt=[]
while ilst<=nlst then
if type(lst(ilst))==15 then
[t1,vnms,vtps]=cla2sci(lst(ilst),vnms,vtps)
i... |
9cd67ab023d97d402f9f03076cb91e1e27d44b08 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD1/malthus/graphA.sce | 23f65e8d46d448ed55a9502892a9f0ac0bbcc1c8 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | graphA.sce | clear // supprime les anciennes variables
clf // supprime la figure
avect = 0:0.2:2; // vecteur allant de 0 à 2 avec un pas de 0.2
b=0.1; d=0.05; // déclaration de variables b et d
ndate = 0:20; // vecteur allant de 0 à 20
for i = 1:11 // boucle qui va dessiner les variables
x(1) = avect(i); // initialise la premiè... |
76319f82228a932a76fbcff2f03f245d1b5ec325 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.22/Ex2_22.sce | e313b1dfa3e90a59a6333a16032df7bee2556724 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ex2_22.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.22
//Given Data Set in the Problem
dens=1000
g=9.81
p0=10.143*10^4
Z=2500
//calculations
//1) pressure by hydrostatic law
dens0=1.208
p=p0-integrate("dens0*g","z",0,Z)
mprint... |
3868b270f9c702e0c8c66ff9586b6f55894e40c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH14/EX14.9/Ex14_9.sce | 5175885112f1109bbaa0cbbfa6bfe6a08fae36df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Ex14_9.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 14 Operational Amplifiers Pg no. 431 and 432
clear;
clc;
//Given
A=175000;//open loop voltage gain
Zin=1.5D6;//input impedance in ohms
Zout=70;//output impedance in ohms
Ri=8.2D3;//resistance Ri in ohms
Rf=180D3;//feedback resistance in ohms
//Solution
... |
d971d93e05c81267ea89d4164dacaf7a919d15ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.07/33_07.sce | e9eb9398898c9aed3c601815ce2b1f5d1583113d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,446 | sce | 33_07.sce | //Problem 33.07: For the network shown in Figure 33.32, derive the Th´evenin equivalent circuit with respect to terminals PQ, and hence determine the power dissipated by a 2 ohm resistor connected across PQ.
//initializing the variables:
rv1 = 5; // in volts
rv2 = 10; // in volts
thetav1 = 45; // in degrees
thet... |
fd8332b17d09896336058a874d42658f42879de1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.36/Chapter1_Example36.sce | cf47d22b74ea761fdd7dc43f17ddcfc9a6471906 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter1_Example36.sce | //Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
//INPUT DATA
V=200;//Terminal voltage in V
Ra=0.05;//Armature resistance in ohm
Rse=0.03;//Field resistance in ohm
N1=1000;//Present speed in rpm
N2=800;//Required speed in rpm
Ia=4... |
a40739028461faf91f8dab65835c4549eb1fbd58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH2/EX2.7/Ex2_7.sce | f1444321126b8402a3465367f8035623273641b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | Ex2_7.sce | clc
clear
printf("Example 2.7 | Page number 41 \n\n");
//Find the mep, in kPa, and the indicated power in kW.
//Given Data
//four-stroke engine
x = 3 //number of cylinders
y = 1 //engine is single-acting
n = 500 //rev/min
N = n/2 //cycles/min
D = 0.075 //m //bore length
L = 0.1 //m //stroke length
a = 6... |
17daf8d024d654338e3b9bd5f686e221f7143acb | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH9/EX9.7/exm9_7.sci | 606b674624d77ba0523f84194f433dd0650b1b29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sci | exm9_7.sci | // Example 9.7
//Write a multifunction how autometic variables work.
funcprot(0);
function[]=function1()
m=int32(10); //Local Variable
disp(m); //First Output
endfunction
function[]=function2()
m= int32(100); //Local Variable
function1(); //Calling... |
f343c72eb68bd954e641337f880d8075a7440568 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_9/Scilab_codes/4a.sce | 200f565bca82397487714c9bc3295f5c79266842 | [] | 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 | 105 | sce | 4a.sce | clear
close
clc
s = poly(0,'s');
G = (1)/(s^3+ 3*s^2 + 2*s);
Glin = syslin('c',G);
clf();
evans(Glin);
|
f3b12aaa4d7259234288af6026fbda08b04e3c2d | 1548cc7d625201f06602cf56f3cd1dcf9be76260 | /main.sce | 3ee537c222c68af1cb0acb719b6caa57d0e0d483 | [] | no_license | Hermann-web/Dynamic-System-phase-portrait-with-euleurMethod-scilab | 396ce9c3ddc88e28794b2fc67f81fdfbdd0217de | 6c0053b5f96fcfc619ff7f9e4870c3dbb27a0563 | refs/heads/main | 2023-08-07T02:45:30.805911 | 2021-10-04T20:15:36 | 2021-10-04T20:15:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,187 | sce | main.sce | function [liste_y,liste_t]=RK4(f,y0,N,T)
y=y0;
liste_y=[y0];
t=0;
liste_t=[0];
h=T/N;
for k = 1:N
k1=h*f(t,y);
k2=h*f(t+h/2,y+(k1/2));
k3=h*f(t+h/2,y+(k2/2));
k4=h*f(t+h,y+k3);
y=y+(k1/6)+(k2/3)+(k3/3)+(k4/6);
t=t+h;
liste_y=[liste_y,y];
liste_t=[liste_t,t];
end
e... |
567a1efc36d385f14329dbb1ead23f24f3b4cbda | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/Self_tuning_controller/SelfTuning_Vikas/PIDControllerFandisturbance/scilabwrite.sce | 18a7f9d84fb878dde3cb1ab5b6f405346648e8b0 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 912 | sce | scilabwrite.sce | 0.10000E+00 0.00000E+00 0.10000E+03 0.10000E+01
0.10000E+01 0.00000E+00 0.50000E+02 0.10000E+01
0.20000E+01 0.00000E+00 0.50000E+02 0.20000E+01
0.30000E+01 0.00000E+00 0.50000E+02 0.30000E+01
0.40000E+01 0.00000E+00 0.50000E+02 0.40000E+01
0.50000E+01 0.00000E+00 0.50000E+02 0.50000E+01
0.60000E+01 0.00000E+00 0.50000E... |
4041847005d11f638a32b5ff7e399e5d72cbff1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH10/EX10.6/example_10_6.sce | eaf9d8e75f960da482a3aaa4a82a683037ba481f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | example_10_6.sce | //example 10.6
clc;
clear;
printf('The correct logic expression is : (down-up)''(Qa)(Qb)(Qc)(enable)'''); |
7ae3d527ee7514124272ace5cf0d528d1c297372 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.15/15.sce | 308f5d0da8d285e98bca205ec8852d46e4502ceb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 15.sce | clc
d=0.0015; //m
l=0.15; //m
A=%pi*d*l;
ts=120; //0C
tf=100; //0C
h=4500; //W/m^2 0C
Q=h*A*(ts-tf);
disp("Electric power to be supplied =")
disp(Q)
disp("W") |
b85cd2eab92893dbe06b5787f9e1d2c24bc09a55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH6/EX6.4/Ex6_4.sce | c83f6fcdb62e1eabca3b2020d51682d5cbc3b025 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | Ex6_4.sce | //Ex:6.4
clc;
clear;
close;
R_l=400;
V_in=9;
V_z=5;
P_z_max=0.5;
R_s_max=R_l*((V_in/V_z)-1);
R_s_min=((V_z*V_in)-V_z^2)/P_z_max;
printf("Suitable value of resistor = %d ohm",(R_s_max+R_s_min)/2); |
299d0ea51a33ca33a472bbf15ae0d46c76e5e794 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH1/EX1.2/1_02.sce | 5c67fda41da2ffd734bf3f082e041499e32fede8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 1_02.sce | //Chapter 1, Problem 2
clc;
M=5; //mass in kilogram
A=2; //acceleration in m/s2.
F=M*A; //calculating the force needed
printf("Force = %f N \n\n",F); // displaying the result with unit
|
ca769cc9d429d4bd966c131f10b119c6e09f6754 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH5/EX5.1/EX5_1.sce | bd52a809faa275b0c0d6a1bb1d5c8c43c732debe | [] | 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 | 860 | sce | EX5_1.sce | clc;funcprot(0);//Example 5.1
//Initilisation of Variables
Tw=30;....//Surface temparature of plate in degrees celcius
Ta=300;....//Temparature of air in degrees celcius
P=0.06*10^5;...//Pressure of air in bar
U=10;....//Velocity of flat plate in m/s
K=0.0364;...//Thermal conductivity of air in W/m*K
Pr=0.687;..... |
5832ba937ad5f3eca3a03529fdf99966387bfce9 | b59f38fb8e181f5a207854c050b30c5175333276 | /functions/StartingPosition.sci | bdeab0ea324d75cf0e070bdf8ed99e688f12303f | [
"MIT"
] | permissive | Matii96/sand-simulation | da9ce8a6de5b50a606af4781f1e011096a8cc2f5 | e2ef4e63b7425cf8e15c414a4b497630ba844db9 | refs/heads/master | 2020-12-10T18:55:58.231143 | 2020-01-19T12:51:29 | 2020-01-19T12:51:29 | 233,679,584 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sci | StartingPosition.sci | function [state] = StartingPosition()
state = zeros(50, 40);
s = size(state);
for x = 1:s(1)
for y = 1:s(2)
if y < SandLine(x)
state((s(1) - x + 1), y) = 1;
end
end
end
endfunction
|
8aaf56cb807945ba67e40dc4e08a4aa726f38d89 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummax/cummax10.sce | 6bf15001ee89e51cd8a034b2eeabe75112f2e8ba | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | cummax10.sce | //check o/p when too many i/p args are passed to the function
v=[8 3 6 ; 7 9 10; 6 2 2];
m=cummax(v,2,'reverse',2);
disp(m);
//output
//!--error 77
//cummax: Wrong number of input argument; 1-6 expected
//at line 50 of function cummax called by :
//m=cummax(v,2,'reverse',2);
|
7cffc76fb0340a0cda10f402a9a3c48bcec23540 | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp3/exo3&4/cholesky.sci | 931a8c4ab7764ea6754d3bf5c19acfbd61783717 | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sci | cholesky.sci | function [C] = cholesky(A)
[n,n] = size(A)
C = zeros(n,n)
for j = 1:n
s = A(j,j)-sum(C(j,1:j-1)^2)
if(s<=0) then
error("Matrice non définie positive");
end
C(j,j)=sqrt(s)
for i = j+1 : n
C(i,j)=1/C(j,j)*(A(i,j)-sum(C(i,1:j-1).*C(j,1:j-1)))
... |
00a5b7f000f33319d810ab1219b60caca784bf15 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_vrt_ind/~BivLCM-SR-bfas_oo_vrt_ind-PLin-VLin.tst | ed6ddefd10c253c85e6ed1fe268175160b6937cb | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oo_vrt_ind-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.273773D+00
... |
122bde0a21113d9b276ab5cb5c72dbeeb8eac2a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH9/EX9.7/Example9_7.sce | c9179c583fe4de9c76b3b23a7643da0bc02048b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 883 | sce | Example9_7.sce | //Example 9.7.refer fig.9.39
clc
hfe=60
hie=500
IC=3*10^-3
RB=220*10^3
RC=5.1*10^3
VCC=12
VBE=0.6
format(5)
disp(" RB = 200 k-ohm >> hie = 500 ohm")
disp("From h-parameter model")
beta=hfe
Zo=RC
Av=(-hfe*RC)/hie
disp(" Zi = hie = 500 ohm")
disp(" Zo = RC = 5.1 k-ohm")
disp(Av," Av =... |
8f7ee36330e721840fb0638991b225b786305fe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH17/EX17.3/17_3.sce | c37af4af7295007f8bac6732e9e6a096a7bf3b2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | 17_3.sce | clc
//initialisation of variables
p0= 10 //Mpa
R= 8.314 //J/mol K
T= 30 //C
va= 0.02 //m^3/kmol
xa= 0.98
//CALCULATIONS
p= p0+(R*(273.15+T)*log(xa)/(va*1000))
//RESULTS
printf (' Pressure of the phase of pure A= %.2f Mpa',p)
|
84dc2f952cf686193c6ef3e366068719e465885f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH12/EX12.5/Ex12_5.sce | dc9ea51e1b621fd72d3a128afb95b43dfe1dd73c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_5.sce | clear
//
//
//
//Variable declaration
s=12411*10**3 //stress(Pa)
t=0.0168 //tension
e=0.127 //elongation(cm)
l=15.24 //length(cm)
g=9.8
L=68.04 //load(kg)
//Calculation
E_eff=s/t //effective modulus(Pa)
S=e/l
W=E_eff*S
A=L*g/W //cross sectional area(m**2)
//Result
printf("\n effe... |
1e120d0f9353e08fc3cb1f678519b07bc8f87a54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH3/EX3.8/Ex3_8.sce | c97ac191d416b836c97829084c50317062aebb71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sce | Ex3_8.sce | // Given:-
// State 1
m = 0.9 // mass of air in kg
T1 = 300.0 // initial temperature in kelvin
P1 = 1.0 // initial pressure in bar
// State 2
T2 = 470.0 // final temperature in kelvin
P2 = 6.0 ... |
eed06112ea2e169a83d4ea4eb9c232b9a81329e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH22/EX22.03/22_03.sce | ac3f3e9a1766d15d71d6f0c73ecb2ad5230079c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 22_03.sce | clear;
clc;
v=11e3;
r=25e6;
e=1;
xg0=.05*%i;
x1=.15*%i;
x2=.15*%i;
zbase=v^2/r;
res=.3;
xd=res/zbase;
x0=xg0+(3*xd*%i);
x=x1+x2+x0;
ia0=e/x;
ia=3*ia0;
iabase=r/(1.7398*v);
ia=ia*iabase;
ia=fix(ia);
printf("the line current for a line to ground fault=%dA",-imag(ia));
|
5ae77cb0cb2a83b615d4a737dc686a2bf1580c0f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rssq/rssq10.sce | 0d98ed2a91c184336de9f7036c6fbc4085230045 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | rssq10.sce | //check o/p when too many i/p args are passed to it
x=[1 2 3;2 7 4;4 2 5];
r=rssq(x,2,3);
disp(r);
////output
// !--error 58
//Wrong number of input arguments.at line 3 of exec file called by :
///rssq/rssq10.sce', -1
|
e8a2d28b71fdb59d46ff645a90e71117464d661b | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH10/EX10.5/ex_10_5.sce | 64bc1198f8a1eab9b7c6b9d26faceda5af47b609 | [] | 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 | 660 | sce | ex_10_5.sce | //find length of each parallel fillet weld
clc
//solution
//given
//ref fig 10.15
b=75//mm//width
t=12.5//mm//thickness
ft=70//N/mm^2
T=56//N/mm^2
l1=b-t//mm
s=12.5//mm
//let l2 be length of each parallel fillet for static loading
//P=A*ft
P=b*t*ft//N//max load
P1=0.707*s*l1*ft//N
//P2=1.414*s*l2*T=990*l... |
9e5c3ea13f178f7cdea2d0c4cd632b6d463ea41f | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH10/EX10.4/ex_4.sce | d97c22fe9246f137cd4d13d794416548c627e445 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_4.sce | // Chapter 10_Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor
//Caption_Flat band voltage
//Ex_4//page 445
Na=3*10^16
eps=11.7*8.85*10^-14
eps_ox=3.9*8.85*10^-14
e=1.6*10^-19
Qss=10^11
Vtn=0.65
ni=1.5*10^10 //intrinsic carrier concentration
phi_ms=-1.13
phi_fp=0.0259*log(Na/ni)
xdt... |
ca607cc110e31424da7873ab42fb661e9538e78b | 04bf9c17fef56216adb24f0222355e251d14698a | /wangaudiofinal/voyellestoutesseules1.sce | 26b3af49e6667210a846c5a86633eed8a654db1f | [] | no_license | xiaoouwang/psycho | 0fb275b23b39e1a287cd20366abaef0c9d8ceb71 | 990949699f0649f1cc937ec44737483ebd8a6824 | refs/heads/master | 2023-05-05T22:47:59.399140 | 2021-04-30T15:37:12 | 2021-04-30T15:37:12 | 363,183,984 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,284 | sce | voyellestoutesseules1.sce | scenario = "Entraînementaudio XP";
default_font = "Arial Unicode MS";
default_font_size = 33;
begin;
sound {wavefile { filename = "Sans_titre3.wav"; }; }s5;
sound {wavefile { filename = "Sans_titre2.wav"; }; }s66;
text { caption = "正式训练开始,我们训练的元音为\n\n /o/(peau) /O/(porc) /é/(fée) /eu/(peu) /oe/(peur)"; fo... |
df3aebee58aaa24f77afdae47d1ef6c498d89204 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH17/EX17.6/Ex17_6.sce | 0aa1c0bc938592bfd9c8668f226f5e9bf1aaf1ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Ex17_6.sce | //Chapter 17: Antenna Temperature, Remote Sensing and Radar Cross Section
//Example 17-4.1
clc;
//Variable Initialization
tf = 0.693 //Absorption co-efficient (unitless)
Te = 305 //Earth temperature (K)
Ta = 300 //Satellite antenna temperature (K)
//Calculations
Tf = (Ta - Te*exp(-tf))/(1-exp(-tf))... |
e7597a5dd02e2ae729415071a7a3f28dbe019c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH7/EX7.2/Ex7_2.sce | a2e7d7f3de4f047feeb40eade48895a7c8a54b7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,409 | sce | Ex7_2.sce | clc;
//page 344
//Drawing of shear and bending moment diagram
printf("Given problem is for drawing diagram, this diagram is drawn by step by step manner.\n ");
F_A=-20;//kN, force applied at A
F_C=-40;//kN, force applied at C
AB=2.5;//m, perpendicular distance between A and B
BC=3;//m, perpendicular distance bet... |
669327ccb3a062526dfbd9bce08f7aa0afb9c04c | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH4/EX4.6/Ex4_6.sce | 430ea5560c8c54ab72ad8ff1a2a7439fbbeeda9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | Ex4_6.sce | //Ex:4.6
clc;
clear;
close;
V=10;//pk-pk voltage
r=1000;//ohms
I_pk=V/r;//in Amps
I_rms=0.353*I_pk*1000;//milliamps
printf("RMS current of 10V peak-peak voltage = %f mA",I_rms); |
bffd8cb867728d34650b7a2010a9596ac1179782 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.28/Example10_28.sce | d8eedce5498fc7eee25df8dd6e38d975e47b1809 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | Example10_28.sce | /////////Chapter 10 Properties Of Steam
///Example 10.28 Page No:209
///Enthalpy after throttling
//Input data
clc;
clear;
P1=12; //Throttled steam
x1=0.96; //Dryness is brottled
x2=1; //Constant enthalpy process
//From steam table at12 bar
ts=188; //In degree celsius
hf... |
b6e5f8e14592f0e969ea6ba6c4ca3d32365f71d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH4/EX4.7/ex4_7.sce | 2269a1af7e460ffae79838af5f5eba819598f099 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | ex4_7.sce | clc;
D=150; // Cylinder Diameter in mm
L=200; // Piston stroke in mm
C=0.05; // Clearance factor
p1=15; // Steam inlet conditions (saturated) in bar
p4=1; // Exhaust or back pressure in bar
p2=p1; // Constant pressure process
p5=p4; // Constant pressure process
Vp=(%pi*(D*10^-3)^2*L*10^-3)/4; // Swept volme of ... |
8601013e179c491cc59f2e7921f2bd323da5f5a5 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/scilab_wave_ws/standalonewave.sce | cb2447e727500d0c485fee06e0a4232b899794c8 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,396 | sce | standalonewave.sce | //Executed from scilab using format and system boxes
//with the command:
// /usr/bin/scilex -nw -nb -f run_wave2d_dx.sce
exec("wave2d.sce");
exec("savevtk_xym.sci");
jobname='job1';
//Read input
wavetype=1; //travelling
nsteps=40;
maxamplitude=20;
wavenumber(1)=10;
wavenumber(2)=5;
wavefreq=8;
delta(1)=0.01;
del... |
b914e04403a9d18f0899c77a513d53b87b550770 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.11/1_11.sce | 9ad53085d5f55260051d796322262b8cedb21665 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sce | 1_11.sce | clc
clear
//Input data
r=1.4;//Air standard ratio
p1=1.25;//Cut off ratio 1
p2=1.50;//Cut off ratio 2
p3=2.00;//Cut off ratio 3
rc=16;//Compression ratio
//Calculations
n1=(1-((1/rc^(r-1)*(p1^r-1)/(r*(p1-1)))))*100;//Thermal efficiency of the diesel cycle for cut off ratio 1.25
n2=(1-((1/rc^(r-1)*(p2^r-1)/(... |
8a4003ad377b9f7a42e170a7672a4ee125c04d09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH13/EX13.3/Ex13_3.sce | 509a35042310ddba2c529e0568c9128709e52ef7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex13_3.sce | clear
//
//Given
//Variable declaration
L=2.5*1000 //Length in mm
w=16.4 //Uniformly distributed load in kN/m
I=7.95e7 //Moment of Inertia in mm^4
E=2e5 //Youngs modulus in N/sq.mm
//Calculation
W=w*L //Total load in N
yB=((W*L**3)/(E*I*8)) ... |
cc7e5be626142d19bf7a32d0815f100d0fd5f4bb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH6/EX6.7/ex6_7.sce | 1a95b029a7ab3db84b176361e783c85d0f549d41 | [] | 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 | 146 | sce | ex6_7.sce | errcatch(-1,"stop");mode(2);// Example 6.7, page no-374
rho=1000
h=10
P=rho*h
printf("P = %d kg/m^2 = %d kg/cm^2 ",P,P/10000)
exit();
|
d833d62c3b6423ea72580d3541159e88e3b73736 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH6/EX6.1/EXAMPLE6_1.SCE | ff97899280c7740e109eee3f88c053e0eeb7f5d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | EXAMPLE6_1.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 6
//NOISE
clear all;
clc;
printf("EXAMPLE 6.1(PAGENO 281)");
//given
R = 10*10^3//resistance of amplifier in ohms
T = 273+27//temperature in kelvin
B = (20-18)*10^6//bandwidth
k = 1.38*10^-23//boltzman's constant
//calculations
V_n = sq... |
f26020939b74fbf1c9c6e520a57b8d097f3806e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH17/EX17.14/Ex17_14.sce | f0be52823ebd09b7545143adae1c5e7c6a0837d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,175 | sce | Ex17_14.sce | // Example 17_14
clc;funcprot(0);
//Given data
P=120;//Plant capacity in MW
p_1=150;// bar
T_1=600;// °C
p_2=0.08;// bar
h_i=1000;// Heat transfer coefficient of water side in W/m^2 °C
h_o=5000;// Heat transfer coefficient of steam side in W/m^2 °C
T_wi=25;// The inlet temperature of water in °C
T_wo=35;//The... |
c5be8bb5aea77242a9e101b31c9d14bfc3ee160e | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/2/tests/test22.tst | de7e5e453023d247e59e144b64e0c01c3276b917 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | tst | test22.tst | main(){ type myType = array 5 of int; type myType2 = array 10 of myType; if(myType != myType2){ myVar = 0; } else{ myVar = 1; }} |
15920e31f68610fc6cf66ae60dc9f6ed2460d0ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH9/EX9.4/Ex9_4.sce | 9198ec85b400947a6ae0ae9ec936b44f5bbbe621 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Ex9_4.sce |
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
//calculating current in each line
Vl=400//line voltage
Vph=Vl/sqrt(3)//phase voltage
Ir=8D+3/Vph
Iy=6D+3/Vph
Ib=... |
255de5d9b7a7473e75ad9cae9a54c38e8d7ec0b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH10/EX10.13/Ex10_13.sce | c7951dcb80bb315bc70ad623bf4575862183e575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Ex10_13.sce | //Example 10.13
F=2000;//Force exerted (N)
r=2.20*10^-2;//Lever arm (m)
net_tau=r*F;//Net torque (N.m)
I=1.25;//Moment of inertia (kg.m^2)
alpha=net_tau/I;//Angular acceleration (rad/s^2)
printf('a.Angular acceleration of the leg =%0.1f rad/s^2',alpha)
theta=1;//Angular displacement (rad)
omega_0=0;//Initial an... |
f80ee6271089acbf8b14d4ac2f2c72213ab66e8f | 717ddeb7e700373742c617a95e25a2376565112c | /1658/CH3/EX3.17/Ex3_17.sce | 27f62d31455247a598a3657443edc11151d6f144 | [] | 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 | 224 | sce | Ex3_17.sce | clc;
//e.g 3.17
mun=3600;
mup=1700;
k=1.38*10**23;
T=300;
DP=mup*(T/11600);//answer given in the book is wrong
disp('m^2/s',DP*1,"DP=");
Dn=mun*(T/11600);//answer given in the book is wrong
disp('m^2/s',Dn*1,"Dn=");
// test |
1945e9106bc69cdcfb0e40b75201e2ff379cecd7 | d928b1aab410da87208944a0d34890254d7b7897 | /Design Exp 3/a/Reg32Bit.tst | e0e770fac8124ad04328a848e1a4487f313cc1cf | [] | no_license | karthikswarna/CS4110-Computer-System-Design-Lab | e19a0d9d69ca666acfe054b5058e7355a32a62fe | 2fd40644f2dbf79624a736f267aecf057477e6dc | refs/heads/master | 2023-02-06T16:11:02.458719 | 2020-12-28T08:31:30 | 2020-12-28T08:31:30 | 292,209,978 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,309 | tst | Reg32Bit.tst | load Reg32Bit.hdl,
output-file Reg32Bit.out,
compare-to Reg32Bit.cmp,
output-list time%S1.4.1 in0%B1.16.1 in1%B1.16.1 load%B2.1.2 out0%B1.16.1 out1%B1.16.1;
set in0 %B0000000000000000,
set in1 %B0000000000000000,
set load 0,
tick,
output;
tock,
output;
set load 1,
tick,
output;
tock,
output;
s... |
97c8b0a93c76170f9861cbcea85b084d0f6165da | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH10/EX10.2/10_02.sce | 54a1001826c1dfcfcfa05ba610e593f9243cea5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | 10_02.sce | pathname=get_absolute_file_path('10_02.sce')
filename=pathname+filesep()+'10_02data.sci'
exec(filename)
disp("as the applied stress (approx 3513) bar is greater than yield stress but less than ultimate stress of the aluminium rod,it will experience permanent set but will not fracture" ) |
e3129728ed30bdf9d696c367f6fd82b06cbde5f4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos/drawobjs.sci | 966b79cd36b205f9fd0dccfafd94660b00a1baf3 | [
"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 | 101 | sci | drawobjs.sci | function drawobjs(scs_m)
nx=size(scs_m)
for i=2:nx
drawobj(scs_m(i))
end
drawtitle(scs_m(1))
|
820f0e8131465917c8d8d209d9ee9b1cc0101a6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.16/Ex7_16.sce | 542fe13fc69534eb34ff29a4f30fbb068fdbfd0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | Ex7_16.sce | clc
P1=1*10^6 //pressure in Pascal
h1=3052.1
v1=0.258
s1=7.1251
u1=h1-(P1*10^-3*v1)
mprintf("u1=%fkJ/kg\n",u1)//ans vary due to roundoff error
s2=s1
sf=1.3027
sg=7.3598
hf=417.54
hg=2675.4
vf=0.001043
vg=1.6940
X2=(s1-sf)/(sg-sf)
mprintf("X2=%f\n",X2)//ans vary due to roundoff error
h2=(hg*X2)+(1-X2)*hf... |
1756d4b7f291dbbaaab00a7e75fe1cdf9d34edab | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH13/EX13.4/Example13_4.sce | 209c3ac9c01609419bc190e0189bc75a6abc70d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Example13_4.sce | clear ;
clc;
// Example 13.4
printf('Example 13.4\n\n');
//Page No. 408
// Solution
mol_wt_N2 = 28 ;// Molecular mass of 1 kg mol N2 -[kg]
mol_V = 22.42 ;// Molar of ideal gas at standard condition-[cubic metre/kg mol]
Tc = 27 ;// Temperature-[degree C]
T = Tc + 273 ;//Temperature-[K]
P = 100 ;//Pressure-[kPa]
//St... |
a64811c5576c34b7e2010b0180870ef95783d2fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.4/M_Ex_3_4.sce | 5d0bb62206510908e7295cab915035b3d99a271a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | M_Ex_3_4.sce | clc
//Chapter3: Modulation
//Example3.4, page no 138
//Given
Ebb=2e3//DC plate supply
Ecc=-500//DC grid bias
Ib=67e-3//DC plate current
Ic=30e-3//DC grid current
Egm=750//RF peak grid voltage
Pout=75//RF Power output
Ma=0.75//Depth of modulation
Paf=(Ma^2*Ebb*Ib)/(2*1)//modulating power required from the aud... |
23aadd1d33936092d3b49178ed614b9dbc391340 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH1/EX1.5/Ex1_5.sce | 4ce8616b1bb03dbcb34ebb85f83f270586557bdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_5.sce | //Chapter 1: Structure and Bonding
//Problem: 5
clc;
//Declaration of Constant
h = 6.626 * 10 ** -34 // Plank's constant,in J.sec
//Declaration of Variables
m = 10 * 10 ** -3 // Mass of the ball,in kg
v = 10 ** 5 // Velocity of ball,in cm / sec
// Solution
lamd... |
258bca4515ab58e130d891ad4619b442f7135d3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH10/EX10.10/exp_10_10.sce | 07622ccf999cf661aa9e56ebe53090968fe55576 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,475 | sce | exp_10_10.sce | clear;
clc;
Sb=30;
vb=11;
sg=20;
p=10;
R=6.6;
//generator
X1=complex(0,.1);
X2=complex(0,.1);
X0=complex(0,.15);
x1=X1*(Sb/sg);
x2=X2*(Sb/sg);
x0=X0*(Sb/sg);
//transformer12
xt1=complex(0,.12);
xt2=complex(0,.12);
xt0=complex(0,.12);
//transmission line
vtr=22;
Ztr=vtr^2/Sb;
Z=complex(1,5);
Zpu=Z/... |
f02b49ee7e1fbf99eeecacd56189135a21aeb0aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH3/EX3.33/EX33.sce | 70560a3161f142e37e72d7f188622ceba6bac510 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | EX33.sce | // Example 3.33: vo
clc, clear
t=[0:0.001:12];
vin=10*sin(2*%pi*t/4); // Input voltage in volts
// From Fig. 3.73
vint=vin+5;
for i=1:length(vint)
if vint(i)>0 then
// Diode is OFF
vo(i)=vint(i); // in volts
else
break;
end
end
for i=i:length(vint)
if vint(i)==-5 t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.