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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f3581e2edaa7d4800efb475fd9ae292736968f1 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/HE17PXC/ATWM1_Working_Memory_MEG_HE17PXC_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | cfceea9819b2de7efcd052fe81cf55483c413411 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
f5db8b1bb33dc57d6dfdf92d2e889d28fb50c7c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH8/EX8.3/8_3.sce | cd4d6d6ab52f44950d0ffe471ef0677671241161 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,132 | sce | 8_3.sce | //To find linear and angular acceleration
clc
//Given:
vC=1,vCD=vC //m/s
aC=2.5 //m/s^2
AB=3,BC=1.5 //m
//Solution:
//Refer Fig. 8.8
//By measurement from the velocity diagram, Fig. 8.8(b),
vBA=0.72,vBC=0.72 //m/s
//Calculating the radial component of acceleration of B with respect to C
arBC=vBC^2/BC //m/s^2... |
c34bae494c8acc6ee3632676f7ecb126bb5fd1d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH13/EX13.1/Example13_1.sce | 9a313909e94394eb1bffc73bd50fb26eb49a5ef6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Example13_1.sce | close();
clear;
clc;
//number of turns 'N', leakage flux 'phi1', flux density in air gap 'Bg'
N = 100;
l1 = 0.40; //m
l2 = l1/4;
A1 = 10*10^(-4); //m^2
A2 = A1/2;
lg = 2*10^(-3); //m
phi1 = 0.01 * 10^(-3); //Wb
Bg = 0.6; //t
uo = 4*%pi * 10^(-7);
//for Bg corresponding value of
Hg = Bg/uo; //A/m
taug =... |
95531d72bffb482a14c1122bac3ec99d921aab02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.32/Ch1_1_32.sce | ea112c9c775ba3813b2d0741431c32fcdd654f12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Ch1_1_32.sce | clc
disp("Example 1.32")
printf("\n")
disp("Plot the piecewise-linear characterisic of Germanium diode")
printf("Given\n")
//given
Vf=[0 0.3 0.35]
If=[0 0 0.1]
plot2d(Vf, If)
xlabel("Vf")
ylabel("If")
xtitle("Piecewise-linear characteristic of diode") |
76da87f5ca4e42e69568282d1fc428abd8532a60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH5/EX5.8/8.sce | 2399a57461568905ff6b6773753bf36b213f06e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 8.sce | clc
m_f=0.03; // kg
rho_f=5100; // kg/m^3
d_l=0.3; // m
d_b=0.22; // m
H_tube=0.2; // m
Cd=0.6;
H=0.1; // m
g=9.81; // m/s^2
rho=1000; // kg/m^3
V_f=m_f/rho_f;
theta=2*atan((d_l-d_b)/2/H_tube);
m=Cd*H*tan(theta/2)*sqrt(8*V_f*g*rho*(rho_f-rho)*%pi);
disp("Mass flowrate =")
disp(m)
disp("kg/s") |
74d9103f868562a06be07b7fd247c485a2fa307b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH5/EX5.3/Ex5_3.sce | 00a87cb1a7935f85e1564968369dc28ca23dfa70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,079 | sce | Ex5_3.sce | // Exa 5.3
// To calculate
// A) The number of calls per cell site per hour (i.e., call capacity of cell).
// B) Mean S/I ratio for cell reuse factor equal to 4, 7 and 12.
clc;
clear all;
VCH=395;//Total voice channels
CallHT=120;//average call holding time in sec
Blocking=0.02;// 2%
PPL=4; //propogation ... |
19d106a98766a825ba44b52f7490405bd4408c53 | 867aeab6c7faa32a24047121e1ee6e9fd75aefa2 | /2020 fall/CMPUT 455/go2/test_go2.tst | 1735ceeed29a4fd4961e6bed253d4a507ad3ef89 | [] | no_license | boyuandong/fall_2020 | 3077235cee3504aaf0c77ecec86c74eb64043bbe | aa932f91de6df9e62d6e453f968e1b2da4a5f83a | refs/heads/main | 2023-04-21T03:22:22.025715 | 2021-04-28T05:36:50 | 2021-04-28T05:36:50 | 359,421,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | tst | test_go2.tst | #-----------------------------------------------------------------------------
# Tests specifically for Go2.py player.
#-----------------------------------------------------------------------------
10 name
#? [Go2]
|
7aa748db8abc6000cea23fdcc2b3746e9a4b0c42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH29/EX29.9/29Ex9.sce | a8c49fdb6fb7ada65030f822677334e385ec8877 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 29Ex9.sce | //Chapter 29 Ex9
clc;
clear;
close;
shares=25;
rateDividend=9/100;
rateInterest=10/100;
price1share=(shares*rateDividend)/rateInterest;
mprintf("The price of each share is Rs.%.2f",price1share);
|
056a2d790a9f205d6b40e67d0537221e6696dc18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH12/EX12.20/EX12_20.sce | 49e3075a5e0520b58d0db3df9b45d2378845d573 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | EX12_20.sce | Xo=0;X1=1
X=integrate('X*(X+0.5)','X',Xo,X1)
disp(X,'E[X]=')
Yo=0;Y1=1
Y=integrate('Y*(Y+0.5)','Y',Yo,Y1)
disp(Y,'E[Y]=')
x=[0,0;1,1;1,0]
y=[0,0;1,1;0,1]
deff('z=f(x,y)','z=x*y*(x+y)')
I=int2d(x,y,f)
disp(I,'E[XY]=')
disp(I-X*Y,'cov(X,Y)=E[XY]-E[X]E[Y]=');
cov=I-X*Y
Xo=0;X1=1
X2=integrate('X^2*(X+0.5)','X... |
719a26fe6304e3f0919bb0fa98c20a17d0dfb497 | 05d972abeab11d213913aa6124e6a2104d859132 | /etc/McpRereadCfg.tst | 73ae3277503e5e1e3c932eaf0657493fb3bf404c | [] | no_license | LivTel/sdb_puller | 50ac8289d57c4927245ca70c4809cf2b9c807e82 | 9e573ee4d20035f846cb010a02099b9a25dc4e76 | refs/heads/master | 2022-06-24T04:59:10.771334 | 2019-12-18T19:10:47 | 2019-12-18T19:10:47 | 179,494,067 | 0 | 0 | null | 2020-07-01T23:30:44 | 2019-04-04T12:34:54 | C | UTF-8 | Scilab | false | false | 31 | tst | McpRereadCfg.tst | sysreq, SYSREQ_REQ_REREAD_CFG
|
f3727df0e33508339a4b5a3508542ae8a8ab9371 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH12/EX12.10/ex10.sce | 0a96e0af7286e8d8c5f1e932b5b6b18922d3334d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | ex10.sce | // Chapter 12_The junction field effect transistor
//Caption_High electron mobility transistor
//Ex_10//page 585
Nd=10^18
d=20*10^-8
dd=500*10^-8 //thickness
phi_B=0.85
q=1.6*10^-19
VG=0
epsn=12.2 //relative dielectric constant
Vp2=q*Nd*dd^2/(2*epsn*8.85*10^-14) //a parameter
x=0.22 //x=del Ec/q
Vof... |
d35dbb3574a7fc653f8a91369e7dab44c860eaa1 | ec587da007f2100be5e3db8e5b68df9e8c94941c | /Or4.tst | 912453372583c76027fec3f2bff81fe931152ea0 | [] | no_license | glowing-potato/atmega328p | 95552c6210949c0d5e929dbd243790bd8290a5c1 | 73518c217158033bf435348567f8fe702103be18 | refs/heads/master | 2021-01-18T21:55:16.705541 | 2017-04-05T02:01:29 | 2017-04-05T02:01:29 | 87,027,063 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | tst | Or4.tst | load Or4.hdl,
output-file Or4.out,
compare-to Or4.cmp,
output-list a%B1.4.1 b%B1.4.1 out%B1.4.1;
set a %B0000,
set b %B0000,
eval,
output;
set a %B0000,
set b %B1111,
eval,
output;
set a %B1111,
set b %B0000,
eval,
output;
set a %B1111,
set b %B1111,
eval,
output;
set a %B0101,
set b %B0101,
eval,
output;
set a %... |
e55e126ccce42e75b5dd9b5e0f15e87f68519970 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.12/Ch017Ex12.sce | 783ffd002b1344394d16a111a7e073ddeee63e0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,726 | sce | Ch017Ex12.sce | // Scilab code Ex17.12 : Pg:894 (2011)
clc;clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
R_max = 0.6; // Radius of two dees of the cyclotron, m
B = 1.6; // Strength of pole pieces of the cyclotron, tesla
// For proton
m = 1.67e-027; // Mass of the proton, kg
q = 1.6e-019; // Charge on a ... |
c482141a57d600255a5b5680b8dc998fb3008a21 | c09810ccf146237702bc5eedd87109dd496b389a | /ОТУ/2.1/2.1.sce | a244881b37fc837f3023a1f9cad10ae32d211335 | [] | no_license | Krokofol/OOAIDLab | 2d0e5b2ff517dd1e51d8239dc8bb5575b2ed8384 | a583d91a47c9e5f2a56a36b2c3f13bbc794f9517 | refs/heads/master | 2023-03-30T22:04:06.564312 | 2021-04-01T14:22:01 | 2021-04-01T14:22:01 | 339,401,547 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | sce | 2.1.sce | x=[-4:0.01:10];
y = (x^2-11.5)./(x-3);
plot(x, y)
|
439b747443aebdcb7f055bed07aec04b5488ab4d | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/personas_por_salario.tst | 888707b63ee3165a6eba92bfbe2e41c25661e29d | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 225 | tst | personas_por_salario.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_salario(psalario_id => :psalario_id,
p_recordset => :p_recordset);
end;
2
psalario_id
1
15
4
p_recordset
1
<Cursor>
116
0
|
304292ed606991a9bcf9480d6992f9d15031b94e | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP3/gs.sci | 2a560a9eff6bc338a38e4be449ab7fe002a9fdd2 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sci | gs.sci | function [x,it,r_h] = gs(A,b,x0,maxit,tol)
n=length(b);
err=1; // error
k=1;
x=x0;
r_h=zeros(1,n);
while (k<maxit & err>tol)
for (i=1:n)
// calculo el nuevo x
x(i)=(b(i)-A(i,1:i-1)*x(1:i-1)-A(i,i+1:n)*x0(i+1:n))/A(i,i);
end
// calculo la... |
b6b58b651551eb1aa7778ead0f888ff5a8ac593d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH8/EX8.2/Ex8_2.sce | 52dbc2fbba2e8ea32bd32dda2aaf16ebcfbe4829 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_2.sce |
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 8.2
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
Cd=5e-12;//capacitance in Farad
B=10e6;//Bandwidth in Hz
u=2*3.14*B*Cd;
RL=1/u;//Load resistance in ohms
mprintf("\n The load re... |
152356d17510ef81ae266a5fdece5e35efe4f9b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH2/EX2.3/2_3.sce | e2fdc81f61c125e6615c5366de26a126820dd789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | 2_3.sce | clc;
//page 2-10
//Example 2.3
//assume modulation index=0.2, given frequency signal is 10*sin(2*%pi*500*t) and given carrier signal is 50*sin(2*%pi*10^5)
//Given
wm=2*%pi*500;
fm=500;
wc=2*%pi*10^5;
fc=100000
disp(+'Hz',fc+fm,'Upper sideband frequency is ');
disp(+'Hz',fc-fm,'Lower sideband frequency is ');
... |
3f0be1a3ba45b99253a2643c66a4886f67d8f985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.19/Ex1_19.sce | 7f5c5f1188730e2d8511b26e954e46d5cda0dc0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_19.sce | clc,clear
//Example 1.19
//To solve the right triangle with given information
//part(a)
c=10 ;//side opposite to vertex C
A=22 ;//Angle at vertex A
a=c*sind(A);
b=c*cosd(A) ;
B=90 - A ;//since C is 90, A and B are complimentary
printf('(a)a= %.2f units ; b= %.2f units; B = %.0f degree\n',a,b,B)
//part(b)... |
6faedb70da6148b7d4fabbd8f7e8e824315bae86 | f5bb8d58446077a551e4d9a6461a55255db523fe | /zero_de_funcoes/calcnum3.sce | da06d82fc03f2684bacbd75cff7ed0fefd52f73a | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | calcnum3.sce | function y=f(x)
y = exp(x) + 2.^(-x) + 2.*cos(x) -6
endfunction
function y=df(x)
y = exp(x) - 2.^(-x).*log(2) - 2.*sin(x)
endfunction
x = -4:0.05:5
//plot(x, f(x)) // [-3.5, -2], [1.5, 2]
// plot(x, df(x))
newton(f, df, -2.7, 0.0001)
bissecao(f, -3.5, -2.5, 0.0001)
|
03bd234086c5fd97202cd430da33d0bc78fbb4be | 8200349559e237758f87bc09a9eb4e0178932815 | /Magnet/Scilab/rotate3d.sci | a4a4b0cf2303eeca0075ddd9367c4bf87447b8b0 | [] | no_license | rmorenoga/Testing | 6e50ea8e5f334b6d69f25e56f81fd7a505c012bb | 06713e61ababad3fb738ec4ac9ea771772585a12 | refs/heads/master | 2021-05-25T09:31:54.351782 | 2020-08-08T20:55:59 | 2020-08-08T20:55:59 | 35,949,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,670 | sci | rotate3d.sci | // SOFTWARE : Scilab >= 5.5.0
// PACKAGE : rotate3d() : rotation of (x,y,z) points in 3D space
// LICENSE : CeCILL-C : http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
// AUTHOR (C) : Samuel GOUGEON - private individual
// COPYRIGHT : Samuel GOUGEON - 2015
// VERSION : 1.0
// RELEASE ... |
32c2f9b8658afe73ee351b8dadc7f3a7c4d3a4e7 | 8b2aadfe2dd241d882213436738542d3f65f4e17 | /ModuleTonalitéSynthèse/Module Synthèse/Scilab/instru5.sci | 6373e0f009c29532728e7b6ee4b0ea1446403d94 | [] | no_license | ahmed-bensaad/FMTM | c764c3162ac6f24f7caa2d0fd99725d4c458efc6 | 66fd7a477e3addb5a0c3a4d7489daa09fb9c5042 | refs/heads/master | 2021-09-02T11:04:05.660173 | 2017-02-06T21:54:09 | 2017-02-06T21:54:09 | 115,977,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sci | instru5.sci |
function []= instru5(f0,t)
a=1;
b=1;
c=1;
fs=5*f0;
ts=1/fs;
x=[0:ts:t];
epsilon=100;
f0=f0+epsilon;
pi=3.14159;
y1=a*sin(2*pi*f0*x);
y2=b*sin(2*pi*4*f0*x);
y3=c*(y1+y2)+sin(2*pi*f0*x);
y4=[0:ts:t];
n=length(y4);
for i=1:n
y4(i)=sin(2*pi... |
7d0e1856e6e052fc5ca8eacddc6d7317f13b4327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH8/EX8.3/Exa8_3.sce | 24b921f841fc504d3741e37dfe6bc872e191c090 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | Exa8_3.sce | //Exa 8.3
clc;
clear;
close;
//Given data :
FC=20000;//in Rs.
i=15;//in % per annum
disp("The details are summarized in Table 8.4. It can be seen from the book.");
disp("Total annual equivalent cost = [summation of PW of maintenance cost + FC]]*(A/P,15,n)");
disp("(column E + Rs. 6000)* Column G");
disp("Colu... |
ca9d3ccd0a41b3fd3cc63c2530be1cda2c3e1ecb | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/MetodoGaussSeidelCompleto.sce | 08f366431d5accd213a7c2f841b3eaffd4f286df | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | MetodoGaussSeidelCompleto.sce | //A = Matriz
//b = Vetor
//x = Vetor
//tol = Tolerância para considerar convergente
//N = Número máximo de iterações
function [x,deltax] = gauss_seidel(A,b,x,tol,N)
n = size(A,1)
xnew = x //Para inicializar o tamanho de xnew com o tamanho de x
convergiu = %F
k = 1
while k<=N & ~convergiu
... |
46e5ebfc4ae8a30214d6ba24cf33af1131fb18dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH10/EX10.3/Ex10_3.sce | 998794f6c52f996273ae614d61aee17a60aaae10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Ex10_3.sce | clc;
//page 520
//problem 10.3
// Part (a)
//Input SNR SNR_ip
SNR_ip = 1000;
//Beta B
B = 10;
//Output SNR SNR_op
SNR_op = (1.5*(B^2)*SNR_ip)/(1 + (12*B/%pi)*(SNR_ip)*exp(-0.5*(1/(B+1))*(SNR_ip)));
disp('Output SNR is '+string(10*log10(SNR_op))+' dB');
// Part (b)
//Input SNR SNR_ip
SNR_ip =... |
d0f9bea7e116816c65ea8d56d185c9738da382ff | a439c420539294c6e178cc89c43c4231246f9cbe | /Scripts/Integration/Simp_composite.sci | 8be6f75faf25f94282e7f21270323ed0a5d64b6c | [] | no_license | PirateKing19902016/Scilab-Spoken-Tutorials | b7927e196acbefa47abdbdeb326d37385d5cbc34 | a110fc425c123f7041cb9ee8eca42ce08619ae60 | refs/heads/master | 2021-05-02T06:14:37.089440 | 2018-02-09T16:23:27 | 2018-02-09T16:23:27 | 120,855,481 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sci | Simp_composite.sci | //**************************************************************
//****** Composite Simpson's Rule ***
// By Manas,FOSSEE,IITB ***
//**************************************************************
function I = Simp_composite(f, a, b, n)
h = ... |
37bb09968e6777c1e3669b683d00898f610726b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH2/EX2.6/Ex2_6.sce | cd1e28336ba32bcde28b1f5f3ac8d13efe103f5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sce | Ex2_6.sce | clc
D = 25.4 // outside diameter in mm
d = 12.7 // internal diameter in mm
t = 1.5 // thickness in mm
tau = 280 // ultimate shearing strength in N/mm^2
F = %pi*(D + d)*t*tau // total cutting force in N
F_s = %pi*D*t*tau // cutting force when punches are staggered in N
k = 0.6 // penetration
i = 1 // shear of p... |
ca147725f2210a23a9a1bb7d04c18813d59143ea | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/unr_type_03.tst | a2f037f577f4170b04db5eb458a98361932211c2 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | tst | unr_type_03.tst | // @Harness: verifier
// @Purpose: "Test for unresolved types"
// @Result: "UnresolvedType @ 6:27"
architecture unr_type_03 {
subroutine foo(e: int): duck {
}
}
|
1242f8d34ed1fdc82015a33f3a7afd6597575c67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH4/EX4.4.1/4_4_1.sci | 20806f3d6d76824a413991d60257865116d4d00b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sci | 4_4_1.sci | //282
clear;
close;
clc;
A=[1 1 1;0 1 1;0 0 1];
disp(A,'A=')
n=size(A,1); d=1:n-1;
B=zeros(n); AA=[A,A;A,A]';
for j=1:n
for k=1:n
B(j,k)=det(AA(j+d,k+d));
end
end
disp(B,'Adjoint of A:');
disp(B/det(A),'inv(A):');
//end |
8990e2a0ead1b1a1f6b6b15cd86655ab25ea2230 | a5d4d1ba9fbd850fd1b347f416b54bb59fdd82c4 | /static/tmp/ddgjQboXQoZYkV7ll9Gy4qCq3DNqySGi.sci | f53ceb7e53815d37dee452a77a78e65753b1111a | [] | no_license | guptasankalp/scilab_on_cloud_django_project | f144090f136ef96bf7ade8af707336e8bb5bc3c3 | 40dacbe46b4e47613fc9c6af71e96dd42c3624b0 | refs/heads/master | 2021-01-25T04:43:07.703867 | 2017-06-06T11:42:27 | 2017-06-06T11:42:27 | 93,474,091 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sci | ddgjQboXQoZYkV7ll9Gy4qCq3DNqySGi.sci | driver("PNG");
xinit("");
mode(2);
lines(0);
//Solved Example 2:
//Implementing Stack using union:
('hh')
function[stack]=sta_union(etype,a)
stackelement=struct('etype',etype);
[k,l]=size(a);
select stackelement.etype,
case 'int' then
a=int32(a);
stack=struct('top',l,'items',a);,
case 'float' then
a=double(... |
e01fa133e1df22bfa5cdc10d87cebfb60b59a173 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/overload_simple_runme.sci | 182cd343d780eee76e15cdfa5b13a2e68711271c | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | overload_simple_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:838b30fc8ee7f0593800017d06c11a9c3712de5aed0188db25facbaacd018464
size 2041
|
b36322015d75ce730cf68e4a957c01992b1b1b5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.2.3/ques2_3.sce | 5215ed91032a3bd8a42b3c75775f131f96551438 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | ques2_3.sce | //ques1(ii)
clc
disp('To find the laplace of given function in t ');
syms t s
f=exp(4*t)*(cos(t)*sin(2*t));
disp(laplace(f,t,s)); |
bfa71f3539f7cf953ba17edcc9c679f1a9bf6176 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.48/EX8_48.sce | 0ffe7800537cff0964e8ab581a67fe1e98014b5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | EX8_48.sce | //EXAMPLE 8-48 PG NO-561
R=300;
N=31.62;
R1=[(N-1)/N]*R;
R2=R/(N-1);
disp('i) RESISTANCE (R1) is = '+string (R1) +' ohm ');
disp('ii) RESISTANCE (R2) is = '+string (R2) +' ohm ');
|
9644847fc581bae19476d4c4df4a45f6443aa02b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH16/EX16.3/16_3.sce | b08ca9721912d289d4ae51499f31c38611bd3d0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | 16_3.sce | //chapter 16
//example 16.3
//page 477
clear all;
clc ;
//given
Vr=2;//ripple voltage
Eo=20;//supply voltage
Eomin=Eo-1;
Eomax=Eo+1;
theta=65;//in degrees
T2=4.17;//time for 90 degrees ms
T3=3;//time for theta ms
Il=40;//mA
t2=1.17;//ms
t1=T2+T3;
C=Il*t1/Vr;
printf("\nReservoir capacitor is %d microF,u... |
8be3984b6b7e427efe70de05ba09f34b9e1ea875 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH10/EX5/cha10_5.sce | 90a1e887f99bdf78194802579a5daf2739b4ec66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | cha10_5.sce | Ka=0.1;Ra=0.2;N=400;
Ia=100;V=120;N1=350;
Io=-100;
Ea=Ka*N
Vo=Ea+(Ia*Ra)
Pmotor=Ea*Ia
Pr=Ia^2*Ra
Ps=V*Ia*0.5
Ea1 = Ka*N1;
Vo=Ea1+(Ia*Ra)
Vo=Ea1+(Io*Ra)
Pmotor1=Ea1*Io
Pr1=Ia^2*Ra
Ps=V*Io*1/8 |
49e3689f7a82b48912875fb1ba1fd543e5185c54 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/14.tst | 9876fd7250c98b1cd146d7830993a1316daa88fc | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24 | tst | 14.tst | int (*x)[5][6][7][8][9]; |
d441c8e0846fbc6972bb32d574b91c9c9bfd36bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH7/EX7.8/example7_8.sce | 58c2cb0ddb6e130b47dc43a2b1a6502fc58f23b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example7_8.sce | // to find the volume resistance and the surface leakage resistance
// example 7-8 in page 180
clc;
//Data given
Is=5e-6;// surface current in ampere
Iv=1.5e-6;// volume current in ampere
E=10000;// supply voltage in volt
// calculation
printf("volume resistance=%0.1e ohm\n",E/Iv);
printf("surface leakage resi... |
6eb4fc753170c5694f6d183dc517daf5dc2d0253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH1/EX1.3/Ex1_3.sce | 892fc5bb9d57052c86fac3a6f96f9102b273349a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | Ex1_3.sce | //Example 3 Page No: 1.84
//given
V=20;
t=4;
//determine slew rate
format(6);
w=V/t;
disp('slew rate = '+string(w)+' volt/μsec');
|
395d386119e279c93feebba64f9a5fcf86d8c26d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.4/4_4.sce | c8cc859679b78c6edbab278e11963a073fa89c3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | 4_4.sce | clc
clear
//Initialization of variables
s1=7.096 //kJ/kg K
s2=7.915 //kJ/kg K
s3=7.16 //kJ/kg K
s4=7.014 //kJ/kg K
s5=6.999 //kJ/kg K
//calculations
dsa=s2-s1
dsb=s3-s2
dsc=s4-s3
dsd=s5-s4
dse=s1-s5
dstotal=dsa+dsb+dsc+dsd+dse
//results
printf("Change in entropy in process a =%.3f kJ/kg K",dsa)
pr... |
618ce2347a0bf4d80d9e669aa8a5c6be3d3dfb07 | ab0891df3df62a84b3bc60ee178e2d84b0d692c5 | /Sample_Toolbox/tests/demo.tst | d6eb43047be3ff8d2db04d9ce533e393067af3cb | [
"MIT"
] | permissive | sidgairo18/SCILAB_MEX_TOOLBOX | 6b36c8b5dd21bb15d942a283ebfe2366a7ac02ec | fc679f6d226c03b992b632823a5e57abea05cefa | refs/heads/master | 2020-03-19T04:03:55.721880 | 2018-08-14T11:22:24 | 2018-08-14T11:22:24 | 135,791,680 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | tst | demo.tst | // load the shared library
exec loader.sce ;
// run tests
a = [1 2 3 4 5 6];
out = eops(a);
|
2a9685451955e5ab3cfb7adb08f81ee77a7e0a4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH14/EX14.1/Ex14_1.sce | 56c1273eddcefc584b85619b9dc2741a11290dfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_1.sce | clc
v1 = 18 // cutting speed in m/min
t1 = 3 // tool life in hours
n = 0.125 // exponent
c = v1*(t1*60)^n // constant
v2 = 24 // cutting speed in m/min
t = (c/v2)^(1/0.125) // tool life in min.
printf("Tool life = %d min." , t)
|
bd6a7914b0ba1f34759640d75949f8f1317f3594 | af86eb5dd11a276a153a618491fd2a0af057d237 | /Communication Engineering - Scilab/PSK.sce | a8d4a4919db2c729371b14e37a7d38a613018d5d | [] | no_license | gsiddhad/Mathematics | c2b2b78536e0769ea65791128b12aceea3c6f720 | 4bf16c674d84d1498b874c0f3b3d4b31785aae47 | refs/heads/master | 2023-03-06T02:52:46.933057 | 2021-02-20T11:17:58 | 2021-02-20T11:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | PSK.sce | clear all;
close all;
A=5;
t=0:0.001:1;
f1=10;
f2=2;
x=A.*sin(2*pi*f1*t);
subplot(3,1,1);
plot(t,x);
title('carrier signal')
xlabel('time');
ylabel('amplitude');
u=square(2*pi*f2*t);
subplot(3,1,2);
plot(t,u);
title('modulating signal')
xlabel('time');
ylabel('amplitude');
v=x.*u;
subplot(3,1,3);
plot(t,v);
xlabel('tim... |
3ac8c48d595561c918925c1359c9d214dec1102b | 33d7960e39a3e71591538dccbe1dd4014c377e78 | /Sample Solution/CompFin_2017_SS_Exercise_06_MathQF.sce | 7f05bb8b9945c73156f2bcd3f2c47bd9d38dd035 | [] | no_license | wiiwins/Compfin | 529e2997994babb9e3795283ddbd8ec782131148 | 2629685421e970a369ec797b76dda3d2803bcbcf | refs/heads/master | 2020-05-18T01:25:39.357847 | 2019-06-27T11:21:46 | 2019-06-27T11:21:46 | 184,090,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,616 | sce | CompFin_2017_SS_Exercise_06_MathQF.sce | function [V_0,t] = CRR_AmPut (S_0, r, sigma, T, K, M)
// Compute values of u, d and q according to Equations (2.4)--(2.7).
delta_t = T/M;
alpha = exp(r*delta_t);
beta = 1/2 * ( 1/alpha + alpha*exp(sigma^2*delta_t) );
u = beta + sqrt(beta^2-1);
d = 1/u;
q = ( exp(r*delta_t)-d ) / ( u-d )... |
f00b8ffc27fde4ee1eeaba94f49d6497d5cbbd97 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /data_for_calibration_paper/XOR_hyperplane.sce | d8720894c9c1c90fb94c1fc621908823679d4acc | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,427 | sce | XOR_hyperplane.sce | min_Vout=0.5;
x1_x2=[linspace(2.1,2.5,21)' linspace(2.1,2.5,21)']
xor_result=csvRead("XOR_hyperplane_data_before_compensation");
scf(1);clf(1);
[xx,yy,zz]=genfac3d(x1_x2(:,1),x1_x2(:,2),xor_result);
zz(1,1)=min_Vout;zz(1,2)=2.5;
plot3d(xx,yy,list(zz, zz));
f=gcf(); f.color_map = graycolormap(512);
h=gce(); h.color_fla... |
2223ac9d621ec4cbba2d5e8bbeec42823bed2556 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 10/Lista Baron/Questao_3.sci | 63a1a057d2a2bbf5d638e146302fe501661674a2 | [] | 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 | 751 | sci | Questao_3.sci | function Questao_3()
//monto o meu vetor x com valores randômicos
x=zeros(101,1)
for i=1:101
x(i,1)=floor(abs(10*rand()))
end
//A eu recebo da questão 2
A=Questao_2()
//Pego b do sistema Ax=b <-> b=Ax
b=A*x
[x1,niter1]=sor(A,b,1.1)
[x2,niter2]=sor(A,b,1.2)
... |
8f294cea9e8ef9a0590316063aa5205cb48b9948 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH12/EX12.1/ex_1.sce | 1b1a3786f48e06b2b41f8dd95f1996c923f0d7c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_1.sce | //Example 1// Speed
clc;
clear;
close;
//given data :
vl=166;//m/s
v=(2*vl);//m/s
disp(v,"speed is,(m/s)")
|
243cb1b2a639b60ba81a1ba1ef514e01165956c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH2/EX2.1/Ex2_1.sce | 148dbf6b3307dd75d2c5e7b3cc06ea74b7e8bc6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | Ex2_1.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 2: Basic Laws
// Example 2 - 1
clear; clc; close;
//
// Given data
v = 120.00;
i = 2.00;
//
//
// Calculations Resista... |
f39bbd5ecc7a849cd5a1c58db85b7a53f957d05e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH8/EX8.8/Example_8_8.sce | 474e6cae3294a58255d97837cc65dc2e1f9b2799 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Example_8_8.sce | //Scilab Code for Example 8.8 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
syms R L C s I;
X=I*(R+1/(C*s));
Y=R*I;
Z=Y/X;
disp(Z,'(a) RC High pass Filter: H(s)');
X=I*(L*s+1/(C*s));
Y=I/(C*s);
Z=Y/X;
disp(Z,'(b) LC Low pass Filter: H(s)');
|
a3011300f6e0182bcbc76d4d4ee9a61db08f3777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH3/EX3.5/5.sce | 65c95334b972ed9b5ee39175c6b74edcaa1a360b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | 5.sce | clc
Cd=0.62;
g=9.81; // m/s^2
d=0.1; // m
d0=0.06; // m
d1=0.12; // m
rho=1000; // kg/m^3
rho_m=13600; // kg/m^3
rho_f=0.86*10^3; //kg/m^3
A0=%pi/4*d0^2;
A1=%pi/4*d1^2;
p_diff=(rho_m-rho_f)*g*d;
h=p_diff/rho_f/g;
Q=Cd*A0*((2*g*h)/(1-(A0/A1)^2))^(1/2);
m=rho_f*Q;
disp("Mass flow rate = ")
... |
727bf788039a45150985c73de12bae1a65bfaff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH3/EX3.1/Ex3_1.sce | e1880827878027555ff3598a8eaf52db3e0830e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | Ex3_1.sce | // chapter 3
// example 3.1
// fig. E3.11
// Determine the trigger angle
// page-87
clear;
clc;
// given
Ig=0.1; // in mA (minimum gate current)
Vg=0.5; // in V (minimum gate voltage)
Emax=24; // in V (peak amplitude of input)
Rv=100; // in k-ohm
Rmin=10; // in k-ohm
Vd=0.7; // in V (threshold voltage for diode)
// cal... |
e49c4254523b7447403039fc29c1e1ddf9eaefb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH6/EX6.5.u1/Ex6_5_u1.sce | 123f68d10ee92e06536d39ec7856dbde71ce5f59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | Ex6_5_u1.sce | //Example 6_5_u1
clc();
clear;
//To find the wavelength of the radiation emitted
h=6.63*10^-34 //units in m^2 kg s^-1
c=3*10^8 //units in meter/sec
kb=1.38*10^-23 //units in m^2 kg s^-2 K^-1
T=300 //units in K
lamda=(h*c)/(kb*T) //units... |
5e5704702aa523da749e820773669c6a8c96bf4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH1/EX1.4/Ex1_4.sce | c420b26994482e5622a743967544c8dd2a54fc5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Ex1_4.sce | //Exa 1.4
clc;
clear;
close;
function[V]=crossprod(A,B) // defining a function v
V(1)=A(2)*B(3)-A(3)*B(2)
V(2)=A(3)*B(1)-A(1)*B(3)
V(3)=A(1)*B(2)-A(2)*B(1)
endfunction
//given:
A=[2,1,2] // vector A
B=[1,2,1] // vector B
P=crossprod(A,B)
disp(P,"cross product of vectors A and B:")
|
a1d02c0934e61fc11e76f17a01032c524b84b665 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH14/EX14.4/Example14_4.sce | 38cac7c7b46d59581e14459668b2a703ad97982c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | Example14_4.sce | //Example 14.4
//Program to calculate:
//(a)3 dB Pulse Broadening in ns/km
//(b)Fiber Bandwidth-Length product
clear;
clc ;
close ;
//Given data
tau_o=12.6; //ns - 3 dB width of Output Pulse
tau_i=0.3; //ns - 3 dB width of Input Pulse
L=1.2; //km - LENGTH
//(a)3 dB Puls... |
6b5ac82134356c81afbc2074b704f808a02cd1d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH8/EX8.5/8_5.sce | aae8e89710b08d42dfd064b04d61277fbc58862e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 8_5.sce | clc;
// page no 326
// prob no 8.5
//Refering the fig.8.15 channel 12 has lowest carrierr freq 64 kHz
F=64;
c_total=12;
//Carrier freq goes up 4kHz per channel
f_up=4;
//Determination of carrier freq for channel 5
c=5;
fc=F+(f_up*(c_total-c));
disp('kHz',fc,'The value of carrier freq for channel 5 is'); |
ec875db4dd4b4653e78527bf24baded496a522c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH11/EX11.4/11Q4.sce | 9cddb334dd4f8911bfb921c1f323fcbd8a103008 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | 11Q4.sce | clc
Gd=14
Gss=18
Gsc=19
Gw=9.81
To= 2*Gd+4*(Gss-Gw)+2*(Gsc-Gw)
LL=40
Cc=0.009*(LL-10)
H=4
T=100
e=0.8
Sc= Cc*H*log10((To+T)/To)/(1+e)
printf('a)Primary Consolidation Sc = %f m\n',Sc)
Tc=190
Cs=Cc/6
Sc= Cs*H*log10((To+T)/To)/(1+e)
printf(' b)Primary Consolidation Sc = %f m\n',Sc)
Tc=170
Sc= Cc*H*lo... |
9fa9dd579fc4dfa34949c8278de2b800cd0debd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH7/EX7.2/Ex7_2.sce | a60c93e2146ead30dad4cdd3d8afe2bb85d30736 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | Ex7_2.sce | //Initilization of variables
s=4 //m length of sides
l=2 //kN load acting on each node
r=7 //kN by inspection reaction at A
//Calculation
//Taking Moment about point G
FH=(-r*12+2*10+2*6+2*2)/(2*tand(60)) //kN Compressive
//Taking moment about point H
GI=(r*14-2*12-2*8-2*4)/(2*tand(30)) //kN Tension
//Summing ... |
3cecb86c68449eb5431e27416ced1cca6b066e1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH20/EX19.7/EX19_7.sce | 353bbc604dc7453a4f626e918b67b4e00efec47b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | EX19_7.sce | // Grob's Basic Electronics 11e
// Chapter No. 19
// Example No. 19_7
clc; clear;
// A coil L1 produces 80 uWb of magnetic flux. Of this total flux, 60 uWb arelinked with L2. How much is k between L1 and L2?
// Given data
lf1 = 80*10^-6; // Magnetic flux of coil L1=80 uWb
lf2 = 60*10^-6; // Magnetic flux o... |
a2d604513738d479035eed0df9fb4646df23dac4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH3/EX3.3/EX3_3.sce | 56c0c9094a8170822b0fb925161c9c2d14b03ceb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX3_3.sce | //page 56
clc;funcprot(0);//EXAMPLE 3.14
// Initialisation of Variables
r=1;.........// one unit of radius of each atom of FCC cell
a0=(4*r)/sqrt(2);..........//Lattice constant for FCC cell
v=(4*%pi*r^3)/3;.........//volume of one atom in FCC cell
Pf=(4*v)/(a0)^3;........//Packing factor in FCC cell
disp(Pf,... |
8ae2fe147ce04dbcfa28958976dfb58d0d31f9ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH3/EX3.7/Chapter3_Example7.sce | 5f2ba36b32c8749a947eaa7e63df7d485199e227 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | Chapter3_Example7.sce | clc
clear
//Input data
t2=2;//The time taken for the liquid to cool from 50 to 40 degree centigrade in minutes
t11=50;//The initial temperature of the liquid in degree centigrade
t12=40;//The final temperature of the liquid in degree centigrade
t1=5;//The time taken for the water to cool from 50 to 40 degree c... |
616b9d574f802ee5b7ad90393f020efe6fb4fa09 | a12c936b0e7bc46c8a362d80f5bf785ade423b5b | /bisseccao.sce | e14093607d03b814e79bb913d44fc637ab18640e | [] | no_license | moreirapenna2/Trabalho1CN | bdf68a26a88f5bd5f90d968a21a8cd5774438a98 | 30d69b1fa8879b8f598ee6735faa507a929d6c9b | refs/heads/master | 2020-08-02T02:51:10.133915 | 2019-09-27T01:48:43 | 2019-09-27T01:48:43 | 211,214,049 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,093 | sce | bisseccao.sce | function []=bissecao(a, b, f) //define a funcao
TOL = 1e-4; // erro
NMAX = 100; // numero maximo de iteracoes
c = (a+b)/2; // X (meio)
i = 0; // contador de iteracoes
printf("%-4.11s %-12.11s %-12.11s %-12.11s %-12.11s \n","I","A","B","X","Y")
if (f(c) == 0)
// se o... |
01cb7a31bf23698524fcfa73fc800396349e9127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.14/Exa2_14.sce | ea41dbe8f7844247acab30245ba738517dbc4638 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Exa2_14.sce | //Exa 2.14
clc;
clear;
close;
//Given data :
N=700;//No. of modes
d=30;//in um
a=d/2;//in um
NA=0.62;//Numerical Aperture
//Formula : v=2*sqrt(N) and v=2*%pi*a*NA/lambda
lambda=2*%pi*a*NA/(2*sqrt(N));//in um
disp(lambda,"Wavelength of light propagating in fibre in micro meter : "); |
b2a615a88521a0677193187be5968be9e39090e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH3/EX3.2/example3_2.sce | a84ab7fbffd976b853feacfe91b64ac879161704 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | example3_2.sce | clear
clc
//Example 3.2 WATER PRESSURE IN A TANK
//Hydrostatic equation, p1/Gamma +z1=p2/Gamma +z2
p1=0; //[psig]
z1=250; //[ft]
z2=215; //[ft]
Gamma=62.4; //specific weight of water[lbf/ft^3]
//1psig=144psfg
p2=p1+(z1-z2)*Gamma/144 //[psig]
printf("\nThe water pressure at the depth of 35ft in the tank = %.1f... |
d31eb7b45a7d26b1149dd67e69db32c7d4df1deb | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.9/Ex14_23_9.sce | 9d29258092525900b5fd845ff5e0788bfe07dbc0 | [] | 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 | 178 | sce | Ex14_23_9.sce | //Section-14,Example-4,Page no.-PC.82
//To calculate the solubility of Ag_2CrO_4.
clc;
K_sp=(9*10^-12)/4
S=(K_sp)^(1/3)
disp(S,'Solubility product of Ag_2CrO_4(mol/dm^3)')
|
fb88d54c2ec5eb4f495e7c262bda8a0e740fd24b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/getenv.man.tst | 3f0cbe24af684b78f5ca4f24aedd5f32afd59811 | [
"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 | 53 | tst | getenv.man.tst | clear;lines(0);
getenv('SCI')
getenv('FOO','foo')
|
d62d4efcd2cd2704878884367c191ceff007a156 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH8/EX8.3/example8_3.sce | 73c60ffdb9e1a7a00d5e0d41d89a8bbde30c4cb2 | [] | 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 | 322 | sce | example8_3.sce | mode(2);errcatch(-1,"stop");driver("GIF");//Example 8.3
//Nyquist plot
clear; clc;
s = %s /2 /%pi;
num=(s+3);
den=(s+1)*(s-1)
G=syslin('c',num,den)
clf();
nyquist(G)
xinit('/home/fossee/Downloads/tbc_graphs/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/example8_3');xend();exit()... |
9e30911ed947af488b49a934b67a27a4a8a9cc1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH2/EX2.4/Ex2_4.sce | 1a877cf24b422d9dd57c694a23372f0babd0e277 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,194 | sce | Ex2_4.sce | //Example 2.4
//Elastic Anisotropy
//Page No. 60
clc;clear;close;
S11_Fe=0.8; //in 1/Pa
S12_Fe=-0.28; //in 1/Pa
S44_Fe=0.86; //in 1/Pa
S11_W=0.26; //in 1/Pa
S12_W=-0.07; //in 1/Pa
S44_W=0.66; //in 1/Pa
D_100_l=1;
D_10... |
92ac1867f1a71234b3f1f98dd19f1ca5713c246c | 051a4db48a1c18ed4ac5262a9b91cb9445e39776 | /TECS_uncondensed/nand2tetris/projects/12/MemoryTest/MemoryTest.tst | db34a35529da78e7629a17c98609b2fb8650ba4e | [] | no_license | wh1pch81n/code_projects_portfolio | cd45f5bc67952f94c3bb14551cf39e9e8d0e8082 | a7789b8b4931980ba3a4d27209c4d080f8868126 | refs/heads/master | 2021-01-15T19:28:15.150278 | 2013-09-14T00:37:01 | 2013-09-14T00:37:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | tst | MemoryTest.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/12/MemoryTest/MemoryTest.tst
load,
output-file MemoryTest.out,
compare-to MemoryTest.cmp,
output-list RAM[8000]%D2.6.1 RAM[8001]%D2.6.1 RAM[8002]%D2.6.1 RA... |
9ec5ac2f286cef9cc3649c59134c0062099c53ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH7/EX7.13.2/Ex7_2.sce | e5f6e7110ddcd64fa457fda9e6517c20e5ee3236 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_2.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 7:Junction Transistor Characteristics
clc;
clear;
//given data
a=0.98;//a=fraction of the emitter current contributed by the carriers injected into the base and reaching the collector
Ie=0.003; //emitter current in A
Ico=10*10^-6; //reverse saturation ... |
2814167c847768791b60e34d1f260784bfc95faa | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH5/EX5.1/Example5_1.sce | 74570bb3410db44b168a5e04c5d523cd404340e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | Example5_1.sce | //chapter-5,Example5_1,pg 491
Vref=12//ref. voltage
n=4//no. of binary weighted resistors
n1=3//input-1
n2=1//input-2
Vo=-(Vref/2^n)*(2^n1+2^n2)
printf("output voltage\n")
printf("Vo=%.2f V",Vo) |
4f8d8b0867d2e2cbf91f08d22c904c5c6dcbf1e5 | 9fd1c728d84d54cce3b7a5d0c58281b2c66aaa6b | /TEST/txt.tst | ae55f6e8d551260c8e5029e27d199fb2d76e9593 | [
"MIT"
] | permissive | ihgazni2/sledgehammer4nut | 46349bc46fab1116b386595cb26cca667440bd6c | 397ace55fc0113bcb2e8375ede055b469b5ef029 | refs/heads/master | 2020-04-15T21:02:59.010109 | 2019-01-14T15:45:54 | 2019-01-14T15:45:54 | 165,019,039 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,906 | tst | txt.tst | import elist.elist as elel
import estring.estring as eses
import numpy as np
import sldghmmr4nut.ndarr.do as ndo
import sldghmmr4nut.ndarr.convert as ndcvt
from sldghmmr4nut import txt
####
ndarr = ndcvt.txt2ndarr(s)
ndo.append_col(ndarr,eses.str2chnums("RRRR"))
cols = [[82, 82, 82, 82], [65, 66, 67, 68], [82, 82,... |
db942405826c72f819866eb6a25dcd43a430f364 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH5/EX5.26/Ex_5_26.sce | ee328590297d23c0355cbd7913e41ef055318108 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex_5_26.sce | // Exa 5.26
clc;
clear;
close;
// Given data
Is= 100;// in µA
Is= Is*10^-6;// in A
If= 95;// in µA
If= If*10^-6;// in A
Io= 10;// in mA
Io= Io*10^-3;// in A
A= Io/(Is-If);// n A/A
Bita= If/Io;// A/A
disp(A,"Value of A in A/A is : ")
disp(Bita,"Value of Bita in A/A is : ")
// Note: In the book , to eval... |
7e944bbe45d5c74b5647335d700d657536e177d5 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/mechengpump.tst | 80e2226923091cd658721048e4e7168eb20ebaa1 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 757 | tst | mechengpump.tst | units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + propane isobutane n-butane isopentane n-pentane n-hexane
Feed = Stream.Stream_Material()
Feed.In.T = 20
Feed.In.P = 3000
Feed.In.MoleFlow = 100
Feed.In.Fraction = 1 2 3 4 5 6
pump = Flowsheet.SubFlowsheet('read mechengpump.sop')
Fe... |
3aee0e05c5dab6613111345d3659375acb982650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH3/EX3.5/Ex3_05.sce | 28bd761f4e244eafc21f2520bb71108cf904c988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,736 | sce | Ex3_05.sce |
// Scilab Code Ex3.5: Page-98 (2013)
clc; clear
lambda_max = 500e-009; // Maximum intensity wavelength emitted by the sun, m
b = 2.898e-003; // Wein's constant, m-K
sigma = 5.67e-008; // Stefan's constant, W/Sq.m-K^4
r = 6.96e+008; // Radius of the sun, m
r_E = 6.37e+006; // Radius of the earth, ... |
3581dcbea46a8f74cda8dd9c380d56119fc32ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH2/EX2.03/2_03.sce | b3f8323d3cf52cc85917b586e44720f0b38f7158 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | 2_03.sce | //pathname=get_absolute_file_path('2.03.sce')
//filename=pathname+filesep()+'2.03-data.sci'
//exec(filename)
//EMF at temperature T=0
E0=0.003*0-5*(10^-7)*(0^2)+0.5*10^-3
//EMF at temperature T=100
E100=0.003*100-5*(10^-7)*(100^2)+0.5*10^-3
//EMF at temperature T=30
E30=0.003*30-5*(10^-7)*(30^2)+0.5*10^-3
//Te... |
ccaef4817d135d21253b02f6156fc3880e9903cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.34/5_34.sce | e1ca08e04f4f2b2468b88050d905bfc5483230c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 842 | sce | 5_34.sce | //Example 5.34
//QD Method
//Page no. 202
clc;clear;close;
a=[1,2,10,-20]
for i=1:5
e(i,1)=0;
e(i,4)=0;
end
q(1,1)=-a(2)/a(1);
q(1,2)=0;q(1,3)=0;
e(1,2)=a(3)/a(2);
e(1,3)=a(4)/a(3);
for i=2:7
for j=1:3
q(i,j)=e(i-1,j+1)+q(i-1,j)-e(i-1,j)
end
for j=1:2
e(i,j+1)=e(i-1... |
342f07db0ea322f5b44648001a9ed2435dd39526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH4/EX4.9/Ex4_9.sce | c4a730371352fe4787e70f5596e65a166d10838a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,802 | sce | Ex4_9.sce | clc
// Example 4.9.py
// Consider the arrangement shows in fig. 4.29. A 15 degree half angle diamond
// wedge airfoil is in supersonic flow at zero angle of attack. A pitot tube is
// inserted into the flow at the location shown in fig 4.29. The pressure measured
// by the Pitot tube is 2.596 atm. At point a on the ba... |
12b5ddddebeae9ce6c989c9890b425de5e11c502 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.1/1_1.sce | a59904c3811802ad1d024e5f05a6ee47183b89d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | 1_1.sce | //clc();
clear;
// To calculate the intensity ratio of bright and dark fringes
I1=1;
I2=25;
// Intensity is directly proportional to square of the amplitude
A1=sqrt(I1);
A2=sqrt(I2);
Imax=(A1+A2)^2;
Imin=(A1-A2)^2;
I=Imax/Imin;
printf("The intensity ratio of bright and dark fringes is %f",I);
|
5e3de559f9c48937666b9293e6d079ba8bd4a37a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH6/EX6.27/Ex6_27.sce | 9b65a0a1fb8dd4b7c30e730b69bfcafca99ea0eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Ex6_27.sce | clear
//
//
//
//Variable declaration
h1=1
k1=2
l1=3 //miller indices
h2=2
k2=4
l2=6 //miller indices
a=0.82
b=0.94
c=0.75 //parameters(nm)
//Calculation
d123=(((h1/a)**2)+((k1/b)**2)+((l1/c)**2))**(-1/2) //interplanar distance between (123) planes
d246=d123/2 ... |
236011c45031942f4d694383289fea729c936234 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH7/EX7.7/Ex7_7.sce | 0f0b951a5de37b6396b1021aa63923afd76390bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 846 | sce | Ex7_7.sce | clc
clear
//DATA GIVEN
IP=30; //indicted power in kW
BP=26; //Brake Power in kW
N=1000; //engine speed in R.P.M.
F=0.35; //fuel per brake power hour in kg/BP/h
C=43900; //calorific value of fuel used in kJ/k... |
b9d8b8efb969923c26aabf83086dbdc8a16d7954 | 253e09cf7efdbfda8dd6a7d62523e0623a6307ad | /scr/test1.tst | 3b59e2ecde96e13e147e3cb3368a71100b2598f5 | [] | no_license | GOodCoffeeLover/OSI_2 | f4fdd83eef9637eced3150cd4789cdd82af2ae8f | 742950885333270ead6b0376c0cad8c33a02ce12 | refs/heads/master | 2023-04-12T23:55:37.597543 | 2021-03-05T08:07:31 | 2021-03-05T08:07:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | tst | test1.tst | file1
qwertyuioyuiop qwertyuio
some space
and some more space .
|
a51b1308bb7545884bae036eeb1b992e5669f85f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH5/EX5.3/example3.sce | d64c286534303fc9853f25fc04e646335141b692 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3.sce | s=%s;
num=1;
den=s*(s^2+4*s+8);
t=syslin('c',num/den);
clf;
evans(t);
mtlb_axis([-5 5 -5 5]);
|
5cc0e37aed1d5e66111264fcbb60856ee880dddd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%r_i_p.sci | 3c74ae1ef405b7ae4419a767c6671532cb93bfdb | [
"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 | 258 | sci | %r_i_p.sci | function f2=%r_i_p(i,j,f2,n)
// f2=%r_i_p(i,j,f2,p) insertion
//
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==3 then
n=f2;f2=j
d=ones(n);
n(i)=f2('num'),d(i)=f2('den')
else
d=ones(n);
n(i,j)=f2('num'),d(i,j)=f2('den')
end
f2=rlist(n,d,f2('dt'))
|
8435f6176556be842e1c19fd06bb76651a06bfbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.9/Chapter1_example9.sce | 1efd1da11cb133958684ec2ce55b2960b98535c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Chapter1_example9.sce | clc
clear
//Input data
m=[3,12]//Masses of the blocks in kg
q=50//Angle made by the string in degrees
a=3//Acceleration of 12kg block in m/s^2
//Calculations
T=m(1)*(9.8+a)//Tension in the string in N
u=(m(2)*(9.8*sind(q)-a)-T)/(m(2)*9.8*cosd(q))//Coefficient of kinetic friction
//Output
printf('Tension i... |
040a776f4a32a458d8ac20bcecd27098ee4c7cea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.4/3_4.sce | 8ee6cf65534f663648eb974c88da6764f6ce39bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | 3_4.sce | clear;
clc;
d=15;
Vr=11e3/sqrt(3);
pfr=.8;
Pd=5e6;
Pl=.12*Pd;
l=1.1e-3;
L=l*d;
I= Pd/(3*pfr*Vr);
R=Pl/(3*I*I);
X=2 * %pi* 50 *L;
pfa=acos(pfr);
Vs=Vr + (I * R * pfr) + (I * X * sin(pfa));
vs=sqrt(3)*Vs;
VR=(Vs-Vr)/Vr;
mprintf("\n(a) Voltage Regulation = %.2f percent ", VR*100);
pfa0=atan(R/X)... |
e9b2d4ea7a00ca5dc0ba5c034c5979c8f24fff34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.25/ex2_25.sci | 15363e7529993100cbd239073b24b8b217883178 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sci | ex2_25.sci | //Chapter2,Ex2.25,Pg2.30
clc;
disp("Refer to the diagram shown in the figure")
A=[8 -1;-2 17]
B=[50;-500]
V=A\B
printf("\n V1=%.2f V \n",V(1))
printf("\n V2=%.2f V \n",V(2))
printf("\n I1=%.2f \n",-V(1)/2)
printf("\n I2=%.2f \n",(V(1)-V(2))/10)
printf("\n I3=%.2f \n",(V(2)+50)/2)
|
0542c8added3fc2d48c1d60067471aae178c3e64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH5/EX5.52/EXAMPLE5_52.SCE | 810797d22414bbb7e8458fd4cc0529be46872395 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | EXAMPLE5_52.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 5
//ANGLE MODULATION
clear all;
clc;
printf("EXAMPLE 5.52(PAGENO 266)");
//given
delta_f = 50//frequency deviation
delta_f2 = 20*10^3//frequency deviation for sinusoidal FM wave i.e second case
f_m1 = 120//modualting frequency for first case... |
2cdf7b10c9be79c1dddec6f25a78fa969e3a3fa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH22/EX22.13/22Ex13.sce | 1e6871ff77a4ac25ddb981df408d4ca0d4bac3ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | 22Ex13.sce | //chapter 22 Ex 13
clc;
clear;
close;
Sum1=6690; t1=3; Sum2=10035; t2=6;
rate=((nthroot((Sum2/Sum1),(t2-t1)))-1);
p=Sum1/(1+rate)^t1;
mprintf("The Sum is %.0f",p);
|
df7db8a9513bb2165ed7b85181edd7fb8e233485 | c559c06fd4e5638a51e9bb8b35f28ceffd7d38fc | /Optimisation/Code/OracleDG.sci | 71ebd5780646d38878a03e1cbfc6e6d4ec8cf30b | [] | no_license | constantinidan/Optimisation-and-control | 0b933d37bbb7a130373d661c418f36b19b21a20c | 1692b7614ab51ea1271e47080fccc95b0f33f232 | refs/heads/master | 2021-01-17T17:26:32.353921 | 2016-08-03T08:54:11 | 2016-08-03T08:54:11 | 59,370,331 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sci | OracleDG.sci | function [F,G] = OracleDG(lambda,ind)
if ind == 2 then
temp = Ar'*pr + Ad'*lambda
ql = - sign(temp) .* sqrt(abs((1 ./ r) .*(temp)))
F = -(-(1/3)*ql'*(temp) + pr'*Ar*ql + lambda'*(Ad*ql - fd))
G = 0
elseif ind == 3 then
temp = -((Ar'*pr)+(Ad'*lambda))./r
q = sqrt(a... |
7ee4de579d70df6e2fb9fe90ee8341e578f495ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH6/EX6.10/Ex6_10.sce | 7337ccd9cb60c3953aac877a4dd543abc7450702 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Ex6_10.sce | //Ex 6.10
clc;
clear;
close;
format('v',6);
f0=1;///kHz
Vsat=14;//V
disp("Various design parameters are :-");
C1=0.05;//micro F//Chosen for the design
disp(C1,"Capacitance(micro F)");
Rf=1/(2*f0*10^3*C1*10^-6)/1000;//kohm
disp(Rf,"Resistance Rf(kohm)");
//R2=0.86*R1 and Rf=R1||R2
R2byR1=0.86;//from R2=0.86... |
e6ccac85518af4a60dcff8ce61ae06e6d69fd784 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.36/Ex1_36.sce | 803695ee4e614342977df9efc2e864470d7df2c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | Ex1_36.sce | clear
//
//
//
//Variable declaration
lamda1=6*10**-5 //wavelength(cm)
lamda2=4.5*10**-5 //wavelength(cm)
n1=21
//Calculation
n2=n1*lamda1/lamda2 //order
//Result
printf("\n order is %0.3f ",n2)
|
b75e9445ed1ce51307f16da2d68ecd5e405dd4fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH2/EX2.3/Ex2_3.sce | cfea0bd1fe480f231f9975965ca2e962f80d6e6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | Ex2_3.sce | // Example 2_3
clc;clear;funcprot(0);
//Given values
T_1=20;// degree celsius
T_2=50;//degree celsius
P_1=1;// atm
P_2=100;//atm
rho_1=998.0;// The density of water in kg/m^3
//Properties
//The coefficient of volume expansion at the average temperature T_avg=35°C
beta=0.337*10^-3;// k^-1
alpha=4.80*10^-5;/... |
ac8f98f47474be703b91e8827e01c426798abba1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH6/EX6.17/Ex6_17.sce | 9c3e71ab5f17e8d8d3642e90fe5db1777140a07f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | Ex6_17.sce |
// Example No.6.13.
// Page No.191.
//To find the number neighbour distance.
clc;clear;
disp('i)For (100) plane');
disp('Number of atoms per m^2 = 1/4r^2');
disp('i)For (110) plane');
c1 = 1/(8*sqrt(2));
printf("\nc1= %.4f",c1);
disp('Number of atoms per m^2 = (0.084/r^2)');
disp('i)For (111) plane');
c2 =... |
e2de76073fb4875612fd993889aedddd29ea7df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH16/EX16.3/Chapter16_example3.sce | 4a8127c548f7bf599655d445461a67211ee67f27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sce | Chapter16_example3.sce | clc
clear
//Input data
n=4//Number of cylinders
d=105//Bore in mm
l=127//Stroke in mm
BHP=63//Brake horse power in h.p
N=1800//Speed in r.p.m
t=15//Test time in min
mf=2.75//Mass of fuel in kg
CV=11000//Calorific value in kcal/kg
af=14.8//Air fuel ratio
v=0.805//Specific volume in m^3/kg
nv=80//Volumetric ... |
fb8d5b9b31811f4172c76fa9289e3c4234ae5c01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.6/Example2_6.sce | 4f1275b00b78002d9634a58ca5327c569227447f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Example2_6.sce | //Example 2.6
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Z- transform of 2^n u(n)
clear;
clc ;
close ;
syms n z;
x =(2) ^n
X= symsum (x*(z^(-n)),n ,0, %inf );
//Display the result in command window
disp (X,"Z-transform of 2^n u(n) is:");
disp('ROC is the Region mod(z) > 2'); |
5379b10d77e71dddc51dcbc866a7009f41378b78 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/ARDUINO_SERVO_WRITE_sim.sci~ | 4c6826d12a43a8196884ddff301d2da5d643fafd | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,748 | ARDUINO_SERVO_WRITE_sim.sci~ | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The ter... | |
c2090dc3715b8ff0a6fba4e0c2ad27aef1736b75 | c544cbec08122d43eec988ed11bc9566703b16eb | /SOFT_calcTrajs-onOffTimes/ON_OFF_times.sce | f2b41d7ddfcd7701697d1c6d144715a3a2e4fba3 | [] | no_license | hajdzior/ImmobilizedQuantumDots | e0cbf54ae90c59412b05c781a28eaa5103af3149 | 84ef98d8224e384246ac5f40072ab37f302e1af6 | refs/heads/master | 2021-01-10T11:04:36.099765 | 2017-10-25T20:50:51 | 2017-10-25T20:50:51 | 49,746,144 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,895 | sce | ON_OFF_times.sce | // ON-OFF analysis script
//------------------------------
// Last mod: 17-07-14
// Calculates:
// - the thresholds
// - on and off times
// input folder: 'trajsTXT'
// output folder: 'on_off_times'
// MW 17-07-14
//-------------------------------
//#################################
// ... |
b15f3d07b3412f2a91ed97bebd22a5ebe80bf97e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH6/EX6.6/ex6_6.sce | 5f44f82ea47208156d79e405083545f8c63188b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | ex6_6.sce | // Example 6.6, Page No-276
clear
clc
N=2
fh=2000
C=0.1*10^-6
R=1/(2*%pi*fh*C)
Rkohm=R/1000
printf('R= %.1f kohm', Rkohm)
alpha1=0.765
alpha2=1.848
A1=3-alpha1
A2=3-alpha2
Rf1byRi1=A1-1
Rf2byRi2=A2-1
printf('\nRf1/Ri1= %.3f', Rf1byRi1)
printf('\nHence, take Rf1=12.35 kohm and Ri1=10 kohm')
prin... |
465067aed3720eaa1ebce091b46cd676b9e5f6ab | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkshift/test_8.sce | a38d7b64031ebc65fc37de1324ab63bededab262 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | test_8.sce | // Test #8 : When output arguments are less than 5
exec('./zpkshift.sci',-1);
[z,p,k]=zpkshift(4.1,9.1,1,0.1,0.5);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//k=0.4505495
//p=0.0878947 + 0.3196320i
// 0.0878947 - 0.3196320i
//z=0.0985074 + 0.4839408i
// 0.0985074 - 0.4839408i
//
//Matlab Output
/... |
2909325375177076f18f7c628efffdc42ec8df2f | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Mercedes-Benz/MBN LV 124 2013/E-13 Pin interruption 2.tst | ce14911bc12c77e02bbbc4ee14126d426be9fd29 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,959 | tst | E-13 Pin interruption 2.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTest version="2.0.0" wavetype="15">
<Title>Test Case 2-Data Lines</Title>
<Organization>Mercedes-Benz</Organization>
<Standard>MBN LV 124 2013</Standard>
<Item>N/A</Item>
<system>
<PowerSystem>3</PowerSystem>
<voltage>0</vo... |
afabd491504eb9bf780dedf93ef9ad93202b109f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/util/manedit.sci | efccd36598695b38383f02c8cad022a46e139956 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 324 | sci | manedit.sci | function []=manedit(manitem,editor)
// manitem : character string giving a manitem
//
[lhs,rhs]=argn(0)
if rhs<=1, editor ="lemacs -w =80x50 ";end
fname='fname=`ls $SCI/man/*/man*/'+manitem+'.[0-9ln] 2>/dev/null `;';
unixstr=fname+"if [ $fname ] ; then "+editor+" $fname;else echo No man ; fi";
unix(unixstr)
//end
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.