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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
389d44cf5c20629004237f912f86fa4f1124884d | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH4/EX4.4/Solved_Ex_4_4.sce | 15c699417d4c0cfc9bb4b9b6ac19c275cb3160e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,469 | sce | Solved_Ex_4_4.sce | //Solved_Ex.4.4->Determine the Trigonometric form of Fourier Series of the Full Wave Rectified sine wave
clc;
clear;
T=8;//Defining Time Period
A=2;//Defining Amplitude
t=0:0.01:15;
w0=2*%pi/T;
function x=f(t),x=A.*abs(sin(t.*w0)) ,endfunction //given full wave rectified continuous signal
plot(t,f);
xlabe... |
ddacb30a5d1e8e956717f36e2c299185865cdc32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH2/EX2.37/Ex2_37.txt | cbba82762d643c8b08585c3fe892442b4ea7466b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | txt | Ex2_37.txt | //Caption:Determine the (a)speed (b)Torque (c)Efficiency
//Exa:2.37
clc;
clear;
close;
V=240;//in volts
P=4;
Phy=0.008;//in webers
Z=1000;
A=2;
R_f=240;//in ohms
R_a=0.4;//in ohms
I_1=25;//in amperes
I_f=V/R_f;//in amperes
I_a1=I_1-I_f;//in amperes
E_b=V-I_a1*R_a;//in volts
N=E_b*60*A/(P*Z*Phy);
disp(... |
29938dbeb5a3bfd56e7d8072a15b0f6f59f9fe85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH10/EX10.2/Ch010Ex2.sce | e7fd16140e92f5edfab631011c75bb4fb5f4ff1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Ch010Ex2.sce | // Scilab code Ex10.2: Pg:411 (2008)
clc;clear;
N = 2.7e+025; // Number of molecules per unit volume
epsilon_r = 1.0024; // Dielectric constant due to electronic polarization
epsilon_0 = 8.85e-012; // Permittivity of free space, force per meter
// P = epsilon_0*(epsilon_r-1)*E and P = N*alpha_e*E, solving... |
811dbc8f1cc798ffc854d5cc6ee5acaa8c0949a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH7/EX7.12/ex7_12.sce | c1a4f7e120ca83464747dc299f390c6220de7a0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | ex7_12.sce | // Exa 7.12
clc;
clear;
close;
format('v',6)
// Given data
I_DSS = 12;// in mA
V_P = 5;// in V
R_D = 3.3;// in k ohm
R_G = 1.5*10^3;// in k ohm
R_S = 1.2;// in k ohm
V_DD= 18;// in V
I_D= poly(0,'I_D');
V_GS= I_D*R_S;// in V
I_D= I_D-I_DSS*(1-V_GS/V_P)^2;
I_D= roots(I_D);
I_D= I_D(2);// in mA
V_GS= I_D... |
a50a41052c1aa12b694da426e56ddd9b6b8a6a1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.31/Ex3_31.sce | 17a74a7ce15913c779fde6603e0011a583da9b0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex3_31.sce | //Example 3_31
clc;
clear;
close;
format('v',5);
//given data :
I2=10;//A
f=50;//Hz
R1=5;//ohm
L1=0.0191;//H
R2=7;//ohm
C2=398;//micro F
R3=8;//ohm
L3=0.0318;//H
Z1=R1+%i*2*%pi*f*L1;//ohm
Z2=R2-%i/2/%pi/f/(C2*10^-6);//ohm
Z3=R3+%i*2*%pi*f*L3;//ohm
VAC=I2*Z2;//V
I1=VAC/Z1;//A
I=I1+I2;//A
VCB=I*Z3;//V... |
018d6f20ef3cb7ca5142b3c9e0e9bb87e8c6ca7e | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 3/Listing3123.sce | 35ac4116808c2b3b86854f74c1516fdafd487811 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sce | Listing3123.sce | clc
clear
m=evstr(x_dialog('Enter a 3x3 matrix',['[0 0 0';'0 0 0';'0 0 0]']))
|
674ab89c794cfcdcc2cc5dae6975137be2dc3c9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH4/EX4.16/Example4_16.sce | 0f15c09a1b46c4f582bb9112c166804943d033cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Example4_16.sce | //Example 4.16.
clc
format(6)
disp("For a Hartley oscillator the frequency is given by,")
disp(" f = 1 / 2*pi*sqrt(L_eq*C) where L_eq = L1+L2")
leq=20+5 // in mH
disp(leq,"Therefore, L__eq(in mH) = 20+5 =")
f=(1/(2*%pi*sqrt(25*500*10^-15)))*10^-3 // in kHz
disp(f,"Therefore, f(in kHz) =")
|
34f10c8abd5dc983dbbabc3e296e4c5b047b3030 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.7_8.tst | ae550efe394d14e95bc19b5a96763f9a8dabeb34 | [] | 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 | 5,401 | tst | bow.7_8.tst | 7 1:0.14285714285714285 13:1.0 14:1.0 15:1.0 21:0.25 22:0.16666666666666666 27:0.03278688524590164 45:0.375 49:0.06666666666666667 66:0.25 70:0.6666666666666666 71:1.0 84:1.0 86:0.3333333333333333 89:0.3333333333333333 91:0.16666666666666666 94:0.5 97:0.2 107:0.25 113:0.4 136:2.0 144:1.0 155:0.125 157:1.0 195:1.0 224:1... |
212ceaba08c6bbcb8dc19c39b5b1bc7f9494efc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH27/EX27.2/Ex27_2.sce | 1fa39220f7f68edf86499008134c10b780b9c506 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Ex27_2.sce | //chapter27
//example27.2
//page575
R1=4 // ohm
R2=4 // ohm
R3=4 // ohm
// for h11 and h21, imagine that output terminals are shorted hence it is clear that input impedence is equal to R1+R2*R3/(R2+R3)
// this is h11 by definition so
h11=R1+R2*R3/(R2+R3)
// now current will divide equally at ... |
12dddb5b61a5b5d1073d9ceecf05b165a82abfdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH9/EX9.14/9_14.sce | 168caa83d708ca8f12972d0d9b2f3c81ca2713ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_14.sce | clc;
clear;
format('e',11);
d=0.01/0.0254; //in inches.
r=d/2;
l=1; //in inches.
N=20;
L=(r^2)*(N^2)/(9*r+10*l); //Wheeler's formula.
disp(L,"The inductance of the coil by Wheelers formula,L(in micro H)=");
|
eabda767b409978689fa58a2f5d79ff36d83a786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH4/EX4.5/Ex4_5.sce | c7b61d9e1e51ecbc1ddb4c4f41dc3e0c808963fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Ex4_5.sce | // Scilab Code Ex4.5: Page-236 (2008)
clc; clear;
c = 3e+008; // Speed of light in vacuum, m/s
t0 = 2.5e-008; // Proper life time of pi-meson, s
t = 2.5e-007; // MEan life time of pi-meson, s
// As t = t0/(sqrt(1-v^2/c^2)), solving for v
v = sqrt(1-(t0/t)^2)*c; // Velocity of pi meson, m/s
printf("\n... |
66143ddfa6598b86d9b34e41059434afda4258ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH2/EX2.4/Ex2_4.sce | 6070b5e768b777f74aecac387f9e6114cba2fdd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Ex2_4.sce | // Chapter 2 Example 4
//==============================================================================
clc;
clear;
//input data
h = 6.625*10^-34; // plank's constant
c = 3*10^8; // vel. of light in m/s
lamda = 4961*10^-10; // wavelength of light in m
... |
f4cc29b4c44b161d0e648584f6618deef370fbf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH1/EX1.11/Ex1_11.sce | 5c540427517ccd2d472c9d57d80fcf6bcea415d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,299 | sce | Ex1_11.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 1 : REVIEW OF ELECRTIC CIRCUITS
// Example : 1.11
clc;clear; // clears the console and command history
// Given data
Z = 3+%i*4 // impedance in Ω
V_AN = 150 // voltage in V
R = 3 // resistanc... |
a1afc0d23d104d116baaad808b031fb428055197 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH9/EX9.9/Ex9_9.sce | 7473a4ff5c19cf1252406c3e85d1b2285e68165a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Ex9_9.sce | // Example 9.9
clear all;
clc;
// Given data
fluence = 10^8; // Given fluence neutrons/cm^2
// From Figure 9.12
// To receive an dose equivalent rate of 1 mrem/hr, the fast neutron flux is 7 neutrons/cm^2-sec
phi_eq = 7; // Equivalent flux in neutr... |
35caf827a939736e7e5efa506186cab4cb7ddaa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH11/EX2.14/Ex_B_2_14.sce | 04126f3e14726ea0df9f91ca5e2d004d2130bc21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Ex_B_2_14.sce | //Part B Ex 2.14
clc;clear;close;
format('v',9);
dec=34.6875;//given decimal value
i=floor(dec);//integer part
f=dec-i;//fraction part
i_bin=dec2bin(i);//binary equivalent of integer part
f_bin=' ';//for initializing(string)
for n=1:4
t=2*f;
if t>=1 then
p(n)=1;
f=t-1;
end
if ... |
621197c44b6854446bbb271ac319ce1e208538e3 | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/emplu.tst | b1e7144b3fd987f2f01a89f7a767072fa35e01e8 | [] | 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 | 884 | tst | emplu.tst | @@emplu.pkg
CREATE OR REPLACE PROCEDURE test_emplu (
counter IN INTEGER, empno_in IN emp.empno%TYPE := 7788)
IS
emprec employee%ROWTYPE;
BEGIN
sf_timer.set_factor (counter);
sf_timer.start_timer;
FOR i IN 1 .. counter
LOOP
emprec := emplu1.onerow (empno_in);
END LOOP;
sf_timer.show_elapsed... |
0def7c2c5d45de64181a29edd21929ac0375d864 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH1/EX1.2/Ex1_2.sce | 753003b4c207e46604e9feedf540d20b6cbdb8cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 967 | sce | Ex1_2.sce | //Example 1_2
clc();
clear;
// To add the given vector displacements
a=1 //units in meters
b=3 //units in meters
c=5 //units in meters
d=6 //units in meters
theta1=90 //units in degrees
Rx_a=a*sin(theta1*%pi/180) //units in meters
Rx_b=round(b*cos(theta1*%pi/180)) //units in meters
theta2=37 //units... |
278c865ec1de39517d5554319b92b8a49f4ab375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.3/Exa_4_3.sce | e3e3ccc8f50d0e2fed222c993d2cc60fa50447d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | Exa_4_3.sce | //Example No. 4.3
clc;
clear;
close;
format('v',6);
//Given Data :
P=30;//KW
theta1=54-30;//degree C
t1=1;//hour
theta2=67-30;//degree C
t2=2;//hour(t2=2*t1)
disp("theta=theta_f*(1-exp(-t/T))");
//Let exp(-t1/T)=a then exp(-t2/T)=a^2
//theta1/theta2=(1-a)/(1-a^2)
//a^2*theta1-a*theta2+theta2-theta1=0
... |
e8722fde0ff00d0662a3533fa310a46b5823e708 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.1/Ex8_1.sce | 6a9c1454b362c584e1f0c0c17fdc6d5108de1bf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_1.sce |
//
//given
h1=0.90,h2=1.25,h3=2.15,h4=2.50,h5=1.85,h6=1.35,h7=0.85,
b=10//width in m
sh=1.5//side slope in m
h=40//m
d1=(b+(sh*h1))*h1
d2=(b+(sh*h2))*h2
d3=(b+(sh*h3))*h3
d4=(b+(sh*h4))*h4
d5=(b+(sh*h5))*h5
d6=(b+(sh*h6))*h6
d7=(b+(sh*h7))*h7
printf("\n d1= %0.3f sq. meter,d2 = %0.3f sq. meter,d3= %0.3f sq. m... |
8d55aac4a0ba74614d80089d8a6cd11f633de715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.14/Ex7_14.sce | 8b5a630a0b7440f8e7dbd37f71ccfebae8178ea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex7_14.sce | // Exa7.14
clc;
clear;
close;
// given :
phi=5 // HPBW,half power beam width in Degrees
phi_not=2*phi // BWFN, null-to-null beam width in degrees
Lm=poly(0,'Lm') // defining Lm as lambda
// formula : phi=70*(Lm/D_a) // where Lm is wavelength in m and D_a is mouth diameter in m
D_a=(70*Lm)/phi
G_p=6.4*(D_a/Lm)... |
e2773489a53850ada126332965cd91c7d6da16a0 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/gl_stat_theo.sci | f740560cfe6205c89cbf984a111a944acd3dc927 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,779 | sci | gl_stat_theo.sci | function [MTh,VTh,MSTh,VSTh] = gl_stat(N,maxp,Nu_I,Nu_O,st_j,Nu_Ma,rt_a,a,c,b,bu)
// Ouput variables initialisation (not found in input variables)
MTh=[];
VTh=[];
MSTh=[];
VSTh=[];
// Display mode
mode(-1);
// Display warning for floating point exception
//ieee(1);
//M and V for each phy_age
MTh = zeros(maxp,6,N);... |
ec2abbbd4ec1fc0b487fb0899a37435c6126635c | c61d570c37971fa455028a89d2163f455f91c291 | /script_fisico/rk4.sci | cd8a35bac59a1deeeaaa03eef62a524ee84c1788 | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,808 | sci | rk4.sci | function [y,t] = rk4(fun,ti,tf,h,y0)
// Método de Runge-Kutta para Sistema de N equações Diferenciais (interativo) - Ordem 4
// Onde -> y é o vetor solução (EDO's)
// -> t é o vetor do tempo
//---------------------------------------------------------------------
// -> fun é o vetor de funções do sistema (EDO's... |
94603dc6724c8e937ac69e3b10700034f63c7c1b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH21/EX21.23/21_23.sce | 949de2381ba78ad28b51faefd6694eadb48cce84 | [] | 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 | 296 | sce | 21_23.sce | errcatch(-1,"stop");mode(2);//Chapter 21, Problem 23
;
R1=150; //equivalent input resistance
N=5; //turns ratio
Rl=R1/(N^2); //load resistance
printf("Optimum value of load resistance = %d ohm",Rl);
exit();
|
5c99f38e1d867cda5a0b8591b728f5e5581784b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.30/7_30.sce | 6da8b14728fcba399e79b2f8bce1e2b4dfb0a701 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | sce | 7_30.sce | clear;
clc;
//Example - 7.30
//Page number - 267
printf("Example - 7.30 and Page number - 267\n\n");
//Given
den_liq = 13690;//[kg/m^(3)] - Density of liquid mercury
den_solid = 14190;//[kg/m^(3)] - Density of solid mercury
mp = -38.87;//[C] - Melting point of mercury at pressure of 1 bar
mp = mp + 273.15;... |
93b06a210e0bc85b5f332bd7cd153a47b0afa9cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH19/EX19.18.4/Ex19_4.sce | 277da7f060007e99782dc581ac594ff78bb3ea20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Ex19_4.sce | clear all
clc
close
dia=0.03*1e-3;//Diameter of drop in m
rho=2000;//Desnity of ink in kg/m
vz=25;//velocity in z direction in m/sec
L1=15*1e-3;//Length of deflection plate in m
L2=12*1e-3;//distance from the exit end of the deflection plate to the print surface in m
q=100*1e-15;//Charge of drop in C
d=2*1e-... |
6272c09f1459a52af39c31d1315a7ecdaa54d7f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH3/EX3.2/Ex3_2.sce | ff210b9d3913409c4e64b8593f06732fd721e8ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | Ex3_2.sce |
clc; funcprot(0);
// Initialization of Variable
AB=31325.14//slope distance in m
R=6370.0e3;//radius of earth
ha=1582.15;//elevation in m
h=4251.32-ha//in m
//calculation
AB_dash=AB-h**2/2/AB;
theta=2*asin(AB_dash/2/R);
AB_dash=AB-(h*sin(theta/2)+h**2/AB/2)
CD=AB_dash-AB_dash*ha/R;
S=CD+CD**3/24.0/R**2;
d... |
e423e5bedcd19c8d750c9b5f3aff3d248bbfca8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH12/EX12.8/EX12_8.sce | 00eb1cfad4d2e2cc3e481159ba91cf7d3d5cdd62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,121 | sce | EX12_8.sce | clc;funcprot(0);//EXAMPLE 12.8
// Initialisation of Variables
Vpbes=7;.................//Volume of fuel in the pump barrel before commencement of effective stroke in cc
df=3;.................//Diameter of fuel line from pump to injector in mm
lf=700;.................//Length of fuel line from pump to injector in mm... |
66daf9ab7bd3054bf13bdc0c38a33f8aeaae03f8 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony10.sce | e59ba0f1356725c1003a1e79f985e7b3a914c05f | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | prony10.sce | //check o/p when the i/p contains negative elements
impr=[-1 -2 -3 0 5];
num_ord=6;
den_ord=4;
[num,den]=prony(impr,num_ord,den_ord);
disp(num);
disp(den);
//output
//- 1. - 2. - 3. 0. 5. 0.
//
// 1. 0. 0. 0. 0.
|
a582552e4ed7f283db14219ee279614d2f7e8083 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH9/EX9.4/example9_4.sce | 3e4a46483028a6daf971ff9a356b8acec4d4de69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | example9_4.sce |
//example 9.4
//page 318
clc; funcprot(0);
//initialisation of variable
L=500;
S=0.004;//slope of slope line
hf=S*L;
disp(hf,"head loss (ft)=");
clear
|
4d60436b1b5ddec5bcdff6b0c1c3fea4bc39692e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.35/example14_35.sce | bf64c4bc65aa7fe693280f93d967fab486cccee4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | example14_35.sce | clc
// Given that
t = 400 // temperature in K
k = 1.38e-23 // Boltzmann's constant in J/K
h = 6.62e-34 // Planck constant in J-sec
e = 1.6e-19 // charge on an electron in C
m = 4 * 1.67e-27 // mass of helium atom in kg
// Sample Problem 35 on page no. 14.34
printf("\n # PROBLEM 35 # \n")
printf("Standard formula used... |
13a1b95ffba840e9f2b568950d722dd1ef5a5a1e | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/pburg.sci | 78198ed1df375c0f8eec338b1615b962f84a7ccc | [] | 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 | 4,631 | sci | pburg.sci | function [psd,f_out] = pburg(x,poles,freq,Fs,range,method,plot_type,criterion)
//Calculate Burg maximum-entropy power spectral density.
//Calling Sequence
//[psd,f_out] = pburg(x,poles,freq,Fs,range,method,plot_type,criterion)
//All but the first two arguments are optional and may be empty.
//Parameters
// x: ... |
6757035fcdfbce0e77bfd2b2ea84f957316a6429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH10/EX10.7/Ex10_7.sce | 657e6f3383c3dc61044a6434896901c1ae560747 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ex10_7.sce | //Ex:10.7
clc;
clear;
close;
y=860*10^-9;// wavelength in m
L=5000;// length in m
X=0.024;
dy=20*10^-9;// spectral width in m
dts=6*10^-9;// silica optical link rise time in s
dtr=8*10^-9;// detector rise in s
c=3*10^8;// speed of light in m/s
dtm=-(L*dy*X)/(c*y);// material dispersion delay time in s
id=2.... |
86c6066784d1b892685ddfb7ef84b7de204c2ffc | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqDSPWait.sci | d819c2867ecbbee6b2504ae39f839bdccc7549aa | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 565 | sci | mdaqDSPWait.sci | function mdaqDSPWait(arg1, arg2)
if argn(2) == 1 then
mdaqWaitUntilDone("dsp", arg1)
elseif argn(2) == 2 then
mdaqWaitUntilDone(arg1, "dsp", arg2)
else
mprintf("Description:\n");
mprintf("\tWaits until DSP application is complited\n");
mprintf("Usage:\n");
mp... |
5d84289970376b3b50eb932d606f8dca82bc5b25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH7/EX7.2/ex_7_2.sce | fc90686d994f9a0ba056889de1222bd2c130ca88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | ex_7_2.sce | //Example 7.2: Diffusion potential
clc;
clear;
close;
format('v',6)
//given data :
Na=5*10^23;// in m^-3
Nd=5*10^21;// in m^-3
T=300;// in K
e=1.6*10^-19;// in J
k=1.38*10^-23;// in JK^-1
V=(k*T)/e;
ni=2.2*10^12;// in m^-3
Vd=V*log((Na*Nd)/ni^2);
disp(Vd,"Diffusion potential,Vd(V) = ")
|
a1bdcce8fe50083d2c25e4038884157aeaed9ae1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.5/ch4ex5.sce | f4fdc2f01ce8b94cca65475c232d1d0efad3dfd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ch4ex5.sce | //signals and systems
//example4.5
// X(S) = s+3+5*exp(-2*s)/(s+1)*(s+2)) Re(s)>-1
s1 =%s ;
syms t s;
[A]=pfss((s1+3)/((s1+1)*(s1+2))); //partial fraction of F(s)
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
//F3 = ilaplace(A(3),s,t)
Fa = F1+F2;
disp(Fa,"f1(t)=")
[B]=pfss((5)/((s1+1)*(s1+2))); //partial ... |
0353c7bb5cbf6254462b8ca2a09f428e16de54f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.11/EX3_11.sce | 3f89aad850e531bbfd3ce5eb6ebf5a2df26bd340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | EX3_11.sce | clc;funcprot(0);//EXAMPLE 3.11
// Initialisation of Variables
p1=1;...................//Initial pressure in bar
t1=343;..................//Initial temperature in K
p2=7;....................//Pressure after adiabatic compression
Qs=465;...............//Heat addition at constant volume in kJ/kg
cp=1;.................. |
4dc912a55fa3bd0c0677c2c3acaaf3792c98c0b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH3/EX3.4/3_4.sce | a5b30d72297c29a1961ffab2655d4a03214b596e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_4.sce | clear
clc
//initialisation of variables
d= 1/3 //ft
g= 32.2 //ft/sec^2
d1= 4 //in
d2= 1.6 //in
h1= 5.7 //ft
h2= -1.9 //ft
Q= 0.3 //cuses
H1= 34 //ft
H2= 19 //ft
H3= 7 //ft
H4= 9.2 //ft
h3= 2.9//ft
h4= 3.9 //ft
Et= 54 //ft-lb/lb
//CALCULATIONS
v1= sqrt(2*g*(h1-h2)/((d1/d2)^4-1))
Q1= %pi*v1*d^2/4
k=... |
636bd41cd18ba0acb63ea6212faebb26caf3b85a | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH3/EX3.4/Example3_4.sci | b526a291ee41387699f1493626deefcc6cd97707 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sci | Example3_4.sci | //Chapter 3_Semoconductor Devices Fundamentals
//Caption: Hole Concentration
//Example3.4: A semiconductor is doped with a concentration of 10^17 atoms/cm^3 of rsenic . What is the equilibrium hole concentration p at 300K. Given ni=1.5*10^10 cm^-3
// Solution:
clear;
clc;
function p=holeconcentration(ni,Nd)//ni=i... |
11425e8d91bab855731573befdf4982e00237327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH8/EX8.8.31a/Ch8_8_31a.sce | bc5abac67fd962d73aa4dba2ad88f8371659632a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | Ch8_8_31a.sce | clc
clear
disp("Example 8.31a")
printf("\n")
disp("perform the following binary substraction using 1s complement")
disp("a)1010-0111 b)0110-1101")
a=[1 0 1 0]
b=~[0 1 1 1]
d=0
for i=1:length(a)
c(i)=a(length(a)+1-i)+b(length(a)+1-i)+d
if(c(i)==1)
d=0
end
if[c(i)==2]
d=1
... |
3b242982298403419b096c06e6fc6828d68fd2d5 | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/07/StackArithmetic/StackTest/StackTest.tst | 411750dfd99cdae779eab16e1d923efcfbacca5c | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 545 | tst | StackTest.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/07/StackArithmetic/StackTest/StackTest.tst
load StackTest.asm,
output-file StackTest.out,
compare-to StackTest.cmp,
output-list RAM[0]%D2.6.2
RAM[256]%D2.... |
004d57318f13a0a8dc129f168cd6edc69d3947fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.15/Ch03Ex15.sce | e370aea526a85d59eecae4766291421660509b03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | Ch03Ex15.sce | // Scilab code Ex3.15: Pg 97 (2008)
clc; clear;
N = 11; // Number of plates in a capacitor
r = 25e-03; // Radius of circular plate, m
A = (%pi*r^2); // Cross - sectional area of plate, m^2
d = 5e-04; // Distance between plates, m
epsilon_r ... |
5f19d2f148bb86f3292ec97828275d75d16523ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH21/EX0.1.e/E0_1.sce | 16f0019e8ce197d281d35eb351c3a8aa1c79ad5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | E0_1.sce | clc
//Initialization of variables
P=1.115 //bar
//Calculations
Conv_fac=1/1.01325
FinalP=Conv_fac*P //Final pressure
//Results
printf ('Final pressure in atmospheres (atm)= %.3f',FinalP)
|
9b34dc6c87476d7b3f08e2814507970d636e5e48 | c565d26060d56f516d954d4b378b8699c31a71ef | /sinetest_manual/sine test/bodeplot.sce | 63d66a80bc82bb4d71973aef5d991c3e30db20e1 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 709 | sce | bodeplot.sce | //bodeplot
getf('labelbode.sci');
x=[0.001,0.0035,0.004,0.005,0.006,0.007,0.008,0.009,0.01,0.02,0.03,0.04];//Input frequency(Hz)
y=[-3.87,-5.67,-7.53,-7.53,-8.17,-8.64,-8.87,-8.90,-9.11,-13.55,-15.39,-16.47];//Amplitude ratio(dB)
subplot(2,1,1);
plot2d(x,y,rect=[0.001,-20,0.04,0],logflag="ln");
xgrid();
y=[-25.... |
3943779ca8e574d6dbd393bd579b635cf5930a0a | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/transpose.sci | 53b2d4a31d22bee7380bc847ec9a7a3a4a0d88a5 | [] | 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 | 85 | sci | transpose.sci | function [y] = transpose(x)
funcprot(0);
y = callOctave("transpose",x)
endfunction
|
eab32078e4fe0e4f9f5ddd295d178ab0f58fc3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH10/EX10.2/Ex10_2.sce | 8e503b866acad1adef364a0fd2730dfe2d877a90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Ex10_2.sce | //Ex:10.2
clc;
clear;
close;
a_fc=4;// fider cable loss in dB/km
aj=0.7;// splice loss in db/km
L=5;// length in km
a_cr1=4;// connector losses
a_cr2=3.5;// connector losses
CL=(a_fc+aj)*L+(a_cr1+a_cr2);// total channel loss in dB
printf("The total channel loss =%d dB", CL); |
62cc5002856de76263e10bc1a7abe1201a603796 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH2/EX2.1/example_2_1.sce | 3a358f426ec89b50375fdd8bfc21952c9c18b986 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | example_2_1.sce | //laplace transform of exponential function
syms t s;
y=laplace('%e^(-a*t)',t,s);
disp(y,"ans=")
|
c4301d9549de164871ab49f257fac221b729903e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/xdess/square.sci | ef857d74762b0e30a1c31588b07983a909473316 | [
"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 | 656 | sci | square.sci | function []=square(xmin,ymin,xmax,ymax)
//definit un environnement graphique
//permettant un trace isometrique.
//
//xmin,ymin, (xmax,ymax) specifient les abscisses et ordonnees minimum
// (maximum) du dessin. defaut (-2,-2,2,2)
//
//square modifie le facteur d'echelle sur l'axe Ox. Pour conserver la
//mem... |
b29b820572e03d8a6717560f85492a0bb6d28ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH10/EX10.3/Ex10_3.sce | 23777b820039ee810074254bdaf62da14604f3fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,201 | sce | Ex10_3.sce | // Problem no 10.3,Page No.252
clc;clear;
close;
//taking moment at pt A we get
R_D=(90*6+120*3)*9**-1 //Reaction at Pt D
//Joint D
//Applying the summation of vertical forces we get
F_GD=100*(sin(60*%pi*180**-1))**-1
//Applying the summation of horizontal forces we get
F_DC=F_GD*cos(60*%pi*180**-1)
//Joint G
... |
677ac03350aafb1c7f6a2da17e179663e8fb5430 | a25acdb34186c4093e6ec99f7a5a7648791b7b30 | /TestParticleSeq.tst | d1537f218ea5076dc62d41ecbf764a47649d17b3 | [] | no_license | galleg46/JavaADT-ParticleSequence | 863da7e637ca34d248b46df948273d54ea095825 | 6c2da52f1bcdca7998b0328e1bb416bc92b16f77 | refs/heads/main | 2023-09-01T09:21:54.021766 | 2021-10-26T22:24:46 | 2021-10-26T22:24:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | tst | TestParticleSeq.tst | 566769707=6
1390748355=-1
1854083915=1
742051504=-1
710084632=3
565750963=0
1429063010=true
1459925108=5
868270416=3
1809270213=false
236938571=0
1860957759=5
1794508226=4
221507525=-2
1957337308=-1
1505728679=0
887770454=0
491728531=-1
1393501683=5
371995505=-1
914153475=-2
|
9a1bfaaa485ed5c02bac3c87332dd5c142fe5592 | 3d9eb570cc25f2789bfcc4876cb4ba7ac1094b20 | /Transcendental Equations Solving Methods/Newton's Method.sci | 4976abd0ed859404a0fca63efe041119e0a07313 | [] | no_license | laisdutra/NumericalComputing | 0c858f029621767723fb28d824dcff8a48aa8905 | 84f7f4600056a98bf24b924d647818cc0f17e4cf | refs/heads/master | 2022-01-27T08:06:26.686036 | 2019-05-23T01:41:55 | 2019-05-23T01:41:55 | 185,099,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sci | Newton's Method.sci | function y = f(x)
y = 1 - (1+x).^-9 - (140/26.5)*x //função cuja raiz é procurada
endfunction
function y = d(x)
y = 9*(1+x).^-10 - (140/26.5) //derivada da função
endfunction
x = 0.12 //valor inicial de x
while (1)
x_ant = x //recebe valor de x da iteração anterior
x = x_ant - f(x_ant)/d(x_ant) //pon... |
592fd0544c448e7d7ff1197997ef0c5a5dfede8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.12w/16_12w.sce | cef44ccc015b4d566ff28e5d8c065613e3318ae7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | 16_12w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.12w
//calculation of the length of the shortest closed organ pipe that will resonate with the tunning fork
//given data
nu=264//frequency(in Hz)of the tunning fork
v=350//speed(in m/s) of the sound in air
//calc... |
ca7930366333adb38eedc0209758a20210966a07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH10/EX10.17/Ex10_17.sce | 4c7b87bce7d7d150cb1e30574f64127b2a819b3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | Ex10_17.sce | //===============================================================
//Chapter 10 Example 17
clc;clear all;
//variable declaration
r = 0.0250; //resistance in Ω
R = 1.0125; //resistance in Ω
S = 1 //sensitivity
P1 = 10; //resistance in Ω
Q1 = 10; //resistam... |
603d78203cfe745b931bf78aa1b7590e8451e0f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH10/EX10.5/ques5.sce | 307c0987b4319106aaac44cd0396b8b2bf40cc64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ques5.sce | //ques5
clc
disp('finding the fourier series of given function');
syms x l
s=0;
n=input('enter the no of terms upto each of sin terms in the expansion : ');
for i=1:n
bi=2/%pi*integ(x*sin(i*x),x,0,%pi);
s=s+float(bi)*sin(i*x);
end
disp(float(s));
|
656bd403b2fdae7392a79609349cf75bab82efb6 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/TP2/Exo1.sci | e7808f7440d8aaa182c363a660fed009576d498a | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sci | Exo1.sci | function [x]=solsup(U,b)
n = size(U)(1); //Nombre lignes de matrice
for i=n:-1:1
if abs(U(i,i)) < %eps then
error("Matrice U est non inversible");
end
sum_temp = 0;
for j=i+1:n
sum_temp = sum_temp + U(i,j)*x(j);
end
x(i) = 1/U(i,i... |
ee26587ee7e5d65a80cf6f6a56d5810071e3cd25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.18/18.sce | cc60fb70e236c8065b76e407113c44ea0690ff6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 18.sce | //problem 1.18
a1=1.4*2.2*1.4
x1=1.6+0.7
x11=(1.4*1.4/(12*2.3))+x1
x2=0.7
x22=(1.4*1.4/(12*0.7))+x2
z=9810
p1=z*a1*x1
p2=z*a1*x2/1.4
p=p1-p2
h=(p1*(3-x11)+p2*(1.4-x22))/p
f=(p1*(3-x11)-p2*(1.4-x22))/1.4
disp(p,"resultant force")
disp(f,"force acting horizontally on the top of the gate")
|
050fd062f515c05de86b26f3b5762c2670f22ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.7/Ex7_7.sce | 44fa0aea4f95317e1d91ff81b86ede487db13cd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex7_7.sce | clear
//
//
//
//Variable declaration
d=0.282 //lattice spacing(nm)
theta=(8+(35/60))*%pi/180 //glancing angle(radian)
n=1 //order
//Calculation
lamda=2*d*sin(theta)/n //wavelength(nm)
N=2*d/lamda //maximum order of diffraction
//Result
printf("\n wavelengt... |
b80726a948a20168406e1991accf4a562044479e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/var/var3.sce | 7e2410d7badbba9051a3601fe9f8ce24152e74b1 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | var3.sce | //check o/p i/p args are a matrix and a weight vector w
A = [5 -4 6; 2 3 9; -1 1 2];
w = [0.5 0.25 0.25];
v=var(A,w);
disp(v);
// 6.1875 9.5 6.1875
|
54fffa57e7ec4d9fae4e74685bfac2c35b82fdea | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH40/EX40.22/40_22.sce | db2ba953cf7c13d810f940fe4bc0d2d5204c6b9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | 40_22.sce | //Problem 40.22: Calculate the value of the energy stored when a current of 50 mA is flowing in a coil of inductance 200 mH. What value of current would double the energy stored?
//initializing the variables:
L = 0.2; // in H
I = 0.05; // in Amperes
u0 = 4*%pi*1E-7;
ur = 1;
//calculation:
//energy stored in... |
b034711500752cf19ebe0812a0a2021778da57a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.4/Ex1_4.sce | 7e9a00960ab889ff4a70084dc1e7488ef0f00fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | Ex1_4.sce | clear
//
p=30
i=10
v=p/i
dt=1
dq=i*dt
dw=v*dq
energy=dw/i
printf("\n energy of each coulomb of charge= %0.1f J",energy)
|
8ba733efb7afad8106d6093a6c9e93ea72975e04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH3/EX3.3/Ex3_3.sce | 6eb9a814bfbf5c7be6c47e09c5a284ea44b4ac22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,287 | sce | Ex3_3.sce | clc
//the code uses userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
E1=2400 //primary voltage rating in volts
E2=240 ... |
1bf2fb31cf8b2d65861135887438e025154c5237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH1/EX1.9/Ex1_9.sce | d49355bc25b4ae1e8ef2b18b7625beb47d803c7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | Ex1_9.sce | //Initilization of variables
F1=90 //lb
theta1=((40*%pi)/180) //radians
theta2=((30*%pi)/180) //radians
//Calculations
R_x=0 //lb
R_y=20 //lb
//Taking the sum of forces in the X-Direction
P=((F1*cos(theta1))/cos(theta2)) //lb
//Taking the sum of the forces in the Y-Direction
F=(P*sin(theta2))+(F1*sin(theta1))... |
e9798b877935e2262452e52e0af6c41f28f3227b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH7/EX7.1/1.sce | 11bad9ea72779f3d7506533ecef7429fbb8cb8d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 1.sce |
//Variable declaration
chi=-0.4*10**-5; //magnetic susceptibility
H=5*10**5; //magnetic field(A/m)
mew0=4*%pi*10**-7;
//Calculation
B=mew0*H*(1+chi); //flux density(Wb/m**2)
M=chi*H; //magnetic moment(A/m)
//Result
printf('flux density is %0.3f Wb/m**2 \n',(B))
printf('magnetic ... |
0bad2467a8783eec84988e33efc8e05624773a5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH8/EX8.8/Ex8_8.sce | 78ca3ae6718ba1dfaf4bda90e0883df97b3febf5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex8_8.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 8.8\n\n\n");
// Chapter 8 : Vapor Power Cycles
// Problem 8.8 (page no. 387)
// Solution
//Neglecting the pump work,we have
heatrate=3413/0.273; //Unit:Btu/kWh //0.273=efficiency //1 kWh=3413 //heat rate
printf("The heat rate is %f Btu/kWh\n",heatrate... |
1644a54e0332a154002ec231a136c111ce309d2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH2/EX2.2/Ex2_2.sce | 83d68f918eedbe3ed248c4ef5422ec5e1baaea5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex2_2.sce | //calculating GCV and NCV
//Example 2.2
clc
clear
C=90//percentage of Carbon in coal
O=2//percentage of Oxygen in coal
H=4//percentage of Hydrogen in coal
S=2.5//percentage of Sulphur in coal
N=1//percentage of Nitrogen in coal
GCV=((8080*C)+(34500*(H-O/8))+(2240*S))/100//gross calorific value in kcal/kg
NCV=... |
32d504a5fe416646c4a8d03205560576ec81bc1f | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Anti Overhead Jumps Click .sce | 7c4bcac4b2ef30f8f349cea5b0298f2335aa53c4 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71,569 | sce | Anti Overhead Jumps Click .sce | Name=Anti Overhead Jumps Click
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=360circHighgr.map
MapScale=4.0
BlockProjectilePredictor... |
1ff8e74e99c6913763aca12d9e15ef67d363b138 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH18/EX18.13/example18_13.sce | f9a96284959a9820a201682514d9ca97510bc609 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,035 | sce | example18_13.sce | //Chapter 18
//Example 18_13
//Page 440
clear;clc;
a=1*(cosd(120)+%i*sind(120));
r=1;
vry=200;
vyb=346;
vbr=400;
//referring to the phasor diagram
//vbr is twice vry, ie, factor =2
//vyb=1.75 times vry
alpha=acosd((1+1.75*cosd(90))/2);
Vry=vry*(cosd(180)+%i*sind(180));
Vyb=vyb*(cosd(90)+%i*sind(90));
Vbr=vbr*(cosd... |
7cac120483f99923dba13427bcf80e0d139a8424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH3/EX3.5/Ex3_5.sce | a01846f15c9f6e24acc671c2890ba5734152d3b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | Ex3_5.sce | //Example 3-5, Page No - 108
clear
clc
It = 5.1
Ic =4.8
m=(2*((It/Ic)^2-1))^0.5
printf('The percentage of modulation is %.1f',m*100)
|
ea2ff6695cb17737b308e2176132c6696857dfe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH5/EX5.7/ex5_7.sce | 2bd0776910011aaa05204fe953b0ee7699e76d6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | ex5_7.sce | clc;
clear all;
f = 7e6; // Ultrasonic frquency in hertz
theta = 45;
v = 1.5; // Blood velocity in m/s
U = 1500; // Ultrasonic velocity in m/s
deltaf = (2*f*v*cosd(45))/U
disp('Hz',deltaf,'The frequency of the doppler flowmeter is')
//Variation in anser as compared to textbook..checked in calculator also.. the... |
65a3a07501e020f769874a42da72ef90ce45286d | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.3/17_3.sce | 1bd974b31120981b4bb0e9d517f24eeb7ed8883f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 17_3.sce | pathname=get_absolute_file_path('17_3.sce')
filename=pathname+filesep()+'17_3_data.sci'
exec(filename)
//Brake power
bp=(2*%pi*N*T)/60000
//Friction power
fp=ip-bp
//Percentage losses
Loss=fp/bp*100
printf("\n\nRESULTS\n\n")
printf("\nPercentage losses:%f\n",Loss) |
605cf97f770b48a8c9d1ce4d772b24a6a59da5ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH3/EX3.32/Ex3_32.sce | b73327fe2e85e378acce27e9d5f7934cdf7bf91a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | Ex3_32.sce | clc;
p=2; // number of poles
f=50; // frequency of machine
D=1.6; // diameter of cylindrical rotor
l=1.8; // length of cylindrical rotor
g=0.012; // air gap length
rm=4000; // peak value of rotor mmf
rs=6000; // peak value of stator mmf
ph=140; // phase difference between stator mmf and rotor mmf
uo=4*%pi*10^-... |
9675933e446e1419f9bb1cdcbe994e8b6a727865 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH9/EX9.3/Ex9_3.sce | fad68c953430e79e60792309b862280de6f3479c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,273 | sce | Ex9_3.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 9 : Sinusoids and Phasors
// Example 9 - 3
clear; clc; close;
//
// Given data
Z1 = complex(40*cosd(50.0000),40*sind(50.0000)... |
4c87c4daac36e456e485eec5946bd03c290c2edc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.17/Ex1_17.sce | 68b1a59838e41cb5304fe23dcbaacea99af7bc05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex1_17.sce |
// ch-1 page-36,37 pb-7
//
//
BE=50
AB=25
AEC=157.5-67.5
al=atan(BE/AB)
al=al*(180/%pi)
printf("\n al %0.3f ",al)
bt=90-al
printf("\n bt= %0.3f ",bt)
k=(tan(bt*%pi/180))
printf("\n k= %0.3f ",k)
BC=BE/k
C=275.5+BC
printf("\n chinage of c is %0.3f meters',C)
|
bf7a35d450a677a2b9a2c82d246014b0468f6f58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH3/EX3.8/Ch03Exa8.sce | 187470403f5d21c5e3093665826379184b4e0d69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | Ch03Exa8.sce | // Scilab code Exa3.8 : : Page 125(2011)
clc; clear;
x = 0.25; // Thickness of Al, metre
U_l = 1/x*log(50); // Linear absorption coefficient
d = 2700; // density of the Al, Kg per cubic centimetre
x_h = log(2)/U_l; // Half value thickness of Al, metre
U_m = U_l/d; // Mass absorp... |
7707f23ef473ac6faf16fe02864d474317663384 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH1/EX1.17/1Ex17.sce | 29911283b03620d70fe42693caf84422c394d52c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 1Ex17.sce | //chapter 1 Ex 17
clc;
clear;
close;
dividend=2010;
divisor=19;
mod=modulo(dividend,divisor); //remainder
printf("The least number to be added is %d",(divisor-mod));
|
3217b22cc522b96e03bfbb49e6040ac20a2855e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH8/EX8.10/8_10.sce | 0f8ee5d07d9d21c0b46f7479edd999084d641013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | 8_10.sce |
clc
//initialisation of variables
ph=13.89 //pressure in bar under 36 degrees temp
p1=1.447 //pressure in bar under -26 degrees temp
h1=1411.4 //kj/kg
s1=5.718 //kj/kgk
h2=1561.7 //kj/kg
h3= 150 //kj/kg
h4=185.8 //kj/kg
h5=1445.5 //kj/kg
s5=5.327 //kj/kgk
s5=5.327 //kj/kgk
h6=1607.6 //kj/kg
r=25
//CALCU... |
0cf33785eb3ea2efd687854c7f318d208af74629 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH3/EX3.12/Example_3_12.sce | a3de9a7fbd4e00d6c84c0006481febf11ad29571 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Example_3_12.sce | //Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics
//Example 3.12
clear;
clc;
//Given
W = 0;//pump work
Mi = 0;//chamber is initially evacuated
M2 = 0;//no exist stream
H1 = 684.2;//enthalpy of steam at 200 deg cel & 3 Kgf/cm^2
//To calculate the internal energy of the stea... |
3e78aa6b1da31be5cfe00a2d989fabade8b101c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.17/Ex2_17.sce | 72db5cc58eeaed6dfac79199774bbe4b2b0a55c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,297 | sce | Ex2_17.sce | clear
//
//variable declaration
P1=5.0 //Inclined at 45° down Loading at 3m distance from A,KN
P2=10.0 //Inclined at 45° down Loading at 2m distance from A,KN
P3=10.0 //Inclined at 45° down Loading at 1m distance from A,KN
P4=5.0 //Inclined at 45° down Loading A,KN
P8=5.0 //Inc... |
f28e8c9c579a2b9c73b7f9a9243423c8d2820a5c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummin/cummin1.sce | 8b555610b94374d838a155eabcbb316eb8bcb2c3 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | cummin1.sce | //check o/p when i/p is a vector
v =[8 9 1 10 6 1 3 6 10 10];
m=cummin(v);
disp(m);
//output
// column 1 to 7
//
// 8. 8. 1. 1. 1. 1. 1.
//
// column 8 to 10
//
// 1. 1. 1.
|
940bd36ba83cef8e666215621b5eded8a3aa037e | d798d97f3aec3c77fe1b7db97e484616f605aada | /fernando.sce | df3101046327f6ced797d784c04260886325e9ea | [] | no_license | fazedo/modelagem | 2261ddfb394cc0def69eabfd88abe8a1d42a1ea7 | 3b4416c0469448117b9bb7c7a3ac562d871b620b | refs/heads/master | 2020-03-11T15:41:00.712925 | 2018-04-18T18:03:05 | 2018-04-18T18:03:05 | 130,092,684 | 0 | 6 | null | 2018-04-25T14:10:50 | 2018-04-18T16:36:26 | Scilab | UTF-8 | Scilab | false | false | 44 | sce | fernando.sce | // 18/04
x = linspace(0,1,100)
plot(x,x^2)
|
2719bdb1ff53737b3e0c339e51ae12265ccb4ff3 | b2cbc23f2e9dc31f702c70586996c19381f69958 | /Libraries/EyeLink/SampleExperiments/PresLink Example/track.sce | cb4e196d4e17cc0aef284f988e318367b7157fd3 | [] | no_license | TCRichards/Insights | 80ee98da3687f4e5d4487fb3da61aaf2b5a7d2a8 | 56f5aec3ab64026d3c61514bdb4ef5731ecd327e | refs/heads/master | 2020-04-22T05:12:22.443858 | 2019-02-17T19:04:56 | 2019-02-17T19:04:56 | 170,151,858 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,130 | sce | track.sce | no_logfile = true;
begin;
picture {
background_color = 153,153,153;
} et_calibration;
#stimulus display graphics.
array {
bitmap { filename = "dixie.jpg"; preload = false; scale_factor = 2.0; };
bitmap { filename = "town.jpg"; preload = false; scale_factor = 2.0; };
} graphics;
#cursor for left eye
elli... |
4bc6d39fb9ac55738347ba815d966db5ab717c29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH10/EX10.4/10_4.sce | 0a43c3801376752b70bb8260dc5a0ec812fe5b41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | 10_4.sce | clc;
y=1.135;
p1=10;
pc=p1*[2/(y+1)]^[(y/(y-1))];
h1=2778;
hc=2675;
xc=0.962;
vg=0.328;
vc=xc*vg;
Cc=(2*[h1-hc]*10^3)^0.5;
A_m=vc/Cc*10^6;
disp(A_m);
|
36effd3f20c5f0691ea8f688533ab8dcff85c06e | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/mdaq_open.sci | a46dfc9eb2570bb0c26a84275a5ade87a3eac3e3 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 555 | sci | mdaq_open.sci | function link_id = mdaq_open()
global %microdaq;
link_id = -1;
result = 0;
[ip_address, result] = mdaq_get_ip();
if result < 0 then
disp("ERROR: Unable to get IP address - run microdaq_setup!");
return;
end
link_id = mdaq_connect(ip_address, 4343);
if link_id == -1 th... |
68ec0a84e72d8bec1787705819bdc04c874200f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.4/Example44.sce | 00c8b24f48d9527f62e5e4f680e32e502ade9839 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,097 | sce | Example44.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 4, Example 4")
//Impeller tip diameter = 1m
//Speed = 5945 rpm
//Mass flow rate of air = 28 kg/s
//Static pressure ratio p3/p1 = 2.2
... |
4ab423c1ebdc8e547c255ef87608662ef7780530 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/num2pos.sce | 8301cafc3c87c62b841df9282e3d1fedafcd4338 | [] | 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 | 207 | sce | num2pos.sce | function [i,j]=num2pos(k)
//S = sudoku with 9 rows and 9 columns
//k = element's position number
//(i,j)=position of the entry in the sudoku
i=1+pmodulo(k-1,9)
j=1+(k-i)/9
endfunction
|
6a84ecca11ea4cf265363ac36df657d9cf323792 | 8b33899f15bd0509e32f6c06319b7b1557c745f5 | /e3.sci | 55ade7da6c51e5403d47335df0597d86c553f7b0 | [] | no_license | c00kiemon5ter/NumericalAnalysis | fd162663f6a9a4cc6c648e41a1412fa71e83a75c | 1ff51ff805017100ebb87a98b5fef7acca3d0692 | refs/heads/master | 2021-01-01T19:15:21.559444 | 2014-06-25T09:39:25 | 2014-06-25T09:39:25 | 8,290,126 | 1 | 1 | null | 2014-06-25T09:39:25 | 2013-02-19T12:51:16 | Scilab | UTF-8 | Scilab | false | false | 1,443 | sci | e3.sci | // Exercise E3
// ------------
// Implement the cholesky analysis for a band and symmetric array
// so that you avoid unnecessary calculations.
// ---------------------------------------------------------
function L=cholesky(A)
[m,n]=size(A);
if m~=n then
disp('matrix u is not square');
return;
end
for k=1:n
... |
ed78785254c1716e6b6d62bce85bf1bed2678c5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH16/EX16.13/Ex16_13.sce | 6166a24ce79bbc7c6344357a5f672807009e46cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex16_13.sce | clc;
close();
clear();
//page no 535
//prob no. 16.13
n1=1; //refraction index of air
E2=4 //material dielectric constant
theta_i=50 //angle of incidence in degree (misprinted in the solution)
n2=sqrt(E2);
theta_r=asin(n1/n2*sin(theta_i*%pi/180));
mprintf(' The angle of refraction is %.2f \n (using ... |
8fb35c3f25c1bd5457ec2bff475428a265ff8386 | 37f571307900de9b2a1d98af2255b3d2611eee34 | /pam.sce | 844994f0f30980960013d11ed4676200f85ea5dc | [] | no_license | gopaldutt39/Communication-Engineering | 935b33d2cbcb25f6a939350cccb2e8c5f05dbc85 | dadc680b3136bad851d4b24dd33c3f5e1cc10fbd | refs/heads/master | 2020-08-03T10:55:00.021475 | 2016-11-13T02:37:45 | 2016-11-13T02:37:45 | 73,548,002 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | pam.sce | Vp=3;
Vm=4.5;
t=0:0.01:2*10;
Vm = Vm*(sin(2*3.14*t)) ;
subplot(311);
plot(Vm);
subplot(312);
plot(Vp*Vm*(sin(2*3.14*t)));
|
a168f6ab6492efbd126d5109b88e8ace120b54e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH2/EX2.7.2/E2_7_2.sce | be8584648eb0a7bc1c54968b90e3f8237b0e69a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | E2_7_2.sce | clc;
F=300 // N , given force
AB=sqrt(8^2+6^2);// m Length of AB
cos_alpha=8/AB;
sin_alpha=-6/AB;
Fx=F*cos_alpha;//N, Horizontal component
Fy=F*sin_alpha;// N, Vertical Component
printf("Horizontal component of F is %.2f N\n",Fx);
printf("Vertial component of F is %.2f N\n",Fy);
printf("We may write F as \n ... |
6d12c5e9a498f42553ec0bca01bfb39cffd84d58 | 637fcd60a4e2a98ebbeaaa9551554a13e1ebfdba | /quad/ctrl/paparazzi/sw/airborne/firmwares/vor/sci_gen_c_filters.sce | d25cf76236de45a5c23af2e894f388082acf9624 | [] | no_license | zoomx/lxyppc-tetrix | b7079c07aee9b85a34207245f526e1613fdb0498 | 884027f37594f9f006f88d634c4392a60c482491 | refs/heads/master | 2021-01-10T21:04:54.219013 | 2015-05-10T08:45:33 | 2015-05-10T08:45:33 | 35,362,463 | 12 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,523 | sce | sci_gen_c_filters.sce | //
//
// Generates C file and corresponding headers for filters used in
// C implementation
//
clear();
exec('sci_vor_filters.sci');
[filters] = vor_get_filters();
filter_name = [ "BP_VAR"
"BP_REF"
"LP_DECIM"
"LP_VAR"
"LP_REF"
"LP_FM" ];
f... |
68201b72112599bb3c02fd8bf514cd94722a5117 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH8/EX8.13/13.sce | 47e7470f72018c27d57409c9f8539da5fbc5e02b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13.sce | clc
//Example 8.13
//Calculate temperature and the velocity of air inside the shock wave
//Let subscript y denote air inside the shock wave and x denote the air outside the shock wave
ratio_T=1.2309//dimentionless
Tx=528//R (Rankine temperature scale)
Ty=ratio_T*Tx//R (Rankine temperature scale)
printf("temperat... |
4b15e262aad6b20f69366ba1c894ec0d98daf505 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_prod.sci | e0855ca85281cde79d6bc94743c33a8d236c235a | [
"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 | 147 | sci | mtlb_prod.sci | function r=mtlb_prod(a)
// Copyright INRIA
if type(a)==4 then a=bool2s(a);end
if size(a,1)==1|size(a,2)==1 then
r=prod(a)
else
r=prod(a,1)
end
|
769cc831b71c7942bf0e3b0d78cd12fbac41f02a | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /main/vsCatenary/testfigurerobot.sce | 25f2532267024182413336dea3964c24943aac1d | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | testfigurerobot.sce |
figure(1);
a = gca();
a.box = "off";
a.filled = "on";
a.isoview = "on";
a.data_bounds = [-2;2;-2;2];
a.grid=[1,1];
for t=0:0.1:1
robot1 = [t;0;0;0;0;0.3];
robot2 = [t;1;0;0;0;0.2];
delete(a.children);
drawlater();
drawTurtleSide(robot1(1),robot1(3),0.6);
drawTurtleSide(robot... |
dafb954f32ad835c6f16e537de7fd2a7d49c402f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH4/EX4.6/ex4_6.sce | 2b08ea24ae61cece4bb34ea6881d9fd1f429657f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | ex4_6.sce | // Example 4.6, page no-134
clear
clc
p=3600 //Power required
t=1.2 //worst case eclipse period
c=90 //capacity of each cell in Ah
v=1.3 //voltage of each cell in V
d=0.8 // Depth of discharge
e=0.95 //Discharge efficiency
E_sp=60 //specific energy specification ... |
be3a6f02af94c97d57e53263ab2e3400e3db2f79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.11.a/data7_11.sci | 6aa17b803d1d670c1fc2ace7a118f06fa4f0eec3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sci | data7_11.sci |
//(Threaded Joints) Example 7.11
//Refer Fig.7.26 on page 243
//Screw pitch circle diameter 2b (mm)
b = 300/2
//Flange diameter 2a (mm)
a = 400/2
//External force acting on the bearing P (kN)
P = 25
//Eccentricity value l (mm)
l = 150
//Maximum permissible tensile stress in the cap screw sigmaMax (N/mm2)
s... |
32b23ffa9ecb91a17234d0426a6f2d88e95939be | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.10/example10_sce.sce | f64c2d193b9e4f38908c71e1ceca48664e9f4e01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | example10_sce.sce | //chapter 13
//example 13.10
//page 570
printf("\n")
printf("given")
hfemin=100;hfemax=400;hiemin=2*10^3;hiemax=5*10^3;Rc=12*10^3;Rl=120*10^3;Re1=150
disp(" voltage gain at extreme value ")
Avmax=(hfemax*((Rc*Rl)/(Rc+Rl)))/(hiemax+Re1*(1+hfemax))
Avmin=(hfemin*((Rc*Rl)/(Rc+Rl)))/(hiemin+Re1*(1+hfemin))
disp("a... |
c4076c0db0fc1b56060d4768e603ff4c918cdd79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.21.c/EX26_21c.sce | e0ee9b33d7ec1cdf24c9671b410158d2d44b59bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,817 | sce | EX26_21c.sce | //EXAMPLE 26.21(c)
//4-POLE DC SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
P=4;.........................//Total number of poles
S=80;........................//Total number of slots
C=10;.........................//Total number of conductor per slots
E1=400;.........................//Generated... |
dfd00d0f704d2eb4392de77a0d76db26be390b21 | 43799901e22e995d4db64000ef28c0a787aeb11b | /ISAWIN/LINOV/KFCM/appli.tst | e52a3eea541702f7d0491b793d466a0211c2bef2 | [
"WTFPL"
] | permissive | aquaforum/tench_catch | 7082d8e8f3a224aa50be9150a96362f2f323a2be | 3f377476d82d7343edd985a6d3a41b57dc301f98 | refs/heads/master | 2023-07-17T13:33:10.901467 | 2021-08-22T19:29:09 | 2021-08-22T19:29:09 | 398,885,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,256 | tst | appli.tst | @ISA_SYMBOLS,148812259
#NAME,kfcm,3.41
#DATE,13.10.2017
#SIZE,G=6,S=0,T=0,L=0,P=8,V=52
#COMMENT,wsma1tst
@PROGRAMS,6
#!5001,PARM_STO
#!5002,IOS
#!5003,MANAGE
#!5004,CTRLPTS
#!5005,MUX2
#!5006,PREG
@STEPS,0
@TRANSITIONS,0
@BOOLEANS,73
#!1001,X_01,+I,!0000,FALSE,TRUE
#!1003,X_03,+I,!0000,FALSE,TRU... |
8ad181b00af1d50921c6e1f0ee632d7fe4ffede1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.21/2_21.sce | 36140b4ea5a85744669f7d257bc5f7417d4b80b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | 2_21.sce | //ramanujan's method
//example 2.21
//page 45
clc;clear;close;
deff('y=f(x)','1-((13/12)*x-(3/8)*x^2+(1/24)*x^3)');
a1=13/12,a2=-3/8,a3=1/24;
b1=1;
b2=a1;
b3=a1*b2+a2*b1;
b4=a1*b3+a2*b2+a3*b1;
b5=a1*b4+a2*b3+a3*b2;
b6=a1*b5+a2*b4+a3*b3;
b7=a1*b6+a2*b5+a3*b4;
b8=a1*b7+a2*b6+a3*b5;
b9=a1*b8+a2*b7+a3*b6;
pr... |
3d85184ef2b2247324d3b201bbe3b9c5c1df6403 | 0ee3956f6556727a09cf2b2e537af1f13f1b342b | /Deprecated/Saliency.sce | 35d219d2b4967515cd5063a80e63eaea001ad681 | [
"MIT"
] | permissive | hipercog/PSICAT | 4827373578759fbc4861e1d487b070c17f291c71 | 27fa2f2b5b842a82f429bb3bac659a48306a2828 | refs/heads/master | 2022-02-18T22:44:40.617504 | 2019-10-21T13:51:40 | 2019-10-21T13:51:40 | 41,426,010 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,311 | sce | Saliency.sce | /**
DESCRIPTION: SCENARIO FILE PROVIDES DEFAULTS, GRAPHICAL OBJECTS, AND TRIAL
DEFINITIONS FOR A BLOCKED EXPERIMENT OF PRIMED KANIZSA SHAPES
Author : Ben Cowley
Created: 01-05-2012
Modded : 28-03-2017
*/
# FIXME TODO: can do language localisation?
# FIXME TODO: check all defaults are needed?
... |
d2943149a70f4b9c56e0efb0833a1dd0f6216ea6 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/sortIndex.sce | 0fbce4e3d131fe287b98c5f0882b0b2fa1ddb2e2 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | sortIndex.sce | // Function Name: sortIndex
// Return a vector which describes the sorted order of the elements of inputvec1 (ie. it contains the indices of the elements of inputvec1)
// 3rd parameter : 0/1 for ascend/descend
// Calculating the sortIndex.
inputvec1 = [5, 4, 3];
result = armaVec("sortIndex",inputvec1)
result = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.