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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72ff6c8813ea4177919c00d1e54e6cf7b2af09ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH6/EX6.13/example6_13.sce | 1565dd6bdf61e659e17bcb05c988bc519aec6180 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | example6_13.sce | // Find Vgs,operating region,Id,Rd
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 6-13 in page 288
clear; clc; close;
// Given data
Vdd=10; // Drain voltage in in V
Vds=6; // Drain-source voltage in V
K=0.2*10^-3; // Constant in mA/V^2
Vt=1;... |
6428f1e43c6bad73507e15af20ddc5465c7f988e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.7.b/ex_9_7_b.sce | 1da4b54482c1682d4a3149a88967b4eaf1462a84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | ex_9_7_b.sce | //Example 9.7.b //find watt-hour efficiency
clc;
clear;
close;
I=30;// in amperes
t=6;// in hours
Vt=2;// terminal voltage
Ic=40;// in amperes
tc=5;// in hours
Vc=2.5;// in volts
Who=I*t*Vt;// watt hour output of the battery
Whi=Ic*tc*Vc;// watt hour input of the battery
nWh=(Who/Whi)*100;// ampere hour efficiency
disp... |
371ce95b643f8d7a31e32642b266d0f8cd713547 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/specs/scilab/nyquist_ex1.sce | 92c040ffc227ec559b64cf8e9fc81e230d56a21d | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | nyquist_ex1.sce | // Updated(24-7-07)
// 7.2
H = trfu(1,[1 -1 0],-1);
w = -5:0.4:5;
fre = w/(2*%pi);
nyquist(H,fre);
xset('window',1)
nyquist(H)
xset('window',2)
w = -1.3:0.3:3.3;
fre = w/(2*%pi);
fre = -0.557:0.02:0.557;
fre = 0.01:0.01:1;
nyquist(H,fre);
|
dba8f02a90ed966cea10b126e36a39c2ade4625e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH6/EX6.6/Ex_6_6.sce | 8c8cb741aab4a821296de8f68c718217473994c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Ex_6_6.sce |
// Example 6.6 //overall power conversion efficiency
clc;
clear;
close;
Pc=200*10^-6;//Optical power in Watt
If=25;//forward current in milli Ampere
Vf=1.5;//forward voltage in Volts
P=If*10^-3*Vf;//power in Watt
npc=((Pc/P));//overall power conversion efficiency
disp(npc*100,"overall power conversion effic... |
3545480def826d753cd7522c3fde8e8eeba4a9b6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_home.sci | 809322f26862c39f283b40408e57cd31ebeadd40 | [
"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 | 140 | sci | sci_home.sci | function [stk,txt,top]=sci_home()
// Copyright INRIA
txt=[]
set_infos('home ignored',1)
txt=[txt; '// home']
stk=list(' ','-2','0','0','1')
|
78b8833a2ae290f83d4f3a7be89bed5d679fd059 | d9111ba53f15c146e1ba9ef4c76ae213b4af2db0 | /Ньютон/scilab/N.sce | 47a0bb0faa32d8f5e6e59cac1299e555ccc94cb0 | [] | no_license | Andruka/ChislMethod-5-semestr- | c404b946e093d2e7ac2bbdd914ffb4b243310f0b | a28547b347d62bb5594131900bd8a33653aef259 | refs/heads/master | 2021-09-02T05:04:10.915470 | 2017-12-30T16:05:16 | 2017-12-30T16:05:16 | 115,805,317 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,528 | sce | N.sce | function [f1]=function1(x,f1)
f1=(x(1,1)*x(1,1)-x(2,1)*x(2,1)-1);
endfunction
function [f2]=function2(x,f2)
f2=(x(1,1)*x(2,1)*x(2,1)*x(2,1)-x(2,1)-3);
endfunction
function [der11]=derivative11(x,der11)
der11=(2*x(1,1));
endfunction
function [der12]=derivative12(x,der12)
der12=(2*x(2,1));
endfuncti... |
91cb56d97f6902ec03ecf54905c30ca696b1bce9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH7/EX7.7/ex7_7.sce | 1d264bddb18556b87ae239e655d9cfd4f1567908 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | ex7_7.sce | // Example 7.7, page no-272
clear
clc
Ta= 40 //Antenna Noise temperature
Ti=290 //Reference temperature in K
T=50 // Effecitve input noise temperatuire
Tf=Ti
L=(Ta-Tf)/(T-Tf)
L=ceil(L*10^4)/10^4
printf("Loss factor = %.4f = %.3f dB",L,10*log10(L))
|
4e22450320a87a31388a578929686f2437ee0db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.34/ex1_34.sce | 0d4bef89adb195103b24d038a2caefd6750e114f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | ex1_34.sce | //Exa:1.34
clc;
clear;
close;
P_o=17.6*1000;//in watts
Eff=0.8;//Efficiency
V=220;//in volts
I_f=P_o/(V*Eff);//in amperes
I_af=I_f;//in amperes
R_a=0.1;//in ohms
N=1200;//in rpm
T_f=P_o/(2*%pi*N/60);//Full load torque (N-m)
E_bf=V-I_af*R_a;//Back emf (in volts)
V_a=V+E_bf;// Voltage across armature (in vol... |
71c3f0c84aa56c900a0dbf73ab6e3c18ed9c3cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH10/EX10.5/10_5.sce | 2fb24e4ebafc08359946f25414cbae78b30fd4ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | 10_5.sce | //All the quantities are expressed in SI units
p0 = 30*101000; //reservoir pressure
T0 = 3500; //reservoir temperature
R = 520; //specific gas constant
gam = 1.22; //ratio of specific heats
... |
e2ae9c503b8f307ca6d769d8b8fcbc9bdce72bc7 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /ejemplos/03_optimization/scilab/02_export_files/01_golden_search/prueba.sce | 021117b93a91af29eb9e8a22cf4a8e2c28769050 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | prueba.sce | // ************** Ejecucion metodo golden **************
clear all; clc;
// Solucion del problema de optimizacion
function fx = funcion(x)
g=9.81, v0=55, m=80, c=15, z0=100;
fx = -(z0 + (m/c)*(v0+(m*g/c))*(1-exp(-(c/m)*x))-(m*g/c)*x)
endfunction
xlow = 0, xup = 4, niter = 20;
[xlow, x2, fx2, x1, f... |
d51004eaec5406392d2c417a09fa93d352cafade | a30abbc00448cb5a15a3ef1c07b1ac14e3142ce8 | /src/library_apps/mpreduce/src/packages/redlog/ofsf/ofsf-big.tst | be70133a908697d3059f6615171c2b5677ce24be | [] | no_license | geovas01/mathpiper | 692178b2d9647a8a99fe43db44a85d38cc9f7075 | a1fdacb1dc7155183974fa2ea5d92fba597f23fc | refs/heads/master | 2016-09-05T15:28:49.409648 | 2015-07-17T10:06:45 | 2015-07-17T10:06:45 | 39,245,684 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 241,441 | tst | ofsf-big.tst | % ----------------------------------------------------------------------
% $Id: ofsf.tst 469 2009-11-28 13:58:18Z arthurcnorman $
% ----------------------------------------------------------------------
% Copyright (c) 2006-2009 Andreas Dolzmann and Thomas Sturm
% -------------------------------------------------------... |
f28f84c815a8a18626f6caf939b36d91ff1d916b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH5/EX5.2/Ch05Ex2.sci | 545400db18b3103f51c5ab6567e32a384b10bd7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch05Ex2.sci | // Scilab Code Ex5.2 : Percentage transmission of polarized light: Page-113 (2010)
I0 = 1; // For simplicity, we assume the intensity of light falling on the second Nicol prism to be unity, watt per metre square
theta = 30; // Angle through which the crossed Nicol is rotated, degrees
I = I0*cosd(90-theta)^2; ... |
04465a6f201e220d285af818fbe96b8f8b2c9d65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH15/EX15.7/Ex15_7.sce | aaece24f7c418c1d476bd34decaa7e98006c529a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Ex15_7.sce | //Example 15.7//
prt=24.4*10^-9;//ohm m //room temperature value of restivity
a=0.0034;//C^-1 //temperature coefficient of restivity
t=200;// degree C //tempertaure
tn=20;//degree C //room temperature
p=(prt)*(1+a*(t-tn))
mprintf("p = %e ohm m",p)
s=1/p
mprintf("\ns = %e ohm^-1 m^-1",s)
|
c2dbb524b3f0630f39609c24d8a78f23744d182b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH10/EX10.31/example10_31.sce | d4623cf15fe0d018d23ef2219b1631214164bfa9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | example10_31.sce | clc
// Given that
p = 1000 // power of lamp in W
d = 2 // distance of a point from lamp in meter
e0 = 8.85e-12 // electric permittivity of space
mu0 = 1.2567e-6 // magnetic permittivity of space
c = 3e8 // speed of light in meter/sec
// Sample Problem 31 on page no. 10.48
printf("\n # PROBLEM 31 # \n")
s = p / (4 * %p... |
c84b95f141e242bb3b7cc965ca2793bffb9474fc | 389bd4af3bf5a0f54f51e8aafea5035f568ba445 | /Matris max min toplama.sce | 1173ef5a298d5bbabb2e63c0caf1e4919ca7ec53 | [] | no_license | esraatlici/Bilgisayar-Destekli-Matematik | d47f057d9cb7ee987e367c67f8923cfcf02342d8 | dae1079f60fc7e0d3b54802b4cbed9182b52fcd7 | refs/heads/main | 2022-12-25T11:14:25.575530 | 2020-10-05T15:09:58 | 2020-10-05T15:09:58 | 301,447,895 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | Matris max min toplama.sce | function q=matris_max_min_topla(a);
maxa=max(a);
mina=min(a);
q=mina+maxa;
endfunction
|
4c3abe0fd47b341149084e29bfb07a699d3e874c | d8b00ba08203d369b2c5f550547a8bec3b784a8f | /exo3.sci | bbdc103047f4413b700cf59030eaae7f575a8fdb | [] | no_license | braisalemaghiles/TP-Calcul-Numerique | 8f75a0af2b82fb8e4b586d19320da406128e7611 | 260fed32749d444756d6cd32f873d5238d95851f | refs/heads/main | 2023-01-31T13:19:03.073956 | 2020-12-17T13:22:58 | 2020-12-17T13:22:58 | 314,294,362 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sci | exo3.sci |
//n = 100;
data = [10:10:100]
for n = data
i=n/10
A=rand(n,n);
B=rand(n,n);
tic();
C3B= matmat3b(A,B);
times1(i) = toc()
tic();
C2B= matmat2b(A,B);
times2(i) = toc()
tic();
C1B= matmat1b(A,B);
times3(i) = toc()
tic();
Cnorm=A*B;
times4(i) = toc()
end
subplot(2,2,1),plot(data,times1,"r"),subplot(2... |
02b4d34c6ccbf8b5498717ea3c00b37bed36326f | 53bdf5ec3d505c23a6dbff1555c838c03e7ce670 | /Assignment 5/hand.sce | c11001f47df082e9eaa3f4051bfbbeefb0d21a96 | [] | no_license | dishvyas/AI | 6e7fb662a04b99d5fca4380f97ac94eb5b18debe | a0903084fe210faee4b571b4cade5e5d410ad504 | refs/heads/master | 2020-05-22T00:50:06.362841 | 2019-05-12T20:29:20 | 2019-05-12T20:29:20 | 186,180,759 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | hand.sce | clc;
clear;
rand('seed',0);
N = [8,2,2];
M = read_csv('D:\Boring Stuff\Study Material\Sem VI\Artificial Intelligence\Lab\Assignment 5\emg.csv',[],[],"double");
P = read_csv('D:\Boring Stuff\Study Material\Sem VI\Artificial Intelligence\Lab\Assignment 5\emg.csv',[],[],"double");
x = M(1:40,2:9)';
t = M(:,10:11)';... |
31066c8905e72b0277dc03bcb11c0ca8090354a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH2/EX2.8.11/Ex2_11.sce | da2d6bdb25e79530fb2271960b8372c9c7234b43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_11.sce | //Example 11// Ch 2
clear all
clc
close
phi1=0;
phi3=10;
phir=[phi1;phi3];
sl=[1.25 -0.014;-0.014 0.8381]; //elements of global stiffness matrix
sr=-[-0.7786 -0.4571;-0.4571 -0.3667];//elements of global stiffness matrix
phil=inv(sl)*sr*phir
printf('value of potentials at the nodes are %f \n',phil)
|
0967236d257289d1456412b72500c70e50c0a80a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.43/ex_3_43.sce | 298440b224f1d91d16833dc12f8b802ee0cc0d45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | ex_3_43.sce | //Example 3.43:resistance
clc;
clear;
close;
Q=100.5;//ohms
M=300;//ohms
S=0.0045;//ohms
x=(Q/M)*S;//ohms
r=0.1;//ohms
m=300.25;//micro ohms
q=100.6;//ohms
y=((r*m)/(r+m+q));//ohms
z=((Q/M)-(q/m));//ohms
R=x+(y*z);//milli ohms
disp(R*10^3,"unknown resistance is ,(milli-ohm)=")
|
56cc5168ffdf9516e5087bcb970bf424fc5178f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH2/EX2.20/exa_2_20.sce | f00f45dd66ed0d23619d9a810230d7a7256e8354 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | exa_2_20.sce | // Exa 2.20
clc;
clear;
close;
// Given data
R1= 500;// in ohm
R2= 615;// in ohm
R3= 100;// in ohm
delR1ByR1= 1;
delR2ByR2= 1;
delR3ByR3= 0.5;
// Part(i)
R4=R1*R2/R3;// in ohm
disp(R4,"Unknown resistance in ohm")
delR4ByR4= delR1ByR1+delR2ByR2+delR3ByR3;
disp(delR4ByR4,"Relative limiting error of unknown... |
2bd3e1ca4f60de3317e0a8a6ced14c6f34722858 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH2/EX2.1/Ex2_1.sce | 1845d07b6be6217dbce07a543e9af68269a2d790 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Ex2_1.sce | //Example number 2.1, Page number 2.33
clc;clear;close
// Variable declaration
I=1/2 // unitless
// Calculation
theta1=acos(1/sqrt(2))*(180/%pi) // radian
theta2=acos(-1/sqrt(2))*(180/%pi) // radian
// Result
printf("theta=%.f degrees",theta1)
printf("\ntheta=%.f degrees",theta2)
printf("\n\n The value of theta can... |
954760039840b5144b2a8e0ae65fb69eb9da396d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH9/EX9.20/9_20.sce | 24af179aff5eba10108a1c859273defc6447642a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_20.sce | clc
clear
//Input data
P1=1;//Initial pressure of a 3 stage compressor in bar
P4=40;//Final pressure in bar
T1=293;//Initial temperature in K
n=1.3;//Polytropic index
V1=15;//Air delivered per minute in m^3/min
//Calculations
W=((3*n)/(n-1))*P1*10^5*V1*(((P4/P1)^((n-1)/(3*n)))-1);//Work done by the compresso... |
3471f3c307bff6234d3d6f9967b86fee9797c833 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH13/EX13.5/13_5.sce | 06b940d66cac7299c543539c50155d0d35b64c4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | 13_5.sce | clear;
clc;
//Example - 13.5
//Page number - 442
printf("Example - 13.5 and Page number - 442\n\n");
//This problem involves proving a relation in which no mathematics and no calculations are involved.
//For prove refer to this example 13.5 on page number 442 of the book.
printf(" This problem involves provi... |
50d99d1469346de955141c508c2c55ec5ed74dc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH8/EX8.8.10/Ch8_8_10.sce | 60a996532cc40fa7ff3bfc0757dc110aedf89811 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 900 | sce | Ch8_8_10.sce | clc
clear
disp("Example 8.10")
printf("\n")
disp("convert the following decimal to binary numbers")
disp("a)47.8125 b)100.0001 c)29.3749")
//given decimal number
i=1;x=1
dec=47.8125
//separating integer part
IP=floor(dec)
IP1=IP
//separating decimal part
DP=modulo(dec,1)
//storing each integer digit in ... |
4582b96840bd09dd30f80795f82fe840aeaa92df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH20/EX20.15/Ex20_15.sce | 43fa9740a8845eac5b6375fa478a5b92de1ac34c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,971 | sce | Ex20_15.sce | clc
// Given that
d = 180 // Bore in mm
L = 200 // Stroke in mm
Bp = 245 // Brake power in kW
N = 1500 // Speed in rpm
mep = 8 // Mean effective pressure in bar
m_f = 70 // Fuel consumption in kg/h
cv = 42 // Heating value of fuel in MJ/kg
m_h = 0.12 // Fraction of hydrogen content by mass
m_a = 26 // Air con... |
d0400b28a7667eb353454cf87013b14d14cc4b5c | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH1/EX1.12/EX1_12.sce | 5695c7155d80ecf6b0ddb5691751fee3b45e36e6 | [] | 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 | 364 | sce | EX1_12.sce | clc;funcprot(0);//Example 1.12
//Initilisation of Variables
T1=323;.........//Temparature of blackbody before heated in K
T2=373;.........//Temparature of blackbody after heated in K
s=5.67*10^-8;.......//Stefan-Boltzmannconstant
//Calculations
e=s*(T2^4-T1^4);........//Increse in emmissive power in W/m^2
disp(e... |
a3fd89044ab078c24806066d7e7e86533e721ba0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH8/EX8.1/Ex8_1.sce | b23c308bffa6f3fa8700bba2f1ae624d1d8c4dc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,058 | sce | Ex8_1.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
//c... |
d883476258001aa9613fd28fd5f8ce9d934be5e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH8/EX8.3/Ex8_3.sce | 724b8fb888cb33f44e8f71bebce14ecab5ab646c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,527 | sce | Ex8_3.sce | sigma_cbc=7//in MPa
sigma_st=275//in MPa
lx=6//in m
ly=7//in m
D=lx*10^3/35//in mm
D=180//assume, in mm
W1=(D/10^3)*25//self-weight, in kN/m
W2=0.5//floor finish, in kN/m
W3=1//partitions, in kN/m
W4=5//live load, in kN/m
W=W1+W2+W3+W4//in kN/m
a=ly/lx
//panels I, II, V and VI belong to case 4 and panels II... |
c2a392cb2482d9fcb9b7398ea977ac67fe6008d1 | 85796c94fc9059fcb09697ae3509fd9488d77aa8 | /printInit.sci | 4104db772e85a3aa8fb7ce766bca3f9f73033cd1 | [] | no_license | MyCSDegree/snakenladder | 680d5cd7687da44a227c2b242765ab96e0b7534d | bedb901cbcede9ca3972514ec12686b33a9eaf85 | refs/heads/master | 2016-08-06T04:08:29.276575 | 2015-10-28T01:16:18 | 2015-10-28T01:16:18 | 42,781,425 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 664 | sci | printInit.sci | function [] = printInit()
for i = 1:1:9
x = [i i];
y = [0 10];
plot(x,y);
end
for i = 1:1:10
y = [i i];
x = [0 10];
plot(x,y);
end
// for i = 1:sizesnake
// [x0 y0] = getCord(snake_head(1, i));
// [x1 y1] = getCord(snake_tail(1, i));
//
... |
0a1431447eccf6d5a096a6bc32fce391bab1204d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH22/EX22.4/Ex22_4.sce | be706498d60b5cac29ee100a91a51a98df49a0ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | Ex22_4.sce | //Example 22.4
B=1.50;//Magnetic field strength (T)
l=5*10^-2;//Length of wire (m)
I=20;//Current (A)
theta=90;//Angle between I and B (deg)
F=I*l*B*sind(theta);//Force (N)
printf('Force on the wire = %0.2f N',F)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
824b39a165614bdd37e4e14ce4ecd8c185a56879 | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-10/span.sce | c5acc53b3497376150736bc5ae22f3d5beddbb27 | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,318 | sce | span.sce |
function [c] = connected(X)
c = 0;
i = 1;
j = 2;
a = size(X);
while(j > i)
if X(i,j) == 0
j = j + 1;
else
X(i,:) = X(i,:) | X(j,:);
X(:,i) = X(:,i) | X(:,j);
X(j,:) = [];
X(:,j) = [];
a(1) = a(1) - 1;
end
if (j > a(1)) & (i < a(1))
j = i + 2;
... |
4f3e23cbd27310d73d2e13ef398463eb52698390 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH6/EX6.5/6_5.sce | 4a8851954f44440755de70aeb89c4595ac40c52b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | 6_5.sce | //to find the number of plates required
clc
P=20//lb/in^2
u=0.07//friction coefficient
N=3600//rpm
H=100//hp
r1=5//in
r2=0.8*r1//given
A=%pi*(r1^2-r2^2)//the area of each friction surface
W=A*P//total axial thrust on plates
M=(1/2)*u*W*(r1+r2)//friction moment for each pair of contacts
T=H*33000*12/(2*%pi*N)... |
4d5a5d3b81be840bc3c29c59dccb7be791e96776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.15.a/1_15_a.sce | c5c7892ba25b00d91b5016314aa66e7cca800ae8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 1_15_a.sce | //Example 1.15<a>
// Find wheather the following signal is periodic or not x3(n)=2*e^(%i*(t+%pi/4))
clc;
t=-21:21;
x=2*exp(%i*(t+%pi/4));
f=1/(2*%pi);
N=1/f;
disp('samples',N,'(b)the given signal is not periodic');
|
f1f43156cf239733dd3b94876d0331acb58414bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH18/EX18.3/18_3.sce | 79adc1e23d94599d43f22dfda43c4ae8e093ed0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | 18_3.sce |
clc
//initialisation of variables
clear
f=0.0025
l=100//ft
d=0.5
p1=200//lb/in^2
p2=120//lb/in^2
T1=600//f
w1=0.95//lb/ft^3
g=32.2//ft/sec^2
nT1=580//f
nw1=0.87//lb/ft^3
//CALCULATIONS
k=f*l/d
v1=19.5*sqrt(T1)
pd1=w1*v1*v1/(144*2*g)
np1=p1-pd1
nv1=18.5*sqrt(nT1)
nT2=0.97*nT1
W=0.87*%pi*d*d*nv1/4... |
42f3e2003f76d214431dde93d740b20cd43df68c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH2/EX2.9/2_9.sce | 3f230030ab59000f5b6041367a85fa1de8ad6bc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | 2_9.sce | clear;
clc;
l=10;
D=1.25;
dia=1.213e-2;
Cab=.01206/log10(D/(dia/2))
C=l*Cab;
Cn=2*C;
mprintf("Capacitance between 2 conductors= %.4f e-6F/km\n", C);
mprintf("Capacitance between conductor and neutral= %.4f e-6F/km\n", Cn);
|
b658d1cc3db8cd0a76ad9d0d2a11f2fd518a24ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH8/EX8.1/8_1.sce | 10d293fd74204604398634f026ae0128c29959f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_1.sce | //clc();
clear;
//To calculate refractive index of material of the core
NA=0.39; //numerical aperture
delta=0.05; //fractional index change
A=sqrt(2*delta);
n1=NA/A;
printf("refractive index of the core is %f",n1);
|
e9131db042ed9898bb861d9134438673380c8005 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.6_11.tst | 34aa51a210f971883ec8032fd1c0ac77a74475d2 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,159 | tst | bow.6_11.tst | 6 9:0.5 17:0.08333333333333333 18:1.0 21:0.1 25:0.1111111111111111 32:1.0 48:0.5 83:0.25 185:1.0 221:0.5 242:1.0 368:1.0 593:1.0
6 6:0.2857142857142857 17:0.16666666666666666 21:0.2 23:0.25 32:1.0 40:0.2 44:0.03225806451612903 59:1.0 66:1.0 78:0.5 82:1.0 107:0.3333333333333333 157:0.3333333333333333 241:1.0 245:1.0 324... |
87a2c842d23c2760abbddd53e14ccd505934001f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH21/EX21.1/example21_1.sce | b6a878ca088c3e5790958bca1cc2661ed9f7b9d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | example21_1.sce |
//example 21.1
//calculate
//total installed capacity
//load factor
//plant factor
//utilization factor
clc;funcprot(0);
//given
c=10000; //capacity of each generator;
n=3; //number of generator
l1=12000; //initial load on plant
l2=26000; //final load on... |
a03df8e534940a71d24b9779000178e2374aa5c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.42/ex4_42.sce | ab5f0079b2d28cead2b37013888ebc85cb203036 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | ex4_42.sce | //AC Circuits : example 4.42 :pg(4.32 & 4.33)
PR=1000;
VR=200;
Pcoil=250;
Vcoil=300;
R=((VR^2)/PR);
I=(VR/R);
r=((Pcoil/(I^2)));
Zcoil=(Vcoil/I);
XL=sqrt((Zcoil^2)-(r^2));
RT=(R+r);
ZT=sqrt((RT^2)+(XL^2));
V=(ZT*I);
printf("\nPR=1000 W \nVR=200 V \nPcoil=250 W \nVcoil=300 V \nPR=(VR^2/R)");
printf("\nR=%.... |
642f04a2ec9104b45ca653b6eb943b7d3de98045 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/DEPENDENCIES/SRB.sci | 3c6fc19f595d6be399c0269b912c8cb337340a4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sci | SRB.sci | function[Q]=SRB(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
Q=-Pr*(diffr_B0+(omega*diffr_B1));
funcprot(0);
endfunction
|
fe9cc976dbe44eb2bd482c5d857ca01bbe53462c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH3/EX3.21/ex3_21.sce | 169a97d93bef3ffb1fa98e70e5af87ddb98c1b5a | [] | 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 | 875 | sce | ex3_21.sce | errcatch(-1,"stop");mode(2);//Caption:Determine Primary resistance referred to secondary and secondary resistance referred to primary and total resistance of transformer referred to primary.
//Exam:3.21
;
;
V_1=2000;//Primary voltage at no load or full load(in Volts)
V_2=220;//Secondary voltage at no load (in Vo... |
d570f6ddc3626b2d2f6cc0ecf6583ee6f0bfa01d | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH20/EX20.4/20_4.sce | 4b0de8a938fbd0ee584be31049e2870bfa7d4f6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | sce | 20_4.sce | pathname=get_absolute_file_path('20_4.sce')
filename=pathname+filesep()+'20_4data.sci'
exec(filename)
clear
for i=1:8
I(i)=B(i)*y(i)*y(i);
end
Ixx=sum(I);
P=(-Sy/Ixx);
qb1(1)=0,qb2(1)=0;
for i=2:3
qb1(i)=P*B(i+1)*y(i+1) +qb1(i-1);
qb2(i)=(P*B(i+5)*y(i+5) +qb2(i-1));
end
qb1(4)=qb1(2);
qb2(4)=... |
b4134a103f30e826e2e3bc85a6e5310bc4b365d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH1/EX1.4/Ex1_4.sce | fe89ed4b1d66d589f9d153e512004968bd87c056 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Ex1_4.sce | //Ex1_4
clc;
//Given:
wavelength=10^-10;
m=9.1*10^-31;
h=6.626*10^-34;
//solution:
p=h/wavelength;
e=p*p/(2*m); // energy in J
e1=e/(1.6*10^-19);// energy in eV
printf("The energy in eV is = %f ",e1)
|
d90f262afc14fcb9fb588570a020e8581f7931ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH14/EX14.11/ex14_11.sce | 566e19f1a46f728c0db928006b87974d13d5900b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | ex14_11.sce | clc
//Example 14.11
//Install Symbolic toolbox
//Calculate f(inf)
syms s t ;
disp('Given function is f(t)=1-exp(-a*t)')
u=laplace(1)
v=laplace(exp(-2*t))
F=u-v
x=s*F
//From final value theorem
y=limit(x,s,0)
disp(y,'f(inf)=')
|
03e9f59f124e8db34b5722e4b26d142261b364bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.3/ex4_3.sce | 0a84ccc6906793f29771bb16755503b5151c8667 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | ex4_3.sce | //Page Number: 194
//Example 4.3
clc;
//Given
c=3D+8; //m/s
a=2.286;//cm
a1=a/100;//m
b=1.024;//cm
b1=b/100;//m
f=10D+9;//hz
sig=6D+7;
u=4D-7*%pi;
w=2*%pi*f;
eet=377;
//Shortest cavity length
lamc=2*a1;//m
fc=c/lamc;//hz
lam=c/f;//m
lamg=lam/sqrt(1-(fc/f)^2);//m
sc=lamg/2;//m
disp('cm',sc*100,'Sho... |
819526575254a082f5b5985de56db7efcee1fc9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH10/EX10.6/6.sce | 6c896a4aee2c2823df25297fec2ade483b6ba317 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | 6.sce | clc
//For air at 20 0C and 75% R.H
p_vs=0.0234; //bar
phi=0.75;
p_t=1.0132;
cp=1.005;
t_db=20; //0C
p_v=phi*p_vs;
t_dp=15 + (16-15)*(0.01755-0.017)/(0.0182-0.017);
W=0.622*p_v/(p_t-p_v);
h_g=2538.1; //kJ/kg
h_vapour=h_g + 1.88*(t_db - t_dp);
h1=cp*t_db + W*h_vapour;
disp("(i) Relative humidity ... |
f4d916236992bc4b89a78226d240143ea8746f9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH13/EX13.10/13_10.sce | 97d02e43275b90664edba571468543b58e4edf90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | 13_10.sce | clc
//initialisation of variables
Tn= 0.820
Tn1=0.450
A= 426.1
A1= 91
//CALCULATIONS
l= Tn*A
l1= Tn1*A1
L= l+l1
//RESULTS
printf ('A0 for acetic acid= %.1f ',L)
|
aadacc909004f925cf10fb9d14a96e0efc349a42 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/Jido/SCENARIOS/JidoKAndAchile.sce | aaf8890372a168be03f312f57ca06e83be424f13 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,119 | sce | JidoKAndAchile.sce | #************************************************************
# Scenario of JidoRef
#
# date : Wed Oct 20 15:18:24 2010
#************************************************************
p3d_sel_desc_name P3D_ENV JidoRef
p3d_sel_desc_name P3D_ROBOT HUMAN_ACHILE
p3d_set_robot_steering_method Linear
p3d_set_robot_curren... |
5f7aa66fd3b62016c43c78de9f641222f6b43fbd | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/WG57PYX/ATWM1_Working_Memory_MEG_WG57PYX_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | aef8963c2ca093243995950f4a61b8da3602778d | [] | 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 | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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_monit... |
d25cb28302287d0f9ce86f3546b0ae36c03fa51e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH17/EX17.2/17_2.sce | da2e3c82947d4985c47f6cbc990ae8742c56d82e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | 17_2.sce | clc
//initialisation of variables
T= 290 //K
xa= 0.4
xb= 0.6
P= 600 //kPa
V= 60 //L
R= 8.314 //J/mol K
Mp= 44 //kg/kmol
Mb= 58.12 //kg/kmol
vp= 0.00171 //m^3/kg
vb= 0.00166 //m^3/kg
na= 0.1 //kmol
nb= 0.15 //kmol
V1= 0.04000 //m^3
xa= 0.4
np= 2
Vc= 0.1 //m^3
//CALCULATIONS
Pasat= %e^(14.435-(2255/T)... |
ac56d9b895775c18d4da22465bdfad38ff7f9416 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2202.sce | af7cb034c9b3d0a9455e3dbe15a35f6889de1a26 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,088 | sce | map2202.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2202" Width="13" Height="9" CellSize="40" BackgroundSize="1" Background="13plus.png">
<Cell Name="墓碑" X="2" Y="1" />
<Cell Name="枯树" X="6" Y="1" />
<Cell Name="幽灵-右" X="7" Y="1" arg0="3" arg1="1.00" />
<Cell Name="枯树" X="11" Y="1" />
<Cell Name="出生点" X... |
34183a49cb91a52e8f4b9e7eed999b25bef3b854 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH4/EX4.3/EX3.sce | d363d25d0229e6f2c67fbce075fc55b609eb4ac6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | sce | EX3.sce | // Example 4.3: Region of operation, Node currents and voltages
clc, clear
betaf=100; // Current gain
disp("Let us assume that the transistor is in active region.");
VBE_active=0.7; // in volts
// From Fig. 4.19
VCC=10; // in volts
VBB=5; // in volts
RB=100e3; // in ohms
RE=2e3; // in ohms
RC=2e3; // in ohms
... |
c4214b59b7542fb8bfab405a72b27762dcb55ac9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%pps.sci | 6d99bf1c8f0492747dd33111a07d43dfa6133a18 | [
"MIT",
"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 | 576 | sci | %pps.sci | //<f>=%pps(p,s)
// %pps(p,s) calcule la puissance s_ieme (negative) d'une matrice
//de polynomes.
//l'exposant s doit etre entier.
//les puissances entieres positives sont definies en fortran.
//!
if s>-1 then error(43),end
if int(s)<>s then error('%pps: integer power only'),end
[m,n]=size(p)
if m<>n then error(43),e... |
8e6488c5131d6425aa58f77a3d26c58e4a8ea474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH17/EX17.6/ex17_6.sce | b200600ceb00f07ea5d33405f8e1a4122f30bc7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | ex17_6.sce | clc;
clear all;
v=0.86e6;//velocity of electron in m/s
m=9.1e-31;// Mass of electron in Kg
e=1.6e-19;// Charge of electron
k=1.38e-23;//boltzmann constant
Ef=m*v*v/2;//fermi energy
Tf=Ef/k;//The fermi temperature
disp('K',Tf,'The fermi temperature is:')
|
344307ad3e9d53314cc39a64fb8bd5d1dd8bb0d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3433/CH10/EX10.6/Ex10_6.sce | 5362eec6e9395479928fbc897ffc5c2f42bba6ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,103 | sce | Ex10_6.sce | clear;
clc;
funcprot(0);
//given data
D = 30;//tip diameter in m
CL = 0.8;//lift coefficient
J = 5.0;
l = 1.0;//chord length in m
Z = 3;//number of blades
r_R = [0.2 0.3 0.4 0.6 0.8 0.9 0.95 1.0];
n = 8;
//Calculations
//iterating to get values of induction factors
a = 0.1;//inital guess
anew = 0;
a_ =... |
4d6fe2aa9c75c6bc6d1d472ef1328e45d7fd66f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH16/EX16.12/example12_sce.sce | f239db00e9cc9a5d08def5e1f8bea9d13a403f2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | example12_sce.sce | //chapter 16
//example 16.12
//page 705
printf("\n")
printf("given")
fs=1*10^6;Rs=700;C1=1000*10^-12;C2=100*10^-12;R1=1*10^6;R2=10*10^3;Rs=700;Vdd=5;
Ct=(C1*C2)/(C1+C2)
disp(" at resonance Xl=Xct 2*pi*f*L=1/2*pi*f*Ct")
L=1/(((2*3.14*fs)^2)*Ct)
ip=Vdd/(R1+R2+Rs)
Pd=(((.707*ip)^2)*Rs)*10^9;
printf(" peak power dissipa... |
0d4ea33782f1abfc2740e92ac968589ed4fff8d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.17/ex3_17.sce | 87c308cbde59729a285b129fbc80f5e229a899c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | ex3_17.sce | //Caption:In a single phase transformer Calculate the secondary terminal voltage at full load.
//Exam:3.17
clc;
clear;
close;
V_1=2000;//Primary voltage at no load or full load(in Volts)
V_2=400;//Secondary voltage at no load (in Volts)
K=V_2/V_1;//Ratio of transformation
R_1=5;//Primary resistance(in Ohm)
R_2... |
4d88d071031616902ac33d6e2f296ac089c6973b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH9/EX9.1/Ex9_1.sce | b0c8005eb1fbf24ea073065527fc13ed28874cbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Ex9_1.sce | clc//
//
//
//Variable declaration
h=6.62*10^-34; //planck's constant(J sec)
c=3*10^8; //velocity of light(m/sec)
Eg=1.43*1.6*10^-19; //energy gap(J)
//Calculation
lamda=h*c*10^6/Eg; //wavelength of radiation(micro m)
//Result
printf("\n wavelength of radiation is %0.3f micro m",lamda)
|
6302d69751ab62f25c90ad48ae2fcc2a076b1aa2 | 27be2dd7284eb8d71ea19e6b077993d7ff6afd16 | /meuFatorial.sce | 4e91d9533c80c9c68022d1fbd470ad9c4698c2fc | [] | no_license | mtxslv/numericalcomputation | 3b0ec7d1183c03c91c145de0fb1db9fff0a75e61 | 15ce639e5e370fb21fb1ce9878004270ee814e73 | refs/heads/master | 2020-03-26T06:10:14.116677 | 2019-11-14T11:41:38 | 2019-11-14T11:41:38 | 144,592,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | meuFatorial.sce | function y = meuFatorial(x)
a=1
for i=1:1:x
a=a*i;
end
y=a;
endfunction
|
e0a1e21f94fb0cf048489199a0e5588878ba886d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.2/Ex3_2.sce | 614bbafda6edccd3232eb8ed005a8a075fe5a7b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex3_2.sce | //EX3_2 PG-3.15
clc
disp("Refer to the figure-3.8 shown")
Vin=0;//cut-in voltage for an ideal diode is zero
Rf=0;//forward resistance for an ideaal diode is zero
disp("For an ideal diode")
Vm=15;
Vdc=-Vm/%pi;
printf("\n DC output voltage is %.2f V\n ",Vdc)
disp("-ve sign indicates that voltage is negative wrt ... |
c82e5de52e818ec30724c427c308a9e1f9b47274 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.9/EX2_9.sce | 494b52afa7e7ad8a43a96870f57a20ff8d6bfc59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | EX2_9.sce | //EXAMPLE 2-9 PG NO-65
t1=0.0025; //time
t2=0.005; //time
t3=0.01; //time
i1=10*314.16*cos(314.16*t1); //i1 is derivatives of i wrt t;
disp('i) Current = '+string ... |
e70d4fd3ba56f0e759c3af6153334cf2c3cd3fe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.25/34_25.sce | e803d0ae12257e5b50a7ed545088b64d6630a212 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 34_25.sce | //ques-34.25
//Calculating concentration of a substance
clc
EC=14000;//molar absorptivity
l=1;//thickness (in cm)
A=0.85;//absorbance
C=A/(EC*l);
printf("The concentration of the given substance is %.7f M.",C);
|
4dde1efa2118013ad334345fb59680d75fce8d3a | cb8badb7b62f46da3dd1b582c4186b5b2829d5af | /macros/Sources/CURVE_c.sci | d5c87f61dc1e891246573810ffee5d5ad16b691d | [
"MIT"
] | permissive | FOSSEE/xcos_on_cloud | e3cf7ff202a1628a875484774c87936fbd8696cf | e981d77e0c96ab5db0e01755a2531d878864266f | refs/heads/master | 2023-05-12T12:12:08.955522 | 2023-02-16T10:25:15 | 2023-02-16T10:25:15 | 99,215,141 | 12 | 31 | MIT | 2023-05-02T00:18:57 | 2017-08-03T09:24:23 | JavaScript | UTF-8 | Scilab | false | false | 39,684 | sci | CURVE_c.sci | // Scicos
//
// Copyright (C) INRIA - Masoud Najafi <masoud.najafi@inria.fr>
// Serge Steer <serge.steer@inria.fr> 1993
// Habib Jreij 1993
//
// This program is free software; you can redistribute it and/or modify
// it under the terms ... |
6c927a06f266edc1089f101ea313f45155e38434 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH4/EX4.3/4_3.sce | 615e11edf95ee8f420ef6476586edf1050e8090d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | 4_3.sce | clc
//initialisation of variables
Re= -4 //KN
Rh= -6 //KN
Ro= 2 //KN
x1= 1 //m
x2= 3 //m
x3= 5 //m
x4= 4 //m
//CALCULATIONS
Rb= (Ro*x1-Re*x2-Rh*x3)/8
Rav= (-Ro*x1-Re*x3-Rh*x2)/8
Rah= Ro
Fcf= (Rav+Re)/cosd(45)
Fcd= (-Re*x1-Rav*x4-Ro*x1)/x1
Fef= (Rav*x2+Ro*x1)/x1
//RESULTS
printf ('Rb= %.1f KN',Rb)
prin... |
6e72ac62193f7dbcf5dffda247938fb353cf1b1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH7/EX7.12/ex7_12.sce | b43c3d1f86980e90a27bbe44a740008e248856da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | ex7_12.sce | //Example 7.12, page no-443
clear
clc
i2=150
i1=125
m=(i2-i1)*100/i1
printf("Moisture percentage = %d%%",m)
|
f84f282410ede061c88cc00b02756a225a98d205 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.3.u1/Ex5_3_u1.sce | 13d3d0f2079d8dd0be4811adc61102fe8501f5ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Ex5_3_u1.sce | //Example 5_3_u1
clc();
clear;
//To find the intercepts along the Y and Z axes
a=0.121 //units in nm
b=0.184 //units in nm
c=0.197 //units in nm
//Given miller indices are (2,3,1)
OA_OB=3/2
OA_OC=1/2
OB=(2/3)*b //units in nm
OC=2*c //units in nm
printf("The Intercepts along th... |
f36f7e9118a3c0e20261178bdc3e902ea3d0001f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH3/EX3.9/Ex3_9.sce | 3004a3bc985b4e734ab6a48263730137a9316f93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_9.sce | clc;clear;
//Example 3.9
//part a
disp('Part a');
//given values
P=200;
x=0.6;
//from Table A-5
T=120.21;
uf=504.50;
ufg=2024.6;
//calcualtions
u=uf+(x*ufg);
disp(T,'temperature in Celcius ');
disp(u,'internal energy in kJ/kg');
disp('saturated liquid–vapor mixture at a pressure of 200 kPa');
... |
2eb8d97926e5a118db377eadcf834becd2ae495f | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/tests/unit_tests/xls_GetData.tst | 59fc71d8dab996eb9e58a3f8e9f0f7c4d1518eb7 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,571 | tst | xls_GetData.tst | // ====================================================================
// Allan CORNET
// DIGITEO 2008 - 2010
// ====================================================================
// <-- CLI SHELL MODE -->
// ====================================================================
test_path = fullfile(xls_getRootPath(... |
e810370c1005f516892bc67b71d58d37c992355b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.16/Ex12_16.sce | 585f51ad7d7e09400a1c4ce0ab5326c6dc3e76ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 965 | sce | Ex12_16.sce | //=====================================================================================
//Chapter 12 example 16
clc;clear all;
//variable decalaration
R4 = 1000; //resistance in Ω
C3 = 50*10^-12; //capacitance in F
A = 314*10^-4; //area in m**2
D = 0.3*10^-2; //thickness in m
er ... |
0b1a73980d8985c856c5f5f3665a6ff2a6174483 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH13/EX13.2/13_2.sce | 69b123ca80a71d87305f854779aab55b05b0a2f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | 13_2.sce | clear; clc; close;
Ra = 10*10^(3);
C = 0.1*10^(-6);
Thigh = 1.1*Ra*C;
disp(Thigh,'Period of output waveform = ')
|
b7cda936fc407dbcb2f4d9ad9a54742d8673504f | b71010cb7f3a32a740cb4f979067f4bdc2ad0edd | /test2/lcc.x86.tst | 0f2f592059451d994d3b3959e962caf61a85e7a7 | [] | no_license | 8l/cmm | d1b76b044c2e1378e607e44d095350d1966ffb2f | e6365afe66f1a415608fdcbbf40f183d974ad3bb | refs/heads/master | 2021-01-22T13:12:18.199696 | 2014-12-20T01:58:29 | 2014-12-20T01:58:29 | 28,253,392 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,317 | tst | lcc.x86.tst | backend = Backend.x86
backend.ralloc = backend.ralloc or Ralloc.color
Ld.rtend = "" --- don't need the run-time system
Test.trust_exe = 1
Test.source = "lcc"
Test.asmdir = Test.asmdir or "lcc/x86"
Test.outdir = Test.outdir or "lcc/output"
Test.files =
{ { source="8q.c--", }
, { s... |
3c2461205a00d2089a3ae609b5d00a23d47aa284 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH4/EX4.4/4_4.sce | 7472ca5c5dd06076bb94956c5a9abac1b7f88195 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | 4_4.sce | clear;
clc;
close;
disp("Example 4.4")
m=50 //air mass flow in kg/s
mf=1 // fuel mass flow in kg/s
tae=0.88 //turbine adiabatic efficiency
pe=45*10^6 //shaft power in Watt
cp4=1156 // in J/kg.K
Tt4=1390.0197 // in K
pt4=1.92 //units in MPa
cp5=cp4//specific heat
mt=m+mf//total mass
gm=1.33 //gamma
ht5=cp4... |
43e2f96c9006a8e5d61b710e0c5c5d02bf87747b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH4/EX4.6/EX4_6.sce | 69da0514e149648e95df9c250033a3fbd105cc63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | EX4_6.sce | //page 98
clc;funcprot(0);//EXAMPLE 4.6
// Initialisation of Variables
n=2;........//No. of Atoms present per cell in BCC
a0=2.866*10^-8;.....//The lattice parameter of BCC iron in cm
rho1=0.994*10^15;.......//Planar density of (112)BCC in atoms/cm^2
//CALCULATIONS
a=sqrt(2)*a0^2;.........//Area of BCC iron in c... |
7e316a23e3155abd05eb4c7a2ef489b3cdbcf17c | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH7/EX7.7/7_7.sce | d270799f0877571475148e9b63f2adcd46793159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,403 | sce | 7_7.sce | clear;
clc;
// Illustration 7.7
// Page: 454
printf('Illustration 7.7 - Page: 454\n\n');
// solution
//*****Data*****//
Ff = 1.89; // [cubic m/min]
Fs = 2.84; // [cubic m/min]
t = 2; // [min]
//*****//
printf('Illustration 7.7(a) - Page: 454\n\n');
// Solution(a)
Q = Ff+Fs; // [total flow rate,... |
71d99c4e99144336e2c12a8e1169ed59fbcbf525 | 06a62d768e69fd9dda11b30011c252807e301813 | /mclaurinExp.sci | a3e4c168861d46c1301e5dac6c280d61e889963c | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sci | mclaurinExp.sci | //Mclaurin Expansion
n = 5;
a = 0.1;
expvalue = 1.0;
currentTerm = 1.0;
for i=1:n
currentTerm = currentTerm * a / i;
expvalue(i+1) = expvalue(i) + currentTerm;
end
trueVal = exp(a);
error = abs(trueVal - expvalue);
|
b299d4ff393c2b6f28e58663512d96453e0bf8db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH8/EX8.8/8_8.sce | 90ea002a6374bec2d9bdc405f327c57efb68fab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | 8_8.sce | clc
//initialisation of variables
v= 100 //ft/sec
u= 40 //ft/sec
a= 25 //degrees
g= 32.2 //ft/sec^2
vr= 66 //ft/sec
a1= 20 ///degrees
a2= 8 //degrees
r= 0.14
//CALCULATIONS
A= atand(v*sind(a)/(v*cosd(a)-u))
A1= atand(r)
v1= vr*sind(A1)/sind(a1)
W= (v^2-v1^2)/(2*g)
e= (v^2-v1^2)*100/v^2
//RESULTS
print... |
3a6d0789e4fd25c46535148e9840715f8da11fa7 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_dirprod.sci | c5f1d2584c566073edd9fdd44120fbcb7aad0a81 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sci | PIL_dirprod.sci | // **** Purpose ****
// calculate the direct product
// **** Variables ****
// A: nxn, real or complex
// <= matrix A
// B: nxn, real or complex
// <= matrix B
// C: nxn, real or complex
// => A direct prod of B
// **** Version ****
// 05/01/2014
// **** Comment ****
function [C]=PIL_dirprod(A,B)
A_dim=size(A);
B_di... |
e351044d08714cf1f27511bfbb450e42cd4d78e0 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.15/EX2_15.sce | d845c049d0479b7e1e3e9ab5cddffa848602c21f | [] | 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 | 524 | sce | EX2_15.sce | clc;funcprot(0);//Example 2.15
//Initilisation of Variables
d=0.03;....//diameter of uranium steel rod in m
qg=50000000;....//heat generated rate in W/m^2
Tw=120;....//surface temparature of uranium steel rod in degrees celcius
K=30;....//thermal conductivity of uranium steel rod in W/m*K
//calculations
R=d/2;.... |
16f0be02dc61f79a5a0328b11c33ce40796ab00f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH10/EX10.3.2/Ex10_3_2.sce | 571a135bf61807e414badc49764b602b1e17e123 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex10_3_2.sce |
clc
//initialization of variables
l = 200 // Length of the tower in cm
d = 60 // diameter of the tower
Lf = 300 // Liquid flow in cc/sec
Kx = 2.2*10^-3 // dominant transfer co efficient in liquid in cm/sec
//Calculations
A = %pi*60*60/4 // Area of the cross section in sq cm
L = Lf/A // Liquid flux in cm^2/se... |
6264a9a22393c8576b5ff2f1721e12f785794738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH2/EX2.17/exa_2_17.sce | 00b9cce2ef14a38eba392f3b102c95018061d885 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,347 | sce | exa_2_17.sce | // Exa 2.17
clc;
clear;
close;
// Given data
R1= 200;//in ohm
R2= 100;//in ohm
R3= 50;//in ohm
del_R1ByR1= 5;
del_R2ByR2= 5;
del_R3ByR3= 5;
// Part (i) when the resistance are connected in series
Rse= R1+R2+R3;// in ohm
disp(Rse,"Equivalent resistance when connected in seried in ohm");
LimError= R1/Rse*de... |
2aeb80c497cf64f70b654e9e88cadb8b81b9bd63 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH4/EX4.5/ex_4_5.sce | df6edb49ab2adfa8fc94b3a765f7b4c3d9ca17d4 | [] | 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 | 490 | sce | ex_4_5.sce | //find the compression of the piston rod
clc
//solution
//given
d=50//mm//diameter of rod
l=600//mm//length of rod
D=400//mm//diameter of piston
p=0.9//(N/mm^2)//maximum steam pressure
E=210*10^3//(N/mm^2)//young's modulus
pi=3.14
A=(pi/4)*D^2//(mm^2)//area of cross section of piston
P=A*p//N//max load acti... |
dd26c1d4694d1ba6f30f4b15b253ec948ce97b8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH6/EX6.1/6_1.sce | ee9f29d2b4f28ee1965f4a3a8a7b711303499435 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | 6_1.sce | clc
//initialisation of variables
d= 3.880 //g l^-1
M= 208.3 //gm
P= 1 //atm
R= 0.08205 //cal/mol K
T= 473.1 //K
//CALCULATIONS
d1= M*P/(R*T)
d2= (d1-d)/d
Kp= d2^2/(1-d2^2)
Kc= Kp/(R*T)
//RESULTS
printf (' Kc = %.3e moles l^-1',Kc)
|
4aa5e5c8df7bf4e40a46786f7d0585c24bb205e7 | 6c9a6a1488d24fab72280520aba7d98c82d25c6f | /sigopt-uncertainty/Données graphe aléatoire.sce | 916d397b95172fbddda3eef04a5513ed13f8e43b | [] | no_license | IGNF/SIGOPT | 1f9b91de43de7aab4ca88b875f3ac1f4aa36b82b | b5f33f5940e15fb46fa3979dd096098508dc66a3 | refs/heads/master | 2020-04-06T07:12:27.471020 | 2017-09-07T14:37:45 | 2017-09-07T14:37:45 | 59,760,247 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,975 | sce | Données graphe aléatoire.sce | //Données graphe aléatoire
NPE=2; //Nombre de paramètres environnementaux (déchets)
//Choix d'un jeu de paramètres de lois gamma
ks=[25 35]; //Shape parameters
mu=[6 7]; //Moyennes
Beta=ks./mu; //Rate parameters
NQ=7; //Nombre de quantiles extraits + 1
Q=zeros(NPE,NQ-1);
for i=1:NPE
for l=1:(NQ-1)
... |
1cba558ad5d6193589cded92e1056bac64a5e687 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH23/EX23.17/Chapter23_example17.sce | 36dcf7819c6897af2f0a80a2608b9b83ca393adf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 958 | sce | Chapter23_example17.sce | clc
clear
//Input data
Vs=0.0015//Stroke volume in cu.m
rc=5.5//Volume compression ratio
p2=8//Pressure at the end of compression stroke in kg/cm^2
T2=350+273//Temperature at the end of compression stroke in K
p3=25//Pressure in kg/cm^2
x=(1/30)//Fraction of distance travelled by piston
pa=1/16//Petrol air mix... |
38ca85b8ce9f2f6291c1789946bf87976390f5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH6/EX6.2/Ex6_2.sce | ec90610d3e18724d716bda288b85d6b55c5c6a20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_2.sce | // Variable Declaration
E_c = 100.0 //Safe working stress(kV/cm) rms
V = 130.0 //Operating voltage(kV) rms
d = 1.5 //Diameter of conductor(cm)
// Calculation Section
ln_D = 2*V/(E_c*d)+log(d)
D = exp(ln_D)
thick_1 = (D-d)/2 //Insulation thickness(cm)
d_2 = 2*V/E_c
D_2 = 2.718*d_2 ... |
f102224329574cd69f8e66477e0586065a6984b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH16/EX16.9/example16_9.sce | 62042abc8172ae874976e82fcad9c368e4bd4ff8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | example16_9.sce | clc
// Given that
d1= 0.534*10^3 // densiy of Li in kg/m^3
d2= 0.971*10^3 // densiy of Na in kg/m^3
d3= 0.86*10^3 // densiy of K in kg/m^3
w1 = 6.939 // atomic weight of Li
w2 = 22.99 // atomic weight of Na
w3 = 39.202 // atomic weight of K
h = 6.62e-34 // Planck constant in J sec
m = 9.1e-31 // mass of an electron i... |
53354f44d1ee724b8f67db7ec7ded6bb6e7e9d68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH7/EX7.1/7_1.sce | 2e018a1e60330596ca3565988ae815d8cbcae2c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sce | 7_1.sce | pathname=get_absolute_file_path('7_1.sce')
filename=pathname+filesep()+'7_1data.sci'
exec(filename)
D=(E*t^3)/(12*(1-v^2));
X=(16*q0/(D*%pi^6))/(((1/a^2)+(1/b^2))^2);
X1=(16*q0/%pi^4)*((1/a^2)+(v/b^2))/(((1/a^2)+(1/b^2))^2);
X2=(16*q0/%pi^4)*((v/a^2)+(1/b^2))/(((1/a^2)+(1/b^2))^2);
function[w]=f(x,y),//taking fi... |
7933894713c84a7671e0656570be7458a2cfafd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.23/ex_1_23.sce | 21bfbb2f846fec9e7b19236bdc4ca85688164d22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | ex_1_23.sce | //Example 1.23 // distance between rings
clc;
clear;
//given data :
R1=100;//radii of curvature in cm
R2=R1;// given
w=5400D-8;// wavelength of light in m
n1=5;// order of ring for case one
r1=sqrt(n1*w/((1/R1)+(1/R2)));//radii of curvature in cm
n2=15;// order of ring for second case
r2=sqrt(n2*w/(1/R1+1/R2)... |
1b725021b14ab79992f1993a54b3d22546cf84de | f723e412ff19820dcd1f727100562b15a3e5d87d | /2 Ray Ground Propogation Model.sce | 5f194ec0cfe09d8cb5ee92177a2d9e736fb93be4 | [] | no_license | Sid-149/Mobile-Communication-System | f53593fa9ceedeb95e41dab9a530f1b6e71ce991 | 7e249472fa7b038ec5cfe7a92e28f79e95d01470 | refs/heads/master | 2023-01-09T23:21:09.222110 | 2020-10-21T05:24:43 | 2020-10-21T05:24:43 | 288,692,109 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 766 | sce | 2 Ray Ground Propogation Model.sce | clc
clear
Fc = input("Enter Frequency in Hz: ")
E = input("Enter Electric Field in v/m: ")
GrdB = input("Enter Gain of Receiver Antenna in dB: ")
d = input("Enter distance between Transmitting and Receiving Antenna in meters: ")
c = 3*10^8
lambda = c/Fc
disp("Wavelength in meters: ")
disp(lambda)
Gr = 10^(Grd... |
936afc1358f2480fa23f36207c63825fd780eeae | 9d545f988a80789144df937ce4a90017c378cb92 | /Lab 9/dpcm.sci | 06d2aef87b7f18bc5fbdd78c85d37c7adc4f6d82 | [] | no_license | tshrjn/EE304P | 215dc669daaf372242afe2c1f580a36df26e51ce | ac1c045262dd0b419354d2d22861c734508b7b8e | refs/heads/master | 2021-01-10T03:02:18.270276 | 2015-12-01T02:42:16 | 2015-12-01T02:42:16 | 46,113,211 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sci | dpcm.sci | delta=.9957;
function [xrec]=reciever(quant,delay)
xrec=quant+delay;
// xrec=bin2dec(bit)*delta+x_i+delay;
endfunction
function [xrec]=reciever_bin(bit,delay,x_i)
// xrec=qua+delay;
xrec=bin2dec(bit)*delta+x_i+delay;
endfunction
//indicator=1;
function [bit]= delMod(x_high,x_low)
... |
43efcde8201b206b84187a5d8567755a03fe24ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH2/EX2.14/Ex2_14.sce | cf5eb71acb472bc91e5a04f4c62e2072b0352d07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex2_14.sce | clear
//
//kcl is applied to the circuit and the eqns obtained are solved using cramer's rule
printf("\n the voltages of nodes 1 and 3 are 50.29 and 57.71 respectively")
//i3=v/r
printf("\n current through 16 ohm resistor is 1.64A")
|
7ffb5b264a21d54b82b753a5a0d9cba98c6e0bdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/polsplit3.sci | caffc7509b6380a025c34d55a8e883df12a07c2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,392 | sci | polsplit3.sci | // Procedure to split a polynomial into good and bad factors, as discussed in Sec. 9.5. The factors that have roots outside unit circle or with negative real parts are defined as bad.
// 9.12
// function [goodpoly,badpoly] = polsplit3(fac,a)
// Splits a scalar polynomial of z^{-1} into good and bad
// factors. I... |
ec8e748cb628ed6ebbdbe9faba6770e85e61e66f | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/macrocab_out.sci | 48f5657a0e29c19e9968f7a2497f124f5d25522f | [] | 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 | 1,547 | sci | macrocab_out.sci | function [x,y,typ]=macrocab_out(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then standard_draw(arg1);
case 'getinputs' then [x,y,typ]=standard_inputs(arg1);
case 'getoutputs' then [x,y,typ]=standard_outputs(arg1);
case 'getorigin' then [x,y]=standard_origin(arg1);
case 'set' the... |
a51132d203b960c628dea692f4080899533254a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH4/EX4.15/Example_4_15.sce | f779b7e247dac122a01300c111b190c9405d2658 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,265 | sce | Example_4_15.sce | //Example 4.15
clear;
clc;
//Given
Cpw=75.42;//heat capacity of water in J K^-1 mol^-1
T=263; //temperature in K
P=1;//pressure in atm
Cpi=37.20;//heat capacity of ice in J K^-1 mol^-1
delHf=6008;// latent heat of fusion in J mol^-1
mp=273;//melting point of water in K
n=1;//moles of ice taken
//To calc... |
99cbcb1b7b41a44254bdcda70ba0c691065b421a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH6/EX6.11/6_11.sce | 972c6707cfeeac0c9388e1b58677d5f2693a6bc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | 6_11.sce | clc
//initialisation of variables
h=0.5//lb
p1=2.5//lb/in^2
p2=100//lb/in^2
t=250//Degree C
pv=1.3//constant
pt=0.5457*p2//lb/in^2
t1=18//degree C
h1=32//C.H.U/lb
h2=151//C.H.U/lb
D=0.887//in
V1=sqrt(2*32.2*1400*h1)//ft/sec
V2=sqrt(2*32.2*1400*h2)//ft.sec
s1=8.74//ft^3
s2=140.8//ft^3
T1=0.687//in
T1=1.... |
c46473c505a23669064b46b907b5c772274ae330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH13/EX13.7/13_7.sce | 7f15f22ade6eb7fb890f2f15e15ec525b8a72e4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,511 | sce | 13_7.sce | clear
clc
//Example 13.7
disp('Example 13.7')
s = %s;
num = 4;
den = (5*s+1);
delay=1;
w = 0.001:0.002:10*%pi;
LF = "loglog" // Warning: Change this as necessary
Gv=2;Gm=0.25;Gc=1;
G1 = num/den*Gc*Gm*Gv;
G1m = horner(G1,%i*w); //G1m denotes magnitude
G1p = phasemag(G1m)-delay*w*180/%pi; //G1p denotes phase
xset... |
3ff48f26c45c452dacdeadee560a8a2fd2329d62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH10/EX10.2/Ex10_2.sce | 0805d72cfb5485c4a806f8574eb4f8470eea2089 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex10_2.sce |
//Ex10_2
clc;
// Given:
E=1.1;// in MeV
M=65;// molecular weight of zinc
//Formula:
// Er=(536*E^2)/M
// Solution:
Er=(536*E^2)/M;
printf("The energy of recoil of Zinc atom is = %f eV", Er)
|
7dd032c61a627b0e0faf395c63db33fd2f1665fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH7/EX7.2/Ex7_2.sce | 93e2e4e895197488d127ca6171c9f7f7789abc40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,096 | sce | Ex7_2.sce | // Problem no 7.2,Page no.184
clc;clear;
close;
P=295 //KW //Power
N=100 //R.p.m
sigma_s=80 //MPa //shear stress
//Calculations
T_mean=((P*60000)*(2*%pi*N)**-1) //N*m
//T_max=T_mean=(%pi*D**3*sigma_s)*16**-1
D=((T_mean*16)*(%pi*sigma_s*10**6)**-1)**0.333 //m //Diameter of solid shaft
//For hollow shaft
//I_p_h=... |
0261e48056f9f900d3e4fcab01b3fd145b346e83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH9/EX9.7/CH09Exa7.sce | 7293243ad484f9ecce70ddc64943d3d93bda0c5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | CH09Exa7.sce | // Scilab code Exa9.7 : : Page-392 (2011)
clc; clear;
h_cut = 1.0545e-34; // Reduced Planck's constant, joule sec
R = 1.2e-15; // Distance of closest approach, metre
m = 1.67482e-27; // Mass of the nucleon, Kg
// For O-17
for A = 17:60 // Mass numbers
if A == 17 then
omega_O = ... |
62edb3e30beadc088bd977caa4693f7defedf495 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.17/ex_7_17.sce | 1812a3960afbf748a62b4f7e60b508ea6602a8a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | ex_7_17.sce | //Example 7.17 // strain
clc;
clear;
close;
//given data :
n=4;
Rg=200; // in ohm
Rsh=100*10^3; // in ohm
Gf=2; // gauge factor
e=Rg/(n*Gf*(Rg+Rsh));
// case 1 -when the calibration switch is closed, the read out gives a reading of 140 division
D=e/140;
//case 2 - when the strain gauge is loaded, the strain
S=D*220*10^... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.