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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
defb5c41f89d808fdca632f8d0bca18c7a120d59 | 08c90caa29269a38d527abf8c7c89fd4a525b668 | /lab2.sce | 536ca43d998b1b946d5d731053a03a7dfc1ee1c4 | [] | no_license | aksini/scilab_labs | fcd2e363159303298c674c58e3f750f6bff6c51a | aa0bc9181f452c7c011c466a5934a709d1f00bf4 | refs/heads/master | 2021-04-24T00:30:31.056852 | 2020-06-14T15:26:07 | 2020-06-14T15:26:07 | 250,044,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,212 | sce | lab2.sce | l_1 = [];
l_2 = [];
l_3 = [];
min_max_l1 = [];
min_max_l2 = [];
min_max_l3 = [];
mod_flag = 0;
mod_l_1 = [];
mod_l_2 = [];
mod_l_3 = [];
n = 22;
k = 1;
ci = [0; 0; 0];
cs = [];
me = 0;
min_x = [];
max_x = [];
not_pas = 0;
i = 1;
for lambd_1 = 0:1:k
for lambd_2 = 0:1:n
for lambd_3 = k:1:n
Q = [
... |
15cab8be1be0d68645c8b4857aaa9479948c58a3 | efe59cd4cca137aba9af447e8040b1eac3738006 | /examples/functions/exemplo2_funcao_soma_argumentos_entrada_variaveis.sce | 5742abb07e59696d7f50ab71e0675b249c0c0bd5 | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,371 | sce | exemplo2_funcao_soma_argumentos_entrada_variaveis.sce | /*Este programa especifica um exemplo de declaração e invocação de uma função de soma com argumentos de entrada variáveis,
a qual recebe argumentos de entrada, realiza a soma desses argumentos,
e devolve o valor do resultado juntamente com um status de erro, o qual indica se a função foi ou não invocada com
argum... |
399f8f9c24c70bc38ec12a3c60d1bbe8aba03302 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH9/EX9.1/Ex9_1.sce | 6191d582db28723976aa7af83620aba648117ab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Ex9_1.sce | //page 352
//Example 9.1
clc;
clear;
close;
disp('A = ');
disp('r * |cos(thetha) -sin(thetha)|');
disp(' |sin(thetha cos(thetha)|');
disp('Characteristic polynomial for T:');
disp('p = det(xI - A)');
disp('p = x - 2*r*cos(thetha*x) + r^2 ');
disp('if, a = r*cos(thetha)');
disp... |
e697e70defd76d2c1dfa1647280be3f6775c30f1 | 0c3cccb3c81eb151f654e5d9d470662c19122857 | /scilab/mandelbrot/mandelbrot_i.sci | 64f233869bc2eab2e8dd56f430bb22f01f8ef063 | [] | no_license | gmordelet/oldProg | 6b2bb7c247dd1f16a641d0f840f7c82e8eb37ffb | c108060bf1b87b4aad196484036f226fd9c4422c | refs/heads/master | 2021-01-12T16:28:52.448277 | 2016-10-30T11:16:22 | 2016-10-30T11:16:22 | 69,155,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,163 | sci | mandelbrot_i.sci | function mandelbrot_i(x0,y0,delta,R,N)
u = mandelbrot(x0,y0,delta,R,N)
hdl = display(u)
hdl.user_data = [x0,y0,delta,R,N]
hdl.event_handler = "event_mandelbrot_i";
hdl.event_handler_enable = "on";
endfunction
function event_mandelbrot_i(win,x,y,ibut)
scf(win)
hdl = gcf()
str_id = sprintf("%d",hdl.figu... |
3c02b09653434e060a8de3b49d97be2cc7d32812 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.9/example3_9.sce | 21ebf768d97b162fcdf22859e4a152072f904fff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3_9.sce | //exmaple3.9
clc
disp("(P_i)=1.2 kW, (P_cu)(FL)=1.5 kW, kVA=100")
n=100*sqrt(1.2/1.5)
format(8)
disp(n,"i) kVA for (n_max)=kVA*sqrt((P_i)/(P_cu))=")
disp("ii) For n_max, (P_cu)=(P_i)=-1.2 kW")
disp("Therefore, %(n_max)=[(kVA for n_max)*cos(psi)]/[(kVA for n_max)*cos(psi)+2(P_i)]*100 ..cos(psi)=1")
n=(89.44... |
01100076322c7dc3a1f47a895faaac374401120d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH5/EX5.6/Ex5_6.sce | f6a164c8e01ee0fa2cada9d724be39baebf5640b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | Ex5_6.sce | clc
//initialization of new variables
clear
L=10 //m
D=0.02 //m
Uav=0.15 //m/s
rho=1000 //kg/m^3
mu=10^-3
g=9.8 //m/s^2
//calculations
Re=rho*Uav*D/mu
f=64/Re
Hf=f*L*Uav^2/(D*2*g)
//results
printf('Head loss is = %.4f m',Hf)
|
6daa3b9d5fe640a0d790d5d90d1a0bfbed221f05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.16/EX6_16.sce | a98bea6d6b7fd41f27817a18dda06f04a6242c3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,177 | sce | EX6_16.sce | //Example6.16 // for the a current to voltage converter show a) Rin = (Rf/1+Aop) b) Rf = 10 K ohm Aop = 1000
clc;
clear;
close;
//a) The input resistance given as
//Rin = (Rf)/(1+Aop) ;
// The input resistance of the circuit can be written as
//Rin = (V1/i!);
// the feedback current of the given circu... |
60666bfc9361f73f265733e5634d881947d6ef42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.57/ex_1_57.sce | 5eade71f8409e5cbc8d33094bbe2e80c1dcd7a9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | ex_1_57.sce | //Example 1.57://prescribed range
clc;
clear;
p1=(40-10)/40;//probablity of falling in particular range
py=p1/2;//probablity
h=9;//precision index
SD=(1/(sqrt(h)));//standard deviation
y=1.15;//
d= y*SD;//deviation
disp(d,"standard deviation is")
disp("75% of the depth measurement lie wtih the range of (15±0.0904)cm")
|
c3186aee001ea73360c510c6db5c81329a5da098 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.26/2_26.sci | b567dd842c1d7c83894c847b50a7e022760b4753 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sci | 2_26.sci | //2.26
clc;
R25=100;
ath=-0.05;
dth=35-25;
R35=R25*[1+ath*dth];
printf("Resistance at 35 degree C= %.2f ohm ",R35) |
c55550c5da86c4eea19e639fe310826ad6e627af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH2/EX2.2/SSA_Ex_2_2.sce | 3aeb65d2e440b5e9f76946e4d7a9756a66a14012 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | SSA_Ex_2_2.sce | clc
//Chapter 2:Small Signal Amplifiers
//example 2.2 page no 22
//given
Ic=10^-3//collector bias current
B=100//current gain
RL=4*10^3//load resistance
Rs=50//source resistance
gm=40*Ic//transconductance
rpi=B/gm//base emitter resistance
Av=(B*RL)/(rpi+Rs*(1+B))//voltage gain
disp(Av,'the voltage gain is ')... |
f892380d03932038edf50fe4d735eca5091bbc8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH5/EX5.16/Ex5_16.sce | f25db29725cd7824bde3f71468b0a17b254658f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | Ex5_16.sce | // SAMPLE PROBLEM 5/16
clc;funcprot(0);
// Given data
omega=4;// rad/sec
omegadot=10;// rad/sec^2
r=6;// in
rdot=5;// in/sec
rdotdot=81;// in/sec^2
// Calculation
// Velocity
v_rel=rdot;// (k) in/sec
v_A=[v_rel,(omega*r)];// in/sec
printf("\nv_A=%1.0fi+%2.0fj in/sec",v_A(1),v_A(2));
v_A=norm(v_A);// in/s... |
e7e055e4ec20f30fa2fdbb7447f14cf4990ee578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.13/2_13.sce | b3f31ac4ddbcb39067c24d642a2bbc0fb2bf60ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | 2_13.sce | //2.13
clc;
disp('For Mid point converter')
Vm=800/(2*2.5);
alph=0;
Vo=Vm/(%pi)*(1+cosd(alph));
Idc=30/2.5;
Pdc=Idc*Vo;
printf("Average output power = %.2f W", Pdc )
disp('For bridge converter')
Vm=800/(2.5);
alph=0;
Vo=Vm/(%pi)*(1+cosd(alph));
Idc=30/2.5;
Pdc=Idc*Vo;
printf("Average output power = %.2f ... |
8454c4f860d815fd6b1b5d86d861e1989cc2dd76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.15/ch9_15.sci | 923ffce41d95a6a04b74756d5d391a3ec6af9135 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | sci | ch9_15.sci | //to calculate the min resistance to be added and speed of the motor
clc;
V=400;
a=2.5;
X2=.4;
R2=0.08;
n_s=750;
w_s=2*%pi*n_s/60;
T=250;
//T=(3/w_s)*((V/sqrt(3))/a)*R2t/(R2t^2+X2^2);
//after solving
//R2t^2-1.304*R2t+0.16=0
function [x1,x2]=quad(a,b,c)
d=sqrt(b^2-4*a*c);
x1=(-b+d)/(2*a);
x... |
4ef23f19d0366c15fbe26c9fc92b310d4f91ff7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH13/EX13.3/example_13_3.sce | 4380f3eaf5c9c0681748b2170914dedd78891af6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,790 | sce | example_13_3.sce | //Chapter 13
//Page 357
//Example 13.3
//selection
//This problem contains many assumptions and values are taken from Figure 13.7 in page 348 after intial calculations,it is done in order to select equipment of the available rated value in the market to meet the required conditions.So only the required calculations are... |
aeec323a8deb4a42641b272f988fe1a40f295bde | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH8/EX8.3/Ex8_3.sce | 17e4743d9de86dd8815f7a4b98c239a172bfae93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | Ex8_3.sce | //Example number 8.3, Page number 8.17
clc;clear;close
// Variable declaration
a=(2*2.82*10^-10) // in m
delta_Hs=1.971*1.6*10^-19 // unitless
k=1.38*10^-23 // Constant
T=300 // in K
// Calculations
V=a^3 // Volume of unit cell of NaCl
N=4/V // Total number of io... |
e3c7df14c1e3432f59fa417bbc0a9adf2125e5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH3/EX3.15/example_3_15.sce | 70224bf28a5f1a2a2bf1b173cde1e94430e90cad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | example_3_15.sce | syms V2 I1 V1
I1=V1
V2=V1*((s+1)/(s^2+3*s+1))
disp(((s+1)/(s^2+3*s+1)),'V2/V1=') |
e70210a069a5cdd7c47cce154f4c4dff3a0bfbe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.31/2_31.sci | 695038fab138889d2200cf50c64dd361f9deb9c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sci | 2_31.sci | // 2.31
clc;
ET=27.07+0.8;
printf("Required e.m.f.= %.2f mV ",ET)
disp('Temperature corresponding to 27.87 mV is 620 degree C') |
cfad609d33d83a0ac1f587996d94d05bdfd84892 | fa428f297a915e9a041597642bfe29627ab69c42 | /app/views/account/login.sce | c391a65c1e9daac4fd5498761e0a6e4970980f8d | [] | no_license | TheBrenny/Web-Dev-and-Security | dff903be92838b14f7126dd1f7092922b86bf2cc | e4abb96dc24e606704b09f5acdd2684d6d5d577d | refs/heads/main | 2023-06-17T08:33:35.176024 | 2021-06-15T05:07:20 | 2021-06-15T05:07:20 | 343,603,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,111 | sce | login.sce | [[i= partials/header ]]
[[i= partials/navbar ]]
<div class="container center">
<form enctype="application/json" class="loginBox displayBox" method="POST" action="/login">
<h1>Login</h1>
<input type="text" name="username" placeholder="Username" required />
<input type="password" name=... |
0ac0f493112673c2890c4c09e8e47422f6d3ed5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH3/EX3.4/Ex3_4.sce | 3887e920cf662e6c430b215f98ae3f04a0a85df9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Ex3_4.sce | clc;clear;
//Example 3.4
//given values
mt=10;
mf=8;
T=90;
//Values from Table A-4
P=70.183;//in kPa
vf=0.001036;
vg=2.3593;
//caluclation
mg=mt-mf;
V=mf*vf+mg*vg;// V= Vg + Vf
disp(V,'the volume of the tank in m^3');
disp(P,'the pressure in the tank in kPa')
|
59b6d8cf39263eff8f005dc8889add2e3a54bd42 | a5bfbe555e7cf18882d8897d206086fccefb9632 | /03/a/Register32Bit.tst | 8af11c593ac1c64ce7c59ff56a67a668fca098b3 | [] | no_license | Sushmitha999/computer-system-design-lab | 86ec2fb04245ad51d7a840f628dcd02f73ba0ced | a8b85e50c241a5e5ef4be9a622338982f78f9899 | refs/heads/master | 2023-01-08T03:07:13.106429 | 2020-10-29T13:00:00 | 2020-10-29T13:00:00 | 291,743,139 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,942 | tst | Register32Bit.tst | load Register32Bit.hdl,
output-file Register32Bit.out,
compare-to Register32Bit.cmp,
output-list time%S1.4.1 in1%D1.6.1 in2%D1.6.1 load%B2.1.2 out1%D1.6.1 out2%D1.6.1;
set in1 0,
set in2 0,
set load 0,
tick,
output;
tock,
output;
set in1 0,
set in2 0,
set load 1,
tick,
output;
tock,
output;
... |
4698d90bdb1a771d598ccca25deded758c88b149 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.19_3.tst | dd60b9be95bcd7ea6602e192eba16a6856714490 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 24,352 | tst | bow.19_3.tst | 19 5:1.0 34:0.1111111111111111 51:0.25 191:0.07692307692307693 238:0.1111111111111111 473:0.5 483:0.5 488:0.5 534:0.5 583:1.0 671:1.0 1123:0.5 1281:0.25 1566:1.0 2237:1.0 3000:1.0 5177:1.0 6145:1.0
19 1:0.1 34:0.2222222222222222 150:0.028169014084507043 215:0.16666666666666666 359:0.5 370:1.0 427:0.14285714285714285 48... |
eee5b9800f266790323a9a6f7550cf3870197016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH8/EX8.2/8_2.sce | c1d5c8f5cc445e8f52aba15fbcc6a293b996f895 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | 8_2.sce | //Reactions developed in beam
//refer fig 8.6
//Let RA and RB be the reactions at supports A and B
//applying virtual work principle
RB=(20/3)+(80/3) //kN
RA=(40/3)+(40/3) //kN
printf("Reactions are-\nRA=%.2f kN\nRB=%.2f kN",RA,RB)
|
3d1cf6eb03fc578aee334687d9294c6ee274db74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH8/EX8.12/Ex_8_12.sce | 678050bd8070693ba5b1919c8a3762b900dda1d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Ex_8_12.sce | // Example 8.12 //optical power
clc;
clear;
close;
e=1.6*10^-19;//electron charge
sndb=55;//signal to noise ration in dB
sn=(10^(sndb/10));//
bw=5;//Mhz
r=0.5;//responsivity
cs=0.7;//signal attenuation
k=1.38*10^-23;//bolzman constant
tc=20;//degree celsius
tk=tc+273;//Kelvin
fdb=1.5;//
f=10^(fdb/10);//
rl=1;//mega ohm... |
e4c61f2380be348ed8a930c465229af111bd7115 | a56536320fd14b35e21c2b9997d8aac037da6124 | /FCCC/FCCC.sce | d44c55775cc489e80862612b71b879183561b7e4 | [] | no_license | HigorKolecha/OtimizacaoDeRedes | 97869a5d4593b2e765304a23edcb4e825883eacb | f0057b6a4d9c1f00734fecdf9ea5b4a859abf433 | refs/heads/master | 2023-05-12T12:11:43.074997 | 2021-06-04T23:44:25 | 2021-06-04T23:44:25 | 369,598,892 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,340 | sce | FCCC.sce | //-----------------------------------------------
// Algorítimo FCCC responsável pela otimização na
// corrente injetada na rede distribuição.
// Projeto de Pesquisa FAPESP.
// Projeto número: #2019/24128-2.
// @date 01/07/2020.
// @author Higor de Paula Kolecha.
// @author Adolfo Blengini Neto.
// @author Marcius Fabi... |
d6e053f15c6e10a04c854d073684f85358763576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH24/EX24.07/24_07.sce | 862ea67d5cdde18d64ebedbeacd5e087fef546a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | 24_07.sce | //Problem 24.07: For the circuit shown in Figure 24.11, determine the value of impedance Z2.
//initializing the variables:
rv = 70; // in volts
thetav = 30; // in degrees
ri = 3.5; // in amperes
thetai = -20; // in degrees
//z1 consist of two resistance
R1 = 4.36; // in ohms
R2 = -2.1*%i; // in ohms
//calc... |
308dcc0e408ea7ae72e16a8e93ed4c1b8be0253b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH4/EX4.13/Ex4_13.sce | d1b99a7b211f2cd0fc30a3c8f6e06f2bb51b2b10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,312 | sce | Ex4_13.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);1
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 4 Example 13")
T2=(77+273);//temperature of reservoir 2
T1=(1077+273);//temperature of reservoir 1
T3=(3+273);//temperature of reservoir 3
disp("arrangement fo... |
82b7db96eb33a304fd27e11ef519c2a566e0c5db | b7fd34bedefb53b379af9b7a018aa38c91cd16cb | /t_uthelperCallNestedCode.tst | 479fded261b74d9d1b72ede8e750949f2d4031e5 | [] | no_license | arkadiusznowak1983/callNestedProgramByForwardPattern | 325470adb96d10203a370444aff294cee40db90d | 3009465056573af0a81e42ff8fbcdb213f6818ef | refs/heads/master | 2020-04-29T10:02:53.494493 | 2019-03-17T02:43:11 | 2019-03-17T02:43:11 | 176,047,427 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,473 | tst | t_uthelperCallNestedCode.tst | PL/SQL Developer Test script 3.0
42
-- Created on 3/16/2019 by arkadiusz.nowak1983@gmail.com
DECLARE
-- test package normal code execution
PROCEDURE test__code_execution IS
BEGIN
dbms_output.put_line( 'Test package normal code execution' );
p_ut_packageWithNestedCode.procedure_withNestedCode;
END tes... |
de5302f04b3673eb08a4b149b372bc32ed5ddaaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH6/EX6.4/example4_sce.sce | a297bebe37fe81484a1a4f6f2cb16712854a1973 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | example4_sce.sce | //chapter 6
//example 6.4
//page 253
printf("\n")
printf("given")
hfe=133;hoe=33.3*10^-6;
hfc=1+hfe
hob=hoe/(1+hfe)
A=hfe/(1+hfe) |
aaabd22804d4fc031f372a387e0c72af62d726a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH6/EX6.11/Ex6_11.sce | f3dfafd79aa6093864ce085c1d8b746fcfdec58d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,698 | sce | Ex6_11.sce | clear ;
clc;
// Example 6.11
printf('Example 6.11\n\n');
printf('Page No. 167\n\n');
// given
m = 10*10^3;// Production of boiler in kg/h
X = 0.95;//Dryness fraction
P = 10;//Pressure ib bar
T_fw = 95;// Feed water temperature in degree celcius
T_mf = 230;// Mean flue gae temperature in degree celcius
T_mb... |
abf8f550018cc1dba3d9e5d448c27f2f7113d737 | c3f24602becaed0467632bef7e37a04f6c6694d6 | /presentation/sce/msit-simple-prac.sce | 7718a537fee707d02531d17e7d3493e60ee93a8b | [] | no_license | jmcarp/msit-rxn | 31cd29e02226127d44707bd4390c3202ae299d9c | 642a80cd4ae11e3ea785e3e65b545ccc7a5311ea | refs/heads/master | 2021-01-01T20:48:05.201281 | 2013-03-07T00:22:04 | 2013-03-07T00:22:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,548 | sce | msit-simple-prac.sce | # Response parameters
active_buttons = 3;
button_codes = 1, 2, 3;
response_matching = simple_matching;
# Trigger parameters
write_codes = true;
pulse_width = 1;
###########
### SDL ###
###########
begin;
picture {
text { caption = "+"; font_size = 48; font = "Arial"; };
x = 0; y = 0;
} fixpic;
trial {
picture f... |
c8215c7e506e877234830510c45bf9979e320159 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH4/EX4.1/pe4_1.sce | b5e245b42ba1eac245846fa03eda6b0e32b6b85e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | pe4_1.sce | //example 4.1
clc; funcprot(0);
// Initialization of Variable
Rf=1;
Ri=10;
Vi=0;
Ip=500;
///calculation
Vrf=Ip*Rf;
disp(Vrf,"output voltage in mV:")
clear()
|
de84024ee432ef324a73efd76c446142182175d8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/auto/statgain.sci | b40550281c15d7fe0ed81d2cf4c2994a8a81c3c5 | [
"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 | 633 | sci | statgain.sci | function st=statgain(sl)
//-compat type(sl)<>15 retained for list/tlist compatibility
if type(sl)<>15&type(sl)<>16 then error(97,1),end
flag=sl(1);
select flag(1)
case 'lss'
dom=sl(7);
[m,p]=size(sl(2));
if dom='c' then
if rank(sl(2)) <> m then error('singular A matrix'),end
st=sl(5)-sl(4)*inv(sl(2... |
7825ea1ab81cb858088b9ca7d9172d6996f00d10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH12/EX12.6/Ex12_6.sce | 2b0f056e9e387424be8540fc59bc10dc79f4aa37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,594 | sce | Ex12_6.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 12 : Three Phase Circuit
// Example 12 - 6
clear; clc; close;
//
// Given data
Vp_mag = 110.0000; ... |
33d1c9e139399c76852a99894401fcff1831b9d2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/sci2for/warning.sci | 37a4b462305c1c828f9c8c9ab8fb7356225ae0a6 | [
"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 | 84 | sci | warning.sci | function []=warning(txt)
//
//!
// Copyright INRIA
write(%io(2),'WARNING:' +txt)
|
ac7d0719b476acf7f9a8dc61b50e4ede3a08e07a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH30/EX30.12/30_12.sce | 34e4ec5061e0fbf924e4147a2cbbb11d4e9e9116 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | 30_12.sce | clear//
//Variables
RD = 100.0 * 10**3 //Drain resistance (in ohm)
gm = 1.6 * 10**-3 //Transconductance (in Ampere per volt)
rd = 44.0 * 10**3 //Resistance (in ohm)
Cgs = 3.0 * 10**-12 //Capacitance gate-to-source (i... |
20ac2b907d713db50796da6f2bdb9ff52b117601 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/signal/analpf.sci | 2a9f390bcdce0380754a58d1ac7d0630648ec48e | [
"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 | 1,899 | sci | analpf.sci | function [hs,pols,zers,gain]=analpf(n,fdesign,rp,omega)
//[hs,pols,zers,gain]=analpf(n,fdesign,rp,omega)
//Creates analog low-pass filter with cut-off frequency at omega
// n :filter order (pos. integer)
// fdesign :filter design method
// : fdesign=('butt','cheb1','cheb2','ellip')
// rp :2-ve... |
81b95ffdfceffa2109da749b878d712d4cd6a731 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/color.tst | accd363dcb7ef70f73d151dc16945a3e0a0e8186 | [
"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 | 954 | tst | color.tst | xsetech([0 0 1 1],[0 0 1 1])
orig=[0 0]
sz=[1 1]
thick=xget('thickness');xset('thickness',2);
xrect(orig(1)+sz(1)/10,orig(2)+(1-1/10)*sz(2),sz(1)*8/10,sz(2)*8/10);
xx=[orig(1)+sz(1)/5,orig(1)+sz(1)/5;
orig(1)+(1-1/5)*sz(1),orig(1)+sz(1)/5];
yy=[orig(2)+sz(2)/5,orig(2)+sz(2)/5;
orig(2)+sz(2)/5,orig(2)+(1-1/5)*sz(2)];
x... |
b073ca6984259721467e7791a3d74ba8ef508689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.6/8_6.sce | 4bc9588d137727db31b14e1f8fff851eec2722d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | 8_6.sce | clc
clear
//Initialization of variables
p0=64.7 //psia
R=53.3 //lb-ft/lb-R
T0=539.6 //R
g=32.2 //ft/s^2
pa=14.7 //psia
d=1 //in
k=1.4
//calculations
rho0=p0*144/(g*R*T0)
pr=pa/p0
G=%pi/4 *(d/12)^2 *(k*p0*144*rho0)^(0.5) *(2/(k+1))^((k+1)/(2*(k-1)))
//results
printf("Mass rate of air flow = %.5f slug/sec"... |
13f381984c34e488794203fe22a9d3b8a628a945 | 49b8b32e6e113ccafc33eeee6d09e47663fd0846 | /projet robot/Trace_Courbe.sci | 9fced657ca41934bcee15721cff8832cc84b62e1 | [] | no_license | DerrazSofiane/mobile-robotic-app | 728ed33aad044b1cf46af0fd2284e58902326817 | 22fa42007758a55e4e69ac8d7c17209c611656e3 | refs/heads/master | 2021-02-19T06:39:31.759990 | 2017-06-16T10:40:00 | 2017-06-16T10:40:00 | 245,285,909 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,400 | sci | Trace_Courbe.sci | // Nettoyage
xdel(winsid());
clear;
// Configuration
lw = 2;
fs = 4;
// Répertoire detravail
wd = cd;
// Données US
xUS = [1 2 3 20 22 25 28 31 34]*1e-3;
yUSex = [65 65 65 74 84 93 104 113 123]*1e-3;
yUSth = xUS/25.4 * (5/512)*1e3;
// Tracé courbe US
cf1 = figure(1);
cf1.figure_name = 'US';
cf1.background = 8;
p... |
4e7de37e491a9a3f4a165e8699d77eb9f447fe89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.25.a/25_a.sce | 212a8fd5ca10f3b31856e77b7a2b106e392c86e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | 25_a.sce | //subtraction using 1's complement//
//Example 25.a//
//subtraction in one's complement //
clc
//clears the window//
clear
//clears all the existing variables//
x='1011101'
y=bin2dec('1011101')
z=bin2dec('1101100')
c=bitcmp(z,7);//finding 1's complement//
a=y+c+1
a=dec2bin(a-(bin2dec('1000000')))
//bina... |
d1e22c8bff6829e9bcb2d6a9c78e3b1c751c0613 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH6/EX6.8/ma_larger.sce | 6a478f066a34b001f12e1f83489fda355182f988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | ma_larger.sce | // Estimation with a larger order model results in large uncertainty, as discussed in Example 6.15 on page 185.
// 6.8
m = armac(1,0,[1 -0.9 0.2],1,1,1);
xi = 0.1*rand(1,10000);
v = arsimul(m,xi);
M1 = armax1(0,0,2,v,zeros(1,10000))
disp(M1)
M2 = armax1(0,0,3,v,zeros(1,10000))
disp(M2)
|
fc73d507c3a026352e66daa6f111e69eb1b58d46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH2/EX2.6/Ex2_6.sce | 1ce6c76e834d6cfaa92618c998750fc5d5f1ce3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | Ex2_6.sce | //chapter 2
//example 2.6
//calculate packing fraction and density
//page 43
clear;
clc;
//given
r_Na=0.98; // in Angstrom (radius of sodium ion)
r_Cl=1.81; // in Angstrom (radius of chloride ion)
M_Na=22.99; // in amu (atomic mass of sodium)
M_Cl=35.45; // in amu (atomic mass of chlorine)
//calculate
a=2*(... |
3fe375cd13935655475a84a68759e87657da621c | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/tests/unit_tests/xls_SetWorksheetName.tst | a11cbdb8a2ed81c08605eb5da6805d51854bc44c | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | tst | xls_SetWorksheetName.tst | // ====================================================================
// Allan CORNET
// DIGITEO 2008 - 2010
// ====================================================================
// <-- CLI SHELL MODE -->
// ====================================================================
r = xls_NewExcel();
assert_checktrue(... |
61748637017c18d524153c1d7f342da74d5891de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH9/EX9.5/Ex9_5.sce | 5f6d752b5503e80fa33276a705a843130f50d884 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | Ex9_5.sce | clc
P3=7 //pressure in MPa
P1=0.1//pressure in MPa
T1=310.15 //temperature in kelvin
T3=2973.15 //temperature in kelvin
ro=(P3*T1)/(T3*P1)
mprintf("ro=%f\n",ro)//ans vary due to roundoff error
gama=1.4
Eta=1-(1/ro)^(gama-1)
mprintf("Eta=%f\n",Eta)//ans vary due to roundoff error
T2=T1*(ro^(gama-1))
mprintf("... |
50a5f6e5d5bad9690bd907fcbd2882bb559dbd83 | bd6a24f2398fc7c6ed3648fefaaa9e0d306338e0 | /builder.sce | ec890d923f46dd7637963327d919e43a38c66198 | [] | no_license | KPJoshi/SymphonyToolboxForScilab | f552eef762cccacd65fd55cfe22c6422ed55eb9d | 2c58d197d4d21aa8310e02ab6dd9252d1c43ac94 | refs/heads/master | 2021-01-10T16:40:49.898146 | 2015-07-21T12:46:54 | 2015-07-21T12:46:54 | 36,343,205 | 0 | 1 | null | 2015-07-02T15:36:30 | 2015-05-27T04:38:36 | C++ | UTF-8 | Scilab | false | false | 4,369 | sce | builder.sce | mode(-1)
lines(0)
//Symphony toolbox builder
//By Keyur Joshi, Sai Kiran and Iswarya
// By default, just link to symphony library installed in the system, say in /usr/lib
LINKER_FLAGS=["-w -fpermissive -I/usr/include/coin -lSym"];
// Or uncomment this to set a path to a locally installed copy of symphony
//LINKER_FLA... |
bf2f431ccc4283d8850908532292d725f23575b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH4/EX4.1.c/Ex_4_1_c.sce | deec1170406f71336c82e69b58562fa2a12384e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_4_1_c.sce | // Example 4.2.c:Loss for 10Km
clc;
clear;
close;
L=8;// Length of fiber in km
Pi=120*10^-6;// input power in Watt
Po=4*10^-6;//Output power in Watt
alpha= round(10*(log10(Pi/Po)));//Loss in dB
alphadb= alpha/L;//Loss in dB/Km
alphadb2=alphadb*10;// Loss along 10Km fiber length in dB
Ds=alphadb2+9;// Due to s... |
40129dc719a0a064a0d155d5c1263af0f8152f43 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/tf.sci | 8c436020f4494fb214d57a6664596121ddab6e09 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,094 | sci | tf.sci | // ############################################################################
// Permite definir una FT (equivalente a la funcion syslin de Scilab)
// Sintaxis:
// tf('s'): define una FT(s)=s
// tf(x): con x un cociente de polinomios o un sistema en el espacio de
// estados
// tf(n,d): con n y d... |
6964fa765eaf2fa48e1c903eff53021f535c5071 | 31cc146b7597c1571ad100fc4dd888898b1b4eb0 | /algebra/compute_halfedge.sce | 2c88f20f9ca2491660b355e663d2a23b67c9938c | [] | no_license | rigid1980/gpp_scilab | a525ae046722e7ba52ebea6003ce712b51631ff6 | fadb75dea26cf341e6dc60874efd88c016df4f3b | refs/heads/master | 2016-09-11T08:37:44.538715 | 2014-03-26T08:37:35 | 2014-03-26T08:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 891 | sce | compute_halfedge.sce | //// compute_halfedge
// halfedge is simply directed edge, each face has three halfedges.
// These function will return all nf x 3 halfedges, as well as a nf x 3
// vector indicate which face the halfedge belongs to.
//
//// Syntax
// [he,heif] = compute_halfedge(face)
//
//// Description
// face: double array, ... |
77e09324a98fecaf92e192272a6ea1ac69409ca8 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/negation.tst | c03c224d00f5465e07558120d7b4d4a3265aef8c | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | tst | negation.tst | main {
boolean a;
a := false;
print( ! a);
return a;
}
|
71729a5c9346e5f0112bf3d2b18ab40865aae00b | e987cd566edc75997f9b02377514d4f3a0dba12c | /sys/src/base/mf/concom.tst | efdbeccb4cd6a03092dd2c603ea47785a4911497 | [] | no_license | 7u83/maxdb-buildtools | f942adff2cd55d0a046b6ef3e18f6645b011a26e | ce9a56943f6195d6755e983035aa96cbe95e6cb2 | refs/heads/master | 2020-05-04T18:23:30.849371 | 2015-02-15T19:25:49 | 2015-02-15T19:25:49 | 30,428,297 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | tst | concom.tst | & IF $OS = MSDOS
MSDOS
cr=xx;
& ELSE
cr=yy;
& ENDIF
& x
&if $OS = x
|
cf07fef8785be8823ad52e59b585a6e8e987e64f | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/GettingStarted/testdate.sce | 08ba7c22fdcd7aea295deef6cd21ea187a0989dc | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | testdate.sce | calendar(1970,1) // Jan. 1970 calendar
eomday(2012,2) // last day of February 2012
d1=[1970 1 1 0 0 0] // Scilab date format
t1=datenum(d1) // serial date number for date d1
[N,S]=weekday(t1) // day of the week for date d1
date() // current date
d2=clock() // scilab vector for current date
t... |
d1587a25fdda5a372049d344294bdcccb5d861b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH16/EX16.3/Ex16_3.sce | 2d431b2b61cde596e1a0120803d500b6e27c7215 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_3.sce | clear
//Given
u=-10.0 //cm
f=-15.0
//Calculation
v=1/((1/f)-(1/u))
m=-v/u
//Result
printf("\n (i) Image position is %0.3f cm", v)
|
dc78b7e95ee9c25a5f7a36f1a184813f970d6285 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.10_3.tst | a885dcd9e1969d782ef881332348b575ba300b24 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 267,644 | tst | 5.10_3.tst | 10 1282:1 1394:1 2859:1 2995:1 4094:1 4338:1 4398:1 5529:1 5618:1 5842:1 6484:1 6723:1 7509:1 7614:1 7814:1 9315:1 9373:1 9633:1 11108:1 11495:1 11509:1 12919:1 12939:1 13862:1 14441:1 16165:9 16658:1 16942:1 17431:1 18441:1 19632:1 19900:1 19955:1 20155:1 21945:1 22337:1 23187:1 23805:1 23854:1 24332:1 24707:1 25248:1... |
5e476c529da38b95a8915a5d11c6a8734108622f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH4/EX4.5/Ex4_5.sce | 21736ce34f8ee43c953821f66afee7d827087bd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Ex4_5.sce | clear
//Given
//Variable declaration
A=700 //Area in sq.mm
L=1.5*10**3 //Length of a metal bar in mm
sigma=160 //Stress at elastic limit in N/sq.mm
E=2e5 //Youngs Modulus in N/sq.mm
//Calculation
V=A*L //Volume of bar in sq.mm
Pr=(sigma**2/(2*E)*V)*1... |
61f4ed3f97e02e854e125c52342ff4ab8224698c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.3/Ex8_3.sce | 8c1712547de43a724aea6154b50c4d1bf45aeb5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | Ex8_3.sce |
//
//
h=50
h1=2.50,h2=1.25,h3=0.95,h4=1.65,h5=2.20,h6=2.85,h7=0.75,
b=8,sh=1,
//metres
a1=(b+(sh*h1))*h1
a2=(b+(sh*h2))*h2
a3=(b+(sh*h3))*h3
a4=(b+(sh*h4))*h4
a5=(b+(sh*h5))*h5
a6=(b+(sh*h6))*h6
a7=(b+(sh*h7))*h7
printf("\n a1=%0.3f sq.m,a2=%0.3f sq.m,a3=%0.3f sq.m,a4=%0.3f sq.m,a5=%0.3f sq.m,a6=%0.3f sq.m,a7=%... |
25efa703db17c1f50bb400468a560869b347da45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH6/EX6.3/ex_6_3.sce | e83952a64e23188669c031a9d03ddf6bd41e2ef1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | ex_6_3.sce |
s=%s
sigma1=300
sigma2=-150
sigmay=0.55*s
sigmae=0.5*s
FS=2
sigmam=(sigma1+sigma2)/2
sigmav=(sigma1-sigma2)/2
disp(sigmam,"Mean stress=")
disp(sigmav,"Variable stress=")
p=s^2-900*s-22500
sigmau=roots(p)
sigmau1=924.35
disp(sigmau1,"Minimum ultimate strength according to gerber equation=")
0=(sigmam/s)+(sigmay/sigmae)... |
9ad061cf53c6fc153832d58359d46aea98d64185 | aeb7492631a48ec713bc7e1f1344e71621c139a3 | /pb4-6.sce | daabeec962f8e701534b60ff38af36f2cacd25ce | [
"BSD-2-Clause"
] | permissive | Echeban/PMM | 7a4f9a3b1397e1d2348d2e58b6a2e71f9b4ceb8a | f28d2a8f90fad80eddfd4d2418017cf75b2fdf0d | refs/heads/master | 2020-03-25T05:47:46.110929 | 2018-08-03T19:58:49 | 2018-08-03T19:58:49 | 143,466,221 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | pb4-6.sce | //Pb-4-6 ISBN:978-1-138-19680-3
clc;clear;mode(-1)
exec('PMM.sci');
//IM7 fiber
EA = 276000//MPa, Table 2.1 ISBN:978-1-138-19680-3
ET = EA
vA = 0.2//Table 2.1 ISBN:978-1-138-19680-3
vT = vA
Vf = 0.591
GA = EA/2/(1+vA); disp(GA)
//8552 Epoxy Table 2.13 ISBN:978-1-138-19680-3
Vm = 1-Vf; disp(Vm)
Em = 4667//MP... |
a742095c42143d40d2cec80714f97ab072235fbe | b5801afaa3964cbd7f9c1c8cf732cdcdb020e7fc | /Scilab6-Keras-Toolbox/macros/image_model.sci | 65acfd4d2b6bac2356a5f4837dd16f958fd0dc10 | [
"BSD-3-Clause"
] | permissive | TanayKarve/scilab-keras-toolbox | e179b283102a580f2192d44c63dbc44a6fbaf03d | 48045cd955c821a00377f9719f21fe0f91148541 | refs/heads/master | 2022-12-03T09:22:16.551928 | 2020-08-23T13:26:21 | 2020-08-23T13:26:21 | 289,681,759 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,550 | sci | image_model.sci |
function [y]=image_model()
// This function is used to develop a transfer-learning image recognition model.
// It returns the training accuracy of the model.
//
// Syntax
// y = image_model(in1);
//
// Parameters
// y : training accuracy of the model
// in1 : Number of ep... |
dd5ec97bb7450b98edfb955c7023337a7daf246e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH7/EX7.15/exa_7_15.sce | 629815577e86c5d8ebc84e96471b08b47f232016 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_7_15.sce | //Exa 7.15
clc;
clear;
close;
format('v',9)
//given data
d1=100;// in mm
d1=d1*10^-3;// in m
d2=100+10*2;// in mm
d2=d2*10^-3;// in m
l=1;// in m
A1byA2=d1^2/d2^2;
A1=%pi*d1*l;// in m^2
sigma=5.67*10^-8;
T1=120+273;// in K
T2=35+273;// in K
epsilon1=.8;
epsilon2=.1;
Fg12=1/(1/epsilon1+(1/epsilon2-1)*A... |
53f157b14369887de641091744335682ea7d0b75 | 53a108238b9fda736d1411a9722d4043922e73e3 | /SPLAIN.sce | fce0b3fce1cf3924368377c9b25461d5a04cb803 | [] | no_license | 3reedm/scilab | 708d315412cdb48590c66821d78a883e28b5a7e6 | 2508a225d5e8b744da1be7443f5831b665a60aee | refs/heads/master | 2020-03-18T01:56:55.225475 | 2018-05-20T16:27:39 | 2018-05-20T16:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | SPLAIN.sce | //Входные параметры
x=[0,%pi/4,%pi/2,3*%pi/2];
y=[1,1.4,1,-1];
d=splin(x,y);
//Функция для трёх точек
X1=[%pi/6,%pi/3,%pi];
Y1=interp(X1,x,y,d);
//Функция для отрезка
X2=[-3*%pi/2:%pi/8:3*%pi/2];
Y2=interp(X2,x,y,d);
//Отображение графиков функций
plot2d(X2,Y2,-2);
plot2d(X2,sin(X2),-3);
plot2d(X1,Y1,-4)
|
37c0af7af6299dd6ef8a06273423592f8c43c84c | 6cb749937ed1f53a5c22d6d7276c82f9a56ea0f4 | /arduino_svn/help/fr_FR/TIME_SAMPLE_help.tst | eee5e7c761d6c1575e095f7485fd04958100c1d9 | [] | no_license | fizcris/Scilab_Xcos_arduino_toolbox_david_MPU6050 | 2aacb3b5f75d49f1d8c8b46fa51f2b0c53afc985 | d488f268526d0cf6140f19426813b4b289566d37 | refs/heads/master | 2021-06-25T01:19:38.819142 | 2021-06-18T22:43:11 | 2021-06-18T22:43:11 | 26,444,710 | 2 | 6 | null | null | null | null | UTF-8 | Scilab | false | false | 1,423 | tst | TIME_SAMPLE_help.tst | \name
TIME_SAMPLE
\palette
Arduino
\smalldescription
Permet de spécifier la durée d'acquisition/pilotage et le pas d'échantillonnage
\description
Ce bloc doit \bold{obligatoirement} être placé sur le schéma lors de l'utilisation d'autres blocs de la toolbox.
Il permet de définir la durée de communication avec la ca... |
e28539391117cd27287b521cfcd75639b0033d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH14/EX14.11/ex_14_11.sce | a4053ae9ea6be0a0ea7f9e702d3e4d91daf620cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,005 | sce | ex_14_11.sce | clc
//solution
//given
//ref fig 14.6
AB=800//mm
a=(%pi/180)*20//rad
Dc=600//mm
Rc=300//mm
AC=200//mm
Dd=700//mm
Rd=350//mm
DB=250//mm
W=2000//N
T1=3000//N
T2=T1/3//N
t=40//n/mm^2
T=(T1-T2)*Rd//N-mm
Ftc=T/Rc//N//tangential force acting oon gear C
Wc=Ftc/cos(a)//N
Wcv=Wc*cos(a)//veritcal comp
Wch=Wc*sin(a)//hori com
//R... |
102f81b1531d98c23bbf35ae900737cf4cdc4d88 | 132b4ac959b21691290ffeefbc31eefe24500a25 | /a8/a8/test6.tst | 6ebfa83808c04adc3f23df20a946cf06a1fe8206 | [] | no_license | HanlonsStraightRazor/cs310 | df790b8c10b1ebb942313b4a620fd3ce655a075b | 0a053116659eb65ffacb9bf410774e31b17e8fbd | refs/heads/master | 2023-03-12T22:35:35.357502 | 2021-03-02T20:47:48 | 2021-03-02T20:47:48 | 343,901,992 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,108 | tst | test6.tst | load Larc.hdl,
// with and w/o forwarding
set RAM4K[0] %X8101, // M[0]: li R1 1 // 1.
set RAM4K[1] %X8303, // M[1]: li R3 3 // 2.
set RAM4K[2] %X0000, // M[2]: nop // 3.
set RAM4K[3] %X0000, // M[3]: nop // ... |
f0377a86889cd82511f0620d4f6a68f5c9359834 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.41/example2_41.sce | a23923406f5bb6c0441e90fb376fe690fe8ebbe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_41.sce | clc
// Given that
lambda = 5e-7 // wavelength of light in meter
theta = (1e-3) * (%pi / 180) // separation angle of stars in radian
// Sample Problem 41 on page no. 2.54
printf("\n # PROBLEM 41 # \n")
a = (1.22 * lambda) / theta // calculation for diameter of telescope objective
printf("\n Standard formula used \n a =... |
48487baedc90216d9412be37a2f9eee5c1045f34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.1/ex9_1.sce | 0bee433431973021fdd4969727de5fc3a0491610 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_1.sce | // Exa 9.1
clc;
clear;
close;
format('v',6)
// Given data
V1 = 3000;// in V
V2 = 300;// in V
N2 = 86;// in Turns
Rating = 60*10^3;// in VA
K = V2/V1;
//Transformer ratio, N2/N1 = K;
N1 = N2/K;// in turns
disp(N1,"The numbers of primary turns is");
I2 = Rating/V2;// in A
disp(I2,"The secondary full load ... |
c4b3601155b48a111d60cf9dd2b33cf767fa14fb | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%hm_r_s.sci | 1860cffe872fd5bd0b344d792652839409060b95 | [
"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 | 172 | sci | %hm_r_s.sci | function M1=%hm_r_s(M1,M2)
// Copyright INRIA
if size(M2,'*')<>1 then
M1=M1/mlist(['hm','dims','entries'],size(M2),M2(:))
else
M1('entries')=M1('entries')/M2
end
|
b23146c2e696667f23f52170db8a113658946771 | f98e6eb45cba97e51f3e190748f75d277fc4c38d | /Lab/Lab5/Lab5.sce | 851bdde0c26b6d3781c932778eb960ceb8987b06 | [] | no_license | sctpimming/SC422401 | 68359adab92095e4c60121ff17ac43efc9c46fb4 | 5c43c58c9bf0e923b640c115b4ef618ad72d15a6 | refs/heads/master | 2020-11-25T18:37:53.377582 | 2020-02-26T07:56:39 | 2020-02-26T07:56:39 | 228,796,306 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,167 | sce | Lab5.sce | clear
function [y] = MyTerm_r(n)
if(n < 1) then
error("n ต้องเป็นจำนวนเต็มบวกเท่านั้น")
end
if(n == 1) then
y = 2
elseif (n==2) then
y = -1
elseif (n>=3) then
y = ((3*MyTerm_r(n-1)) - 1)/((MyTerm_r(n-2)^2) + 1)
end
endfunction
function [y] = MyTerm_i(n)
if(n < 1... |
7173e16c9fa3856c08a1eeb5c782b2c9bab24916 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH7/EX7.10/Ex7_10.sce | 34a927e8bad7e6946bafe49df3b76280fa21065e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,822 | sce | Ex7_10.sce | // Example 7.10
clear all;
clc;
// Given data
d = 5; // Inner diameter of the tube in cm
a = d/2; // Inner radius of the tube in cm
l = 76; // Length of the tube in cm
rho = 2; ... |
e3fa3a41f79dc35337d0a3900dc0903198153b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH6/EX6.06/6_06.sce | d4d9a87d00c9e278c10bb89d7e50c46edfc86089 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | 6_06.sce | //Example No. 6_06
//Pg No. 146
disp('Theoritical Problem')
disp('For Details go to page no. 146') |
b9747db752886ea0039cbd4ead7cefc21753b45b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.4/EX5_4.sce | 1913301b328774bd6756f4e911fac485ea00f5c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | EX5_4.sce |
E1=100+%i*0;
E2=43.30+%i*25
Z1=1+%i*3;
Z2=1-%i*3;
Z3=2+%i*4;
Z4=3-%i*3
Z5=1+%i*5;
Z6=2-%i*8;
Iab1=E1/((Z1+Z2)+((Z3*Z4)/(Z3+Z4)));
I2=E2/((Z5-Z6)+((Z3*Z1+Z2)/(Z3+Z1+Z2)));
Iab2=(I2*Z3)/(Z3+Z1+Z2)
disp('i) CURRENT (Iab1) is = '+string (Iab1)+'A ');
disp('i) CURRENT (I2) is = '+string (I2)+'A ');
disp... |
10d782e17847a2e326846b8ee405dabd6f2c8ff5 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/sinetone.sci | 407fa45277c9dc287b7d96dc9d260160757d2937 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 928 | sci | sinetone.sci | function y= sinetone(x, varargin)
//Return a sinetone of the input
//Calling Sequence
//y= sinetone(FREQ)
//y= sinetone(FREQ, RATE)
//y= sinetone(FREQ, RATE, SEC)
//y= sinetone(FREQ, RATE, SEC, AMPL)
//Parameters
//FREQ: frequency of sinetone
//RATE: Sampling rate
//SEC: Length in seconds
//AMPL: Amplitude
//Descripti... |
5e69292267550036a382761e2ee5c41cbbeff9b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.37/ques37.sce | fb932fa96fb7a87242ad15e0532e3a16f60adc83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | ques37.sce | //ques37
syms a t
x=a*(cos(t)+log(tan(t/2)));
y=a*sin(t);
s=diff(x,t,1)/diff(y,t,1);
disp('length of tangent ');
l=y*(1+s)^(0.5);
disp(l);
disp('checking for its dependency on t')
f=1
t=0;
k=eval(l);
for i=1:10
t=i;
if(eval(l)~=k)
f=0;
end
end
if(f==1)
disp("verified and equal to a");
... |
531ee98b285824e7a213514a5a7845beb6e921d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.27/Exa1_27.sce | 2093c87149040b56478cf4e1f6ee2f296ac43c1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,367 | sce | Exa1_27.sce | //Exa 1.27
clc;
clear;
close;
//given data
BETAac=100;//unitless
BETAdc=100;//unitless
VT=25;//in mvolts
VEE=10;//in volts
VCC=10;//in volts
VBE=0.7;//in volts
VD=0.7;//in volts
IE6=2;//in mA
IE1=3.25;//in mA
Ri2=1.538;//in kohm
RC1=2.5;//in kohm
re8=3.85;//in kohm
RE8=1.2;//in kohm
RC6=1.2;//in kohm... |
10a7666159728588e86dfa32519d9e48de7363b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH3/EX3.7/Ex3_7.sce | f3534f4909505b0cd8b287958f4d73a48597a7cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | Ex3_7.sce | clear
//
// Since all members are 3 m long, all triangles are equilateral and hence all inclined members are at 60° to horizontal. Joint-by-joint analysis is carried out . Then nature of the force is determined.
//variable declaration
AB=3.0
BC=AB
AC=AB
BD=BC
CD=BD
CE=CD
DE=CE
EF=DE
DF=DE
EG=DE
FG=DF
theta=60.0*%p... |
eddda908c29b68485393737cb51680420ef33760 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RDE1.prev.tst | b0b45a83c9f0d3b11dcfa96d37f7837a85991a64 | [
"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 | 68 | tst | RDE1.prev.tst | (x^3 + x^2*y + y^2; x^4 - y^4).derivative() = 4*x^3; 3*x^2 + 2*x*y
|
cbcfa868cfb5417f2af8da2e75f5b7c8b92aa93b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.12/Ch02Ex12.sci | 7da8c3801baf6fcc8c32fce383aa570ebcb3b7cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sci | Ch02Ex12.sci | // Scilab Code Ex2.12 Velocity of the emitted electron: Pg:49 (2008)
m = 9.1e-031; // Mass of electron, kg
c = 3e+08; // Speed of light, m/s
h= 6.626 * 10^-34;
e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV
phi = 2.3*e; // Work function of metal, J
L = 4300e-010; // Wavelength of incident light, m
... |
7502ab6802b70cfd3f1aa5de79b451ce43e44ec1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.14/16_14.sce | e5c15f42da841b5cc4a3225a7b2126a5c9615fce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,508 | sce | 16_14.sce | //pathname=get_absolute_file_path('16.14.sce')
//filename=pathname+filesep()+'16.14-data.sci'
//exec(filename)
//Pressures(in bar):
p1=1
p2=6
p6=30
p5=p2
//Temperatures(in K):
T6=273+150
T5=273+35
T1=300
//Clearance volumes:
Clp=0.05
Chp=0.07
//Mass flow rate(in kg/s):
m=2
//Gas constant(in kJ/kg.K):
... |
6db06aad77b80cb5a6041cf708d233f95d8bbe8b | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/strtok.tst | de6cc145dcda0b8e88e8279bc774445fa13a396a | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 1,920 | tst | strtok.tst | -- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r str... |
19701a6683e6fed72d7f3474beddf41a467d5e7b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.16_11.tst | 95a6fe1db7529b84c9788a5de6b4a485832b6d71 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 685,894 | tst | 5.16_11.tst | 16 93:1 177:1 402:1 731:1 939:1 1067:1 1218:1 1239:1 1626:1 1730:1 1835:1 1917:1 1955:1 2109:1 2246:1 2378:1 2443:1 2482:1 2652:1 2738:1 2780:1 3039:1 3193:1 3253:1 4079:1 4193:1 4225:1 4252:1 4253:1 4306:1 4361:1 4657:1 4721:1 4792:1 4929:1 5062:1 5088:1 5412:1 5596:1 5718:1 5731:1 5732:1 5961:1 6041:1 6052:1 6261:1 6... |
883df9d753fc3670dd878f0354e1089bd8a4d2a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH9/EX9.8/Example9_8.sce | 0b386ee35dbdf33af274b5ad870724ac802c9cc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,772 | sce | Example9_8.sce | clear;
clc;
// Example 9.8
printf('Example 9.8\n\n');
// Page no. 244
// Solution
m_C3H6 = 42.08;// molecular wt. of propene-[g]
m_C3H5Cl = 76.53 ;// molecular wt. of C3H5Cl-[g]
m_C3H6Cl2 = 112.99 ;// molecular wt. of C3H6Cl2-[g]
// Product analysis
pml_Cl2 = 141.0 ;// [g mol]
pml_C3H6 = 651.0 ;//[g mol]
pml_C3H5Cl = ... |
ffc76ff25ceac7e16b29690b5ab61b26df40556b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH8/EX39.2/39.sce | 76d7793e130b37cdfc487d12007c8515aa31cd11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 39.sce | clc
//initialisation of variables
d=80//mm
d1=60//mm
t=100//mm
//CALCULATIONS
D=(d-d1)/2//mm
V=t/D//mm
//RESULTS
printf('the ratio between the velocity =% f mm',D)
|
8bcf1de667f5903f250d9190f9492d5c01921551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH11/EX11.1/exa11_1.sce | f4fa3c575578825a83a5f0242beebd2df8bd19ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | exa11_1.sce | //Example 11-1//
// % Resolution of a five bit D/A converter//
clc
//clears the console//
clear
//clears all existing variables//
n=5
//here n is the number of bits//
disp('Max number that can be represented using 5 bits is the binary number 11111 ie 31 in decimal form ')
pres=(1/((2^n)-1))*100
//pres denotes... |
62318f7f3d97f007037b5b4b073fd46bdbbf646a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH6/EX6.3/6_3.sce | 0e512e46641b4c53cd32cd36dc1d5a9601926d02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | 6_3.sce | clc
clear
//Initialization of variables
B=70 //F
P1=140 //psia
x=0.986
P2=14.7 //psia
ms=2000 //lb/hr
Ihp=80
//calculations
disp("From mollier charts,")
hc=180 //Btu/lb
hf=324.82 //Btu/lb
hfg=868.2 //Btu/lb
h1=hf+x*hfg
Qin=ms*(h1-hc)
eta=Ihp*2545*100/(Qin)
Qw=Ihp*2545
Qr=Qin-Qw
per=Qr/Qin *100
//res... |
060f4b6cf658d072c7c21ed94ebc40874a64ca5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.6/ch6_6.sce | 2b77144c547ef6ad6a6565d7d671d0b025431031 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | ch6_6.sce | clear;
clc;
V=1000;
fos=2.5; //factor of safety
I_TAV=40;
disp("for mid pt convertor");
V_m=V/(2*fos);
P=(2*V_m/%pi)*I_TAV; printf("power handled=%.3f kW",P/1000);
disp("for bridge convertor");
V_m=V/(fos);
P=(2*V_m/%pi)*I_TAV; printf("power handled=%.3f kW",P/1000);
|
640ee24d444c09256ac2a749ae7ceb3524800799 | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/nocopy_performance.tst | 009e8e07acd609894da0286f1329f75a91233805 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,659 | tst | nocopy_performance.tst | CREATE OR REPLACE PACKAGE nocopy_test
IS
TYPE numbers_t
IS
TABLE OF NUMBER;
PROCEDURE pass_by_value (numbers_inout IN OUT numbers_t);
PROCEDURE pass_by_ref (numbers_inout IN OUT NOCOPY numbers_t);
END;
/
CREATE OR REPLACE PACKAGE BODY nocopy_test
IS
PROCEDURE pass_by_value (numbers_inout IN OUT ... |
d8acb7eb8a172fc34317aef952a28f971bf1c937 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH8/EX8.9/Ex8_9.sce | 66f5ca503ee6675d7785f5c93cd238a3e300f28c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex8_9.sce | clc
clear
printf("Example 8.9 | Page number 223 \n\n");
//This is a theoritical question.Refer textbook for solution
printf("This is a theoritical question.Refer textbook for solution")
|
801243c6eeee1a2029c87d5af4cc6f69aa5be599 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.7/ex25_7.sce | a2479159a90cb2a0646726c27d1d90e9627de470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | ex25_7.sce | clc;
pb=207.19; //mass of carbon
n=14.01; //mass of hydrogen
o=16.00; //mass of oxygen
mass=((1*pb)+(2*n)+(6*o)); //calculating formula mass
m=28.02; //no. of grams per mole
moles=m/mass; //moles
disp(moles*100,"Proportion in percentage = "); //displaying result
|
ba55a24b71abeb84528c735b348f387fbcbf2e39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH5/EX5.6/Ex5_6.sce | 56751a2647d1c944a3683f12ca5e8ffb1f45904d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 974 | sce | Ex5_6.sce | clear
//
o1=60.0*3.14/180.0 //angle of inclination of plane AC
o2=30.0*3.14/180.0 //angle of inclination of plane BC
Wbc=1000.0 //weight of block on plane BC
ubc=0.28 //coefficient of friction between the load and the plane BC
uac=0.20 //coefficient of friction between the load and the plane AC
//for least... |
5b6faddb4ed66ac6d91d069366ab0c058dbfab02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH1/EX1.1/1.sce | 1513b21aa2162961f825a2bd198fd49311825912 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,004 | sce | 1.sce | clc
clear
//input
x=(0:50:550)//temperature difference in x axis
y=[0,0.43,0.79,1.10,1.36,1.54,1.69,1.77,1.80,1.78,1.70,1.54]//emf in y axis
//calculation
title("a graph of E vs teta")//setting title for graph
xlabel("temperature difference teta")//setting x label
ylabel("emf E")//setting y label
plot(x,y)//pl... |
51798ec194f62d80b97feb9356bd2aac06819be4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.25/Ex2_25.sce | 8b3b0923d1e41dc9e11d0b6e93ceb474efda94bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,491 | sce | Ex2_25.sce | clear
//
//Initilization of Variables
P=200*10**3 //N //Load
A_a=1000 //mm**2 //Area of Aluminium
A_s=800 //mm**2 //Area of steel
E_a=1*10**5 //N/mm**2 //Modulus of Elasticity of Aluminium
E_s=2*10**5 //N/mm**2 //Modulus of ELasticity of steel
sigma_a1=65 //N/mm**2 //stress in aluminium
sigma_s1=150 //N/mm**2 //Stres... |
67b2232208c3ec30656f2fd549f490a0c2004f0d | bd2dd6dcbf234dcda02553cfe9990ff2cc91f09a | /closedloop.sce | 2936d0cc0f59aaa93671062b30c859d2f0c94c1d | [] | no_license | jdelacruz26/matlabcode | 13165d9aa0c40cd120c7903e2bdd3a2e02208898 | f4264a28bb92a7c6908c84f9fc948b34312dd70f | HEAD | 2016-09-06T08:10:45.762319 | 2015-05-31T05:57:14 | 2015-05-31T05:57:14 | 20,492,021 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | closedloop.sce | // Speed tachometer example
clear
Ra=1; Kt=10; J=2; f=0.5; Kb=0.1; Ka=54; Kg=1;
num1=poly([1],'s','c');
den1=poly([f,J],'s','c');
num2=poly([Kg*Ka],'s','c');
den2=poly([1],'s','c');
num3=poly([Kb],'s','c');
den3=poly([1],'s','c');
num4=poly([Kt/Ra],'s','c');
den4=poly([1],'s','c');
// defining transfer functions
G1... |
b4f57ee8abdc7f9a6dcc5956a62b89f269ad4586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH14/EX14.8/ex14_8.sce | 445dbc11df213a95cf367a9619bacf5c8667c2d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,747 | sce | ex14_8.sce | clear;
//clc();
// Example 14.8
// Page: 388
printf("Example-14.8 Page no.-388\n\n");
//***Data***//
Temp = 273.15+100;//[K] Temperature of the water drop
R = 8.314;//[J/(mol*K)] Universal gas constant
D = 0.01*10^(-6);//[m] Diameter of the water drop
P_g = 0.15;//[bar] guage pressure
T = 0.05892;//[N/m]... |
cf3adeffb7e0418875250a305e7d0f593f70e692 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH13/EX13.6.1/13_6_1.sce | 9c601351cb3f3222487f8d649caa1a036f970751 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | 13_6_1.sce | clc
//initialisation of variables
d= 0.94
b= 20 //ft
h= 5 //ft
w= 40 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
Q= 0.309*d*b*h^1.5
u=Q/(h*w)
h1= h+(u^2/(2*g))
Q1= 0.309*d*b*h1^1.5
//RESULTS
printf (' Rate of flow= %.f ft^3/sec',Q1)
|
10d7fd7edabc81132b98fab6303c99ea99dc949e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electric_Drives_And_Control_B._R._Gupta_And_V._Singhal_2123.zip/Fundamentals_Of_Electric_Drives_And_Control_B._R._Gupta_And_V._Singhal_2123/CH4/EX4.11/Exa_4_11.sce | 0f62bf355f6757d525e9561069da804d2a5f5ccf | [] | 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 | 287 | sce | Exa_4_11.sce | errcatch(-1,"stop");mode(2);//Example No. 4.11
;
;
format('v',7);
//Given Data :
Rating=25;//KW
T=90;//min
ts=30;//min
S=sqrt(1/(1-exp(-ts/T)));
HalfHourRating=S*Rating;//KW
disp(HalfHourRating,"Half hour rating of motor in KW : ");
//Answer wrong in textbook.
exit();
|
8d0d00000083da84083adb4e1da9c9ff8e047b1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH9/EX9.9/Example9_9.sce | 8bfd1681429f8563b743859c0a0e790888310973 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,381 | sce | Example9_9.sce |
clear;
clc;
printf("\t Example 9.9\n");
T1=480; //bulk temp.of water, K
m=0.6; //mass flow rate of saturated water,kg/s
D=0.05; //diameter of vertical tube,m
p=184000; //heating rate f tube, W/m^2
A=0.001964; //area of the pipe,m^2
Pr=0.892; //prandtl no.
x=0.2; ... |
880121d091d11b249c4572771f0b5cc2312e3977 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH13/EX13.14/13_14.sce | e2794cdf294fba12275320793c9a65224d542091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,783 | sce | 13_14.sce | //pathname=get_absolute_file_path('13.14.sce')
//filename=pathname+filesep()+'13.14-data.sci'
//exec(filename)
//Mass flow rate(in kg/s):
m1=150/60
//Height of water level from the axis of injector(in m):
H=5
//Pressuer at which steam is injected(in bar):
p4=20
//Water level in boiler from the injector(in m):
... |
fd708a8549771c148ebaf58acfa07f768d1d5e6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH4/EX4.8/ex_4_8.sce | 6bfdd8e78545802aa9495446803b863be4ef031c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | ex_4_8.sce |
// example 4.8
// caption: solution by quadratic interpolation;
// x-degrees:[10 20 30]
// hence x in radians is
x=[3.14/18 3.14/9 3.14/6];
f=[1.1585 1.2817 1.3660];
n=2;
P2=lagrangefundamentalpoly(x,f,n)
// hence from P2 ,the exact value of f(3.14/12) is 1.2246;
// where as exact v... |
695aa2d912777f15914ac7440dd61902bf7089a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH28/EX28.1/Ex28_1.sce | d6752b44227a7c7ef4bb9e541098e59fbfaaf631 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | Ex28_1.sce | clc
// Given that
t=1//in mm thickness of chip
I=5000//in Ampere current
T=0.1//in sec
d=5//in mm diameter of electrode
// Sample Problem on page no. 805
printf("\n # Heat Generated in Spot Welding # \n")
//It is assumed in the book that effective restiance = 200 micro ohm
R=200*(10^-6)
H=(I^2)*R*T
... |
fd2203ef7c69dd104a3cb24220a05589b00adf9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH5/EX5.6/Ex5_6.sce | 8cb8394e45deec65fe695782d73aa99ce7b78739 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_6.sce | //Example 5_6 page no:196
clc
V=50;
R=10;//resistance in ohm
L=0.5;//inductance in henry
C=10*10^-6//capacitance in farad
f=50//frequency in Hz
Xc=1/(2*3.14*f*C)
Xl=2*3.14*f*L
Z=sqrt(R^2+(Xl-Xc)^2)
disp(Z,"the impedence is (in ohm)")
I=V/Z
disp(I,"current is (in A)")
angle=atand((Xl-Xc)/R)
disp(angle,"the... |
20b67425e7a1ec5aee06d181cfee9fdfe13649b0 | affb43e91a6a0cac39356ff1c5f9f5154b70a4a2 | /Wave_genration/sine.sce | cddc3543d5f163083d07e4307a41f6a88cdf5454 | [] | no_license | kathan-shah99/Digital-signal-processing | 87fb0615a98a764c546681ffb18fea32d69caa6d | 3d5ad3553152a2b57f98a3b1a26756ebca37d7bc | refs/heads/main | 2023-04-07T06:53:06.263109 | 2021-04-07T03:57:52 | 2021-04-07T03:57:52 | 355,397,284 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,045 | sce | sine.sce | //LAB-1-SAMPLE
clc;
clear;
t = 0:0.01:0.5;
f = 5;
s = sin(2*%pi*f*t);
c = cos(2*%pi*f*t);
ep = exp(5*t);
en = exp(-9*t);
t_r = 0:0.1:1
r = t_r;
//x = ep.*t_r
//unit impulse signal
t1=-10:10;
//impulse=[zeros(1,10) 1 zeros(1,10)];
impulse = ones(t1).*(t1==0)
//unit step isgnal
step=ones(t1).*(t1>=0);
//step = [zeros... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.