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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe9ea1343ffb2efd781be79b6d1c72a994733d25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH9/EX9.6/Ex9_6.sce | 6d9c4a4b1bde3fba3954b7dc5efa9bc67d3bd90f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Ex9_6.sce | clear
//variable declaration
//As supports A and B are simple supports and loading is only in vertical direction, the reactions RA and RB are in vertical directions only.
//summation of all horizontal forces is zero & vertical forces is zero.
P1=(30) //vertical down Load at 1m ... |
6aa6b7f02d71f785a276a52b2123b35c5a8f2534 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/man-examples/help.sce | 2f03a447499dcef5a1b5dc616728b5365a28fa95 | [
"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 | 120 | sce | help.sce | %helps = [%helps;
"../../examples/man-examples/helpdir1", "Title1";"../../examples/man-examples/helpdir2", "Title2";];
|
15c8343117b3c4569371ca6779f25adfc5bc61d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH5/EX5.3/Ex5_3.sce | 862b07c7ad1262b33d79d83a3af6f331251c610c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_3.sce | //Ex5_3 Pg-279
clc
Ic=12.427*10^(-3) //collector current in A
Ib=200*10^(-6) //base current in A
ICBO=7*10^(-6) //collector to base leakage current in A
Beta=(Ic-ICBO)/(Ib+ICBO) //Dc emitter current gain factor (value in texbook is wrong)
printf("\n Dc emitter current gain factor beta = %.0f",Beta)
Ie=Ic+I... |
2765c32171a78c2b876886aa86127b4541a757e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH6/EX6.14/6_14.sce | 68df5a803ea57fab480506059bf1c0c54f4e2b3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 6_14.sce | //Force required at the end of lever
d=40 //mm
p=20/3 //mm
W=40000 //N
R=400 //mm
mu=0.12
theta=atand(p/(%pi*d)) //degree
P=(d*W*(mu+tand(theta)))/(2*R*(1-mu*tand(theta))) //N
printf("Force required at the end of lever P=%0.2f N",P)
|
16ab24589eaeaf737d9ce6a060b62a531b7a9220 | 891e9f4e3fce67f553f07f24cef2e802423770b9 | /fgoalattain/fgoalattainTests/demo4.sce | 00888369f1054e705649bc3c90c39bf80efef2d0 | [] | no_license | animeshbaranawal/FOSSEE | ae6b6c1a39803ad0fb26780b7f960a62431c71d2 | 75b1b18dcfd935f7ebbe89b44573c8076dae4267 | refs/heads/master | 2022-06-24T14:20:49.508846 | 2022-05-30T17:13:09 | 2022-05-30T17:13:09 | 50,281,099 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | demo4.sce | function f4=objfun4(x)
f4(1)=x(2)-x(4)*x(4)*x(3);
f4(2)=x(1)*x(3)-x(2)*x(2);
f4(3)=x(5)*x(1)+x(4)*x(3);
f4(4)=x(3)^2+x(1)-x(2)*x(3);
endfunction
x0=[3,1,-8,-3,0];
goal=[9,0,7,9];
weight=[5,8,0,8];
A=[7,0,-3,5,2];
b=[6];
Aeq=[8,6,-4,0,2];
beq=[9];
lb=[4,6,1,7,6];
ub=[10,11,12,13,14];
[z,gval,attainfactor,exitflag,outp... |
713824089582590825d610a2a9f49d72d099d56d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH7/EX7.6/example_6.sce | 2bec3798ed1230805ef232dfe0a0ba2f38a8ce7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | example_6.sce | s=poly(0,'s')
a=(1+4*s);
b=s^2*(1+s)*(1+2*s);
d=a/b;
h=syslin('c',d);
clf();
nyquist(h)
// add a datatip
ax=gca();
h_h=ax.children($).children(2);//handle on Nyquist curve of h
tip=datatipCreate(h_h,[1.331,0.684]);
datatipSetOrientation(tip,"upper left");
|
81d03bc847a08094680a14ff69cd9621b0c75a9d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PDE2.prev.tst | ce76aa8dc282d5dffa2bb6a963718439865feac4 | [
"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 | 52 | tst | PDE2.prev.tst | (x^3 + x^2*y + y^2).derivative("x", 2) = 6*x + 2*y
|
545ba09e32dca85a379e9a1304a2259e4c3b99d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH17/EX17.6/example17_6.sce | de93a891f64aac0920bb91e41123483ee1789feb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | example17_6.sce | clc
// Given that
a = 4.28e-10 // cell side of Na in m
e = 1.6e-19 // charge on an electron in C
// Sample Problem 6 on page no. 17.20
printf("\n # PROBLEM 6 # \n")
printf("Standard formula used \n")
printf("R_h = 1/(n*e) \n")
n = (2 / a^3)
R = -(1 / (n * e))
printf("\n Hall coefficient is %e m^3/C.",R)
|
7c095c27d0ab9896a2570aac015f89a5caac4d16 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH9/EX9.1/Ex9_1.sce | f1bc6d380f6a79989f919445ffa156a7ae9d9652 | [] | 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 | 457 | sce | Ex9_1.sce | clc
//Initialization of variables
T = 90 // degrees
U = 25 //ft/s
//Calculations
funcprot(0)
function y1=f1(x1),y1=(20*1.24*(10^-3))/(x1^0.5),endfunction
I1=intg(0,4,f1)
function x=f(y),x=((0.744*(1-((y^2)/(4)))-(-0.893)))*10,endfunction
I=intg(-2,2,f)
// Results
printf("No lift generated ")
printf ("\ndrag... |
fa4f6ac644ee24716637df2380078884573a5894 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/sci2for/freewrk.sci | 262fb87278edfe8dc72dae70bcb1ce04bddc02b1 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sci | freewrk.sci | //[nwrk]=freewrk(nwrk,name)
//cette macro libere la place occuppe par la variable dont le nom est
//donne dans names
//!
// write(6,'-----------------'+name);pause
if part(name,1:7)=='work(iw' then
ext=part(name,8:length(name)-1)
if isnum(ext) then
nb=evstr(ext)
nw2=nwrk(2);
nw2(2,nb)=... |
8531d0122b54be7249aefddc52aa4b2f245f64fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH5/EX5.13/5_13.sce | 1786eae9358436514f5de98ad44dff1025ee5291 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_13.sce | pathname=get_absolute_file_path('5_13.sce')
filename=pathname+filesep()+'5_13data.sci'
exec(filename)
L=q*S*4*a/sqrt(M^2-1);
disp(L,"L=","L=q*S*4*a/sqrt(M^2-1)","Lift exerted on airplane L:")
printf("\Answer:\n")
printf("\n\Lift exerted on airplane: %f N\n\n",L) |
8c6cfb7c25175e6e8b130ab528a341d0a9443419 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH1/EX1.1.7/Ex1_7.sce | 61849dd7966c2e56c6cab03ef517948b1a572d1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex1_7.sce | clc
clear
m=2; //mass in kg
T1=30+273; //Temperature in K
T2=60+273;
Cp=4.187;
T=T2/T1;
X=double(log(T));
S=m*Cp*X;
printf('Entropy Change of Water: %1.4f kJ/K',S);
|
466ff264aa435e156d897c3337bea82f5ee3d9ba | 638792a4fe4462b8d15e3374e76b149c6f5ee3e0 | /PictureBADE/PictureBADE_practice.sce | 52775e0650424cec510813c1cc7a28d9028f56ca | [] | no_license | katielavigne/fMRI_tasks | 8cdb3bc63486a2b44118bc8b4c67b5799cd5080b | abd1f0b089f454531723186d50afdfa17912321c | refs/heads/main | 2023-09-01T12:59:35.488292 | 2021-11-03T12:26:15 | 2021-11-03T12:26:15 | 424,210,826 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,308 | sce | PictureBADE_practice.sce | scenario="PictureBADE_practice";
pcl_file = "PictureBADE_practice.pcl";
scenario_type = fMRI_emulation; # set for debugging
#scenario_type=fMRI; # set for testing
no_logfile = false; # set for testing
active_buttons = 3;
button_codes = 3, 1, 9;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
pulse_width=i... |
9169cdba95bbf8981e749ab2278e26cf35f041b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH4/EX4.8/Ex4_8.sce | 418ccce061191e1361c14ef8d254096ef0bee177 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ex4_8.sce | clear ;
clc;
// Example 4.8
printf('Example 4.8\n\n');
printf('Page No. 103\n\n');
// given
d = 0.100;// Diameter of pipe in m
T1 = 383;// Surface temperature in Kelvin
T2 = 288;// Surrounding air temperature in Kelvin
e = 0.9;// Emissivity of pipe
A = %pi * d;// Surface Area per unit length in m^2/m
// ... |
a2aa4c99f2bef0a4d3d167c22f55215bf7e3a5b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH9/EX9.18/9_18.sce | 4225244ba4d7a05be95412ed03066cab058a5895 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 9_18.sce | clc
//initialisation of variables
T1=40//k
T2=120//k
c1=0.076
c2=0.00026
c3=0.15
//CALCULATIONS
r1=c1*(T2-T1)
r2=(c2/2)*(T2^2-T1^2)
r3=c3*log(T2/T1)
ds=5*(r1-r2-r3)
//results
printf(' change in entropy = % 1f cal/k',ds)
|
f883b9bf4fd851755af9a16a6f920322d81bd393 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH3/EX3.5/ex3_5.sce | fce06ff60a325ce31abdc0363ba209df71dcdb47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | ex3_5.sce | clc;
u=14; //object distance in cm
f=-21; //focal distance in cm
v=(-5/42); //simplifying(1/f)=(1/v)-(1/u)
I=(3*-8.4)/(-14); //using m=(1/0)=(v/u);
disp(v,"Image distance in cm = "); //displaying result
disp(I,"I in cm = "); //displaying result |
79ded7e9801a341269738922605cfc69c2651a40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH8/EX8.3/Exa8_3.sce | 43baf74d980e92221cd71feb546bf1724645ae30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Exa8_3.sce | //Exa 8.3
clc;
clear;
close;
//Given data :
lambda=1300;//in nm
lambda=lambda*10^-9;//in meter
ETA=90;//quantum efficiency in %
h=6.63*10^-34;//Planks constant
q=1.6*10^-19;//in coulamb
c=3*10^8;//in m/s
R=(ETA/100)*q*lambda/(h*c);//in A/W
disp(R,"Responsivity of InGaAs in A/W : "); |
60412526c32feef687eb01ced7257faf0e7f6588 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH4/EX4.3/Ex4_3.sce | f386adfa2d4d1afca948161b278f03b2b5417243 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_3.sce | //Ex:4.3
clc;
clear;
close;
n=1.46;// core refractive index
p=0.286;// photoelastic coeff
b=7*10^-11;// isothermal compressibility
k=1.381*10^-23;// boltzmann's constant
tf=1400;// fictive temperature in k
y1=0.85*10^-6;// wavelength in m
yr=((8*%pi^3)*(n^8)*(p^2)*(b*k*tf))/(3*y1^4);
e=2.718281828;
akm=e^(-... |
69bcd63ff2cd773bf47dec0b915001b7821f9810 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535.zip/Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535/CH7/EX7.6/Ex7_6.sce | d3338c11efe88f7eb6a356e6e7f79e65bc616355 | [] | 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 | 178 | sce | Ex7_6.sce | errcatch(-1,"stop");mode(2);//Chapter 7, Example 7.6, Page 206
// Energy required
Z = 79
E = 700/Z
printf("E = %f MeV\n",E)
//Answers may vary due to round off error
exit();
|
5ab97abe9293303dd4601167a0a5af51f0c6a7c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH6/EX6.3/Ex6_3.sce | 603e1a3bd71dd251d96da9696dfe5235afdc2fcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex6_3.sce | //Ex6_3 Pg-336
clc
Rb=200*10^(3) //base resistance in ohm
Vcc=10 //supply voltage in V
Vbe=0.7 //voltage drop in V
Rl=2*10^(3) //load resistor in ohm
Beta=50 //transistor gain
disp("If Beta=50")
Ib=(Vcc-Vbe)/Rb //base current in A
Ic=Beta*Ib //collector current
Vce=Vcc-Ic*Rl //collector emitter voltage
p... |
6048c4c5f9d0e7593b1a98a77afcd43d1fbdd871 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.47/Exa2_47.sce | 67e4b3481001852d6ca02d0aa34b4a9329f50087 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | Exa2_47.sce | //Exa 2.47
clc;
clear;
close;
//Given data :
format('v',6);
Output=10;//in H.P.
Output=Output*735.5;//in watts
cosfi=0.8;//unitless
ETA=0.83;//unitless
ISCbyIFL=3.5;//ratio of SC current to full load current
VL=500;//in volt
Input=Output/ETA;//in watts
IFL=Input/(sqrt(3)*VL*cosfi);//in Ampere
ISC=IFL*ISCb... |
a720b60f7154ce19a9ffe82ef0acad76b531b883 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH2/EX2.5/2_5.sce | bd2c77fb534cd3348189177ad703da9ceefd1886 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | 2_5.sce | clc
//initialisation of variables
v=15//in
S=(5*14/100)//ln
lam=1.4//in
v1=1.7//in
//CALCULATIONS
N=(1-0.38)*100//percent
//RESULTS
printf('the ideal effiecncy for an engine =% f percent',N)
|
33eefe09d95692402bfb140f12852d66d13a73e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH2/EX2.4/Ex2_4.sce | a067740d17932cefa853edb60ad90b5cf80dcf12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | Ex2_4.sce | // Elimination of stress by tension
clc
sigma_t = 140 // in MPa
sigma_c = -140 // in MPa
l = 0.25 // length of specimen in m
Y = 150 // yield stress of material in MPa
E = 70 // Youngs modulus in GPa
printf("\ Example 2.4")
epsilon_tot = (sigma_c*1e6)/(E*1e9) + Y*1e6/(E*1e9) // total strain
l_f = l*exp(epsil... |
06eb2fe589af3fc77db14ccf4577fb8258d99962 | c49a028f382c3baddcd641c1972dd72bb60eaadc | /exp_3_1.sce | eb6dbeba2609b6341580cc65b32b126167eef15b | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | exp_3_1.sce | //Solution of Simultaneous Linear Equations
//from kvl
//5I1-3I2=5 , 3I1 - 9I2 +I3 = 2 , I2-7I3 = 4
A = [5 -3 0;-3 9 -1;0 -1 7];
B = [5;-2;-4];
X = A\B; // X= inv(A)*B
disp(X)
C = [31 -6; -1 41];
D = [75;90];
Y = C\D; // Y = inv(C)*D
disp(Y)
|
6e6ac953ce20d16d7c695f048b6cc0e7ae232b99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH1/EX1.2/Ex1_2.sce | 8b6daded15dc84b7e69182921be303d8e7725453 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex1_2.sce | //Chapter 01: The Foundations: Logic and Proofs
clc;
clear;
mprintf("1. What time is it? \n")
mprintf("2. Read this carefully. \n")
mprintf("3. x+1=2.\n")
mprintf("4. x+y=Z.\n")
mprintf("Sentences 1 and 2 are not propositions since they are not declarative.\nSentences 3 and 4 are neither true nor false and so the... |
6324bf47233a82a819b47cdaa1e492438b2c63e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH5/EX5.5/Ex5_5.sce | eb94682de01b1c60257bc39df6f10c4cd95ee5ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | Ex5_5.sce | dia=300//in mm
Asc=8*0.785*20^2//8-20 mm dia bars, in sq mm
helical_dia=8//in mm
pitch=25//in mm
cover=40//in mm
sigma_cc=5//in MPa
sigma_sc=130//in MPa
fck=25//in MPa
fy=250//in MPa
Ag=0.785*dia^2//in sq mm
Ac=Ag-Asc//in sq mm
P=sigma_cc*Ac + sigma_sc*Asc//in N
//to find volume of helical reinforcement
co... |
114d2bcf85d56bb31b895cd0e3cb7d1c739dd02b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH6/EX6.7/Ex6_7.sce | 714ad448cae84207a8d1e57f8268867619dc36cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ex6_7.sce | //chapter 6
//example 6.7
//Calculate velocity of electron and proton
//page 148-149
clear;
clc;
//given
E=10; // in eV (kinetic energy for each electron and proton)
m_e=9.1E-31; // in Kg (mass of electron)
m_p=1.67E-27; // in Kg (mass of proton)
e=1.6E-19; // in C (charge of electron)
//calculate
E=E*e; //... |
3597a9ca938e1e57122d6e98599d325b7af33380 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.9/Ex2_9.sce | 7bed2b03a2cf9adb1621eab697db9f7e47beaf61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | Ex2_9.sce | clc
//given that
v = 5e3 // Velocity of moving electron in m/s
v_error = 0.003 //Percentage error in measurement of velocity
m = 9.1e-31 // mass of electron in kg
h = 6.63e-34 // Plank constant
printf("Example 2.9")
h_bar = h / (2*%pi) // constant
p = m*v
del_p = v_error*p/100 // calculation of uncertainty ... |
6a93c87a0166d755a7eba45aaeda83d511eef2ee | c565d26060d56f516d954d4b378b8699c31a71ef | /Vikas_self/report_tex/PID_results/pidselftuned40to45.sce | c5c982bda936258bca3b348118f4ca3eb9e24098 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 77,895 | sce | pidselftuned40to45.sce | 0.100E+00 0.338E+02 0.490E+02 0.620E+01
0.500E+00 0.338E+02 0.000E+00 0.620E+01
0.900E+00 0.338E+02 0.128E+02 0.620E+01
0.130E+01 0.337E+02 0.256E+02 0.620E+01
0.170E+01 0.337E+02 0.486E+02 0.630E+01
0.210E+01 0.337E+02 0.490E+02 0.630E+01
0.250E+01 0.336E+02 0.490E+02 0.630E+01
0.29... |
a69c0aa3703521c9a1a70977a172c6c62c507e39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH11/EX11.3/Example11_3.sce | 4d704dcc5e8466e293b702e0400cb4fef02fe4a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,863 | sce | Example11_3.sce | clear ;
clc;
// Example 11.3
printf('Example 11.3\n\n');
//Page no. 318
// Solution
P = 6205 ;//[lb mol/hr]
//Given
amt_F = 560 ;//[bbl]
// Fuel oil(F) analysis
C_F = 0.50 ;// [mol fraction]
H2_F = 0.47 ;//[mol fraction]
S_F = 0.03 ;//[mol fraction]
// Natural Gas(G) analysis
CH4_G = 0.96 ;//[mol fraction]
C2H2_G = 0... |
1202c8d3bcbb8365bcbd7cdb7b0bbb4dc316229f | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH1/EX1.25/Ex1_25.sce | 351ebcff62600a654bba0be9b9cc58376e6a4ba1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Ex1_25.sce | //Ex:1.25
clc;
clear;
close;
B1=0.6;//in Tesla
u1=B1/800;
u_r1=u1/(4*%pi*10^-7);
printf("reltive permitivity at 0.6T = %f",u_r1);
B2=1.6;//in Tesla
u2=0.2/4000;
u_r2=u2 /(4*%pi*10^-7);
printf("\n reltive permitivity at 1.6T = %f",u_r2); |
d9223fb7d229207b5b3f8413c5dbc51975a7a7a7 | 0fea4b1807b35c0ef50433aa99f483c2de5777df | /assignment 2/assignment2_2(4 fundamental sub spaces).sce | a831ce51ead7bbff55829d6b47735475e2dca85b | [] | no_license | shivansh8/Scilab | 319fdfcbec1cc24b4c3c9d4385112ade99419c73 | 7922ffe14c554718cc7682b6419db9bce8261213 | refs/heads/master | 2020-12-29T06:10:48.542794 | 2020-04-05T14:19:06 | 2020-04-05T14:19:06 | 238,486,140 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | assignment2_2(4 fundamental sub spaces).sce | //clear ;close;clc;
str = input("Enter a space-separated 3x3 matrix in this order a11 a12 a13 .a32 33 ", "string")
v = evstr(strsplit(str, " "))
a11=v(1)
a12=v(2)
a13=v(3)
a21=v(4)
a22=v(5)
a23=v(6)
a31=v(7)
a32=v(8)
a33=v(9)
A=[a11 a12 a13;a21 a22 a23;a31 a32 a33];
function ffss(A)
disp(A,"A=");
... |
ff83dc198e7fceb1c37b5f53d27680ef9c9708da | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH21/EX21.9/21_9.sce | c9a62a048edde9d08e5e9e1bc75d9e442394325a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | 21_9.sce | clc;
clear;
function t=f(x,y)
t=2*x*y+2*x-x^2-2*y^2+72
endfunction
len=8;//m,length
wid=6;//m,width
a=0;
b=len;
n=2;
h=(b-a)/n;
a1=0;
b1=wid;
h1=(b1-a1)/n;
fa=f(a,0);
fb=f(b,0);
fh=f(h,0);
lx1=(b-a)*(fa+2*fh+fb)/(2*n);
fa=f(a,h1);
fb=f(b,h1);
fh=f(h,h1);
lx2=(b-a)*(fa+2*fh+fb)/(2*n);
fa=... |
d54591392e0815ae657be417b815edf4a50bc05b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH24/EX24.20/Ex24_20.sce | 91f714c1898487b8e2fb335f56e687d00b227722 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex24_20.sce | clear
//Given
E2=18.70
E1=16.70
h=6.62*10**-34
c=3*10**8
//Calculation
E=E2-E1
l=(h*c)/(E*1.6*10**-19)
//Result
printf("\n Wavelength is %0.0f nm",l*10**9)
|
15cc71e5e7915550dc51cd7cf2c6ee1689ede080 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH1/EX1.5/Ex1_5.sce | 2e651d7e182c5a27f1a6503afefcd3caecc7d84f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Ex1_5.sce | clear;
clc;
disp('Example 1.5');
// Given values
m = 5; // mass, [kg]
t1 = 15; // inital temperature, [C]
t2 = 100; // final temperature, [C]
c = 450; // specific heat capacity, [J/kg K]
// solution
// using heat transfer equation,[1]
Q = m*c*(t2-t1); // [J]
mprintf('\n The heat required is = %f kJ\n',... |
844893b45b1251e72fbbb1e4e30a73aa2a80f611 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH9/EX9.15/Ex9_15.sce | 6f47dd6ecfcd08b4028f2425f8969f82f07e7f4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,107 | sce | Ex9_15.sce | Bc1=30*10^3;cimin1=18
Bc2=25*10^3;cimin2=14
Bc3=12.5*10^3;cimin3=12
Bc4=6.25*10^3;cimin4=9
Y=4//path propogation constant
BcI=6.25*10^3
cieq1=cimin1+20*log10(Bc1/BcI)
cieq2=cimin2+20*log10(Bc2/BcI)
cieq3=cimin3+20*log10(Bc3/BcI)
cieq4=cimin4+20*log10(Bc4/BcI)
disp(cieq1,'(C/I)eq in dB for system I')
disp(cieq2,'(C/I)eq... |
e4ff684a589610c6fa2f443740bf76c4e83e8b5f | eec3a6e2cd91307fd7a55b7fc83bb86b35f86a6c | /warp.sci | d027d95863a75192baeda3db13448dfa71eafcbd | [] | no_license | Matthieu-71/PowerSubsystemSimulation | d1a5171ff763ca42db9d701f893d3ab257a1b882 | cdcff61d4a11509f5d9023fb295af6b8092a3c66 | refs/heads/master | 2020-03-16T23:33:28.836945 | 2018-05-24T00:10:57 | 2018-05-24T00:10:57 | 133,082,402 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 8,480 | sci | warp.sci | function handle = warp(varargin)
//WARP Display image as texture-mapped surface.
// WARP(X,MAP) displays the indexed image X with colormap MAP as
// a texture map on a simple rectangular surface.
//
// WARP(I,N) displays the intensity image I with gray scale
// colormap of length N as a texture map on a simple ... |
5789a4c759421f33b57d9d3c8271217061dad7a8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Engineering_Electromagnetics_S._Bhooshan_980.zip/Fundamentals_Of_Engineering_Electromagnetics_S._Bhooshan_980/CH6/EX6.5/6_5.sce | 55b7b96d95f60b36bb4230dab53a3d41560e485c | [] | 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 | 188 | sce | 6_5.sce | errcatch(-1,"stop");mode(2);;
;
format('e',11)
rho_m=-9.39*10^9;
J=1.2732*10^6;
v=abs(J/rho_m);
disp(v,"magnitude of the velosity of the mobile charge carriers(in m/s)=");
exit();
|
f92a881fe3967729888ad58df86e581e4c3e77e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.9/ex3_9.sce | 356d09c4fbec199777340e633b26318145bcae71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | ex3_9.sce | //Caption:Calculate (a)Primary and secondary currents on full load (b)the maximum value of flux (c)the number of primary turns.
//Exam:3.9
clc;
clear;
close;
O_p=200;//Rated output (in KVA)
V_1=3300;//Primary voltage (in Volts)
V_2=240;//Secondary voltage (in Volts)
N_2=100;//Secondary turns
f=50;//supply freq... |
06ec7eb19788c12756592ee126168c071268699f | b387571bdd041f3b3d606bee94a06f97e87cab34 | /Calculo Numerico/Scilab/Prova_M2/Questao 5 - a.sce | 8fc462155d9fb3dadad3eb2d0719f5a53814a6a5 | [] | no_license | GuilhermeGueds/Faculdade | 6704a9ce91f7cc7874e3fbaefa28555076fab7d7 | 6f84829ea031f80eb04ea2acf78af834d25cd4f9 | refs/heads/master | 2020-03-13T17:52:39.274865 | 2018-08-31T17:00:27 | 2018-08-31T17:00:27 | 131,225,712 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,152 | sce | Questao 5 - a.sce | clear
clc
function s = Ordem(x,y) // Função para achar a ordem
nPontos = length(x)
T = zeros(nPontos,nPontos)
T(:,1) = y;
for j = 2:nPontos
for i = 1:(nPontos - j + 1)
T(i,j) = (T(i+1,j-1) - T(i,j-1)) / (x(j + i-1) - x(i))
end
end
for i = 1:nPontos
... |
7ff2f66cd138dd95087a85078615588295264c5c | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/etc/mlink/MLink.sce | ea9489ab02568004eeb8651facf94067772ed2bb | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 4,623 | sce | MLink.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function MLink()
global %microdaq;
etc_tlbx = mdaqToolboxPath();
etc_tlbx = etc_tlbx + filesep()+'etc'+filesep()+'mlink'+..
filesep()+'MLin... |
04da8133c028c7182e48da6a5ea7f9b662c274e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH2/EX2.1/2_1.sce | ac0896cc5b9696e5d07b3723d041ed1ec57d31da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 2_1.sce | clc
//Initialization of variables
m=32.1739 //lbm
z=100 //ft
g=32.1739
//calculations
PE=m*z
PE2=m*z/g
//results
printf("Potential energy = %.2f g/g0 ft lbf",PE)
printf("\n in other units, Potential energy = %d g ft slug",PE2)
|
0032606b34c2e86bd27ae04ceaf006c554f9941a | 8409f47affbce56ae5b00d9f697b52364fdcec7e | /boolean-logic/HalfAdder.tst | f3cc8d1ba2a1b63aad10237ed212fc990e28157a | [] | no_license | oleiade/Bam | 1609eca5f6247c10cef17375704547282537d1e0 | 84fcab3751b5b344afacdd3647e8071616f9f0b6 | refs/heads/master | 2021-01-19T22:33:50.345657 | 2013-10-26T16:05:22 | 2013-10-26T16:05:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | tst | HalfAdder.tst | load HalfAdder.hdl,
output-file HalfAdder.out,
output-list a b sum carry;
set a 0,
set b 0,
eval,
output;
set a 0,
set b 1,
eval,
output;
set a 1,
set b 0,
eval,
output;
set a 1,
set b 1,
eval,
output;
|
2d288af7cc19dd808252d74e4c3408dbec7c15df | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH7/EX7.22/Solved_Ex_7_22.sce | 9dd72f9711246e6f6b045396b9d2a684038a25da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | Solved_Ex_7_22.sce | //Sketch Pole-zero plot of z-domain signal,(1+0.8*z^(-1)+0.8*z^(-2))/(1+0.49*z^(-2))
clc;
clear;
z=poly(0,"z");
X=(1+0.8*z^(-1)+0.8*z^(-2))/(1+0.49*z^(-2));
disp(X,'Given z Transform=>');
plzr(X); |
11b17692ec64cb93c8bd6a1a4759f12fa5d2e165 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/EnHe/enhe12.tst | d7323eef21cbcf7c24abd15a5fcf5cbe7da4931e | [
"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 | 9,243 | tst | enhe12.tst | strong
mole
dunkelman
tricolour
ogaryovo
bergqvist
susskind
japan
magan
crossman
lina
hadag
deinard
neogene
chauncey
silvia
vilan
pollack
piat
wildcat
krips
ballista
transcendentalism
joselewicz
bian
gaidar
yumjaagiin
imst
fertile
cannibalism
dangermouse
precambrian
cosmos
chawla
snape
katrina
dakar
miquelon
whipple
he... |
963fe170d7d03c0eef8170f6b499acfa3e66b1e5 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Ratiocmyk.sci | 839452f68eda4b5448572f2c658e2a33310689c5 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,239 | sci | Ratiocmyk.sci | // 11.05.28
// 15.05.03
function R=Ratiocmyk(Color)
if type(Color)==1 then
R=Color;
return;
end;
Tmp=grep(Color,',');
if length(Tmp)>0
R=evstr(Tmp);
return;
end;
select Color
case 'greenyellow' then R=[0.15,0,0.69,0],
case 'yellow' then R=[0,0,1,0],
case 'goldenrod' then R=[0,0.... |
b3868e411ca4196d4604b9bbfa3c42d1a608608a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH4/EX4.6/EXAMPLE4_6.SCE | 8bb88cc9fc7653f3603f39e456d599918c9b6811 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,327 | sce | EXAMPLE4_6.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 4
//Radio Receiver
clear all;
clc;
printf("EXAMPLE 4.6(PAGENO 153)");
//given
Q = 125//quality factor
//calculations
//first case
IF1 = 465*10^3//intermediate frequency
f_s1 = 1*10^6//incoming frequency for first case in hertz
f_s2 = 30*1... |
b8f6639513ae0403ec3b1f2264eccabdfa814607 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.2/Exa_2_2.sce | 513e8aa12faa0fc252254ec73d4d9977809e0f9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Exa_2_2.sce | //Exa 2.2
clc;
clear;
close;
format('v',7);
//Given Data
Q1=2500;//KJ/Kg
Q2=1800;//KJ/Kg
Pdev=210;//MW
//Power developed = Heat transfered: Pdev=m*(Q1-Q2)
m=Pdev*1000/(Q1-Q2);//mass flow rate of steam in Kg/s
disp(m,"Mass flow rate of steam in Kg/s : ");
|
276d2a7f92979ae3152b8ada1c968f9311d21d8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch11_4.sce | 76ad5949816cb1e340b361ffab476bd51b2439c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | ch11_4.sce | clc
disp("Problem 11.4")
printf("\n")
printf("Given")
disp("Veff=110V Z=10+i8 ohm")
Veff=110;
Z=10+%i*8
Zmag=sqrt(10^2+8^2)
Zph=(atan(8/10)*180)/%pi
P=(Veff^2*R)/(Zmag^2)
pf=cos((Zph*%pi)/180)
disp(pf,"Power factor is") |
0573bbff8cb137105006bc3c09e3bf91332ac141 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH1/EX1.22/EX1_22.sce | 977f731ebd5471e11987a0b65a5b749e11a812f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,800 | sce | EX1_22.sce | //Example 1.22<i>
//Find whether the given signal is causal or not.
clear all;
clc;
t=-10:10;
a=.5;
for i=1:length(t)
if t(i)<0 then
x1(i)=0;
else
x1(i)=exp(a.*t(i));
end
end
causal=%t;
for i=1:length(t)
if t(i)<0 & x1(i)~=0 then
causal=%f;
end
end
disp(cau... |
e42fa0d6573739884ae8a240de4322173176f4f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH4/EX4.17/ch_4_eg_17.sce | 13d75bbbbadb810b772f4fd62c513b705342f77e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,492 | sce | ch_4_eg_17.sce | clc
//given rxn A+B--k1-->C
// B+C--k2-->D
rc_k1=1,rc_k2=1 //rate constants
disp("the solution of eg 4.17 -->Plug Flow Reactor")
function dA_by_dx=f1a(x,A,B,C,D),
dA_by_dx=-A*B,
endfunction
function dB_by_dx=f2a(x,A,B,C,D),
dB_by_dx=-A*B-B*C,
endfunction
function ... |
1fb185d0338dae525dff88dbe972d16494abe562 | 174c3876bf92d70c7f470a079b453abf5375e084 | /ficha1.sce | 4df529ed659f0242fb06a46bfb4ad9ad2f1a191b | [] | no_license | diogoalexsmachado/EI_MatDiscreta_Praticas | dfa1bb8b81a9163b85cb5e007385e9ff91edcb5f | 74ced6eec3b8b4cee2ad53d1bfc54809116b9e0f | refs/heads/master | 2021-01-25T12:42:19.518073 | 2018-03-01T22:21:11 | 2018-03-01T22:21:11 | 123,493,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | ficha1.sce | // Contribuição de Thomas Ribeiro
// Aula 1 - 22/02/2018
//Ficha 1
//EX 1
//a)
/*
x=10
y=12
z=40
r=x+z
w=x+y
a='mat'
b='emática'
c=a+b
disp(x,y)
//vetores
A=[1 2 3; 5 6 7; 7 8 9]
B=[3:0.3:8]
C=linspace(3,10,5)
C=B'
*/
//a)
(35.6*64-(7^3))/(45+(5^2))
//b)
(5/7)*4*(6^2)-((3^7)/((9^3)-236))
//c)
(((3^2)*lo... |
1f2742c8c26818af35e8bfe6e7b1202f43970480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH5/EX5.6/ex_5_6.sce | ebc8f426a8d6aea71e0442ae9f0992defa423eec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | ex_5_6.sce | //Ex 5.6
clc;
clear;
close;
format('v',8);
R3=1;//kohm
Rt=5;//kohm
Ri=1.8;R1=1.8;//kohm
Rf=18;R2=18;//kohm
Vs=15;//V
AoL=2*10^5;//Gain(for 741C)
Rio=2//Mohm
Ro=75//Mohm
fo=5;//Hz
fBW=1;//MHz
Ad=Rf/Ri*(1+2*R3/Rt);//differential gain
disp(Ad,"Differential gain");
Beta=(R3+Rt)/(2*R3+Rt);//unitless
Rix=Ri... |
6fe0a677d8300b8eb6e1c8ebf445adaf2ea4b52e | 0a4a624c2aa1241962ca0adf212284d4fbf653ec | /2nd/1.sce | ec0f691dd15a98d34f2c3332139e5340eeba3edc | [] | no_license | zy414563492/Advanced-Course-in-Computational-Algorithms | 719a469c4b4f0aede9d89378408672d9ac712df5 | d6f5a089883b415ecd93b18bee81aac9bec69577 | refs/heads/master | 2020-08-29T07:13:39.251114 | 2019-12-17T16:11:40 | 2019-12-17T16:11:40 | 217,963,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,428 | sce | 1.sce | clear
funcprot(0)
// get results from CRS & CCS format
function[y] = CRS2Vec(val, col_ind, row_ptr, x)
for i = 1:length(row_ptr)-1
y(i) = 0.0
for j = row_ptr(i):row_ptr(i+1)-1
y(i) = y(i) + val(j) * x(col_ind(j));
end
end
endfunction
function[y] = CCS2Vec(val, row_ind, col_... |
c2997dd1773b6ed7627c7ac40728d756641a285b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH6/EX6.17/Ex6_17.sce | 28cfbff4262c0d3b393fcb88dcfb2ec9f447d03b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,930 | sce | Ex6_17.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 6 ; Example 6.17
//Scilab Version - 6.0.0 ; OS - Windows
clear;
clc;
linedata=[2 4 0.0090 0.10 1.72 //Entering line data from table 6.2 & 6.3
2 5 0.0045 ... |
fe5bcc416223208240c21daea444eed95fa8e3a5 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Integrated_Circuits_P._Raja_2582.zip/Integrated_Circuits_P._Raja_2582/CH3/EX3.1/Ex3_1.sce | 68a77776d65d921389e5894df1a7208e0f7785d4 | [] | 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 | 140 | sce | Ex3_1.sce | errcatch(-1,"stop");mode(2);//Ex 3.1
;;
R1=2.2;//kohm
G=-100;//Voltage gain
Rf=-G*R1;//kohm
disp(Rf,"Value of Rf(kohm) : ");
exit();
|
d1d2eba00196c74b2dd4f4f18e0452422da3c1cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH7/EX7.07/7_07.sce | a50bd6ffb83a31f58f154665ea38bda626992eb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_07.sce | //Problem 7.07:
//initializing the variables:
n = 1000; // in lb/h
MWCO2 = 44;
T1 = 200; // in deg F
T2 = 3200; // in deg F
a = 6.214;
b = 10.396E-3;
c = -3.545E-6;
//calculation:
T1 = (T1 + 460)/1.8
T2 = (T2 + 460)/1.8
dT = T2 - T1
ndt = n/MWCO2
Q = ndt*1.8*(a*dT +(b/2)*(T2^2 - T1^2) + (c/3)*(T2^3 - ... |
be6746dc8bdcb9e4d44f185b29bcd43315b246b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/2_2_data.sci | cd81047ac16cf299ff0ef254a120d5986cc33081 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sci | 2_2_data.sci | //mass of air(in kg/min)
m=10;
//fluid velocity at inlet(in m/s)
C1=5;
//fluid velocity at outlet(in m/s)
C2=10;
//fluid pressure at inlet(in bar)
p1=1*10^5;
//fluid pressure at outlet(in bar)
p2=8*10^5;
//specific volume at inlet(in m^3/kg)
V1=0.5;
//specific volume at outlet(in m^3/kg)
V2=0.2;
//energy ... |
5231f0068c9bdb4eb857032b74aa44410efa5061 | 87749481136b7b72a47930f587f27667e0c0f97d | /Non-linear transformations/Task_1.sce | e914519a4c1700949a70a94e505091e96b201c4b | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,527 | sce | Task_1.sce | clear all;
close;
clf();
//-----------------------------------------------------------------------------
s = chdir('C:\Users\work\OneDrive\Documents\SciLab\lab_v6')
exec('CLIP_F.sce')
exec('DIST_F.sci')
// Our recorded IRC
[signal, Fs, s_b] = wavread("C:\Users\work\OneDrive\Documents\SciLab\lab_v6\guitar.wav");
signal ... |
c16d8cb2eee9da47a1c0e5afb8813163cf3132db | fa96b6f7b84fc275c3bc6a2ec1413711285aa54a | /Segmentation techniques using various Edge Detection Operators/Robert.sce | ebe0e1ca287167286f5c407fda93383092b3ac19 | [] | no_license | Sid-149/Image-Processing-and-Machine-Vision | 9d4d4308b39d7bd3fb0ab8171531fbbfe4381de9 | 94bb83e4005b39c2f08d15e23c5be73cde01b364 | refs/heads/main | 2022-12-30T01:51:08.942675 | 2020-10-19T05:15:12 | 2020-10-19T05:15:12 | 302,541,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Robert.sce | clc
clear
close
im=imread('toyobjects.png')
a=double(im)
[r c]=size(a)
w1=[-1 0;0 1]
w2=[0 -1;1 0]
for i=2:r-1
for j=2:c-1
a1(i-1,j-1)=sum(a(i-1:i,j-1:j).*w1)
a2(i-1,j-1)=sum(a(i-1:i,j-1:j).*w2)
end
end
robert=a1+a2
subplot(1,2,1)
title('Orginal Image');
imshow(im);
subplot(1,... |
835d280e8cdf3cfbea3ca04c85424cb06063af03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/5_02data.sci | eaa7c07a3f2ad009215b31cb42724b09bb7ff119 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sci | 5_02data.sci | //consider the same wing configuration as that of example 5.1.
L=700; //Lift per unit span
V=50; // velocity of flow in test section(m/s)
D=1.225;//standard sea level density,Kg/m^3
q=D*V^2/2 //dynamic pressure,N/m^2
S=1.3;//wing area,m^2
Cl=L/(q*S) //coefficient of lift
//from the value of Cl and wing configur... |
d01b98c694de6bf0540af20a653d1edc523c7e18 | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/fftshift1.sci | 2928850f719f784aef04943b21996300f15eee55 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sci | fftshift1.sci | function y= fftshift1(X,DIM)
rhs= argn(2);
if(rhs <1 | rhs >2)
error('Wrong number of Input arguments');
end
select(rhs)
case 1 then
y=callOctave("fftshift",X);
case 2 then
y=callOctave("fftshift",X,DIM);
end
endfunction |
21b8831e8014a5d70f16db280d65a13f57808729 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH21/EX21.2/Example21_2.sce | 27904f19cdc7a451bf92cdca6990e76cef2cab56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Example21_2.sce | //Given that
m = 1.5 //in kg
TiL = 60 + 273 //in K
TiR = 20 + 273 //in K
Tf = 40 + 273 //in K
Sc = 386 //in J/kg.K
//Sample Problem 21-2
printf("**Sample Problem 21-2**\n")
SL = m*Sc*integrate('1/T', 'T', TiL, Tf)
SR = m*Sc*integrate('1/T', 'T', TiR, Tf)
Srev = SR + SL
printf("The net entropy change i... |
e0ecc1da16d7ba7bbb8473c1a18789d84da9f77e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH4/EX4.8/4_8.sce | dae8433d677d39800df759dbea6c142dc46ada64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_8.sce | clc
//initialisation
p=0.76
v=1650//cc
m=1//gm
r=13600//kg/m3
//CALCULATIONS
w=(p*9.81*r*(v-1)*10^-6)/4.18
ih=540-w
//results
printf(' internal latent heat of steam= % 1f cal',ih)
|
a26631316d59b0d9350436db7cd03b49b6bf24ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH8/EX8.3/83.sce | ba156f14b9944dcc90edbfb13b819e5672d213a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 83.sce | // problem 8.3
d=0.03
Fx=900
x=30
g=9.81
w=g*1000
a=3.142*d*d/4
V=((Fx*g)/(w*a*sind(x)*sind(x)))^0.5
Q=a*V
disp(Q*1000,"rate of flow in m3/sec")
|
d05e61eddfa9bcc105eac30163deca239fc48648 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/uniform_sampling.sci | b8bc6ed88f8b8f74aa2a4043fef9c1c04a6057e3 | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | sci | uniform_sampling.sci | function uniform_sampling()
// Performs uniform subsampling. The supported extension for the point cloud are pcd ply and vtk
//
// Syntax
// PointCloud(InputFilename(PCD or VTK or PLY),OutputFilename(PCD or VTK or PLY),options,"uniform_sampling")
//
// Parameters
// input PCD/PLY/VTK filename
// output filename... |
4e629ff8767ae6f66f835d04d2399a213d3b1ae0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.7/Ex2_7.sce | 8cb791ee7a7eb1fabdbbf7dc5b201cf2c2c1577b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | Ex2_7.sce | //Calculations on Otto cycle
clc,clear
//Given:
P1=1.05,P2=13,P3=35 //Pressure at 1, 2, 3 in bar
T1=15+273 //Temperature at 1 in K
cv=0.718 //Specific heat at constant volume in kJ/kgK
R=0.287 //Specific gas constant in kJ/kgK
//Solution:
r="V1/V2" //Compression ratio
g=R/cv+1 //Specific heat ratio(gamma)
r=(... |
f91a505d2ec43cafe89bc290c0167310064b3ea7 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Experimentation/9 Automated_advanced_test/tests/test.sce | 3ff1717c7ef22f86c37f8c429061650a9bc894f2 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | test.sce | // Demo script for linear regression
getd('../')
M = csvRead('Salary_Data.csv')
M(or(isnan(M),'c'),:) = []
X = M(:, 1)
y = M(:, 2)
models = mgetl('models')
params = mgetl('parameters')
nummodels = size(models)
nummodels = nummodels(1)
for i = 1:nummodels
disp('Running test for ' + models(i) + ' with params ' + p... |
7d80a44da34b8db7919bbeb9096379562d32c6c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.37/ch1_ex_37.sce | 398178bc5e4a1cc7520d624eab012ed87f58189a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,239 | sce | ch1_ex_37.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 37
disp("CHAPTER 1");
disp("EXAMPLE 37");
//VARIABLE INITIALIZATION
v1=90; //voltage source in Volts
r1=8; //in Ohms
r2=6; //in Ohms
r3=5; ... |
cc8db5c50a9ad6261dd2283e8d510b39689d9f8c | 04101e89f0980b65ec0350667a3cbf16ccd56630 | /Steepest_Descent.sce | c7ed0a6f199a48558b090c81f1bc960f48a5e1bb | [] | no_license | francissinco/Numerical-Analysis-in-Scilab | a810d30dc1ba032a6a9bc37a6f5345185781380e | 51f9d2da4d31e865be158bea2b7cf563ccbe21eb | refs/heads/master | 2021-01-10T11:45:15.197910 | 2016-05-06T10:34:45 | 2016-05-06T10:34:45 | 52,008,949 | 0 | 0 | null | 2016-05-06T10:34:45 | 2016-02-18T13:27:34 | Scilab | UTF-8 | Scilab | false | false | 964 | sce | Steepest_Descent.sce | //Francis Brylle G. Sinco
//MS Applied Mathematics
//Math 288
//University of the Philippines - Diliman
//15 January 2011
// Steepest Descent Algorithm with Backtracking (Armijo) Linesearch
//INITIALIZATION OF QUANTITIES
t=1;//initial guess for the steplength
rho=0.5;
alpha=0.5;
k=1;
tau=10e-8;//relative error toler... |
3e14380582214067fa608fa95e99b68d84c28ba7 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/comp.sce | d4a883db094e485c5b03baf4c332b61de74347c1 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | sce | comp.sce | clc
clear
a=1
b=12
[k,g,b]=myfunction()
m=g+b
disp(k,g,b,m)
|
69ee8d8cdb051c3f1cbbe090942d0c62db68739e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH1/EX1.3/Ex1_3.sce | 07e1d44da3ae3916dbb1865653a3deeefe425237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,645 | sce | Ex1_3.sce | clc
//
//Variable declaration
Su = 600 //ultimate normal stress(MPa)
FS = 3.3 //Factor of safety with respect to failure
tU=350 //Ultimate shearing stress(MPa)
Cx=40 //X Component of reaction at C(kN)
Cy=65 //Y Component of reaction at C(kN)
Smax=300 //Allowable bearing stress of the steel... |
db354c90a2e0769e5ee4bf24c50771e8dcef771a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH3/EX3.9/Example3_9.sce | be997a7d7988b8d16b29c95e6a5d64933e54be72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Example3_9.sce | //Chapter-3,Example3_9,pg 3_38
n=4
fsmin=10*10^-3//full scale value on min. range
R=1/(10^n)
S=fsmin*R
printf("senstivity of meter\n ")
printf("s=%.7f",S)
|
91c3d26c4295b6237968404ac1238e6359f0df6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH5/EX5.9/example_9.sce | 235df240423c4c9f067864613b631668fe1a1282 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | example_9.sce | clc
clear
printf("example 5.9 page number 191\n\n")
//to find the surface temperature of earth
T_sun = 5973 //in degree C
d = 1.5*10^13 //in cm
R = 7.1*10^10; //in cm
T_earth = ((R/(2*d))^0.5)*T_sun;
printf("Temperature of earth = %f C",T_earth-273)
|
64c723334948fd8411bb89560b7ac263534c6723 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH18/EX18.2/Ex18_2.sce | 05b986b66b9b81a20ff78f663ff8854effdcbb2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,275 | sce | Ex18_2.sce | // Example 18_2
clc;funcprot(0);
//Given data
m_w1=400;// Quantity of cooling water in kg/min
T_1=43.5;// The temperature of water at inlet in °C
T_a1=18.5;// °C
RH=60;// Relative humidity in %
T_a2=27;// °C
V=600;// Volume of air per minute in m^3/min
P=4;// Power absorbed in kW
C_pw=4.2;// kJ/kg°C
//Cal... |
0da8024b778d23ad877cb6bef6d29e302985bd17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH6/EX6.6/ex6_6.sce | 56db81df328d08341d4443f4c2264008ac057f76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 999 | sce | ex6_6.sce | //Example 6.6
//Use of if-else statement
//status, pay, pastdue,accountno, balance are not declared or predefined in the program
//so these values are assumed
status= input("Enter Status: ","string");
printf("Enter Pay:");
pay= scanf("%f");
if(status=='S') then
tax=0.20*pay;
else
tax=0.1... |
eb883bb83c5adf2fff30d57564dfcc7d3a33104f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH6/EX6.5/5.sce | aa716ca111caf4377accb45972d1fbe168c1622c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 990 | sce | 5.sce | clc
clear
//Input data
n=2 //Number of jets
D=0.25 //Diameter of turbojet in m
P=3000 //Net power at turbojet in W
mf_kWh=0.42 //Fuel consumption in kg/kWh
CV=49000 //Calorific value in kJ/kg
u=300 //Flight velocity in m/s
d=0.168 //Density in kg/m^3
AFR=53 //Air fuel ratio
//Calculatioon
mf=mf_kWh*P/... |
6ba610566cfacc5f90fe100c7beb4b7545c25bc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH6/EX6.6/exa6_6.sce | 806fd210bcf1b0be3af30a6f4fe8a073b8e276d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sce | exa6_6.sce | //Exa 6.6
clc;
clear;
close;
//given data
rho=1.205;// in kg/m^3;
C_p=1006;// in J/kg K
Pr=0.71;
K=0.0256;// in W/mK
delta=1.506*10^-5;// in m^2/s
T_s=35;// in degree C
T_infinite=5;// in degree C
T_f=(T_s+T_infinite)/2;// in degree C
T_f=T_f+273;// in K
Bita=1/T_f;
del_T=T_s-T_infinite;
g=9.81;
// For... |
a5c7b6525fdaddab0878e4e1489a615fc2cf109c | ff564ea78a2c79675c15643431b097b269dbc056 | /lab3.sce | 06ff4ee3098c3623fdfb2ed427e6773601f5b599 | [] | no_license | Ahmetov/scilab-labs | e57b4ba3e56a33861cd8ae2aae78d4c9fe3282b7 | 3f95354b41dae975eaccc5de830107feae5df79a | refs/heads/master | 2020-09-08T17:32:05.535199 | 2019-11-26T12:01:32 | 2019-11-26T12:01:32 | 221,196,856 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,215 | sce | lab3.sce | //var 7
//распределение Пуассона; lambda = 30, maximum = 49. нормальное
//7 for mas+-?? (table) select-case funct– в файл
//7 u=7.5 o=2.1 lamda=null
//var 6
//lab 3 var 13 for + if-then-elseif + в файл, 4 задача
//------------------------
//------------------------
//------------------------
//----------------------... |
4866a57202a0927a87fd54b24f7b0abee62c8a94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.7/ch12_7.sce | cfa6a8de9b64bc480b114f876de5a8e295072f0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch12_7.sce | clear;
clc;
V_t=220;
n_m=1000;
w_m=2*%pi*n_m/60;
I_a=60;
r_a=.1;
K_m=(V_t-I_a*r_a)/(w_m);
V_s=230;
V_m=sqrt(2)*V_s;
disp("for 600rpm speed");
n_m=600;
w_m=2*%pi*n_m/60;
a=acosd((K_m*w_m+I_a*r_a)*%pi/(2*V_m)); printf("firing angle=%.3f deg",a);
disp("for -500rpm speed");
n_m=-500;
w_m=2*%pi*n_m/60;
... |
e55c63787f1e13d9c7d2d6da44c030b5b9b590ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.25/25.sce | f002729c6da9e2c29f1984b9455cb5e5e29eae89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | 25.sce | clc
clear
//Input data
C=215 //Velocity in m/s
T=30+273 //Static temperature in K
P=5 //Static pressure in bar
R=287 //Specific gas constant in J/kg-k
k=1.4 //Adiabatic Constant
//Calculations
a=sqrt(k*R*T) //Sound Velocity in m/s
M=C/a //Mach number
To=T*(1+(((k-1)/2)*M^2)) //Stagnation temperature in ... |
22b94fcf2e1037c512c4c1e755551697d7743754 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH25/EX25.6/Ex25_6.sce | b8fe5f25c5388f1b14251262552eba13ebaf514d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Ex25_6.sce | //Example 25_6
clc();
clear;
//To find the apparent mass of a high speed electron
rati=1/3 //units in constant
mo=9.6*10^-31 //units in Kg
m=mo/(sqrt(1-rati^2)) //Units in Kg
printf("The apparent mass of High speed electron is mo=")
disp(m)
printf("Kg")
//In textbook answer printed wrong as m=9.*10^-3... |
157dc275332eec0b07661880a991bce460533069 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH9/EX9.5/CH09Exa5.sce | 5945932649de706b17574daf775a8691a6b5c9e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | CH09Exa5.sce | // Scilab code Exa9.5 : : Page-391 (2011)
clc; clear;
m_40 = 39.962589; // Mass of calcium 40, atomic mass unit
m_41 = 40.962275; // Mass of calcium 41, atomic mass unit
m_39 = 38.970691; // Mass of calcium 39, atomic mass unit
m_n = 1.008665; // Mass of the neutron, atomic mas... |
fa424da39121cbdf27c8640a712140abffa0c074 | ad50d54a607f73a866b6c4caf7bf98c1ab53e26c | /code.sce | 244457774ef85108e1526c8d0896e2c38e99505a | [] | no_license | kennethassogba/modeling-in-population-dynamics | 42e2c1153e2d2553f797b7458a6a64e044b6ff1d | 660127445779b0b473bebd96be3287eb7a4320cc | refs/heads/master | 2022-12-11T16:52:19.552346 | 2022-12-10T14:34:15 | 2022-12-10T14:34:15 | 131,633,487 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,609 | sce | code.sce | //Kenneth et Anne-Marie
//Allez dans la console scilab pour commencer
clear;
////MODELES\\\\
//1. Équation logistique
function y=F1(t,u)
a=0.5;
b=0.1;
y=zeros(u);
y=a*u*(1-b*u);
endfunction
//meme fonction mais on change les paramettres a et b
function y=F2(t,u)
a=7;
b=0.14;
y=zeros(u);
... |
2f710f2f649a2ac8a6f8f36ff76cfa2a3e5da34a | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH8/EX8.5/example8_5.sce | 8b3ce150b66a58686eedd81993527c9d827bf5d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | example8_5.sce | clear
clc
//Example 8.5 REYNOLDS-NUMBER SIMILITUDE OF A VALVE
//p-prototype, m-model
Lmp=1/6; //Lmp=(Lm/Lp)
//Vm*Lm/vm=Vp*Lp/vp, vm=vp
Vmp=1/Lmp //Vmp=(Vm/Vp)
Qp=700; //[cfs]
Amp=(Lmp)^2 //Ratio of areas, Amp=(Am/Ap)
//Discharge
Qm=Qp*Vmp*Amp //[cfs]
printf("\n The flow rate required for the model, Q = %.f ... |
8670e4a30523a6a75879c0329dfeef7a727fd5bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.26/example6_26.sce | 0c176fe4b366e8a9aace760bf5ebd4ed04424754 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example6_26.sce | syms R1 R2 R3 C1 C2 s;
T1=1/(R1*R2*R3*C1*C2*s^2)
L1=-1/(s*R1*C1);
L2=-1/(s*R2*C1);
L3=-1/(s*R2*C2);
delta=1-(L1+L2+L3+L4)+(L1*L3 + L1*L4)
del1=1;
TF=(T1*del1)/delta ;
disp(TF,"Vo/VI = ")
|
3c27db85cebe4d229d7b743bec2431731cc024e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH2/EX2.23/Ex2_23.sce | ec4c6aa1b4653125cda0e061d2b043c9dafd563d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Ex2_23.sce | //Initilization of variables
W=1000 //N
r=0.30 //m //radius of the wheel
h=0.15 //m //height of the obstacle
//Calculations
theta=asind(1) //degree //P is mini when sin(theta)=1 from eq'n of P
Pmini=(W*sqrt((2*r*h)-(h^2)))/(r*sind(theta)) //N
//Results
clc
printf('The least force required to just turn the whee... |
8454ae6adff77e824cf5c5e84028c7e2e9293460 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH7/EX7.5.8/ex_7_5_8.sce | bde956785d9fcb9559b07e368e0f0150a526c79d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | ex_7_5_8.sce | //Example 7.5.8: LIMITING VALUE OF RESISTANCE
clc;
clear;
close;
format('v',8)
P=100;//OHMS
Q=P;//
S=230;//IN OHMS
DP=0.02;//ERROR IN PERCENTAGE
DS=0.01;//IN PERCENTAGE
R=(P/Q)*S;//unkow resistance in ohms
dr=(DP+DP+DS);//relative limiting error in unknow resistance in percentage ±
drm=(dr/100)*R;//magnitude of error
R... |
fe3d53f803033eb1ee152edffab22798a8c0d62a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.8/ex_2_8.sce | b6df3cf8ae96684907462a3abb6d380c2ea666d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | ex_2_8.sce | //Example 2.8://resistance,impedance,power,power factor ,voltage and power factor
clc;
clear;
close;
v=300;//volts
i2=2.5;//amperes
r=v/i2;//ohms
disp(r,"resistance in ohm is")
i3=4;//amperes
zl=v/i3;//ohms
disp(zl,"load impedance in ohm is")
v=300;//volts
i2=2.5;//amperes
r=v/i2;//ohms
i1=5.6;//amperes
z=v/i1;//ohms
d... |
bf7a9114e917f6538205cb07e7cce4e72377d155 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH45/EX45.3/Ex45_3.sce | b13d4bd04982c3e6ec7b0bbd615a6fcd637dbf0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,222 | sce | Ex45_3.sce |
//To calculate the Approximate value of Dynamic Resistance of P N Junction under Forward Bias
//Example 45.3
clear;
clc;
//(a)Case-I: Forward Bias of 1 V is applied
/////////////////////////////////////////////////////////////////////////////
i1=10*10^-3;//Current in Amperes at 1 Volt
i2=15*10^-3;//... |
bfc5041cb5db3978622791c5d1f9334ab4e90ef1 | 76bedce072d7e5551343d8247181b569097a2364 | /scripts/Создать загрузочную флешку.tst | bf396adc9c61a6769c48d0da6b7ace3bd6dd1fd3 | [] | no_license | discipleartem/my_python_recipe_book | 722d685b8af4a2293aa33a6749d876cf53519592 | 9f66b783ac20e4a0eb0ecca0ec860a4fb7ff3936 | refs/heads/master | 2021-05-25T12:15:18.583992 | 2020-07-18T07:48:32 | 2020-07-18T07:48:32 | 127,413,473 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | tst | Создать загрузочную флешку.tst | Создать загрузочную флешку
1) sudo fdisk -l
у меня:
Device Boot Start End Sectors Size Id Type
/dev/sdc4 * 256 15814655 15814400 7,6G b W95 FAT32
2) dd if=~/Downloads/ubuntu.iso of=/dev/sdb1
Здесь я подразумеваю? что ~/Downloads/ubuntu.iso - это установочный образ, а /dev/sdb1 - ваша флешка.
... |
75cc5a551a43f8e49401110ccdd1f2c08261fc03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.26/example_26.sce | f5fdcf056392ac7c302251d83d15eb2d70306ece | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | example_26.sce | clc
clear
printf("example 3.26 page number 114\n\n")
//to find the outlet temperature of water
q_NTP = 10*(200/101.3)*(273/313);
m_CO2 = 44*(q_NTP/22.4);
s_CO2 = 0.85 //in kJ/kg K
Q = m_CO2*s_CO2*(40-20) //Q = ms*delta_T
d0 = 0.023 //in mm
A0 = (3.14/4)*d0^2;
di = 0.035 //in mm
Ai = (3.14/4)... |
bc63eee41e3c69a305b86288bc98a52321cb8986 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/cyclus/edit-me.sce | 0076ea271924b69829f6209454d820c86962bad7 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | edit-me.sce | function [teller,noemer] = solve(n_elementen,min_cycles)
// Reken uit hoeveel kans er bestaat dat een permutatie
// van {{{n}}} elementen een cyclus bevat van meer (>=) dan {{{k}}} elementen.
//
// De kans moet uitgedrukt worden als een vereenvoudigde breuk.
// Bijvoorbeeld, 6/8 wordt teller=3, noe... |
f65b4c0c58ec54a9e1a8632815173ae4f21b3acf | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/PCIeGen3/HSpiceUtilities/ACAnalysisToFTConv.sci | 6ba324f0a7b5dd36f9c62e34c00f0081a0c45027 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,737 | sci | ACAnalysisToFTConv.sci | // HSpice AC Analysis Frequency Response to S-parameter converter
//
// (c)2009 L. Rayzman
// Created : 05/14/2009
// Last Modified: 05/14/2009
//
// TODO:
//
clear;
//////////////////////////////////////Extraction Function////////////////////////////////////
function [f, D, Desc] = extract_from... |
0cf785ddfa0fc2ca92399e37a1d5b2e49cf54ea4 | b4980b761e4b88d097e526fe06ebef2383d3d613 | /lab02/OneBitErrorDetection/OneBitErrorDetection.tst | 62cee82edaadce1e64995d7ff33c6bc4b73f9fc2 | [] | no_license | Vineeth-Kada/Computer-Systems-Design | aa42b053c709fdbf06713dc3e1e2649faa02c65d | 4c05e393e057ffb1540c74a53a0cb17f7129d8f8 | refs/heads/main | 2023-06-17T06:27:02.442583 | 2021-07-15T10:43:37 | 2021-07-15T10:43:37 | 289,896,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,584 | tst | OneBitErrorDetection.tst | load OneBitErrorDetection.hdl,
output-file OneBitErrorDetection.out,
compare-to OneBitErrorDetection.cmp,
output-list x0%B3.1.3 x1%B3.1.3 x2%B3.1.3 x3%B3.1.3 x4%B3.1.3 x5%B3.1.3 x6%B3.1.3 x7%B3.1.3 y0%B3.1.3 y1%B3.1.3 y2%B3.1.3 y3%B3.1.3 y4%B3.1.3 y5%B3.1.3 y6%B3.1.3 y7%B3.1.3 pg%B3.1.3 pc%B3.1.3 z%B3.1.3;
/*Data Set ... |
387fed94ff69bef0c7b09dd25e6e1d8d50ac92a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3564/CH1/EX1.4/Ex1_4.sce | 9399f2639d38413ffe0a75f10639ef04f5d0175b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 894 | sce | Ex1_4.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Introduction to Fluid Mechanics, 3rd Ed. William S. Janna Chapter - 1 Example # 1.4 ")
//Solving part a
disp("Part a)")
disp("Part a is theoretical and does not require computation")
disp("Final result is pi - ... |
319abfd28482b0857c2fe521dcb2b8e3d5b58a2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.13/example2_13.sce | 3f5ab1c4d9c28ef932e105fc5ece14a145216bcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,601 | sce | example2_13.sce |
clear;
clc;
printf("\t Example 2.13\n");
//position 1 moles molefraction weight
// acetic acid 0.15 0.0288 9
// water 5 0.9712 91
//position 2 moles molefraction weight
// aceitic acid 0.05 0.0092 ... |
4fb04ea79b7fb91873625370883fc92a756246f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH1/EX1.13/Example113.sce | 87d4f8f44708f879ce3f1ccf389c3c72484b8e10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example113.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 1 Example # 1.13 ")
//Temperature of air in degree K
Tair = 300;
//Heat transfer coefficient in W/m2K
h = 10;
disp("Part a")
//Radiation ... |
8faa81a7a22265f201fc9f4f992d8da50597a77e | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/bin/gl_draw_phy_direct.sci | 6bc2368ae28194748c1919093b661ac5ad047c96 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 28,232 | sci | gl_draw_phy_direct.sci |
currenttime=timer();
StrFileName=GL_SYS_DIR+'str'+SEPARATOR+FileID+'.str';
StrInf=GL_SYS_DIR+'str'+SEPARATOR+'inftemporary.str';
StrBlock=GL_SYS_DIR+'str'+SEPARATOR+'blocktemporary.str';
[fidInf, err] = mopen(StrInf, 'wb');
[fidBl, %v] = mopen(StrBlock, 'wb');
nr=max(b_o(:))+1;
I_D=sqrt(I_S/%pi)*2;... |
f2b41efc3aa733bec5305e0796f4895c96aa8385 | 657d173b53bec4e9905eb0d89bb682f18af4b851 | /scilab/temperature_plots.sce | 2cc008011c09e10c3492e9bcd5f516ad9da56acf | [] | no_license | RobotControlAndMachineVisionLaboratory/gocator_3100 | 6990d9948bd5ebdd751e3ec02611c8b481cf3c65 | 84fa8ebe7d4ca84436e935ec1d2d8915d1227f42 | refs/heads/master | 2020-06-13T19:13:03.883928 | 2019-10-14T10:14:58 | 2019-10-14T10:14:58 | 194,762,673 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | temperature_plots.sce | // clear all
xdel(winsid());
clear;
//open data file in matrix format
data = csvRead('/home/andreu/datasets/zyx/gocator_temperature/exp0_mat.txt');
[rows cols] = size(data);
//generate a time axis
time = [1:1:rows];
//plot internal & projector tempereture
fig_h=figure();
fig_h.background = color("white");
plot(time... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.