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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
80e2f14cb4f704cdb2df5f38e86a797e07064104 | 7e1b0b7ceda8e9c25d67d330a7bb5e562a01f27a | /ProbInverses/CCRegLineaire/CCquestionL.sce | 2bb07af1a5c7e24e2c4b4bdf1568f5ab21c6da52 | [] | no_license | sebherv/master2 | 59b8232e62bef140636bfad8c986bbd10e7d7beb | b8cd8bcde1ae3ae7a5bca58183804faa21456dd8 | refs/heads/master | 2021-09-13T19:33:50.766722 | 2018-02-09T15:09:24 | 2018-02-09T15:09:24 | 103,376,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | CCquestionL.sce | clear;
getd();
// Get data from file
disp("Loading ballistic data file...");
DATA=fscanfMat('BallisticsDataFile.txt');
d=DATA(:,2);
t=DATA(:,1);
// Create G from the time data
disp("Creating matrix G...");
n=size(t)(1);
G=ones(n,1);
G=[G t -0.5*t^2];
// Compute model
disp("Computing model...");
m=inv(G'*G)*G'*d;
d... |
6fefa6ba6ab1cbd41e35625f69c1e5c6d37e231f | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial04-ODE/Scilab_code/Tutorial4_ode_matrix.sce | 33e5e333219f1bf0710fdff3d0fa617db6d49557 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | Tutorial4_ode_matrix.sce | //This script demonstrates the use of ODE solver when matrix is involved
clear
clc
//Definition of the function
function ydot = func(t,y)
ydot = A*y + ones(3,1);
endfunction
//Defining the matrix
A = [1 2 1;9 6 1;1 3 4];
//Initial condition
y0 = [-1;2;3];
//Start time
t0= 0;
//The time at which the solution is com... |
945fadec77721ec33f68efc5f774d200c4329e59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH9/EX9.2/Ex9_2.sce | 3cd805c204463a22c8ee88c268679b3a69c8cd71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | Ex9_2.sce | // Example 9.2
clear all;
clc;
// According to the definition of radiation absorbed dose(rad), 1 rad/sec = 100 ergs/g-sec
// Given data
D = 5*10^(-3)/100; // Absorbed dose in terms of rad/sec
// Expressing absorbed dose rate in SI units
// 1 Gray(Gy) = 100 rad
D_dot = D*3600/100;
... |
a0a2361ab3b7cfec85df78c0014e1616ce257311 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH4/EX4.06/Ex4_06.sce | 48ebe51856e566c57311a9de731671407edf7a57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 992 | sce | Ex4_06.sce | clc
//
//Variable declaration
M=36.8 // Bending moment(kN)
Sy=240 // Yield strength(MPa)
yY=40 ... |
88a1e5bc368f1f952b7d10699414ce3e6e46e736 | 924e8f6b2e21c7315732816d0e6efd993c80aa43 | /tests/list/expected | f807377699a40936bbd5a51050dd0cc30272c879 | [] | no_license | pedrotst/coquedille | ed69cfa2a5eb4b8f3812668fab747fee728d65d5 | eb4ebcf1547310dd2594d76c3355494629e206c9 | refs/heads/master | 2021-07-15T20:54:20.033492 | 2020-09-22T22:12:49 | 2020-09-22T22:12:49 | 212,849,499 | 37 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | expected | module list.
data list (A : ★) : ★ =
| nil : list
| cons : A ➔ list ➔ list.
| |
e11740f3d0a8285dd7684f9a4a62fd501ddd87a9 | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/is_ARP-007.tst | bb927507056e642c0643f4273ec19a404f9cb1c9 | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28 | tst | is_ARP-007.tst | ../inputs/determinism-03.ssv |
ce03e744ca1338b3370be2cd876228c83701470d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.27/1_27.sce | a6ef2e0ec567e4a5f5f1275d1138e6fb686488de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | 1_27.sce | //Determine the inductance of individual winding
clc;
clear;
La=15; // Self inductance of first coil
Lb=16;// Self inductance of second coil
M=-8; // Since the flux from both coils oppose each other
L1=La+M;
L2=Lb+M;
L=L1*L2/(L1+L2);
printf('The inductance of the individual windings are %g H and %g H... |
246443d2a3ae3bcccfbd82f017767a581b5652bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.e.6/Chapter1_ex6.sce | 795e04ff9347e42eb31bf7dbf7d4804e7085172b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Chapter1_ex6.sce | clc
clear
//Input data
m=[20,80]//Masses of blocks in kg
F=1000//Force with which 20kg block is pulled in N
//Calculations
a=(F/(m(1)+m(2)))//Acceleration of the block in m/s^2
T=F-(m(1)*a)//Tension in the string in N
//Output
printf('The acceleration produced is %i m/s^2 \n The tension in the string conne... |
e4b5cdd45f329a7a286d508ba195034d7b710b6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH12/EX12.3/Ch12Ex3.sce | c9720c91f73259902e4ed9a3c7b6825dce114abe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch12Ex3.sce | // Scilab Code Ex12.3: Page-12.20 (2004)
clc;clear;
po = 40; // Refractive index of fibre core
pi = 100; // Refractive index of fibre cladding
p = po/pi; // ratio of powers
L = -10*(log(po/pi)); // Refractive index of medium
printf("\nLoss in dB = %f dB", L);
// Result
// Loss in dB = 9.162907 dB
... |
ac9bb00dac4fe0c1cd2800c24a43378ae175b1c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH18/EX18.04/18_04.sce | b78090295cf85b97e028b4dfbec171380fd64065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | 18_04.sce | //pathname=get_absolute_file_path('18.04.sce')
//filename=pathname+filesep()+'18.04-data.sci'
//exec(filename)
//Pressure ratio:
r1=8
//Operating temperatures(in K)
T1=-30+273
T3=27+273
//Isentropic efficiency of compression:
nic=0.85
//Isentropic efficiency of expansion:
nie=0.90
//Specific heat(in kJ/kg):... |
fea77e9f15f9a0da4017dc1a8a465c851c8846f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH11/EX11.13/11_13.sce | 5f4b2394b2047950f4fc663de5f7147d5173df27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | 11_13.sce | //chapter 11
//example 11.13
//page 342
clear all;
clc ;
//given
Rl=180;//load resistance in kohm
Vcc=20;//supply voltage V
f1=150;//lower cutoff frequency Hz
Zi=500;//ip impedance kohm
Idmax=2;//drain current mA
Vgs=-4.1;//gate to source voltage
Vpmax=6;//maximum peak voltage
Vdsmin=Vpmax+1+Vgs;
Vr34=Vcc... |
e51dc6f86927ff0e293526a0333c20d9f099823b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH9/EX9.4/ex9_4.sce | 09f890747714c074c93e177a93d991feb55ffddc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_4.sce | //Page Number: 9.12
//Example 9.4
clc;
//Given
//(a)
H1=1;
H2=(1/2);
S0=(H1^2)/2;
w0=-2*%pi;
w1=2*%pi;
N0=(0.1/(2*%pi))*2*(integrate('1','w',w0,w1));
SNR=S0/N0;
disp(SNR,"SNR: ");
//(b)
S01=(H1^2*H2^2)/2;
N01=0.101;
SNR1=S01/N01;
disp(SNR1,"SNR1: ");
|
a48fa09a779c511116926b82b941094716388e6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/DEPENDENCIES/example18_2.sci | 3a0263966064753a3bdd6282070b4ccb0e6aa0bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sci | example18_2.sci | function [I0, I1, I2, a0, a1, a2, In, an] = line_to_seq(ir, iy, ib, air, aiy, aib)
a=1*(cosd(120)+%i*sind(120));
Ir=ir*(cosd(air)+%i*sind(air));
Iy=iy*(cosd(aiy)+%i*sind(aiy));
Ib=ib*(cosd(aib)+%i*sind(aib));
i0=1/3*(Ir+Iy+Ib);
i1=1/3*(Ir+a*Iy+a^2*Ib);
i2=1/3*(Ir+a^2*Iy+a*Ib);
in=3*i0;
In=... |
a1971322cc1d3b1f87015d1216d45987b33b56b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH18/EX18.21/example18_21.sce | c2e9a42e2db54dfe89f5c5f4716cee5593381d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | example18_21.sce | clc
// Given that
B_max = 1.375 // maximum value of B in Wb/m^2
a = 0.513 // area of the loop in cm^2
k = 1000 // value of 1 cm on x axis in A/m
k_ = 1 // value of 1 cm on y axis in Wb/m^2
B = 1.375 // alternating magnetic flux density in Wb/m^2
v = 1e-3 // volume of specimen in m^3
f = 50 // frequency in Hz
// Sample... |
d9918112bd2f286c661feb53fe9883c5f5785c5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.16/example10_16.sce | 6d532596c64c7d6c7423cb4735d4dda44ddde226 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | example10_16.sce | r1=2;
r2=1;
r3=5;
i1=3;
i2=2;
v2=(0.2*i1+0.7*i2)/(1.2*0.7+0.2*0.2);
v1=(i1+0.2*v2)/0.7;
ir1=0.5*v1;
ir2=v2;
ir3=0.2*(v1-v2);
disp("current (in A) through R1 is"); disp(ir1);
disp("current (in A) through R2 is"); disp(ir2);
disp("current (in A) through R3 is"); disp(ir3); |
18dde32c86475cce42166704512cd66e0b48a92b | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH20/EX20.1/Example20_1.sce | 3f93ad9e8bac8a3c3cb9b51573f9351ff7e0c85a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Example20_1.sce | //Given that
Vi = 12 //in L
Ti = 20+273 //in K
Pi = 15 //in atm
Tf = 35+273 //in K
Vf = 8.5 //in L
R = .0821 //in atm.lit/(mol.K)
//Sample Problem 20-1
printf("**Sample Problem 20-1**\n")
Pf = (Pi*Vi/(R*Ti))/(Vf/(R*Tf))
printf("The final pressure of the gas is %fatm", Pf) |
765eef730700a48dd1c2b52f6ae4bda9224672cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.29/Ex4_29.sce | 9af6cdfca18d9cc1a3b3651bad11e727d66aa70c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | Ex4_29.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
//part1
Long=150.0;//longitude in degrees
GST=12+25.0/60+15.0/3600;//GST in hr
LST=30+15.0/60+10.... |
f088ee87123cbd9e7d9eb400e2812b46b4c5c62a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH10/EX10.12/Ex10_12.sce | b5936d4a742c80825f5adce9674b8be9d53bf09e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_12.sce | clc
clear
//Initialization of variables
disp("From table 2 of keenan and keynes,")
p1=98.87 //psia
p2=31.78 //psia
t1=80 //F
h2=26.365 //btu/lb
h1=11.554 //btu/lb
hfg=67.203 //btu/lb
//calculations
x=(h2-h1)/hfg
//results
printf("The state of vapor leaving is %.2f psia with a quality of %.2f percent",p2,x... |
90597e9b89953d93d0f18bf416e9da6c57b5f72c | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH12/EX12.6/12_6_Metallic_surface.sce | 2a4c4b7f7699342c4dd176d7e6a9930c3be691f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,155 | sce | 12_6_Metallic_surface.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 12.6 Page 751 \n')// Example 12.6
// Spectral , Normal emissivity en and spectral hemispherical emissivity e
// Spectral normal intensity In and Spectral emissive power
T = 2000 ;//[K] temperature... |
79359be373c8768385b56c758c3b8b6459954fc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH10/EX10.5/10_5.sce | 873a1a08bb5b4e72c618792f053635120620aa69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_5.sce | clc,clear
printf('Example 10.5\n\n')
wattage=500
efficiency=25// efficiency of each lamp
flux=wattage * efficiency //total flux emmited
I_each = flux/(4*%pi)//intensity of each lamp
d_1=sqrt(3^2+5^2)
d_2=sqrt(4^2+5^2)
theta_1= acos(3/d_1)
theta_2= acos(4/d_2)
I_L1 = cos(theta_1)*I_each / d_1^2//I_L1... |
bbf49c3215ff636adfda37838645fba67eed3ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH3/EX3.8/Example3_8.sce | e1c1960bf4e83167fea09ddeb2617b52421fe2d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example3_8.sce |
//Chapter-3,Example3_8,pg 3_38
n=3
R=1/(10^n)
//for 10V range
R=R*10
err1=R//1-digit error
//reading is 5V
err=(0.5/100)*5//error due to reading
errt=err1+err//total error
printf("error when reading is 5V\n")
printf("errt=%.4f V\n",errt)
//reading is 0.1V
err=(0.5/100)*0.1//error due to reading
errt=err+... |
869cfcec24c9d5e09d74127bfe4496781bccbd17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH2/EX2.1/16ex1.sce | f9b0cb3ddb8f3a7b27d1cea8a6aeb22f5e3ec09d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | 16ex1.sce |
//simplify 5a+6b+2a-3b
clear;
clc;
close;
//('collecting like terms \n');
x=5+2;y=6-3;
printf("total=%ia+%ib",x,y);
|
f5e2a55c576c8fc3d58d7c49ab9b74f90ba226b5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.2_11.tst | 3d4a92d001892d71e47146c6c9dd6c6b69b98f65 | [] | 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 | 750,209 | tst | 5.2_11.tst | 2 108:1 110:1 167:1 440:1 464:1 689:1 762:1 828:1 1162:1 1175:1 1454:1 1486:1 1567:1 1787:1 1839:1 1855:1 1948:1 1950:1 2046:1 2194:1 2332:1 2336:1 2495:1 2760:1 2800:1 2807:1 2934:1 3019:1 3266:1 3285:1 3291:1 3546:1 3981:1 4305:1 4676:1 4683:1 4724:1 4731:1 4961:1 5237:1 5351:1 5430:1 5759:1 5768:1 5828:1 5870:2 6095... |
a7eb4079380419972002b2174ec5cffcdff6825b | 2964880e971bb18ae4e0fcec2e0a6edf89984e2f | /Unit1/GaussJordan.sce | d8916b1a5fa5fed73752543c2a6d0e9ccab240fd | [] | no_license | pvn-leo/ScilabAssignments4I | 08c1a73d7e1461d4c49f324becb879a37d45a95e | 87977d6f955afac641419f34807fac4d1ce63630 | refs/heads/master | 2020-12-30T08:24:18.430853 | 2020-04-06T17:59:10 | 2020-04-06T17:59:10 | 238,927,614 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 854 | sce | GaussJordan.sce | clc
funcprot(0) //if variables are redefined do nothing
format('v',20)
mat = input("Enter a matrix, mat of order: [NxN] ")
function gauss_jordan(mat)
n = length(mat(1,:));
aug_mat = [mat,eye(n,n)];
// 1st Forward then backward elimination
//forward elimination
for j=1:n-1
for i=... |
635ba8c73de0b5e4d381ea3f25393f497fe6d76b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH3/EX3.1/Ex3_1.sce | ec7c83e5e1ea1b29c4b030065fbf1aa1008698b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_1.sce | clear
//Given
q=300*10**-6 //c
V=6
//Calculation
W=q*V
//Result
printf("\n Work done is %0.3f *10**-3 J", W*10**3)
|
41cb3d0668f1028994ca2ef8a8630935d8026cea | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ac_bfa_mt/~BivLCM-SR-bfas_ac_bfa_mt-PLin-VLin.tst | fff192360d1f7def0a4896fd60aeadd529e37695 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ac_bfa_mt-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.263343D+00
... |
cf155fe7dd3436dbd914e6c49211da6fcdfc088b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH1/EX1.7/exa1_7.sce | 634c136911a8264ad2bcd837d3761d6aeab60b11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | exa1_7.sce | // Example 1.7
// A Transistor Circuit
// Enclosing the Transistor with a supernode and using KCL we get i_b as
i_b=(10.5*10^-3)-(10*10^-3);
// Applying KVL for the Loop CEBC we get
v_ce=1+6;
i_4=10*10^-3; // from the figure 1.29
v_3=1; // from the figure 1.29
// at node D
i_1=i_4+(2*10^-3);
// at node A
i_3... |
abf03f0a52e8301d63712d237afbd9e3a4b0d90d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH6/EX6.1.4/example6_4.sce | 225bdef79d72db24abb069b4c5ecf21e024a100f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 845 | sce | example6_4.sce | clc; funcprot(0);
clf()
//exapple 6.4
// Initialization of Variable
//each is increased by five units to make each compatible for graph plotting
mu=1.109/1000;
Q=[0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1];//flow rate
HeffA=[20.63 19.99 17.80 14.46 10.33 5.71 0 0 0 0 0 ];//Heff of pump A
HeffB=[18 17 14.95 11... |
2ff6388a907c90f671e1bb239ebf2c4503f5ea76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH14/EX14.3/example_14_3.sce | 7b53d0abe555432521c9f415f9ec037fa4c6aad8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_14_3.sce | //Chapter 14
//Example 14.3
//page 538
//To estimate the values of the random variables x1 and x2 using WLSE
clear;clc;
i=0; x=1;y=8.5
printf('---------------------------------------\n');
printf('iteration\t\tx(l)\n');
printf('---------------------------------------\n');
printf('\t%d\t\t%0.3f\n',i,x);
for i=1:1:10
... |
7b054453a1cdfba7424f15457b8804736996afe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH4/EX4.13/4_13.sce | 41b99f92aa891642217936d03b5aa726f9d9f50b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | 4_13.sce | clc,clear
printf('Example 4.13\n\n')
Pole=16
phi=0.03 //flux per pole
Ns=375 //synchronous speed in rpm
f=Ns*Pole/120 //frequency
printf('frequency is %.0f Hz ',f)
Slots=144
n=Slots/Pole //slots per pole
m=n/3 //slots per pole per phase
beeta=180/n //slot angle
K_c=1 //assuming Full-Pitch coil
Conductor... |
173afa5bec4f2df136667f039ab05eba557bf7ee | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/CompressibleFlowSolver/Tests/CylinderSubsonic_NS_WeakDG_LDG_SEM.tst | 18509f33517af313c9e1afccc9ede480f68d99aa | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 1,073 | tst | CylinderSubsonic_NS_WeakDG_LDG_SEM.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Subsonic Cylinder, mixed bcs, WeakDG advection and LDG diffusion, SEM</description>
<executable>CompressibleFlowSolver</executable>
<parameters>CylinderSubsonic_NS_WeakDG_LDG_SEM.xml</parameters>
<files>
<file description="Session Fi... |
ea177020d435c90d2112b3e94cc08da06a7f42df | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH2/EX2.15/Ex2_15.sce | ab70df266187af40a979e33e72042fc43b007d3f | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 172 | sce | Ex2_15.sce | clc;
c1=0.1*1e-9; //in faraday
c2=1*1e-9; //in faraday
L1=10*1e-3; //in henry
pi=3.14;
c_eq=(c1*c2)/(c1+c2);
f_op=1/(2*pi*sqrt(L1*c_eq));
disp(+'Hz',f_op,'f_op =')
|
87118b1228e6777929ddda587f183b5fc06b0130 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/split.tst | 3ef602d7482c57f12d9ceaf3dd61458c4ff191db | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 171 | tst | split.tst | ## Test the split command
set echo
set interactive
set quiet
set relax
read <mergeinfo.svn
:6 split at 2
prefer git
inspect
print "Avoid having a last command that fails"
|
a3b1c923d6b0cf3a6703d8b36184321552feab81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.37/Ex4_37.sce | 57420429064f9758292c8bde8b2ae3e9eebc5592 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 993 | sce | Ex4_37.sce |
clc;
V=230;//supply voltage in volts
Ra=0.5;//armature resistance in ohm
N=250;//rated speed of motor
I=100;//rated current in ampere
//For the separately excited dc motor torque-speed characteristics is given by Tl=500-W, where W is rotational speed in rad/sec & Tl is load torque in Nm.
//At rated load, motor ... |
fef5f9d0cbd26d8cc63c6b5231546793eb1ed313 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.9/Chapter4_Example9.sce | f358b82c73ba5526371cb2c1c93fc68bfe9f05e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Chapter4_Example9.sce | clc
clear
//INPUT
t=323;//temperature of the hydrogen molecule in K
m1=1;//mass of the hydrogen molecule in gm
m2=2;//molecular weight of the hydrogen in gm
r=8.3*10^7;//universal gas constant in erg/K/mole
//CALCULATIONS
e=(m1*r*t*3/(m2*2));//kinetic enrgy of the hydrogen molecule in ergs
//OUTPUT
mpri... |
36500bfc7200f8bd49447e692eef6955e78a3b0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH15/EX15.7/Ex15_7.sce | 840abf0f0d262f62a82d052cf4fdb784f81e5e9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 890 | sce | Ex15_7.sce | //to find the fraction of the applied force transmitted at 1200 rpm and the amplitude of forced vibrations of the machines at resonance
clc
//given
e=1/30
n=1200//rpm
w=%pi*n/30
m=3//lb
g=32.2//ft/s^2
stroke=3.5//in
r=stroke/2
k=(1+1/e)^(1/2)//nf/n=k
d=(k/187.7)^2
W=200//lb ; given
s=W/d//combined stiffnes... |
a1e6b53b809e4c8bc3a4726d017750b81f45a748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.18/ExampleA18.sce | 1a3cb574f749f968ba3c428492b6cf06e8c6369c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | ExampleA18.sce | clc
clear
//Page number 478
//Input data
m=50;//The given amount of water in g
t1=10;//The initial temperature of water in degree centigrade
t2=90;//The final temperature of water in degree centigrade
//Calculations
T1=t1+273;//The initial temperature of water in K
T2=t2+273;//The final temperature of... |
807e1a72cafb7ade824baaf1051b5bc0a287851e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.4/Ex15_4.sce | 6001db4b328381fc8e0b9c406fe79ba34a39f39e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Ex15_4.sce | //Finding torque
//Example 15.4(pg 394)
clc
clear
P=10//Power developed by motor in H.P
N=600//Speed of motor in rpm
//1HP=735.5Nw-m/sec=75kgm/sec
a=75
b=735.5
//Torque in kg-m
Tkgm=(P*a*60)/(2*%pi*N)//since P=2*pi*NT/60
//Torque in Nw-m
TNwm=(P*b*60)/(2*%pi*N)//since P=2*pi*NT/60
printf('(i)Torque in kg.m... |
67c7ffecae6ab042f6bf6b39a34aadb601c1a42a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH7/EX7.1/7_1.sce | 68b3e0b17c1128de16f60a1a5b33b1635e01925d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | 7_1.sce | //Power delivered to 3 phase synchronous motor
clc;
clear;
Vl=2300;
Il=8.8;
pf=0.8// Lead Power Factor
theta=acosd(pf)
P=sqrt(3)*Vl*Il; // Power delivered by the pump
I=P/(sqrt(3)*Vl*pf); // Increase in Current
Pr=sqrt(3)*Vl*I*sind(theta); // kVAr supplied
printf('The Power delivered by the pump ... |
751e08bd726df82082cd881295ba6c0e1a9802c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH8/EX8.5/Ex8_5.sce | 2463401517a18a2615970b9a28b802e33292c02e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | Ex8_5.sce | clc;
//e.g 8.5
alpha=0.975;
beta=200;
beta=(alpha/(1-alpha));
disp(beta);
alpha=(beta/(1+beta));
disp(alpha);
|
cc0e45c92e01b685d6dbb83acfc9c97a053d4390 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.25/Example5_25.sce | e471219afa3040def806236e3572a917e7f8adb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,585 | sce | Example5_25.sce | //Exa 5.25
clc;
clear;
close;
//Given data :
A1=0.98*expm(%i*1*%pi/180);//parameter of 3-phase line
D1=A1;//parameter of 3-phase line
B1=100*expm(%i*75*%pi/180);//parameter of 3-phase line
C1=0.0005*expm(%i*90*%pi/180);//parameter of 3-phase line
A2=0.98*expm(%i*1*%pi/180);//parameter of 3-phase line
D2=A2;//... |
bbf2d9a2665a81ace13ddd923081007266474d0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.2/Chapter6_Example2.sce | 427f80a54e706912c70edb9ca81fcdc66f1162f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Chapter6_Example2.sce | clc
clear
//Input data
p=2;//Given Pressure of a motor car tyre in atms
t=27;//The room temperature in degree centigrade
g=1.4;//Adiabatic index
//Calculations
P1=p;//The pressure of a motor car tyre in atms
T1=t+273;//The room temperature in K
P2=1;//The surrounding pressure in atms
T2=((P2/P1)^((g... |
1bfd54e846eaba768e0c832b1cce18ad1617bdcf | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peig/peig12.sce | 0e3bcbd0027fe9e4d1148c7677825146fe26e6d7 | [] | 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 | 562 | sce | peig12.sce |
x=[1 2 3 4 5 6 2 3 7];
p=3;
w=[1 2 4];
[S,w,v,e] = peig(x,p,w);
disp(S);
disp(w);
//output
//
//
// 0.8983917
// 0.5246221
// 0.5858427
//
// 1. 2. 4.
//
//-->v
// v =
//
// - 0.4515593 0.0175576 0.0668662
// 0.5187387 0.0175576 0.0668662
// - 0.5951727 0.0280922 ... |
376f01e0055804269258bd89c20c177acd51a6ca | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/auto/rowregul.sci | 1188b6c32e140505d7ccc4aa3b2b3e2adcb8767a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 380 | sci | rowregul.sci | function [Stmp,Ws]=rowregul(Sl,alfa,beta);
//[Stmp,Ws]=regul(Sl) computes a polynomial-state-space postfilter
//Ws such that Stmp=Ws*Sl is proper and has D full rank
//Poles at infinity of Sl are moved to -alfa;
//Zeros at infinity of Sl are moved to -beta;
//Sl is asummed right invertible i.e. ss2tf(Sl) full row rank... |
1e6b6345fb2ce50e6f92ecd55c900262620a958b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH6/EX6.1/Ex6_1.sce | 2f16072145ce79dff5e4d9169e6e55f13758ef63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Ex6_1.sce | //Example 6.1
//Grain Size Measurement
//Page No. 193
clc;clear;close;
sigma_i=150; //in MN/m^2
k=0.7; //in MN/m^(3/2)
n=6;
N_x=2^(n-1);
N=N_x/(0.01)^2; //in grains/in^2
N=N*10^6/25.4^2; // in grains/m^2
D=sqrt(1/N);
sigma0=sigma... |
d80a2afeb4186370632272fdd3e78c4f368a117c | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH6/EX6.1/Ex6_1.sce | 1186c75caa0c5be40b5aac16360871d7ff9dfe66 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | Ex6_1.sce | //Chapter 6 : Linear Mappings
//Example 6.8
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[1 0 1;1 1 0;0 -1 0;0 0 1];
A1=A;
disp(A,'A=')
A(2,:)=A(2,:)-1*A(1,:)
A(3,:)=A(3,:)+A(2,:)
A(3,:)=A(3,:)*-1
A(4,:)=A(4,:)-1*A(3,:)
A(2,:)=A(2,:)+A(3,:)
A(1,:)=A(1,:)-1*A(3,:)
disp(A,'Hermite form of A=')
mprintf('\... |
8cc852db8e53fd00d1233adfd70358a277dfa159 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH5/EX5.1.a/5_1_data.sci | e8cf25aa1ff57b371a9cf340fa133138ff7e2bc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sci | 5_1_data.sci | // Aim:To Find volumetric efficiency of Gear Pump
// Given:
// outside diameter of gear pump:
Do=3; //in
// inside diameter of gear pump:
Di=2; //in
// width of gear pump:
L=1; //in
// Actual flow rate of pump:
Qa=28; //gpm
// Speed of gear pump:
N=1800; //rpm
|
e7ef89a05897bb9be10f4f54a9ab4785ac9d4942 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.abalone-10-1tra/result3s0.tst | 9a423f5a609bf3c46956383f379b4eb5201b2f54 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,407 | tst | result3s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
27571bfd1921cbfc8f3f94afa1445773138f3bc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH8/EX8.7/ex8_7.sce | 291f5774d55f7d7b91958c3010fa3056900b4b04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex8_7.sce | //Find the values of line to pin capacitance
clear;
clc;
//soltion
//given
n=5;
for p = 1:4
C=p/(n-p);
printf("C%d = %.3f*C\n",p,C);
end
|
1e3ce7d56684fd78fb5eb3a80e54c133cc0bc3d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH1/EX1.26/Example1_26.sce | 65b44643ce650da0f8e0fb0d9405cf418b92b66f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Example1_26.sce | clc
// Given That
a = 12e-5 // slit width in cm
lambda = 6e-5 // wavelength in cm
//Sample Problem 26 Page No. 57
printf("\n # Problem 26 # \n")
printf(" \n Standard formula used \n a*sin(theta ) = lambda \n")
theta = asin((lambda / a))
printf(" Half angular width of central bright maxima is %d degree .", cei... |
0959c2026694a1ae0d2bf451eb53008582f55501 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.5.6/ex1_5_6.sce | dce33c4ee5300b701555907343f517fb3562a9a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | ex1_5_6.sce | //Chapter-1,Example1_5_6,pg 1-32
//for an ionic crystal exibiting HCP structure the arrangment of ions refere from textbook
//at centre we have a cation with radius rc=OA
//it is an touch with 6 anions with radius ra=AB
//OB=OC=ra+rc
//intrangle ODB ,m(angle (OBC))=60 degree ,m(angle (ODB))=90 degree
... |
9bc4c7ae77eb308a519724b281b31ad50d85a5f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH1/EX1.4/1_4.sce | d7a7b9548796e90b7b8b6c2f504c0660cd17b5fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | 1_4.sce | clc
//Initialization of variables
m=10 //lbm
a=32.1739 //ft/sec^2
g=32.1739
//calculations
F=m*a/g
//results
printf("Force required = %d lbf",F)
|
4086f3c6ea68b2424a5b8bc76c27edb8957cec9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH5/EX5.1/ex5_1.sce | 338da18e6c036a21ad1a3ab614a42f6c9cfe1691 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | ex5_1.sce | //Example 5.1
clc;
R=100*10^3; //Given value of resistence
C=1*10^-6; //Given value of Capacitor
Vin=1; //Input Voltage
t=1; //Given time
Vo=Vin*t/(R*C); //Output Voltage after time t
disp(Vo,'Output Voltage') |
e7b09b751ee4e64158f51372de5447b71089d5f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH11/EX11.05/11_05.sce | dfee3c9535de978ac2afb9ced99a93418b27d7dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | 11_05.sce | //Problem 11.05:
//initializing the variables:
T1 = 25; // in deg C
xa = 0.05
xb = 0.95
pa = 4150; // in kPa
pb = 16.1; // in kPa
//calculation:
P = xa*pa + xb*pb
ya = xa*pa/P
yb = 1 - ya
printf("\n\nResult\n\n")
printf("\n the pressure is %.1f kPa, composition of the first vapor is %.3f ehane and %.... |
e1376ccb05d9edeec622466ecb098a24f34d9d18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH2/EX2.2/ex2.sce | d705ef687563178034b691d178844a076af4385c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | ex2.sce | //example 2
//analysis of wind energy
clear
clc
v=8.5 //velocity of wind in m/s
e=v^2/2 //wind energy per unit mass of air in j/kg
m=10 //mass of wind to be considered in kg
E=m*e //energy in joules of wind of mass m
mf=1154 //mass flow rate in kg/s
Ef=mf*e //wind energy in W for a mass flow rate of mf
print... |
09b12e8e8fce43982c2e32047cb956261db6bc6e | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fminimax/Davidson2Problem.sce | ea7b78611c63508195f46b9fc16a1c56bbf108b8 | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,923 | sce | Davidson2Problem.sce | // J.Hald, K Madsen, Combined LP and quasi-Newton methods for minimax optimization, Mathematical Programming, Springer, 1981
// Min F = max|fi(x)|
// fi(X) = (X1 + X2*ti - exp(ti))^2 + (X3 + X4*sin(ti) - cos(ti))^2 where i varies from 1 to 20
// ti = 0.2i
// Global optima: X* = [-12.24368 14.02180 -0.45151 ... |
29d20d66b1f477cbc677f9ed953fbc5bbd039e6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH18/EX18.1/eg18_1.sce | 407e050cba5e632cdda1a842c362a26066b869d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 916 | sce | eg18_1.sce | clear;
//clc();
function [r,i]=d(mag,theta)
r=mag*cosd(theta);
i=mag*sind(theta);
endfunction
previousprot = funcprot(0)
funcprot(0)
ea=1;
za0=(%i)*0.08;
za1=(%i)*0.12;
za2=(%i)*0.12;
sb=25*10^6;
vb=11000;
zf=(%i)*0.03;
ia1=ea/(za0+za1+za2+3*zf);
ia0=ia1;
ia2=ia1;
mag=1;
t... |
978e434a58cbe91ec1f942384c4a39cfcea96eab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH3/EX3.8/Ex3_8.sce | 3a9ee3ba310b6b754d362018b23b06b691624d8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Ex3_8.sce | // Example 3.8
clc;
clear;
close;
// Given data
format('v',8);
Rf= 500*10^3;// in Ω
R1= 5*10^3;//in Ω
Vin= 0.1;// input voltage in V
Af= -Rf/R1;// voltage gain
Rin= R1;// input resistance in Ω
Rin= Rin*10^-3;// in kΩ
Rout= 0;// in Ω
Vout= Af*Vin;// output voltage in V
I_in= Vin/R1;// input current in A
I... |
9332ef897039906753a86cf1ae173731c460d27f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH7/EX7.3/ex7_3.sce | 32d796c4ecd0f578bcb6d97882402ed0ad645a19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | ex7_3.sce | clc;
clear all;
n = 125; // Number of fringes observed
d = 0.04e-3; // Distance moved
lambda = (2*d)/n; // Condition for interference
lamda=lambda*1e10;//conversion in Angstrome
disp('Angstrom',lamda,'The wavelength of light used is ')
disp('m',lambda,'The wavelength of light used is')
//rounding off value of ... |
b5677825d1b412ab4598de939b13c05104c2c140 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH5/EX5.5/Ch05Ex5.sce | 7761f3d43bd788a8de07ad609ed32d2175c7224d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ch05Ex5.sce | // Scilab Code Ex5.5 : Page-5.13 (2004)
clc;clear;
h = 6.62e-34; // Planck's const, Js
me = 9.1e-31; //Mass of electron, kg
delx = 1e-9; // Uncertainty in position, m
delp = h/(delx); // Uncertainty principle
delv = (delp/me); // Uncertainty in velocity, m/sec
printf ("\nUncertainty in velocity = %4.2e m/sec... |
7de918503c40a68af8e1c946809d8b2a07d38d9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH18/EX18.01.01/18_01_01.sci | b6b0a3d74373b65cdbc1146cbee5fc5ab8410399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sci | 18_01_01.sci | //symsum//
syms n z;
x=(-0.5)^n
y=(4*((0.2)^n))
f1=symsum(x*(z^(-n)),n,0,%inf)
f2=symsum(y*(z^(-n)),n,0,%inf)
y=(f1+f2);
disp(y,"ans=")
|
b2678929a6b47ad59c2d877efaa2e8bd01b624e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH27/EX27.5/Ex27_5.sce | 38b8ebebb52d38232e3c122b353c4012c7020e29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | Ex27_5.sce | //Example 27.5
lambda=550*10^-9;//Wavelength (m)
D=2.40;//Diameter (m)
theta=1.22*lambda/D;//Smallest angle between two point sources to be just-resolved (rad)
printf('a.Angle between the two just-resolved point light sources = %0.2e rad',theta)
r=2*10^6;//Distance from the Hubble Space Telescope (ly)
s=r*theta;... |
31aef49ecd7dda99695a61714fbc500f4cef1d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH8/EX8.15/Ex8_15.sce | 2e9beccdbd992eec146bbb26a907db1cb82275db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,023 | sce | Ex8_15.sce | clear ;
clc;
// Example 8.15
printf('Example 8.15\n\n');
printf('Page No. 247\n\n');
// This question doesnot contain any calculation part.
//refer Table 8.7
El = 35;// Percentage of electricity produced from primary fuel
En_1 = 50;// Endothermic gas (m^3)
En_2 = 100;// Endothermic gas (m^3)
En_3 = 200;// E... |
a2de34675f833f7c4314a6e361400d58a1b424e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH9/EX9.1/9_1.sce | cee4b573511a04bbcebc9119040af7ef36bcee9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | 9_1.sce | //Example 9.1
//Recurrence formula
//Page no. 288
clc;clear;close;
y(1)=5;
for i=2:7
y(i)=2*y(i-1)
printf('\ny(%i) = %g\n',i-1,y(i-1))
end |
6fb5b47ee3133c6ff0d184d664e5e09016c2d147 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.15/5_15.sce | bdb8930556043f754a801f7bebfa879c828b33b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | 5_15.sce | //pathname=get_absolute_file_path('5.15.sce')
//filename=pathname+filesep()+'5.15-data.sci'
//exec(filename)
//Pressure at point 1(in MPa):
p1=0.5
//Temperature at point 1(in K):
T1=400
//Pressure at point 2(in MPa):
p2=0.3
//Temperature at point 2(in K):
T2=350
//Gas constant(in kJ/kg.K):
R=0.287
//Value ... |
33d75e51b71b334d6f34bf97aa800a9a9da9fdad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH2/EX2.29/exmp2_29.sce | 65e2abac550997a9eabefc719574aba414d9b8a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | exmp2_29.sce | //Example 2.29
clc
disp("L_s = 0.8 H, C_s = 0.08 pF, R_s = 5 k-ohm, C_M = 1 pF")
fs=(1/(2*%pi*sqrt(0.8*0.08*10^-12)))*10^-3
format(9)
disp(fs,"f_s(in kHz) = 1 / 2*pi*sqrt(C_s*L_s) =")
ceq=(0.08*10^-12)/1.08
format(11)
disp(ceq,"C_eq(in F) = C_M*C_s / C_M+C_s =")
fp=(1/(2*%pi*sqrt(0.8*7.4074*10^-14)))*10^-3
... |
5e1d87a9d78c558ee4318e9ef400124128dd8f24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.10/ch6_10.sce | a4a62aa74884a2ee1f3656e3386fdc3ad97dbd36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | ch6_10.sce | clear;
clc;
V_s=230;
f=50;
a=50;
R=6;
E=60;
V_o=((sqrt(2)*2*V_s)/(%pi))*(cosd(a));
I_o=(V_o-E)/R; printf("avg o/p current=%.3f A",I_o);
//ATQ after applying the conditions
V_o=((sqrt(2)*V_s)/(%pi))*(cosd(a));
I_o=(V_o-E)/R; printf("\navg o/p current after change=%.4f A",I_o);
|
51075f9afcb9e66d7129764dfdd00f219c5d9ccb | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH11/EX11.10.f/ex11_10_f.sce | 5e9021916092c01a7936ae61245e6ad9957d0e39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex11_10_f.sce | //Example 11.10(f)
clc;
//Given values of bridge elements
R1=300;
C1=0.6*10^-6;
R2=100;
C3=100*10^-12;
//Value of Rx for Schering's Bridge
Rx=C1*R2/C3;
//Value of Cx for Schering's Bridge
Cx=C3*R1/R2;
printf('\nValue of resistence is %d ohm\n',Rx)
disp(Cx,'Value of Capacitance is') |
1fe7db652442c168b47b7398fac61f32433c394a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.5/8_5.sce | aa9c4aba770c4c8377c38ecb48901651e84a5ebc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,427 | sce | 8_5.sce | clc;
//page no 8-16
//Example 8.5
fsmin=400;//in kHz
fsmax=1650;//in kHz
IF=455;//in kHz
Csmax=300;//in pico Farads
f=1000;//in kHz
//Step:1 Calculate fomin,fomax, and oscillator capacitance ratio
fomin=fsmin+IF;
fomax=fsmax+IF;
//Let Comax/Comin be denoted by C
C=(fomax/fomin)^2;
disp(+'kHz',fomin,'fomin=... |
a5db17a6429745a87d50ff87493359b606ca4512 | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 8/TestCaseLoop.tst | d9a2e8484768eecc0f39b559417cb7352e36f691 | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | tst | TestCaseLoop.tst | load HackComputer.hdl;
output-file TestCaseLoop.out;
//Loading program into Instruction memory
ROM32K load TestCaseLoop.hack;
//Calculating the sum of the first 99 natural numbers=1+2+..+99
//Result is stored at address 17
output-list RAM64[17]%D1.9.1;
set reset 1;
tick,tock;
set reset 0;
output;
repeat 1400 {
tick... |
e670123b7fd734eb5153400bc1b91cf15433561d | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.17/2_17.sce | fdb722ba3adf1ae70265ff4a6089e43f89a592db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | 2_17.sce | //convert current sources to voltage
A=[95,-15;-15,135]
I=inv(A)*[20;-70]
i3=I(1)-I(2)
I60=0.5-I(1)
V60=I60*60
P1= 0.5*V60 //O.5 A source
I80=1+I(2)
V80=I80*80
P2=1*V80
disp(P2,P1) |
f8afdab06ec51921379c5ce6314abcec0ff62612 | 32628eeaaea81c4475c837bbc28215900d5834c9 | /11/Average/FromEytan/Average.tst | 3d4e0c81be33dbe944f7081357aa5711dd9eda58 | [] | no_license | annakz1/Nand-to-Tetris | ecb785d83354a5f611aa0d38d47a856b6d497062 | 303fd3321f4f642a0586b382d73e2608e117e9be | refs/heads/master | 2022-12-05T14:26:07.587507 | 2020-08-21T21:01:57 | 2020-08-21T21:01:57 | 261,866,800 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | tst | Average.tst | load,
output-file Average.out,
compare-to Average.cmp,
output-list RAM[20000]%D1.6.1;
repeat 1000000 {
vmstep;
}
output;
|
e31b13af9d0e8ba578c7973b6be2e84fef5de74c | 217afc33663ba0533cf6775c45d12223f5616fc0 | /Scilab/OraclePG.sci | 5f0684d9388d03fe6ef54168b29aca40998d0a53 | [] | no_license | VIsh76/Optimisation | b30fd593006cdd89f1d0510f9f9123a3fb5db1eb | 29e8ee916e53fcc5b6244de837982b8d258e531b | refs/heads/master | 2021-01-18T16:02:22.233606 | 2017-05-11T14:33:43 | 2017-05-11T14:33:43 | 84,542,502 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sci | OraclePG.sci | function [F,G,ind]=OraclePG(qc,ind)
F=0;
G=0;
x=q0+B*qc;
y=r.*x.*abs(x);
z=Ar'*pr;
if ind==2 then
F=(1/3)*x'*y+(x'*z);
elseif ind==3 then
G=B'*(y+z);
elseif ind==4 then
F=(1/3)*x'*y+(x'*z);
G=B'*(y+z);
end
endfunction |
62e41fa4eabe463c37629def0f69e24fd3a4b750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.1/Ex5_1.sce | efee7a474525aee4823ff02326ad19e89e27aa3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | Ex5_1.sce | clc;
//e.g 5.1
I0=2*10**-7;
Vf=0.1;
I=I0*(exp (40*Vf)-1);
disp('uA',I*10**6,"I=");
|
d4716472fa6cebfd669dfbb05df9ed8268fbbd8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH11/EX11.2/EXP11_2.sce | 273d6720683dd1d14ff462b02645b2ef31e1ad41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,084 | sce | EXP11_2.sce | clc;funcprot(0);//EXAMPLE 11.2
// Initialisation of Variables
%Sn=2;......//Amount of Tin Dissolved in alpha solid solution
%Sn2=10;.....//Amount of Tin Dissolved in alpha+beeta solid solution at 0 degree celsius
m=100;........//Total mass of the Pb-Sn alloy in gm
Pbm=90;.......//Total mass of the Pb in Pb-Sn a... |
a650831d7b36d712cbd6ca7ecd38b4667ba825c4 | 976f8d18f4b4e0d3498ddd93d84cb72db64f6a88 | /time2-2012/criacaoBancoImgs_orig.sce | 910691b64fb3e102a1e98fe429a95b1c3cd6bea1 | [] | no_license | rfabbri/aln-src | 4dc6aa39e23e7faa13eeaad64312a4b98a9139a7 | 87c4a623190743043cc2301c83ed646d476eeaf7 | refs/heads/master | 2021-05-08T19:47:16.034974 | 2018-01-30T18:44:15 | 2018-01-30T18:44:15 | 119,578,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,153 | sce | criacaoBancoImgs_orig.sce | //**************************************************
//* Algebra Linear Numerica *
//* Time 2 *
//**************************************************
SIPVIEWER='display';
stacksize(160000000);
sip_quiet;
//***********************ajustes*******************... |
bc34bfd2a92a2c31f3c0eb38f5ff7e091d2ca4ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.1/ex1_1.sce | 162429897f89033fcd5dbf7ee553c4233808c460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | ex1_1.sce | //Exa:1.1
clc;
clear;
close;
C_g=60000;//in Rs
D=0.12*C_g;//in Rs
E_c=75000;//in kWh
C_e=4*E_c;//in Rs
C_t=D+C_e;//in Rs
C_id=18750*10;//in Rs
AD=0.15*C_id;//in Rs
E_a=60000;//in kWh
C_ea=4*E_a;//in Rs
C_total=AD+C_ea;//in Rs
disp(C_t,'Total annual cost in case of group drive (in Rs)=');
disp(C_total,'To... |
09029bc7dedf7697c3e3b79c874c7e91f2ffbe18 | f7378eec5e8815bdba8a29ea1beec900bbac11b1 | /lab1/questao5.sce | 873e96f1411d9b9944e6115c20e8c520afdb38d4 | [
"MIT"
] | permissive | andersoncordeiro/ComputerVision | dba8ed6a1a6c890b2aa7b8d4159b07cf311e8c70 | 163bd0e9cbcb7f0046e5f46f78d3967785b0e8b4 | refs/heads/main | 2023-03-05T18:35:06.740972 | 2021-02-16T14:16:09 | 2021-02-16T14:16:09 | 339,419,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | questao5.sce | //Funcao que recebe caminho da imagem e faz o subsampling (Questao 5 - Celula)
function [Reduzida] = subsampling (imagem);
info = imfinfo(imagem);
[Img] = imread(imagem);
for c=1:3
for i=1:info.Height/2
for j=1:info.Width/2
Reduzida(i,j,c) = Img(2*i-1,2*j-1,c);
end
end
end
endfunction
//... |
158323bf4cde2de4039208268b1a6691dd8e91a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH13/EX13.20/Ex13_20.sce | 42d4ef36011b466e228e0e94a98709531d9e8693 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex13_20.sce | //As the entire question is theoritical
//theta is directly computed
theta=acosd(2/3) //degrees
//result
clc
printf('The value of theta is %f degrees',theta)
|
edaf7b6be9316c4d84736ba7ef9280b3ec3b1afd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH19/EX19.1/Ex19_1.sce | 43096baa5d1eecb1c86c5c7446100b2bf5aace7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Ex19_1.sce | //Example 19.1
q1=5000;//Charge moved by motorcycle battery (C)
q2=60000;//Charge moved by car battery (C)
delta_V=12;//Potential difference of motorcycle/car battery (V)
delta_PE_cycle=q1*delta_V;//Change in potential energy due to motorcycle battery (J)
delta_PE_car=q2*delta_V;//Change in potential energy due to... |
ef05b69e75d5bb140cf659e0f0222f0920b928c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.3/16_3.sce | fb17ec09366d2302d0ec0ce6197ddc71f114eea1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | 16_3.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.3
//calculation of the intensity of the sound wave
//given data
p0=2*10^-2//pressure amplitue(in N/m^2)
p0dash=2.5*10^-2//new pressure amplitue(in N/m^2)
I=5.0*10^-7//intensity(in W/m^2) of the wave
//calculat... |
5ae0c80ada3f454d069cd7dae2b7208610fed48e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH1/EX1.11/Ex1_11.sce | 4ea50164ce5035b8815573883abb1da00b131cb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | Ex1_11.sce | // Exa 1.11
format('v',7);
clc;
clear;
close;
// Given data
Rf=500;// in kohm
min_vvs= 0;// minimum value of variable resistor in ohm
max_vvs= 10;// maximum value of variable resistor in ohm
Ri_min= 10+min_vvs;// in kohm
Ri_max= 10+max_vvs;//in kohm
// Av= Vo/Vi= -Rf/Ri
disp("Closed loop voltage gain corres... |
5d848268f3f5b9086d1997a5f322cadc1acd605d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH24/EX24.2/Ex24_2.sce | 2a71d4091eea438ce35fea11f56b25bbc6e86a97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,427 | sce | Ex24_2.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
f=5... |
76dc241e980d7060cec307f44a29490ff2bc6e83 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH5/EX5.1/Ex5_1.sce | 6d3cba48d5307f8247c5260393918cb187968d6b | [] | 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 | 537 | sce | Ex5_1.sce | errcatch(-1,"stop");mode(2);//Caption:Find the coil pitch for (a)2-pole winding (b)4-pole winding
//Exa:5.1
;
;
P1=2;
P2=4;
S=10;//no. of slots
S_p1=S/P1;//slots per pole
y1=int(S_p1);//coil pitch in slots
S_s1=180/S_p1;//slot span
C_p1=S_s1*y1;//coil pitch(electrical)
disp(C_p1,'coil pitch for 2-pole wind... |
71e3f9ea2af58606c596bc7475ca903ec15f206a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH36/EX36.8/Ex36_8.sce | 533ad2e4e1558c764ec54349f110b25902be865c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Ex36_8.sce |
//To Calculate the Shunt Resistance for Galvanometer
//Example 36.8
clear;
clc;
i=2;//Maximumm Current in Amperes
ig=20*10^-3;//Minimum current required for one full scale deflection in Galvanometer in Amperes
Rg=20;//Resistance of Galvanometer Coil in ohms
Rs=(ig*Rg)/(i-ig);//Shunt Resistance for... |
e4d9ad183ae14a8f9762569bb9d9dec4a953668d | ebeb01647d8befa67b61bb30a7503abd26cc518e | /linSystemThreeUnknowns.sci | bd174757b9c5529212b085bbc91ba47192b7340c | [] | no_license | ciarap/Scilab_Labs | 153903c46c94492672c1da9497a030f548d3940e | af994c56ae44c4872a969cab376056dd18871f3c | refs/heads/master | 2021-07-04T20:12:39.635697 | 2017-09-25T22:53:15 | 2017-09-25T22:53:15 | 104,810,103 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sci | linSystemThreeUnknowns.sci | function[] = linSystemThreeUnknowns()
disp('Program to solve linear system of three equations')
disp('Equations are in the form a1x1+a2x2+a3x3= b , where -a- values are a row of the coefficients matrix,and -b- is a row of the right hand column of the system')
A=input('Enter matrix of coefficients: ')
b=... |
73f113dbe671ef7d462e278edeb3ee8a19b3c530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.32/ex32.sce | 60055d7b67329ec2ef975aa767575ddc130f4110 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex32.sce | clc
clear
//Input data
P1=1.5;//Thermometric properties at ice point
P2=7.5;//Thermometric properties at steam point
P3=3.5;//Thermometric property
//Calculations
A=[log(P2) 1
log(P1) 1] //Coefficient matrix
B=[100
0] //Constant matrix
X=inv(A)*B //Inverse matrix
t=(X(1)*log(P3)+X(2));//Require... |
9fdcc6876eba6813d09968bbfba920b353d66186 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/downsample.sci | b7e15541627dc48a1270473b3064a1ade281ec43 | [] | 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 | 2,081 | sci | downsample.sci | <<<<<<< HEAD
//Function File vary = downsample (x, n)
//Function File y = downsample (x, n, offset)
// Downsample the signal, selecting every nth element. If x
// is a matrix, downsample every column.
//
// If offset is defined, select every nth element starting at
// sample offset.
//
//
//Test cases:
//1.downsam... |
43457198601bf4a604e529c6dd803c3e3d5beabc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH12/EX12.4/12_4.sce | 6565559d0c158f3c118eb10ae3cc9500e9ff48ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 12_4.sce | clc
//Initialization of variables
P=6 //atm
T=273.2+25 //K
P=23.8 //mm
V=0.018 //lt/mol
R=0.08206 //lt am/deg mol
//calculations
dPa=V*P*4536/(R*T*760)
Pa=dPa+P
//results
printf("Pressure = %.1f mm",Pa)
|
5c13d18e5d55483d003680a51d27220038374af9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH7/EX7.15/7_15.sce | f32b21d0f0e0e8f6c568ce2b2c109b614fb5262e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_15.sce | clc();
clear;
// To calculate the conductivity of intrinsic silicon
ni=1.5*10^16;
e=1.6*10^-19;
mew_e=0.13;
mew_h=0.05;
sigma=ni*e*(mew_e+mew_h);
printf("conductivity is %f ohm-1 m-1",sigma);
M=28.1; //atomic weight of Si
d=2.33*10^3; //density in kg/m^3
v=M/d;
N=6.02*10^26;
N1=N/v;
printf("number of... |
96b753aa308724e3329dbd8938924ea9ebea6339 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /ejemplos/03_optimization/scilab/02_export_files/01_golden_search/golden.sce | 1a0cf541188b5bd5146fc6f4b5ffc6707c3ea936 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,186 | sce | golden.sce | function [xlow, x2, fx2, x1, fx1, xup, d, xopt, ea] = golden(funcion, xlow, xup, niter)
//****************************************//
fid = mopen('matriz.dat', "w");
if (fid == -1)
error('cannot open file for writing');
end
mfprintf(fid, "%s %s %s %s %s %s %s %s %s \n", 'xlow', 'x2', 'fx2',... |
5874d961a842a5b5abe5c40ebc6ce3e7c6fab4eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.15/15.sci | e326f59fe24ce28a5f8e37c1d297847d2d8f9831 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sci | 15.sci | clc;
clear all;
disp("temperature at interface")
La=0.12;//m
Lb=0.6;//m
//kA=0.25*(1+0.0009*t)
kB=0.8;// W/(m*C)
t1=1250;// degree C
tair=40;// degree C
delT=(t1-tair);
//kAm=0.25*(1+0.0009*(t2+1250)/2)
A=1;// area
//RthA= La/(kAm*A); thermal resistivity of fire clay
RthB= Lb/(kB*A); //thermal resistivity ... |
2598c388d0145d4af7b993eef8e02281e762d025 | ab09e5a4937ffab292814d816933592d9b393d6c | /test_suite/example.tst | 93f8ac28e036e37699d652a1ebfa46bd1c08c74f | [] | no_license | rmattes/clipsrules | a10fe624c98fe382ce2f859e97ff62fbf8892e64 | 3587f0a3edf136d95df8af20f07db90ed495665f | refs/heads/master | 2021-01-19T14:06:27.996826 | 2015-08-20T18:19:25 | 2015-08-20T18:19:25 | 41,115,524 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,884 | tst | example.tst | (set-sequence-operator-recognition FALSE)
(set-dynamic-constraint-checking FALSE)
(set-strategy depth)
(unwatch all)
(watch rules)
; mab.clp test
(clear)
(open "Results//example.rsl" example "w")
(load "compline.clp")
(load "mab.clp")
(reset)
(progn (dribble-on "Actual//mab.out") (run) (dribble-off))
(printout example ... |
4fbfbe840627c37910ad029764fd6e96dccb8f86 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH2/EX2.9/Ex2_9.sce | d227817c11e7390a1a36d4c1f04e0242cfa2b8e6 | [] | 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 | 424 | sce | Ex2_9.sce | errcatch(-1,"stop");mode(2);//caption:Find limiting error when measured voltage is(a)V1(b)V2
//Ex2.9
Ar=0.01//magnitude of accuracy(in V)
V1=50//measured voltage(in V)
V2=25//measured voltage(in V)
Vmax=100//maximum range of voltage
dA=Ar*Vmax
er1=(dA/V1)*100
disp(er1,'limiting error when measured voltage... |
960f234d5d09f3763b8ee76d743c432f3fd69d0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.28/7_28.sce | fe1b6496e074393af319d0653b091a22f55c4d05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | 7_28.sce | clear;
clc;
//Example - 7.28
//Page number - 262
printf("Example - 7.28 and Page number - 262\n\n");
//This problem involves proving a relation in which no numerical components are involved.
//For prove refer to this example 7.28 on page number 262 of the book.
printf(" This problem involves proving a relati... |
ca1eae93099ebe493a2b437b4494c71191b56fc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH5/EX5.9.6/exa5_9_6.sce | 501c1a61d98d9d553017107cfad134f9f1f21ce9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 705 | sce | exa5_9_6.sce | //Caption:calculate_gain_of_amplifier_Ka
//example 5.9.6
//page 103
//steady state equations: Ei=Vt+Il*Ra and Vt=Il*Rl
//where Vt=output_voltage, Rl=load_resistance, Ra=armature_resistance, Il=load_current,
syms Rl Ra Ka Er e;
Ei=450;
If=1.5;//field current
Kg=Ei/If;//generator_emf_constant
Vt=400;
//from st... |
56470138f50686dae22c00c9ff3e0f609b49d112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.7.5/Ex2_7_5.sce | d64b66f489f46c37fa6b170794cad31683c9238a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_7_5.sce | clear
clc
M1=76;//molar mass of CS2 in gm
w2=3.795;//weight of S in 100gm of CS2 in gm
w1=100;//weight of CS2
R=8.314;//in J/Kmol
Tb=319.81;//boiling point of CS2 in K
Tbp=319.45;//boiling point of pure CS2 in K
DelHm_v=351.87;//enthalpy of vaporization in J/gm
M2=(w2*M1*R*(Tb^2))/(w1*(Tb-Tbp)*DelHm_v*76)
pri... |
ec76745a853060a68197deafd160ed8dec2ee35e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH15/EX15.4/15_4.sce | 66f966b1e8b6726fe35731d9a46e62141a25611a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 15_4.sce | clear;
clc;
R0=600;R1=400;L=40*(10^-3);
R2=R0*R0/R1;
printf("-Other arm of lattice equalizer will have a resistance of R2 = %f ohms\n",R2);
C=L/(R0*R0);
printf(" -R2 resistance will be in parallel with a capacitance of C = %f microfarads",round(C*(10^8))/100);
|
ca7d9398e7b5049d4b370478d4bba68805559415 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/decide/monadeq.tst | 59d53f988c02deb37c4311e0b3d34f79b95ebb6f | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 221 | tst | monadeq.tst | RESET;
NAMECONTEXT MONADEQ;
DECLARE PREDCONST P Q R 1;
DECLARE INDVAR x y z w;
DECLARE INDCONST a b c;
monadeq exists x. x=a;
monadeq forall y. exists x. x=y;
monadeq forall y. forall x. (x=y imp (P(y) or not P(x)));
|
34929e64cb7683421eb7d06be19a73183e68288d | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH4/EX4.6/4_6.sce | b108ba24b231e504fb1fbb732477bc8816d2459d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_6.sce | clc
//initialisation of variables
W= -300 //lb
r= 4 //in
x1= 2 //ft
x2= 3 //ft
x3= 1 //ft
y1= 1 //ft
x4= 3 //in
//CALCULATIONS
F= -W*r/(y1*12)
By= -W*x1/(x1+x2)
Bz= -F*(x1+x2+x3+(x4/12))/(x1+x2)
Ay= -W-By
Az= -F-Bz
//RESULTS
printf ('Ay = %.2f lb',Ay)
printf (' \n By=%.2f lb',By)
printf (' \n Az=%.2f ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.