blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
496f1cfa5a99570cf2f73cc1cfd84a18f2473dd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.31/example5_31_TACC.sce | 3e01eb3fee6a5c8a3d10a295eecd92deba6c1b52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | example5_31_TACC.sce | //example 5.31
clear;
clc;
//Given:
c=1;//no. of components
p=1;//no. of phases
//To find the values of degrees of freedom
F=c-p+2;//Degrees of freedom
printf("Degrees of freedom is %f\n\n",F);
disp("Degrees of freedom 2 means both the pressure and temperature can be varied independently");
|
19a7903172a95344727bf0f7711586fbb5a58003 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.6/Ch03Ex6.sci | 4c9e9e5eb1705dce6cc42846f2e94d78921efd7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sci | Ch03Ex6.sci | // Scilab code: Ex3.6 : Comparison of energy of photon and neutron: Pg: 79 (2008)
m = 1.67e-027; // Mass of neutron, kg
L = 1e-010; // Wavelength of neutron and photon, m
c = 3e+08; // Velocity of light, m/s
h = 6.624e-034; // Plancks constant, joule second
U_1 = h*c/L; // Energy of photon, joule
/... |
7c7eaa1bd4e7ff400baef0234517763cdbe02905 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/ECSSLimits/ECSS_zout.sci | 2923cf0e74122d9c486f164bbf622ae6576d84bd | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sci | ECSS_zout.sci | //function to plot Zout_cl against ECSS curve
function [mag,flog,mask]=ECSS_zout(Zout_cl,Po,Vo)
flog=logspace(0,5,10000)
[flog,response]=repfreq(Zout_cl,flog)
mag=abs(response)
zlimit=Vo^2/Po;
mask=ones(flog)*0.002
slopeup_start=find(flog>10)
slopeup_start=min(slopeup_start);
... |
cd75ce663c0f1b38fc448b20872811e95dd06669 | 776c9715b4adba254a4ce6ad7391bae87e8086a2 | /nscnet/rcvrty.tst | 59cc347d1e762da9b4a1a2cdb95556b7b61c90e8 | [] | no_license | TYMCOM-X/169279.tape | b0cf2f2cc6a400acb6b0ca2f44ef17f0a4854666 | a80150749ad1dc588b6768dfd53c1a21cfc7d783 | refs/heads/master | 2023-03-23T08:41:21.289217 | 2021-03-19T11:26:42 | 2021-03-19T11:26:42 | 345,965,036 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,050 | tst | rcvrty.tst | :=======================================================================
:RCVRTY.TST
: PRODUCT: BBXS VERSION: 7.01
: DATE: 17 OCT 1990 AUTH: NIS.FURUTA
:PROBLEM:
: The case of 'lost sync' under 'SRCV' state, code jumps to RCVRTY and
: check whether RCVTIM is over or not. But original code... |
c1149e525c72c0ae23cc8c2cd98e764e465fea71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH6/EX6.6/Ex6_6.sce | 431e1567af7531baa2fd894bebba94dac84fee59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | Ex6_6.sce |
//chapter 6
//page no155
//Ex6_6
//given
clear;
clc;
Impd1=250; //in microA
Impd0=25; //in microA
Iref=(1/16)*Impd1*10^-6;
printf("\n Reference current is %0.3f microA",Iref*10^6)
Rref=1.5/Iref;
printf("\n External bias resistor value Rref1is %0.0f kohm",Rref/1000)
//or
Rref1=24/Impd1/10^-6;
pri... |
d5174b4ab14c96d96eea3600b482f50a080c7cf6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%p_l_r.sci | d6065aa42e9720ad217f6c19f337348f5f761d5f | [
"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 | 204 | sci | %p_l_r.sci | function f1=%p_l_r(p1,f1)
// f1= %p_l_r(p1,f1) <=> f1=p1\f1
//!
// Copyright INRIA
[l,c]=size(p1),
if l*c<>1 then f1=invr(p1)*f1,return,end,
[n1,d1]=f1(2:3),
[n1,d1]=simp(n1,p1*d1),
f1(2)=n1;f1(3)=d1;
|
f6f27f576d3a1f4b2354e18e4d27889c0aaf4cea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH7/EX7.1/Chapter7_example1.sce | b7929842eb59edcb7900d4e6ea0ebf9c1de9715a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | Chapter7_example1.sce | clc
clear
//Input data
f1=-12//Focal length of a converging lens in cm
f2=25//Focal length of a diverging lens in cm
d=8//Distance between the lens in cm
//Calculations
C=(1/f1)+(1/f2)+(d/(f1*f2))//Inverse of focal length in cm^-1
D=(d/f2)+1//Constant value
A=(d/f1)+1//Constant value
O1F1=(-D/C)//Poistion o... |
70d08cac7a917138c8eb5a39fe84d96c0a41b853 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.7/exa7_7.sce | d5190b0ce6c7b23a9c39f03ea3fff83341881073 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | exa7_7.sce | // Example 7-7
// Bode Plot for a system in State Space representation
clear; clc;
xdel(winsid()); //close all windows
A = [0 1; -25 -4];
B = [0 ; 25];
C = [1 0];
D = [0];
G = syslin('c',A,B,C,D);
omega = logspace(-1,2,100);
f = omega / 2 / %pi;
repf = repfreq(G,f); // Frequency response
bode(omeg... |
a37dab275b484d941770bd401e94e2caea2e4859 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.11/Ch04Ex11.sce | a34d39d996276a94ce0e1fbfb9c9fb7bd0ad59d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | Ch04Ex11.sce | // Scilab code Ex4.11: Pg:148 (2008)
clc;clear;
x0 = 12.34; // Position of zero order fringe, mm
Lambda = 6000; // Wavelength of light, angstrom
Lambda_prime = 5000; // New wavelength of light, angstrom
omega = 0.239; // Fringe width, mm
omega_prime = Lambda_prime/Lambda*omega; // New fringe width,... |
563a827721fa650c982782bd565fb7ae3a3e9047 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH3/EX3.7/7.sce | 67f89cbdccb7730c82b6c379ee7b521b902e04ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,078 | sce | 7.sce | clc;funcprot(0);
//Example 3.7
//Initializing the variables
l = 20; // Length of barage
b = 6; //Width of barage
r = 3; //Radius of circular top of barage
W = 200*10^3; //Weight of empty barage
d1 = 0.8; // Depth of water in 1st half
d2 = 1; // Depth of water in 2nd half
rho = 1... |
97e950459ed605aab261949c05d60721ab3f2f90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH3/EX3.14/example_3_14.sce | 96ed5ccdf77fe48df3e15c9a7ddcf439baed8f96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | example_3_14.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 3
// Thermal Radiation
// Example 3.14
// Page 147
printf("Example 3.14, Page 147 \n\n")
D = 1 ; // [m]
r = 6250 ; // [km]
D_surf = 300 ; // [km]
s = 5.670*10^-8;
e = 0.3 ;
Tc = -18+273 ; // [K]
T_surf = 27+273 ; // [K]
// Rate... |
b9ebfeab5bfdf6c3f088e9fb47abe3cb74f10f64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH20/EX20.7/example20_7.sce | ceec6b5ccd04805d43ede4f3b589ad043879f6fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | example20_7.sce | clc
// Given that
V = 12.4e3 // voltage in V
i = 2e-3 // current in amp
e = 1.6e-19 // charge on an electron in C
// Sample Problem 7 on page no. 20.9
printf("\n # PROBLEM 7 # \n")
printf("Standard formula used \n ")
printf("I = ne \n 1/2*m*v^2 = eV \n")
n = i / e
v = 0.593e6*sqrt(V)
printf("\n Number of electrons str... |
7bf75b5d4b00af59024556f59321b5dd7f323640 | 6a0d5ad524ce9b230c7e35af224317d515bb8f2d | /ResilienceMSY/Traj_msy.sce | 6edca17c04c0d86d76faaf2130bdc7380b080e50 | [] | no_license | mcuilleret/Entropic | b562ded98cbb74ad55579b6be5730767f24f4f2b | 0dd4e8bacb312015cd6c3b04b732ebd69de4ac23 | refs/heads/main | 2023-08-13T07:07:02.684153 | 2021-10-05T10:28:19 | 2021-10-05T10:28:19 | 413,753,215 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 965 | sce | Traj_msy.sce | chdir('C:\Users\matve\Desktop\Code These\ResilienceMSY\');
exec('fctdyn.sce');
exec('fctdyn_eco.sce');
////////////////////////////
//Parametre de lancement
////////////////////////////
nb_boats_Post_BAU=nb_boats_MSY;
aij=data_param(2:2+N_species-1,2:2+N_species-1);
choc=0
Y=20;
PopGuyTr=PopGuyTrim;
//PROBLEME
exec('Dy... |
c7fc06c625b4a9b27a2575ba2a00811859c31704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH3/EX3.9/example3_9.sce | 3dd400cc4541f15d422b8214c8e6ac09abcc2996 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,843 | sce | example3_9.sce |
clear;
clc;
printf("\t Example 3.9\n");
Cas=1.521*10^-7;
v=1525; //velocity in m/s
D=0.0516; //diffusivity in cm^2/s
d=1.25*10^-3; //density of air in g/cm^3
u=1.786*10^-4; //viscosity of air in n*s/m^2
Dia=2.54; //diameter in cm
nre=(Dia*v*d)/(u); //calc. of reynolds no.
... |
88212bee0b19f2d569ab4919587624a162b8d9f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH8/EX8.14/814.sce | 5360d290ed4a3e8332e41d554e616f71dfcd0287 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 814.sce | // problem 8.14 sce
d=0.05
V1=25
x1=30
x=50
x2=x1+x
g=10
p1=1000
a=3.142*d*d/4
w=g*p1
Fx=(w*a*V1*V1*(cosd(x1)-cosd(x2)))/g
Fy=(w*a*V1*V1*(sind(x1)-sind(x2)))/g
F=(Fx*Fx+Fy*Fy)^0.5
z=atand(-Fy/Fx)
disp(z,Fx,Fy,"resultant force,angle made by the resultant force with the horizontal")
|
778788f3a49b78106339c3ba02b349eb5331a405 | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/Plot_Hs.sci | 4581d07168a88d2dafc9c03336a81c8aa7df6ba8 | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sci | Plot_Hs.sci | function Plot_Hs(Hs,cor)
N=10000
b=coeff(Hs(2))
a=coeff(Hs(3))
npolos=length(a)-1
nzeros=length(b)-1
logw = linspace(-6,6,N)
s=%i*(10.^logw)
num=zeros(1:N);
den=zeros(1:N)+0.0001;;
for p=0:npolos
den=den+a(p+1)*s.^p;
end
for p=0:nzeros
num=num+b(p+1)*s.^p;
end
H=num./den
plot(logw',2... |
c2e711842b3816c41a72cfeed381ecc4f64f89e2 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/vmm16x16_sr.sce | 0551bc72b69486d267214537674f305df7a98296 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | vmm16x16_sr.sce | //style.fontSize=12;
//style.displayedLabel="<table> <tr> <td align=left><b>Clk<br>CS<br>D<br>In</b></td><td>VMM<br>16x16<br>shift<br>register</td><td align=right><b>Clk_out<br>CS_out<br>Q<br>Out</b></td></tr></table>";
//pal5 = xcosPalAddBlock(pal5,"vmm16x16_sr",[],style);
|
abda505bd0e67c2310e65530def5778bc4ada7d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH4/EX4.8/Ch04Ex8.sci | 5652476c3b9d402db42ef737a8214b61464f8ad1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sci | Ch04Ex8.sci | // Scilab Code Ex4.9 Calculating metallic radii from unit cell dimensions: Page-146 (2010)
a_Au = 4.08e-10; // Unit cell dimension of fcc structure of gold, m
a_Pt = 3.91e-10; // Unit cell dimension of fcc structure of platinum, m
// For fcc structure we have
// sqrt(2)*a = 4*R, solving for R
R_Au = s... |
6aa5bcbb35faf9d8482ae16b1f880bf15663902f | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH3/EX3.14/ex_14.sce | 65309f0b0ce6ce47f871af8ae96924877dee3e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | ex_14.sce | // Chapter 3_The Semiconductor in Equilibrium
//Caption_Position of Fermi Energy level
//Ex_14//page 121
T=300 //temperature in kelvin
kT=0.0259
ni=1.5*(10^10) //intrinsic carrier concentration
Efa=3*kT //Ef-Ea=3kT
Eav=0.045
Efif=Eg/2-(Eav)-(Efa) //The position of fermi level at the maximum doping
Na=... |
426f2b13a263362d24c831ce19a69ed4567c61f9 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/math/pi/pi_polygones.sce | 4c897949ad91e45df65c4622d65beda2f7dd8451 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 203 | sce | pi_polygones.sce | // Calcul de %pi
// S. CELLES
// Méthode des polygones (inscrits et circonscrits)
// Algorithme d'Archimède (encadrement de pi)
// http://membres.lycos.fr/villemingerard/Geometri/PiCalcul.htm
clear
|
6887a67ed20c18c5b7d60c2c0d74ed0cb382ef50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH5/EX5.10/Ex5_10.sce | 083c13617ae0d5319af2596e7e5a231a1f2a171f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | Ex5_10.sce |
// Variable Declaration
v = 220.0 //Voltage(kV)
f = 50.0 //Frequency(Hertz)
p = 752.0 //Pressure(mm of Hg)
t = 40.0 //Temperature(°C)
m = 0.92 //Surface irregularity factor
r = 1.2 //Conductor radius(cm)
d = 550.0 //Spacing(cm)
// Calculation Section
delta = (0.392*p)/(273+t) //Air... |
9c8a686a86cd78b44ede275f36b038ab1438af99 | 299ec76be485b8d1574b9216bbe8ac6763b2ade3 | /AI_Lab_Ex2/_ex1_AND.sce | 1c697e7a56f135826e09523ce0257f882a2f32f1 | [
"MIT"
] | permissive | parth2608/Artificial-Intelligence-Basics | 65d42ff4e495c11a2ba536e730714570a58b56c7 | b3a0378c7f5b9dbad91df9a6c29b5f30b865e088 | refs/heads/master | 2022-11-21T01:41:07.713381 | 2020-07-15T07:00:34 | 2020-07-15T07:00:34 | 279,790,254 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | _ex1_AND.sce | x1 = [0 0 1 1];
x2 = [0 1 0 1];
/*or i=1:length(x1_AND_x2)
if x1_AND_x2(i) then
c(i) = 1;
else
c(i) = 0;
end
end
*/
c = bitand(x1,x2);
scatter(x1, x2, 200, c, "fill");
|
c915efa5014f9a44373e84ddf78554ff657facca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.48/Ex5_48.sce | 1c3ae0d3dee157b5eb241c586edfcc9270f4be43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex5_48.sce | clear
//Given
I1=1 //A
E=1.5
I2=0.6
R2=2.33 //ohm
//Calculation
R=2*E/I1
R1=2*E/I2
r=R1-2*R2
//Result
printf("\n Internal resisatnce of each battery is %0.3f ohm", r)
|
2608a958fbefcdb092fb04ceab813dbbfeb514e3 | 11af1eb1c00f5192b6d8dc345ce72a83ca94595c | /4_stimuli_and_presentation_scripts/exp_3/RPSL_posttest.sce | 8341c6fe3daff04989f3acd5d10090690cfe1c7a | [] | no_license | avakiai/statistical-learning | 7e94f3a756e3acf782d3b3f2e4d73f0a0c550f1a | ada72d7957b9504070ebb6efaef1d8000e9f2bae | refs/heads/master | 2023-04-08T21:52:17.888030 | 2021-04-25T11:05:51 | 2021-04-25T11:05:51 | 284,672,107 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 10,759 | sce | RPSL_posttest.sce | #-----------------------------------------------------------------------------------#
# Posttest Session for Statistical Learning/Rate Perception Study
# Ava Kiai
#
# Log:
# 12/3/18 - Started file
# 12/10/18 - v.0.0
# 2/7/19 - v.0.1 Completed
# 3/7/19 - v.1.0 Redesigned how trial settings are... |
520b5f7eb61cc97fa76aa2af8b6829fe4c2d2c82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH8/EX8.11/Solved_Ex8_11.sce | 1221940d7eb3a2721148893ce3c0875e81cb7125 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Solved_Ex8_11.sce | //find fourier inverse of X(jw),X(jw)=exp(-1.5*%i*w).*(abs(w)<=1)+0.*(1<=w & w<=%pi)
clc;
clear;
w=0:0.1:2*%pi
X=exp(-1.5*%i*w).*(w>=-1 & w<=1)+0.*(1<=w & w<=%pi);
x=dft(X,1);
n=0:1:length(x)-1;
plot2d3(n,x,2);
xtitle('Graphical Representation of x(n)','n','x(n)'); |
45bea1a9b636968aa88c7bb838d8644254c5459f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.39/ex1_39.sce | 68e3d075932243c509e005f23003452b1ea71c71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | ex1_39.sce | // Exa 1.39
clc;
clear;
close;
format('v',6)
// Given data
V = 10;// in V
R = 10;// in ohm
// Current through resistance,
I = V/R;// in A
disp(I,"Part (a): The current through resistance in A is : ")
disp("Part (b) : Current through 10 ohm resistance will be Zero")
disp("Part (c): Current will be zero")
di... |
768d6b8c77b2aa2bfc86e577e9a57c1c04560a29 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Samples/ParticleEngine.SCI | cb1f05d08f27597b9a2d14377796ee541898e162 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,424 | sci | ParticleEngine.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
myviewport=T_getviewport;
myviewport.focaldistance=7;
sss.ambientlightcolor=color(0.05,0.05,0.05);
rootframe=sss.Universe;
createnew=true;
tx=rootframe.createtexture("star",DataDir+"\textures\star2.bmp");
pe=rootframe.add("PEngine")... |
b792a19efe9ffe2c0b36b7e159ff5d5f3ca1ed40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH6/EX6.4/Ex6_4.sce | cef3e2fad3bbacf315d49a89825e862e5b1f4422 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex6_4.sce | clear;
clc;
d = 6;// feet
l = 60;// feet
f = 15/2;// tons/in^2
E = 13000;// tons/in^2
k1 = 2*f/(12*d);// k1 = M_r/I
k2 = k1/(l*12/8);//k2 = W/I
y_c = (5/384)*k2*l^3 *12^3 /E;// inches
//If the giredr is of constant deapth and uniform strength, it bends to an arc of a circle of radius R
R = E*d*12/(2*f);// i... |
b3e44d8eb778221136a58f58d6797851a85726dc | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/myv.tst | ecc398285a88764fb5b9bb35e1d0b28d0e1c865d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,049,523 | tst | myv.tst | прояв прояв N;NOM;SG
прояв проявт N;NOM;PL
витемс витевтсть V;PL;3;PST;CAUS
витемс витьсы V;AC3S;SG;3
витемс витевить V;AC3P;SG;2;PST;PASS
витемс витевияк V;SG;LGSPEC_AMP;3;PASS
витемс витезель V.PTCP;SG;3;PST
витемс виттянок V;PL;1
витемс витевть V;AC3P;IMP;SG;2;PASS
витемс витить V;AC3P;SG;2;PST
витемс витевтьса V;AC... |
191eee242a39ee2084c8c1faacc7de0a5ba33d1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH34/EX34.1/Example34_1.sce | 05c29002423fa2c7994e73b538ae3b2a1810f250 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example34_1.sce | //Given that
d = 1.8 //in meter
P = 250 //in W
c = 3*10^8 //in m/s
mu = 4*%pi*10^-7 //in SI unit
//Sample Problem 34-1
printf("**Sample Problem 34-1**\n")
Erms = sqrt(P*c*mu/(4*%pi*d^2))
Brms = Erms/c
printf("The rms value of electric field is equal to %1.2eV/m\n", Erms)
Brms = printf("The rms value of ... |
9b061b34c4bdf0a8adbf49880fd66804c668af9e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH7/EX7.4/Ex7_4.sce | 4404fd986ad1c1f8f74e2bb13066a16681f73882 | [] | 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 | 189 | sce | Ex7_4.sce | errcatch(-1,"stop");mode(2);//Ex:7.4
;
;
A=50;
A_new=A+0.2*A;
b=0.1;
G=A_new/(1+b*A_new);
dG=8.33-G/8.33;
printf(" percentage change in overall volt gain = %f %%",dG);
exit();
|
d25a779d11ff570dddfe39714c31a5fc40577a00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH10/EX10.4/10_4.sce | c2f3af2fdb911e95841f2ea1282096012c903b85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_4.sce | clc,clear
printf('Example 10.4\n\n')
I = 500 //intensity_of_lamp
d=sqrt(4^2 + 3^2 )
//part(i) : Illumination below the lamp
E_1=I/d^2 //as cos(theta) is 1
printf('(i)Illumination below the lamp= %.0f lux',E_1)
//part(ii) : Illumination 3m away from vertical axis
theta=acos(4/5)
E_2= I*cos(theta)/d^2
pr... |
9ff85fc7f0c1f15d75014c8a5d6a392dbbfc1a40 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/parametersMissing.tst | 775059dedc458b5ece49d4d1a020526860d33bcf | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | tst | parametersMissing.tst | int successor(int x) {
return x + 1;
}
main {
int s;
s := successor();
return s;
}
|
08065fbf8530e1f85864150405b520dafdfef8c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH14/EX14.1/Ex14_1.sce | 9534b57950c3ac3bb61e798d036c5e20a46a8b36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sce | Ex14_1.sce | clear all; clc;
disp("Scilab Code Ex 14.1 : ")
//Given:
sigma_y = 310; //N/mm^2
db =18; //mm
rb = db/2;
Ab = %pi*(rb^2);
E = 210*10^3; //N/mm^2
da1 = 20; //mm
ra1 = da1/2;
Aa1 = %pi*(ra1^2);
La1 = 50;//mm
La2= 6; //mm
da2 =18; //mm
ra2 = da2/2;
Aa2 = %pi*(ra2^2);
Lb = 56; //mm
//Bolt A:
P_max ... |
bdfcfc06ccea907149a1e902675ff0ba7e940b23 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.31/Ex1_31.sce | 8fb8290985ddb10a87fe2f1a2f77f0f232bc818b | [] | 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 | 533 | sce | Ex1_31.sce | errcatch(-1,"stop");mode(2);//Example 1_30
;
;
//To find the wavelength of the light
D5=0.336 //units in centimeters
D5=0.336*10^-2 //units in meters
D15=0.59 //units in centimeters
D15=0.59*10^-2 //units in meters
m=10
... |
a07ed9d18d2b1ec141e74aa9f96d55cb6edf31c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH10/EX10.12/ex10_12.sce | 9ce0e30848e83b4d7f896c353493b8a79c4ba23d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | ex10_12.sce | // Exa 10.12
clc;
clear;
close;
// Given data
del_Vin = 5;// in V
FRR = 80;// in dB
// Formula FRR= 20*log10(del_Vin/del_Vout)
del_Vout=del_Vin/(10^(FRR/20));// in V
disp(del_Vout*10^3,"Change in output voltage in mV is : ")
|
2fd28034eb4e4978bf6e238f8f081cf531ce0208 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH6/EX6.9/exm6_9.sce | 061af9c51ba04813eb37463606cceea914cc7f41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | exm6_9.sce | //page no 187
//example no 6.9
//TURN OFF THE AIR CONDITIONER.
//to turn OFF the air conditioner, reset bit D7
//Assuming the same input as earlier as it is a continuation of previous example.
clc;
A=[1 0 1 0 1 0 1 0];
B=[0 1 1 1 1 1 1 1];
Y=bitand(A,B); //ANDing input (A) with B to keep the D4 bit always set
... |
11e4a56f46b095d61e41d34a9d03df38ee753de3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH5/EX5.5/5.sce | 180b5371755fca6eab938ce3ec19970dba4a866e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | 5.sce | clc
Qa=0.003/60; // m^3/s
Ca=20; // g/l
Co=0.126; // g/l
dp=3700; // N/m^2
p=1000; // N/m^2
d=0.1; // m
a=%pi*d^2/4;
Qi=Qa*((Ca-Co)/Co);
Q=Qi+Qa;
B=10/6;
Cd=Q/a/sqrt(2*dp/p/(B^4-1));
disp("Coefficient of discharge =")
disp(Cd)
|
aab2bc7973d659bc1d4d47a614151d8b0ef2fb8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH9/EX9.16/Ex9_16.sce | 3a9507d4423b3f19d56c8dffd91c9d3d7f14cd7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,648 | sce | Ex9_16.sce | clc
// At dead state of 1 bar, 300K
u0 = 113.1 // Internal energy in kJ/kg
h0 = 113.2 // Enthalpy in kJ/kg
v0 = 0.001005 // Specific volume in m^3/kg
s0 = 0.395 // Entropy in kJ/kg
T0 = 300 // Atmospheric temperature in K
P0 = 1 // Atmospheric pressure in bar
K = h0-T0*s0
// Part (a)
// At 1bar and 90 degree... |
33506e3f3d69356d8b102dd8e5fc1ba57fb3ee18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH5/EX5.3/Ex5_3.sce | f73f927412d5f55e08b085e3964720fc8597f530 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | Ex5_3.sce | //example-5.3
//page n0-141
//given
//lattice constant
a=1.54 //A
//wavelength of beam of light
lambda=1.54 //A
//according to bragg's equation
//n*lambda=2*d*sin(theta)
//following angles are given
theta1=20.3*(%pi)/180
theta2=29.2*(%pi)/180
theta3=36.7*(%pi)/180
theta4=43.6*(%pi)/180
//interplaner spad... |
77ded14753e03671b355ca8520532d02c19b2108 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH6/EX6.28/EX6_28.sce | 6911f7858af417da07eb53310b60ba5919c68481 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,207 | sce | EX6_28.sce | //Exa 6.28
format('v',6)
clc;
clear;
close;
// Given data
Beta= 100;
V_BEsat= 0.8;// in V
V_CEsat= 0.2;// in V
V_BEact= 0.7;// in V
V_CC = 10;// in V
R_E = 1;// in kΩ
R_C = 2;// in kΩ
R_B= 100;// in kΩ
Beta=100;
alpha= Beta/(1+Beta);
// Applying KVL to collector circuit
// V_CC= I_Csat*R_C +V_CE +R_E*I... |
e7012c401c04d7fa19f9fb908d5b0bd682e544d0 | 9c1679fe9e7e3791831c4b8371a70002356d26e3 | /exp4_sampling.sce | bcbaf53e8db1c1c2e4b20946f3e1ff1ba47ff1be | [] | no_license | prajakta98/OSTC | a5947113b6ffe9da1ea3301ab3d70bb34ec3d88d | 153cf64155d1e33c54271e711c49c4c945fbe6e6 | refs/heads/master | 2020-03-24T22:49:35.118555 | 2018-10-23T04:20:18 | 2018-10-23T04:20:18 | 143,104,662 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | exp4_sampling.sce | clc;
clear all;
clf;
t=0:0.001:1;
fc=input('Enter the frequency of carrier signal (square wave):');
fm=input('Enter the frequency of message signal (sine wave):');
a=input('Enter the amplitude of message signal:');
vc=squarewave(2*%pi*fc*t);
vm=a*sin(2*%pi*fm*t);
n=length(vc);
for i=1:n
if (vc(i)<=0)
... |
d0db48bc4add7ef7ac6c69caec557f039a5fb8aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH4/EX4.2/Ex4_2.sce | d32b7987b68ba3dfa7645a44147c5202fa48d06d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_2.sce | //Example 4.2, Page Number 152
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
clc;
n1=3.6//For GaAs/Air Interface
n2=1//For Air
//Using Equation 4.14
n3=n1-n2
n4=n1+n2
n6=(n3/n4)**2
n5=(n2/n1)**2
F=0.25*(n5)*(1-n6) //F is the Fractional Transmission for... |
b7864b0e86a06f28a151c756bf188f1f5864537d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH13/EX13.1/13_1.sce | 74c25e6151c9fb7339e050e85a6d9e6245c0654e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 13_1.sce | clc
//initialization of variables
v=2000 //ft/sec
P=14.7 //lb/in^2
g=1.4
T=10+460 //R
//calculations
c=sqrt(g*32.2*53.3*T)
Nm=v/c
Tratio=1+ (g-1)/2 *Nm^2
Tt=Tratio*T
Pratio=(Tratio)^(g/(g-1))
Pt=Pratio*P
//results
printf("Stagnation temperature = %d R",Tt)
printf("\n Stagnation pressure = %.1f lb/in^2",P... |
bc2b0ae25945890c92fbcf2bac24159b10aa1a2b | 8667898fde492ddc28b1a13f691abc256f30e1cb | /lab4_example.sce | 847501aed3d7ad283e56e5cb9f2f0c28f2fa8b7a | [] | no_license | lainys/tsisa | f269a87516470d14cebc1d13365980030f9258a5 | 15c07d1f4fa4d73b876d63982eba4de323b44b84 | refs/heads/master | 2020-08-02T15:34:16.743889 | 2019-09-30T18:58:14 | 2019-09-30T18:58:14 | 211,411,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,962 | sce | lab4_example.sce | function Res = min_bd_rastrigin()
Res = [-1 -1]';
endfunction
function Res = max_bd_rastrigin()
Res = [1 1]';
endfunction
function Res = opti_rastrigin()
Res = [0 0]';
endfunction
function y = rastrigin(x)
if ()(x(1)==x(2) || x(2)==x(3) || x(3)==x(1)) then
end
y = x(1)^2+x(2)^2-cos(1... |
e8bbffa1cf2514e0ed6cc00c21b7f5a9e3d4588e | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH12/EX12.12/eg_12_12.sce | f2082d37487df20e667076cdd3248e513aadcc3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | eg_12_12.sce | clc;
clear;
//1 is equivalent to A ad 2 to B and so on.
p1=['A' 'D']; //pairs in partition t(1 and 4 represents that 1st and 4th state are in the same block);
p2=['C' 'E'];
q1=['A' 'E']; //pairs in partition t^
q2=['B' 'D'];
q3=['C' 'F'];
disp("the following are the partitions of the machine M8");
disp("T... |
3e21e3a408ce87d34877681c83a946fe014fb5a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH1/EX1.8/Ex1_8.sce | 52f6e27807c4864ccc1564d405b1572ea861c5ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex1_8.sce | //page 12
//Example 1.8
clear;
close;
clc;
n = rand();
n = round(n*10);
disp(eye(n,n));
printf('This is an Identity matrix of order %d * %d',n,n);
disp('And It is a row reduced matrix.');
m = rand();
n = rand();
m = round(m*10);
n = round(n*10);
disp(zeros(m,n));
printf('This is an Zero matrix of order %... |
a6fb947659bf50c85ecc42e82bfe3cbcfad79e0b | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnJa/enja.8.tst | ac97b548ef7038ec9e57d4127c72dc8cf611da2c | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104,518 | tst | enja.8.tst | a a r n e ア ー ル ネ
a b d u s ア ブ ド ス
a c h a t z ア ハ ツ
a c h u c a r r o ア チ ュ ー カ ロ
a c k e r m a n ア カ ー マ ン
a c k e r m a n ア ッ カ ー マ ン
a c k e r m a n n ア ケ ル マ ン
a c k e r m a n n ア ッ カ ー マ ン
a c k e r m a n n ア ッ ケ ル マ ン
a d a n s o n ア ダ ン ソ ン
a d e e エ ー デ ィ ー
a f g h a n i s t a n ア フ ガ ニ ス タ ン
a g a f o s h i ... |
94ad887527ae8576f3d1044cc0529db3cfc613ae | dd74ff0f4455fe5c6e686a3d1adf644d088df841 | /src/testing/06092021.tst | 27e70511de367b3d80fbf774f8a73b0ee5a2ed6b | [] | no_license | alexandriapawlik/flux-dashboard | 2234fb585f0d021c0bb357ca0f250bf042c53913 | 34f45fcca2627c17ad77ff38bada884d206a16e9 | refs/heads/main | 2023-06-23T14:40:55.951436 | 2021-07-23T18:43:17 | 2021-07-23T18:43:17 | 373,291,377 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | tst | 06092021.tst | 2021-05-30 12:02:56,y,6,10.0
2021-06-08 10:05:10,z,7,12.1 |
64ff1e56a53c127f49cd250b00551aab116f877c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH19/EX19.2/19_02.sce | a872f8e7786acc934af51579e58c13650dfdcd6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | 19_02.sce | //Chapter 19, Problem 2
clc;
cmrr=90; //CMRR
Ad=150e3; //differential gain
Ac=Ad/10^(cmrr/20); //common mode gain
printf("Common mode gain = %.2f",Ac);
|
4c5887a2e9efb7e36483affdd942ec4813f15d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH3/EX3.1/Ex3_1.sce | 461af516d060952d020ab7146477cbd99c3a57ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex3_1.sce | clc
dV = 0.5 // Change in volume in m^3
P = 101.325e03 // Atmospheric pressure in N/m^2
Wd = P*dV // Work done in J
printf("\n Example 3.1")
printf("\n The amount of work done upon the atmosphere by the balloon is %f kJ",Wd/1e3)
//The answers vary due to round off error
|
9ac6cf16e9bb20c33e47f837eaf026d0bb7f5c51 | b554271da4bd1e132a522c332354cb16a812e00b | /testcases/RegressionTestSuite/2.0/EYUL_1Seg_VA_UB.tst | 1322b57c43353c11254a7c5ff97119ec5c3a9ce3 | [] | no_license | SirishaSabre/LISALibrary | f5388eb29c542482fa719a5d80dcfd6a3e158f51 | 7de11f8d3a8d3725fc2ec6af8741b48b8859b8cb | refs/heads/master | 2021-01-22T17:29:20.324429 | 2017-12-22T23:46:49 | 2017-12-22T23:46:49 | 85,021,599 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,514 | tst | EYUL_1Seg_VA_UB.tst | <?xml version="1.0" ?>
<TestCase name="EYUL_1Seg_VA_UB" version="5">
<meta>
<create version="9.1.0" buildNumber="9.1.0.399" author="admin" date="06/26/2016" host="banvi08mac844" />
<lastEdited version="10.1.0" buildNumber="10.1.0.283" author="admin" date="12/22/2017" host="LTXWD-SSDSV-01" />
</meta>
<id>3EDE65... |
0b63132fcf79e6a7cebeea2375c5fe683259769a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH9/EX9.2/ex9_2.sce | 2a1eef3289f76b353fa00b8c29d7e732f320c912 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | ex9_2.sce | // Exa 9.2
clc;
clear;
close;
// Given data
scale= 100;// in mV/cm
gh= 5.2;//amplitude of the graph in cm
PtoPamplitude= gh*scale;// in mV
disp(PtoPamplitude*10^-3,"Peak-to-peak amplitude in V is : ")
|
07e292054564bf910b9545345e93b2139fb8b93b | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.48/ques48.sce | d24dccc2dc2b0d5281fe187fb6e9c9213ab631fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ques48.sce | //ques48
disp('centre of curvature of given cycloid ');
syms a t
x=a*(t-sin(t));
y=a*(1-cos(t));
y1=diff(y,t,1);
y2=diff(y,t,2);
xx=x-y1*(1+y1)^2/y2;
yy=y+(1+y1^2)/y2;
disp('the coordinates x,y are resp :');
disp(xx);
disp(yy);
disp('which another parametric equation of cycloid ');
|
54e7e92cc67f9b0f13b3b02455d362931f515983 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH4/EX4.1/EX4_1.sce | 322ca6a1fd6bf3d4dc2a403dcddbd2159f4c4447 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,193 | sce | EX4_1.sce | //Chapter 4, Example 4.1, page 130
clc
//Initialisation
h=400 //height in Km
pd=1*10**8 //plasma density at height D
pe=1*10**10 //plasma density at height E
pf=3*10**11 ... |
d9a2051a566fa60fa8dfdbc88fa9734aae005bdb | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH6/EX6.5/Ex6_5.sce | 1f1f4a1f5f1d8c74ff3b9524fc979028123de2a9 | [] | 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 | 306 | sce | Ex6_5.sce | // Variable declaration
n1 = 7 // Smaple-1 size
n2 = 13 // Smaple-2 size
// Calculation
// Using Table-6, for v1 = 6 and v2 = 12 ,F(0.05) = 3.00 thus probability is 0.05
P = 0.05 // required probability
// Result
printf ( "required probability: %.2f",P)
|
e6dc7c00af6a9b035b6bad72a37456fb77ed8430 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.3/Example7_3.sce | 34a6a4e505a91b63578869a1127be0bf8f91f47f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sce | Example7_3.sce | //Example 7.3
//Program to Calculate Operating Point Coordinates of the Circuit
clear;
clc ;
close ;
//Given Circuit Data
Vcc=10; //V
Rb=100*10^3; //Ohms
Rc=1*10^3; //Ohms
Beeta=150;
//Calculation
Ib=(Vcc)/Rb;
Ic=Beeta*Ib;
Icsat=Vcc/Rc;
Vce=Vcc-Ic*Rc;
//Displaying The Results in Command Window
printf("T... |
79a3569da9061560418dd1837dcb6f898305c9ef | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_2/Scilab_programs/ln(9_upon_b).sce | de9eadd9e68235a0f17227575de65f1bba95d2e6 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | ln(9_upon_b).sce | clear
close
clc
b = 22:22:2200;
y = zeros(b)
for i = 1:1:length(b)
y(i) = log(9)/b(i)
end
plot(b,y)
|
4f8aca7329702eca5cf744a734e0c90f86fa2f33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH9/EX9.32/EX9_32.sce | 38ea1f46a495af1e2999c1aacc6d7be35dd09dd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX9_32.sce | //Example 9-32 PG NO 618-619
P1=1-%i*50;
P2=1+%i*150;
Z1=0+%i*50;
I=[0.2*Z1]/[P1*P2];
disp('i) Current (I) is = '+string ([I]) +' A ');
L=5; //INDUCTAR
R=10; //RESISTANCE
C=2*10^-5;
Wo=1/sqrt(L*C);
disp('ii) Wo... |
15646b3f08a850e5be2b9d5ecb449187ca5eb3ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH8/EX8.5/Ex8_5.sce | e0ae08e6255bb95bae7e2267b141df42703ec93c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | Ex8_5.sce | //================================================================================
// chapter 8 example 5
clc;
clear;
// variable declaration
mo = 9.11*10^-31; // mass of electron inkilograms
e = 1.6*10^-19; // charge of electron in coulombs
er = 13.2; //relative permit... |
46fe48bd0033287e453337345d5f773cbfdf74c7 | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/buttap.sci | 9c2e08d918031bb493c08254ef2366320f24f337 | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 872 | sci | buttap.sci | function [z, p, g] = buttap (n)
//Design a lowpass analog Butterworth filter.
//Calling Sequence
//z = buttap (n)
//[z, p] = buttap (n)
//[z, p, g] = buttap (n)
//Parameters
//n: Filter Order
//z: Zeros
//p: Poles
//g: Gain
//Description
//This is an Octave function.
//It designs a lowpass analog Butterworth filter of... |
23289fe7e9d7d0b4ca7e278287a43c9dc2ace65f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH35/EX35.2/35_2.sce | f15b7363c675cf4755ca6c460f0acb0ce28f007b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 35_2.sce | clear//
//Variables
CMRR = 90.0 //Common-mode rejection ratio (in Decibels)
Adm = 30000.0 //Differential gain
//Calculation
Acm = 10**(-CMRR/20.0) * Adm //Common-mode gain
//Result
printf("\n The common-mode gain is %0.3f .",Acm)
|
0a0a5d3c5729088fc5e792aab3e791e8f06bd7d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH9/EX9.14/ex9_14.sce | 70ce363498b82cd18703bb6bf68b8901af25dcec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | ex9_14.sce | //Page Number: 488
//Example 9.14
clc;
//Given
e0=8.854D-12;
er=13.1;
vd=2.5D+5; //m/s
e=1.6D-19;
mu=0.015; //m2/Vs
//Criteria
n0L=(e0*er*vd)/(e*mu);
disp('m^-3',n0L,'n0L should be greater than');
|
067f41949b17b8476dab6d123fa93c8f0b046800 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH25/EX25.3/ex_25_3.sce | 396bead046c994b27df84ca64c4544c88d3f193d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | ex_25_3.sce | //find..
clc
//solution
//given
r=0.16//m
u=0.3
P=600//N
//taking moment abt point A
//Rn=Ft/u
//Rn*350+Ft*(200-160)=600*(400+350)
Ft=600*750/1207//N
Tb=Ft*r//N-m
printf("torque acting is,%f N-m\n",Tb) |
9a2391bf65a0b3c4a4737ae41e9d3916f37c0de4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/util/sp_sum.sci | 977d9133b09214deee6bfe3009d50150e7aa4a77 | [
"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 | 180 | sci | sp_sum.sci | function a=sp_sum(a,flag)
// Copyright INRIA
[m,n]=size(a);
if flag==2|flag=='c' then
a=a*sparse(spzeros(n,1)+1);
end
if flag==1|flag=='r' then
a=sparse(spzeros(1,m)+1)*a;
end
|
a0adf755e73e065c511a794a101b943ae284f075 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH3/EX3.1/Ex3_1.sce | 7613d8f6561ff1e455e79cf686ec60ad7ea4c29f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 879 | sce | Ex3_1.sce | //Effect of variable specific heat on efficiency
clc,clear
//Given:
r=7 //Compression ratio
g=1.4 //Specific heat ratio(gamma)
cv=0.718 //(Assume)Specific heat at constant volume in kJ/kgK
dcv=1*cv/100 //Change in specific heat in kJ/kgK
//Solution:
R=cv*(g-1) //Specific gas constant in kJ/kgK
eta=round(100*(1... |
27ea9233c8ba20d9f01a287dae1884137c445b52 | 61129043aed87983b640a33b1c260316043fa570 | /ui/windows.sci | b5918f5a7ff106ad31796700a3305f39abfd8d05 | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,310 | sci | windows.sci | // =============================================================================
// gfx4scilab - ui
// dgerod@xyz-lab.org.es
// =============================================================================
//------------------------------------------------------------------------------
// MainWindow
//---------... |
a63eaed1e44a62804007c8d20a7bfa3032e86e3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.21/11_21.sce | a1b6e46fa696418ab709b27773fd29859af1cc91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 11_21.sce | //pathname=get_absolute_file_path('11.21.sce')
//filename=pathname+filesep()+'11.21-data.sci'
//exec(filename)
//Ambient air temperature(in K):
Ta=27+273
//Temperature of burnt gases(in K):
Tg=630
//Air consumed at rate(in kg air per kg of coal):
m=15
//Ratio of actual draught to thereotical draught:
r=0.60
... |
c06149b90ff468765c91c4190475796832308641 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH8/EX8.7/Ex8_7.sce | 3a420f876a2eb0db2d078f13a234cf66bc1c9be1 | [] | 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 | 581 | sce | Ex8_7.sce | clc
// Intialization of variables
Q = 600/60 // ft^3/s
D = 8/12 //ft
A = %pi*(D^2)/4 //ft^2
d = 2.38*(10^-3) // slugs/ft^3
u = 3.74*(10^-7) // lb.s/ft^2
f = 0.017
g = 32.2 //ft/s^2
l = 30 //ft
d1 = 7.65*(10^-2) //lb/ft^2
//Calculations
V = Q/A //ft/s
Re = d*V*D/u
Hp = f*l*(V^2)/(D*2*g) //ft
Pa = d1*Hp*Q... |
4bd24128b91712fddad555c6b0fa98edc6d57015 | 2875b7a7a87e6280e5aac1fb50dc04dfbcc23d3f | /lec/mdyn/scilab/vib-res.sce | 7d1c23f781eee705e939ec05894bce9ac6c688e4 | [] | no_license | ktysd/ktysd.github.io | eb8946c877a6cb209960be57bfbcc1fe429abedd | 1e29a628e63ea476b4891da5c12276d1ae11c4a7 | refs/heads/master | 2021-04-26T15:07:02.322758 | 2020-11-02T07:33:51 | 2020-11-02T07:33:51 | 123,993,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 897 | sce | vib-res.sce | //
// "vib-res.sce"
//
clear; clf();
function dx = model(t,x)
dx(1) = x(2);
dx(2) = -0.2*x(2) - x(1) + cos(om*t);
endfunction
om1 = linspace(0.2,1.6,15);
x0 = [0; 0.1]; tt = linspace(0, 100, 300);
realtimeinit(0.1); //アニメーションの時間刻み
for i = 1:15
realtime(i);
drawlater(); //描画延期
om = om1(i); f = cos(... |
f627ca1eeb4033e9ef2ea6953c320995cba8582b | db47620eb918b5ba167a04b7de7005091a4f6402 | /S1/AN_TP/Test_time.sci | 55907034872aad1c67eb3a05cd2b42b7b40a1673 | [] | no_license | ZeyuC/ENSIIE | 04d13b3919084cac12d74dc9ca0fc7bd8bbb7d46 | c628c467de1ed91bf9eeb850b67717e5eb2697eb | refs/heads/master | 2021-04-15T08:15:16.823938 | 2019-04-09T08:06:39 | 2019-04-09T08:06:39 | 126,695,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sci | Test_time.sci | //fonction : 'Test_time'
//paremetre : A une matrcie tridiagonal,n est la taille de A
//retour ;
function Test_time(n)
A=zeros(n,n);
b=ones(1);
for i = 1 : n
for j = 1 : n
if i == j
A(i,i) = 3;
elseif abs(i-j) == 1
A(i,j)=1;
... |
c31310d8c325635ba2befeecf37556c3bb0bc069 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.2/Ex4_2.sce | 4b360065887f0b72af4889933b8124c69aa7232e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 874 | sce | Ex4_2.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.2
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
p = 8; // Number of the poles in Dc machi... |
49f51e5c934840822bc70de9d4b1d2cb80c69574 | e806e966b06a53388fb300d89534354b222c2cad | /macros/immultiply.sci | 542d9d5ee33eced65459bb2895ff926c27e541ba | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sci | immultiply.sci | function[multiplyMat] = immultiply(matA, matB)
out = opencv_immultiplyt(matA, matB)
channel = size(out)
for i = 1: channel
multiplyMat(:,:,i) = out(i)
end
endfunction
|
ba37cc35c910a0e7e0ea532ce4682493e5f78495 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.26/Ex1_26.sce | 23254fe757d2e3ff49b7b035f5934f284204b810 | [] | 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 | 310 | sce | Ex1_26.sce | errcatch(-1,"stop");mode(2);//Example 1_26
;
;
//tofind the amplitude of the resultant wave
pathdifference=1/4 //in terns of lamda
phasedifference=(2*%pi)*pathdifference //In terms of lamda
amplitude=2*cos(phasedifference/2) //in terms of a
printf("Amplitude A=%.3f*a",amplitude)
exit();
|
6edca61ef952b0978ab1b3afab57cc8e09876f46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH4/EX4.5g/eg4_5g.sce | 95f6ce8efe328d174b381f6b54e1dec80e4ad412 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sce | eg4_5g.sce | ProbXiequals1 = 1 - ((19/20)^10);
EXi = ProbXiequals1 ;
EX = 20*EXi;
disp(EX, "The expectation is") |
c03d46ebf72a56c8a03a2d36da2b21d3b9f2108b | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/Gradient/gradient conjugue lineaire.sce | 4cdaa6c657907d55d22c737d6ffd6a056af8130a | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | gradient conjugue lineaire.sce | clear
clf()
exec('C:\Users\Julien Guégan\Desktop\PFE\fonctions test.sce',-1)
function [x,n] = gradientconjuguelineaire(A,b,tol,itermax,x0)
x(:,1) = x0
grad(:,1) = b - A*x0
direction(:,1) = grad(:,1)
n = 1
while (tol<abs(grad(:,n)))&(n<itermax) then
alpha(n) = (grad(:,n)'*grad(:,n))./(direc... |
6284f1b1eae3c209b6b71ff979440ca8cfa21c1a | 2d085ee27e8361d07041fe8ff8ba91904d7ff7e5 | /vis_res.sci | f4720fdc89c0b67b1e829d56cfd64264e5bdd4f2 | [] | no_license | stomatch/traccalc.sci | 75a9cc4fca10858e57fa412f8f7fd6ff3f452d26 | 0f01a39053b417781847ffde1d3045ed8899a63a | refs/heads/master | 2021-05-04T11:53:52.898716 | 2017-08-06T18:47:49 | 2017-08-06T18:47:49 | 52,058,387 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sci | vis_res.sci | function vis_res (res)
j=0
for i=0:5:100
j=j+1
w(j,1)=i
w(j,2)=res(1)+res(2)*i+res(3)*i^2
end
subplot(223)
plot(w(:,1),w(:,2))
xtitle("Основное удельное сопротивление движению поезда","v, км/ч","w, Н/кН")
endfunction
|
6cea3f0bdad57a070bf21ce4102d698b5e0f4d02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH7/EX7.4/Example_7_4.sce | 842ed35600fadcaa1153e59112d18704f00bb7a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,415 | sce | Example_7_4.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
function[H]=HRB(Tr,Pr,omega)
B0=0.083-(0.422/(Tr^1.6));
diffr_B0=0.675/(Tr^2.6);//dB0/dTr
B1=0.139-(0.172/(Tr^4.2));
diffr_B1=0.722/(Tr^5.2);//dB0/dTr
H=Pr*(... |
5bb29414873d1d084b4fda21b35ddb53f703b429 | 16d8eaf852c1d5b7a4b5feb1f06de235fc436336 | /AF_IC_GA.sce | 009e9707f780fe02b31593d0b635fbb1d002f109 | [
"MIT"
] | permissive | aanfiel/trabalho_final | 13bc46df88d89733fbd9ed4ada24105ee10af6bc | 2521551fa9b88191f147b17c9e0c41cc0cd612c4 | refs/heads/master | 2020-11-23T22:26:34.776497 | 2019-12-13T20:30:27 | 2019-12-13T20:30:27 | 227,846,338 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,400 | sce | AF_IC_GA.sce | // TRABALHO FINAL DE INTELIGÊNCIA COMPUTACIONAL
// Aluno: José Lopes de Souza Filho
// Matrícula: 389097
// Aplicação: Scilab, versão 6.0.2
// SO: Linux Mint 19.2 Tina
//-----------------------------------------------------------------------------
//ALGORITMO GENÉTICO: CAIXEIRO VIAJANTE
clear; // Limpa as variáveis a... |
323f1619ffd730eec8dc4d05477054cc526b9c5a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/S00.prev.tst | 2906124776e128fda7ae01038f1da42b088ee56c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 65 | tst | S00.prev.tst | new PolyVector(" [ x^2 ,4 * y, y * z * 3 ] ") = [x^2,4*y,3*y*z]
|
107f6fce0a2a19331c9534cbba693383ca538bed | 463377b6374a24bbe111707a34e24949f3bd2543 | /Get.sci | f14851a9ada1733bb2ce452e86e6733e6c885ca4 | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,188 | sci | Get.sci | function []=Get(varargin)
//disp('Get')
tempData = varargin($)
f = fieldnames(tempData)
// disp(size(f,'*'))
if ~size(f,'*') then
if size(tempData,'*') == 0 then
printString = 'empty'
elseif isnan(tempData) then
printString = 'Nan'
elseif isin... |
7bdcaccec224c5dcdf203bec6d023dccd7d3a141 | 5565424cd712fe856334cee55c5f86c2fa58aa74 | /ultimo/Simpson.sci | 8c3a9d4f62aa64b85637ca8c8e514652d1d108a1 | [] | no_license | DericsonPablo/CalculoNumerico | 2402d6408704267f889eb999d49a0acbfa27500a | 8b2ea2bc9a98257c87046d80162a9dc2c4adf22a | refs/heads/master | 2020-07-31T05:16:48.105210 | 2019-09-24T02:46:12 | 2019-09-24T02:46:12 | 210,496,853 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sci | Simpson.sci | function[y]=simpson(a,b,n)
h=(b-a)/(2*n);
soma = exp(-a^2)+exp(-b^2);
i=a+h
while i<b
if i==(b+a)/2 then
soma = soma + 2*exp(-i^2);
disp("if");
else
soma = soma + 4*exp(-i^2);
disp("else");
end
i=i+h;
end
soma=soma*h... |
9fedb7d28bb9f06a0080b86beb61465d0a1e470c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH3/EX3.11/example3_11.sce | a7e19182527c852f70209063bba5372608248cd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | example3_11.sce |
//example 3.11
//calculate Dischage required at head of canal
clc;
//Given
Cr=2; //crop ratio
A=80000; //Area of field
CI=85; //percent field culturable irrigable
IK=30; //irrigation intensity during kharif season
IR=60; //irrigation intensity for rabi season... |
2fe4b78a2f48c0bd771660f48b8d75170f1a4a77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.9/3_9.sci | a7b50a9832bb2f84ec22909bb28ebfe5d4cdae99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sci | 3_9.sci | // Calculate the percentage limiting error and range of resistance values
clc;
disp('decade a is set at 4000 ohm, so,error in decade a=')
Er_a=4000*0.1/100;
disp(Er_a)
disp('decade b is set at 600 ohm, so,error in decade b=')
Er_b=600*0.1/100;
disp(Er_b)
disp('decade c is set at 30 ohm, so,error in decade c=')
... |
fb1d0d4cf2ddf0e87f572331053a72d56905946d | 9835e6a99ef801fdd06a9193c1846cae987d740a | /MissionsB/MissionB-2.sce | a713a39155a396f9f3c57d9ab739be8a53e64ab7 | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | MissionB-2.sce | //---------Mission B-2-----------
//-------------------------------------
// Améliorer le contraste de l'image
//
funcprot(0)
getd("../Fonctions")
missPath="./MissionsB/"
nomMission="MissionB-2"
// PBM--->matrice
img = readpbm(missPath+"GD61.pbm")
//Traitement de l'image
rendu = img;
//matrice--->PBM
writepbm(re... |
2e955d9ff9ed10ee8ad4118a3c6cda319749588f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH6/EX6.9/ex6_9.sce | 5baaff9b131d729a354a0199679c4efeaeedee41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | ex6_9.sce | //Page Number: 335
//Example 6.9
clc;
//Given
I0=500D-3; //A
V0=10D+3; //V
Z0=25; //ohm
l=.20; //m
f=5.93D+9; //Hz
//Gain parameter
C=((I0*Z0)/(4*V0))^(1/3);
disp(C,'Gain parameter:');
N=(l*f)/(0.593D+6*sqrt(V0));
//Gain
Ap=-9.54+(47.3*C*N);
disp('dB',Ap,'Gain of TWT:');
|
958bc2e6869c1881542596777180be50bad2b8f6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/size.man.tst | 03c0d30ae9d07246e9ffc275f7619005b35b3b67 | [
"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 | 142 | tst | size.man.tst | clear;lines(0);
[n,m]=size(rand(3,2))
[n,m]=size(['a','b';'c','d'])
x=ssrand(3,2,4);[ny,nu]=size(x)
[ny,nu]=size(ss2tf(x))
[ny,nu,nx]=size(x)
|
a56955e0d008c9ecdf737ea76c1c869b2065e27e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH15/EX15.8/Ex15_8.sce | 9141234206dca06254edd693484200d8acfc5f41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Ex15_8.sce | //Example 15_8
clc();
clear;
//To show using lines of force that a charge suspended with in cavity induces an equal and opposite charge on surface
printf("Lines of force come out of positive charge q suspended in cavity.\nCavity \nsurface must possess a negative charge since lines of force go and terminate on q.\nT... |
1bb36df58695db2eca444c78f0363797563b2bff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH9/EX9.5/ex9_5.sce | 730598e8f3a3e5ddbfef7ff80228f621911cc916 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | ex9_5.sce | clc;clear;
//Example 9.5
//given data
e=1.6*10^-19;//the charge on electron in C
m=1.676*10^-27;//mass of neutron in kg
c=3*10^8;//speed of light in m/s
h=6.625*10^-34;//Plank's constant
//calculations
E=1;//in eV
E=1*e;//in V
mv=sqrt(2*E*m);
W=h/mv;
disp((W/10^-10),'de broglie wavelength in Angstrom') |
35e02a15c135378b6307637f0c210bcb2807c52d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.53/example1_53.sce | 69cff1ff41affd6fbeebd3896c482a316a257c34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | example1_53.sce |
//exapple 1.53
clc; funcprot(0);
// Initialization of Variable
pi=3.14159;
GMT=17+5/60+2/3600;//
i=9.8565/3600*GMT;
GST=3+12/60+12/3600;
wl=1+18/60;//west longitude
RA=16+23/60+30/3600;
H=GMT+i+GST+wl-RA;//hour angle
H=H*15;
p=90-29-52/60;
c=90-52-8/60;
z=acos(cos(H*pi/180)*sin(p*pi/180)*sin(c*pi/180)+... |
656dac75d9fa742b5a133d4a8208d7a57141c41d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH18/EX18.7/18_07.sce | a9f04da8869835f11258292029cf47f9de3c405e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | 18_07.sce | //Chapter 18, Problem 7
clc;
//initializing the variables:
C = 0.1E-6; //capacitance in farads
R = 4000; //resistance in ohms
V = 200; //supply voltage
Vc1 = 2; // in volts
//calculation:
taw = R*C
I = V/R
t = -1*taw*log(Vc1/V)
printf("\n (a)Initi... |
9cf01c732cb36ce3807aa54969e9219c51729e4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch2_1.sce | bbb83e9ec4446ae80f139b6a87d373df5f7f1844 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 766 | sce | ch2_1.sce | clc
disp("Example 2.1")
printf("\n")
printf("Given")
disp("Resistance used is 4 ohm")
disp("Current flow is i=2.5*sin(w*t)")
disp("Angular frequency(w)=500 rad/s")
R=4;
iamp=2.5;w=500;
t=0:0.001:0.012566
i=2.5*sin(w*t)
Vamp=iamp*R;
printf("v=%d*sin(%d*t)(V)\n",Vamp,w)
pamp=iamp*iamp*R;
printf("p=%... |
55106275c73083a4550c4de2637ec587d65a56f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH4/EX4.5/Ex4_5.sce | fd9138efd11bacd2ce8994bb5ee1ca4de03ab4c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | Ex4_5.sce | //Chapter 4 Solutions Nonelectrolytes
clc;
clear;
//Initialisation of Variables
p = 17.4 //mm
m= 1000 //gms
M= 18 //gms
n= 2 //moles
//CALCULATIONS
P= p*((m/M)/((m/M)+n))
P1= p*(n/((m/M)+n))
dp= p-P1
//RESULTS
mprintf("Vapour pressure of solution= %.2f mm",P1)
|
f1429dea5c5e4cac5d1bd2d2c64fe0a658243645 | 629fb9fb7df86003cea762cbdb7330c87046adab | /GaussParcial - SemPivotamento.sce | 4c8cf959613f2f79dea6d2b46ad4b317bf1775f8 | [] | no_license | kayoakio/calculonumerico | e6ec2450c9f108a77b72c1847728f1a3c68b3f47 | 50812a8ab10c4aa5f118e3c741b258d5e0ce6dea | refs/heads/master | 2020-06-30T22:27:14.346012 | 2019-08-28T01:25:40 | 2019-08-28T01:25:40 | 200,967,046 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | GaussParcial - SemPivotamento.sce | function semgauss
A = input('Entre com A: ')
b = input('Entre com b: ')
[n m] = size(A)
for k = 1:(n-1)
for i = (k+1):n
multiplicador = A(i,k) / A(k,k);
A(i,k) = 0;
for j = (k+1):n
mA = multiplicador * A(k,j);
... |
96ff2091db816f4b9610600ec831e7140e7eb0c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.9/Ex6_9.sce | 1c54aa4eb663ec32fa9ccc3051d69f5aa996ff60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 723 | sce | Ex6_9.sce | clear;
clc;
printf("\t\t\tProblem Number 6.9\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.9 (page no. 252)
// Solution
T2=500+460; //absolute final temperature //unit:R
T1=80+460; //absolute initial temperature //unit:R
//The equation cpbar= 0.338-(1.24*10^2/T)+(4.15*10^4)/T^2 has a form , cbar= Ada... |
acbc5f23fd5ae15eb40b4142260d971c13f76dcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.3/Exa1_3.sce | 80b9e748a1418f9cea0ab430109aacca35bccbab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | Exa1_3.sce | //Exa 1.3
clc;
clear;
close;
//given data :
I=20;//in A
Rr=100;//in Ohm
//Formula : Wr=I^2*R
Wr=I^2*Rr;//in W
disp(Wr/1000,"Radiated power in KW : "); |
06a6f7d788ed2c336e8d494d794aebbe6f3254ee | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Beginner flick 500ms by Lukettin.sce | 743b037a6e18999401c454697df3e1ddbf2c5c6d | [] | 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 | 132,574 | sce | Beginner flick 500ms by Lukettin.sce | Name=Beginner flick 500ms by Lukettin
PlayerCharacters=A_air_pistol_frozen slower
BotCharacters=500ms.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=A_air_pistol_frozen slower
AddedBots=500ms.bot
PlayerMaxLives=0
BotMaxLives=100
PlayerTeam=1
BotTeams=2
MapName=square_1wall_clip_big.map
MapScale=1.3
Bloc... |
5b6087d7ec811fa7eaf1d359f6471fe529ded996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH16/EX16.3/Ex16_3.sce | a9db96f6c95c33a0a57a3a1ae82ecc9dfa641759 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Ex16_3.sce | clc
clear
//Initalization of variables
eff=0.585
heat=800 //Btu
t1=80+460 //R
p1=14 //psia
n=1.4
R=53.35
cr=9
cp=0.24
J=778
//calculations
W=eff*heat
v1=R*t1/(144*p1)
v2=v1/cr
t2=1301 //R
t3=t2+ heat/cp
v3=v2*t3/t2
v4=cr*v3
mep=W*J/(144*(v4-v2))
//results
printf("Mean effective pressure = %.1f psi... |
95ca10b463637d9839748b439b5e0a9479f032d8 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/EA39DWK/ATWM1_Working_Memory_MEG_EA39DWK_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 8a35f8fa6bf012cec2f3a1dde589e279fc151439 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
64eb93e08c1cbb574419627e2873f45b6f89ba1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH13/EX13.3.1/Ex13_3_1.sce | 3fbcd5cd19874b8c23e9b411066ada0c64de8499 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | Ex13_3_1.sce | //Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 13.3.1
clc;
clear ;
//given
//case 1
deltan=0.07;//Difference between refractive indexes of TE and TM modes
v=3.75E3;//velocity of sound in LiNb)3 in m/s
lambda=1540.56E-9;//opti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.