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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
851deb06d7a0ac67f8b883b8d5a956da7dd8b346 | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 4/Listing4117.sce | 5bc30bd098ab10e790139f30e4f03beaae50f6e8 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | Listing4117.sce | clc
clear
clf(); // clear and reset a figure
t=0:%pi/20:2*%pi;
plot(t,sin(t),'ro-.',t,cos(t),'cya+',t,abs(sin(t)),'--mo')
|
53993d7caf569037bcda69d6a1b49e95f2f9c857 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH25/EX25.2/Chapter25_example2.sce | e134924c9f1f0cf4da33d931e0029e2d30b64bce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | sce | Chapter25_example2.sce | clc
clear
//Input data
p=4//Pressure ratio
T3=1000//Turbine inlet temperature in K
T1=15+273//Inlet temperature in K
p1=1//Inlet pressure in kg/cm^2
m=11//Mass flow rate of air in kg/s
Cp=0.24//Specific heat at constant pressure in kJ/kg.K
R=29.27//haracteristic gas constant in kg.m/kg.K
g=1.4//Ratio of speci... |
768d6b8c77b2aa2bfc86e577e9a57c1c04560a29 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Samples/ParticleEngine.SCI | cb1f05d08f27597b9a2d14377796ee541898e162 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,424 | sci | ParticleEngine.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
myviewport=T_getviewport;
myviewport.focaldistance=7;
sss.ambientlightcolor=color(0.05,0.05,0.05);
rootframe=sss.Universe;
createnew=true;
tx=rootframe.createtexture("star",DataDir+"\textures\star2.bmp");
pe=rootframe.add("PEngine")... |
cdba4b60e2aefd2d2e64c88270f26da56a7c97ce | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/check_mdaq_compiler.sci | 02c5c67e239f852e661460a72f40342118b73d7c | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 139 | sci | check_mdaq_compiler.sci | function result = check_mdaq_compiler()
result = isfile(mdaq_toolbox_path() + "rt_templates"+filesep()+"target_paths.mk");
endfunction
|
196e695ef797d78bb2e2da010c9fb4fb8497a869 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH32/EX32.03/32_03.sce | b4998c6bd0af8632676b1588e7aff3acf927932d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,288 | sce | 32_03.sce | //Problem 32.03: Use the superposition theorem to obtain the current flowing in the (4 + i3) ohm impedance of Figure 32.16.
//initializing the variables:
rv1 = 30; // in volts
rv2 = 30; // in volts
thetav1 = 45; // in degrees
thetav2 = -45; // in degrees
R1 = 4; // in ohm
R2 = 4; // in ohm
R3 = %i*3; // in oh... |
8d387882f51ce2eadbe7929cf604b62120dc6a38 | 72d7c10733e74eafb60961874dedea7fa2a43569 | /2.Basics/Step_function.sce | 4db7ec7c1623d2c19e7941e16e65d33abcdba0e6 | [] | no_license | AkshayNachappa/Scilab-Workshop | 8dc448c41a2e768f3d93bbed928705445b9c007b | 056436f38a1f3aad7d1e3669595718839108c40e | refs/heads/master | 2023-01-02T00:20:19.968404 | 2020-10-20T17:04:44 | 2020-10-20T17:04:44 | 297,102,650 | 2 | 2 | null | 2020-10-20T17:04:46 | 2020-09-20T15:12:27 | Scilab | UTF-8 | Scilab | false | false | 67 | sce | Step_function.sce | clear;
clc ;
close ;
t=linspace(0,1,2)
x=ones(2,1)
plot(t,x)
|
00cb6cb8730018751799bc3166083f0acd32ac4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.34/34.sci | 6dd6c1fa17e5f07aea589e9dac36e7fa27c032f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sci | 34.sci | clc;
clear all;
disp("heat transfer rate")
La=0.22;//m
Lb=0.22;//m
kA=3.5;// W/(m*C)
kB=0.65;// W/(m*C)
thf=1300;// degree C
tcf=40;// degree C
hconvi=16.4;//W/(m^2*C)
hconvo=11.5;//W/(m^2*C)
hradi=17.5;//W/(m^2*C)
hrado=7.2;//W/(m^2*C)
//q= qconvi+qradi=qA+qB=qconvo+qrado
//q=delT/Rtotal=(thf-tcf)/Rtotal... |
c3e4b58b5ec1a48a9ccd56f5386a76240217b4b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH3/EX3.1/Example3_1.sce | faed1919fdb9ed66bfae1599d0189733d9bd0ca7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Example3_1.sce | //chapter-3,Example3_1,pg 67
S=2*10^-6
T=2000
A=60.2*10^4
b=52400//Q/K
e=1.6*10^-19
I=A*S*(T^2)*(%e^(-(b/T)))
J=A*(T^2)*(%e^(-(b/T)))
no=J/e
printf("maximum obtainable electronic emission current\n")
disp(I)
printf("\nemission current density\n")
printf("J=%.3f A/m2",J)
printf("\n... |
06a13cc5fa7296504f4a60bc83abf7b4eea2d439 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH6/EX6.7/Ex6_7.sce | c7e6b54b6ccc3a5693577b595b6ad1e07faddda0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,056 | sce | Ex6_7.sce | //Ex6_7
clc
VCC = 12
VBB = 3
IC = 12*10^-3
VCE = 5.5
beta = 100
VBE = 0.7
Re = 50
disp("VCC = "+string(VCC)+"V")//collector supply voltage
disp("VBB = "+string(VBB)+"V")//base supply voltage
disp("IC = "+string(IC)+"A")//collector current
disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
... |
bc282e980eb1cafcd7026e1d5fd2ce2d407b882a | 2c53768d7b1c5685d31284f9d4b7ec4a75123faf | /Scilab/Scilab1.sce | 3cd13d6b8b75e08bf1268d8483163a57393c9c92 | [] | no_license | lucassouzavieira/Scientific | fdd19c358c1d8c8b857313dd5d648a5d096adc81 | 1c24c4b036fd97f98eaf53c131e10ffb7e6d7ab8 | refs/heads/master | 2021-01-17T13:20:24.406735 | 2018-06-05T11:27:05 | 2018-06-05T11:27:05 | 54,165,312 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | Scilab1.sce | // SCILAB //
// Funções de Entrada e Saída //
whos; // Exibe as constantes do programa
// FUNÇÕES DE SAÍDA //
// Exibir variáveis na tela do console
disp(%pi);
// Imprime variáveis em um arquivo (a variável deve ser definida pelo usuário)
piNumber = ... |
973bad8beffd567d14af75217d4ce034d6619a74 | 9912678e28073cbe4e3b8c355954b571bf3d4d1a | /projects/02/IsZero16.tst | 3ed23038dc0d8fa5d0d98a21ee0b6089604dcc9f | [] | no_license | Toraja/nand2tetris | f98ee40afbd529acc6564483f45ce0fd02f40692 | 7955c6a3ac28fa1e48654f0f2b3fb1c464adc2ea | refs/heads/master | 2021-04-28T01:12:45.034616 | 2018-04-01T03:11:44 | 2018-04-01T03:11:44 | 122,270,476 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | tst | IsZero16.tst | load IsZero16.hdl,
output-file IsZero16.out,
compare-to IsZero16.cmp,
output-list in%B1.16.1 out%B3.1.3;
set in %B0000000000000000,
eval,
output;
set in %B0000000000000001,
eval,
output;
set in %B1000000000000000,
eval,
output;
set in %B1010101010101010,
eval,
output;
set in %B00111100110000... |
2a000fbd5e6fa1f2c2cf95712ceee8773385b345 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3417/CH10/EX10.2.8.2/Ex10_2_8_2.sce | 00dd9556f84266ef042eea78768cdffb039033f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,033 | sce | Ex10_2_8_2.sce | //Ex10.2.8.2;calculate voltage output of cell,efficiency,electric work output,heat transfer to the surroundings
//1] voltage output of cell
del_G=-237.3*10^3;//Joules/gm-mole of H2
n=2;
F=96500;//Faraday's constant
E=-del_G/(n*F);
printf(" E=%f volts",E);
//2] Efficiency
//nmax=del_Wmax/-(del_H)25 degree celc... |
b34044a6c955408a7a6332feebd661c5f383adb2 | b6021eff22c8ea544160e5f1a9bc1b01fcac1248 | /delta_documentation/Scilab_resources/trajectoria.sce | 02906ffc4f623c62d43e437534d4a015186b56ca | [] | no_license | x-itg/ros_delta_robot | 190a1a8d9e8b35f7fc69bafb95b5b2a838ebfc5c | 5940f173e6c5ca05aa4bb1cbf7bc135b6618412b | refs/heads/master | 2023-08-28T16:04:59.792250 | 2018-02-16T15:33:34 | 2018-02-16T15:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,953 | sce | trajectoria.sce | //Draw trajectory
close();
// Aquesta funció requereix l'execució de l'script inverseDelta.sce. Totes les
// subrutines estan en aquest arxiu. Abans, però, cal definir els paràmetres de
// la màquina al mateix inverseDelta.sce (els trobareu a la capçalera). L'usuari
// ha de modificar el següent:
startPoint = [-0.15, ... |
51e427443b0c43a20f8fee074656f1d073a1ac37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH13/EX13.15/Ex13_15.sce | d8f26cc13ac4ec0aa4ed1866d60def0e5302e73f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | Ex13_15.sce |
// Example 13.15
Vl1=3300; // The supply voltage
Vph1=Vl1/1.732; // Primary phase voltage
N1=840; // No.Of Turns in Primary winding
N2=72; // No.Of Turns in secondary winding
Vph2=Vph1*(N2/N1); // Secondary phase voltage
Vl2=Vph... |
b4d527980384365a0a479d42b7b89f45daf03334 | 8c8c1ab38e21729879e1fb57636eb778aaf88ca5 | /fn_f1.sce | d68c213f6803e5d06b49a52924ed52da5f315f16 | [] | no_license | Rutvik1999/Scilab_3rdSemester | 3b9454b18220ed503e7129bf77a797feecd8f039 | 12342f90814f64e86398621be3070d5569388634 | refs/heads/master | 2020-05-18T08:21:10.203092 | 2019-04-30T16:03:59 | 2019-04-30T16:03:59 | 184,292,298 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | fn_f1.sce | function [y1,y2,y3] = fn_f1(x1,x2,x3,x4);
y1 = x1 + x2;
y2 = x2 + x3;
y3 = x3 + x4;
endfunction
|
ae746e8a378c2917cad6770f8b0215d1fbc692c1 | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP2/solinf.sci | 0235d80205b921b5076cd20fef102c3ad1a75826 | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sci | solinf.sci | function [x] = solinf(L, b)
// L matrice carrée triangulaire inférieure dans Rnn
// b un vecteur de Rn
// Retour : x un vecteur de Rn qui résoud Lx = B
n = size(b, 1);
if (size(L, 1) <> n) | (size(L, 2) <> n) then
error("Dimensions incohérentes");
end
x = zero... |
2dd03b7ef249aba2a61807ab5b4a779af034adb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH12/EX12.1.2/example12_2.sce | aa0097a1c4b8d6b77f0e170ba3ddc5e89e4ffc7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | example12_2.sce |
//example 12.2
clc; funcprot(0);
// Initialization of Variable
rho=1.22;//density of air
pi=3.1428;
rhos=910;//density of polyethene
d=3.4/1000;//dia of particles
mu=1.73/10^5;
g=9.81;
dt=3.54/100;//dia of duct
//calculation
a=2*d^3*rho*g*(rhos-rho)/3/mu^2;
disp(a,"R/rho/U^2*(Re^2)=");
//using Chart
... |
f971d23cbe16cc1404ca131f436fb056d846658f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.9.1/Ex3_9.sce | 0fcf773a57e3da06536e9c12ee443ca0a121e9a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | Ex3_9.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
P1=100;
V1=0.25;
T1=100+273;
V2=0.05;
P2=750;
G=1.4;
R=0.298;
n=(log(P2/P1... |
34888e6c7dc46a1e8271f86ef088e4feffaf626e | 61129043aed87983b640a33b1c260316043fa570 | /ui/more_components.sci | 106aaf9f289858225d44fd59b24f40046bb0a49e | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,034 | sci | more_components.sci | // =============================================================================
// gfx4scilab - ui
// dgerod@xyz-lab.org.es
// =============================================================================
//------------------------------------------------------------------------------
// MessageBox
//---------... |
92eb0812c80f8b61a27443964b19133da15791c0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/acosm.man.tst | 42c65245ea017600573d421c12c3fdc921844a11 | [
"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 | 44 | tst | acosm.man.tst | clear;lines(0);
A=[1,2;3,4];
cosm(acosm(A))
|
8e2a179d54e9592a9f6eb86c185ffb33c9f0e1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH1/EX1.9/ex1_9.sce | 2749f8e07b6c6ae333f947c6c9fc5e541cd24786 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | ex1_9.sce | //Page Number: 22
//Example 1.9
clc;
//Given
ZL=75+(%i*100); //ohms
Z0=50; //ohm
//Normalized load impedance
z=ZL/Z0;
disp(z,'Normalized load impedance:');
//(i) 0.051*lam
//From chart
r=4.6;
Zi1=r*Z0;
disp('ohm',Zi1,'Input impedance at 0.051 lam:');
//(ii) 0.102*lam
r1=1.5-(%i*2);
Zi2=r1*Z0;
dis... |
f17f06cef5f63e06071d374d196407a660950fd9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH14/EX14.13/Ex14_13.sce | a216b9e06af446163a2580f9d5b851474be5895b | [] | 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 | 203 | sce | Ex14_13.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
v_pc=3.68 //ft/s
l=2 //ft
//Calculations
w=v_pc/l //rad/s counterclockwise
//Result
printf('The angular velocity is %frad/s',w)
exit();
|
4e1f4e8773ba5cddd517091a126f80b919d2d67d | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH1/EX1.2/ex2.sce | 87f07b3c64226f263fb49df1c8814ea614326bc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 766 | sce | ex2.sce | // Example 1.2: Gain of transistor amplifier
// Amplifier has transfer characteristics v_O=10-(10^-11)*(exp^40*v_1) applies for v_1 is greater than or equal 0V and v_o is greater than or equal to 0.3V
L_l = 0.3; // limit L_-
disp(L_l,"The limit L_- (V) =")
v_I=1/40*log((10-0.3)/10^-11); // from the transfer charact... |
33fc23094f35ee7c56938b8b9d4259998c38b3c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH7/EX7.3.f/ex_7_3_f.sce | b03139fe6afca87363ac98ea2867ac65809159fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | ex_7_3_f.sce | // Example 7.3.f: fracture stress
clc;
clear;
close;
format('v',10)
yl=40;//yeild load in kN
ml=71.5;//maximum load in kN
fl=50.5;//fracture load in kN
glf=79.5;//gauge length of fratture in mm
st=7.75*10^-4;//strain at load of 20kN
d=12.5;//specimen diamtere in mm
sl=62.5;//specimen length in mm
A=(%pi*(d*10^-3)^2)/4;... |
949432c54e90f27949aaf7085b2fb2793f1aabef | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/raízes/problema_fuel_rod.sce | 7734c1508153101d4c26eec0b4b640b0acadaf81 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,186 | sce | problema_fuel_rod.sce | //
// Na teoria do transporte de nêutrons,
// o comprimento crítico de uma barra de combustível nuclear (fuel rod)
// é determinado pelas raízes da equação
// cot(x) = (x^2 - 1)/(2*x)
// Encontre a menor raiz positiva desta equação.
//
// Solução:
// cot(x) = (x^2 - 1)/(2*x) => f(x) = (x^2 - 1)/(2*x) - cot(x) = 0
//
... |
e65edf0d7749ccc43b22f06173676cb792bf1891 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH20/EX20.2/Ex20_2.sce | 876e9155bdaac5b1863e6d22cfc847cbc4109b35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | Ex20_2.sce | // Ex20_2 Page:391 (2014)
clc;clear;
q = 1.6e-019; // Charge on an electron, C
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
m = 1.67e-027; // Mass of a proton, kg
B = 2; // Applied magnetic field, T
R = 0.25; // Maximum radius of cyclotron, m
f = q*B/(2*%pi*m); // Frequency needed for apply... |
3130588f89d65efb5210ccbd2d58029a9a03c360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH6/EX6.2/6_2.sci | 95ae59884e8b45a5e9e28530b75c0f7ff7b35a88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sci | 6_2.sci | // calculating the closed loop gain
clc;
Rf=10;
R1=1;
Avol=200000;
A=-(Rf/R1)*(1/[1+(1/Avol)*((R1+Rf)/R1)]);
disp(A,'closed loop gain=') |
6bdb572058feab3e48c1032957dc0ce9c33e281b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH3/EX3.4/Ex3_4.sce | 71ad59483e69ac7bbd5587eb74e17e0c79c1d1cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | Ex3_4.sce | clear
//Given
r=3.4*10**-14 //m
n=47
q=1.6*10**-19 //C
m=9*10**9
//Calculation
V=m*n*q/r
//Result
printf("\n Electric potential at the surface of silver nucleus is %0.2f *10**6 V",V*10**-6)
|
7202246dab0315a203fca02d9b586f9211e8ad4c | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/sohclustering.sci | b163e0173b0ab0a835ae7844cd2492fc31ef35f6 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,518 | sci | sohclustering.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: Feb. 2010
// Description: stepwise optimal hierarchical clustering
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
/... |
019d70ab3a6ea8244501deb85725477deee47da3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH3/EX3.3.1/Example3_3_1.sce | 271c6d3d51945a5b280363c6038549f6bcf93046 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Example3_3_1.sce | //Example 3.3.1 page 3.25
clc;
clear;
r1= 0.32;
r2= 0.32;
alpha= 10;
L= 500*10^-4;
temp=log(1/(r1*r2));
Tgth = alpha + (temp/(2*L));
printf("The optical gain at threshold is %.2f /cm",Tgth);
|
d07bd6739c361bcedc98e271614447d4cacdbe57 | 8881166f518b8c3365fd0a2c0395dbbe4b666a4c | /include_hart_V2/block_macros/hart_sciencemode.sci | d909d923399800dc487118149238a5923e2d4583 | [] | no_license | christianausb/OpenRTDynamics | e1e31e61060611a710cf870538969ba5047061f6 | df0c6946622d9a54ab63796337003fb318931b36 | refs/heads/master | 2021-01-21T06:59:51.243998 | 2018-07-13T13:17:29 | 2018-07-13T13:17:29 | 10,501,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,718 | sci | hart_sciencemode.sci | function [x,y,typ] = hart_sciencemode(job,arg1,arg2)
//Stimulator Interface (RehaStim - Hasomed GmbH)
//
// Block Screenshot
//
// Description
//
// Current
//
// This input should be an array of values representing the currents desired on the channels specified in the block parameters. Thus if the specified... |
7b826f56b17981ed82d084e61beed3f00e0d6b0a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.7_13.tst | 31b3afdbb557917b815b4e05694f5b98b3926cc3 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,190 | tst | bow.7_13.tst | 7 1:0.14285714285714285 13:1.0 14:1.0 15:0.3333333333333333 21:0.3333333333333333 22:0.16666666666666666 27:0.03389830508474576 45:1.5 49:0.07142857142857142 66:0.25 70:1.0 71:1.0 84:1.0 86:1.0 89:1.0 91:0.3333333333333333 94:1.0 97:0.5 107:0.3333333333333333 113:2.0 136:2.0 144:1.0 155:0.125 157:1.0 195:1.0 224:1.0 22... |
df68a4aced17e0efe2fe61c2ce596e807998c7a3 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Circle Switching.sce | 3ffd76658b65ae0ec0cc6e89a21e17597664467d | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69,287 | sce | Circle Switching.sce | Name=Circle Switching
PlayerCharacters=Circle Tracking Player
BotCharacters=Circle Tracking Target.bot
IsChallenge=true
Timelimit=45.0
PlayerProfile=Circle Tracking Player
AddedBots=Circle Tracking Target.bot;Circle Tracking Target.bot;Circle Tracking Target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=... |
a70268b83ffd4fdefbae821a072717c84f666eab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH21/EX21.4/21_4.sce | 2617b6d9d6b39d343665ce51b0d974c34b2e1628 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 21_4.sce | //SHM
//r*sind(theta1)=0.2
//r*omega*cosd(theta1)=0.5
//r*sind(theta2)=0.3
//r*omega*cosd(theta2)=0.35
//thus
theta1=asind(0.44)
r=(0.2)/(sind(26.1)) //m
omega=1.225 //rad/sec^2
vmax=0.454*1.225 //m/sec
amax=-0.454*1.225^2 //m/sec^2
f=(1.225)/(2*%pi) //osc. per sec
printf("\namax=%.3f m/sec^2\nf=%.3f o... |
5a33b530d61f54c6d88bab7552e01f66dffddda5 | 60acf54211c534dae12601541518c7f3692c9899 | /Linux/scripts/hsf.search.bojjhanga.sce | f0ad8f472cc7030ccd5c1c63084be698504ed4fb | [
"MIT"
] | permissive | webappcreations/dotLinux | 67159a42510e60d18f059f7c9ac955eee1c3e4f2 | aac20d0ed2ff28b2701febbe49a0152cb94f50da | refs/heads/master | 2021-05-09T10:35:02.938723 | 2018-03-19T16:14:37 | 2018-03-19T16:14:37 | 118,967,881 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 218,387 | sce | hsf.search.bojjhanga.sce | /backup/susi/Buddhismus_1_Tipitaka/&www.Palikanon.com_Okt.2010/wtb/bodhisatta.htm:<img border="1" src="images/uparrow3.gif" alt="" width="40" height="40"></a><i> <a href="bojjhanga.html"><img SRC="images/dwnarrow.gif" border="1" alt="" width="40" height="40"></a>
/backup/susi/Buddhismus_1_Tipitaka/&www.Palikanon.... |
85e1db6b6236e39d31b05987aa237f738035224b | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH8/EX8.3/3.sce | ef7d0235673ce98dfeb4ca5ab3c344e75d592790 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | 3.sce | clc
p1=1*10^5; //Pa
T1=293; //K
d=6; //m; diameter of the spherical balloon
p2=0.94*p1;
T2=T1;
cv=10400; //J/kg K
R=8314/2;
r=3; //m
disp("(i) Mass of original gas escaped")
//dm=m1-m2
//dm=(p1-p2)*V1/R/T1
//m1=p1*V1/R/T1
%mass_escaped=(p1-p2)/p1*100;
disp("%mass_escaped =")
disp(%mass_escaped)
di... |
323a9623c0447997a89a60dcd1710c4dbd2af8f8 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnCh/ench.4.tst | b40d4e669f4d97641790df0b711198c2c7ecd8a2 | [
"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 | 99,850 | tst | ench.4.tst | a b a r e 阿 贝 尔
a b b i a t i 阿 比 亚 蒂
a b b i n k 阿 宾 克
a b d a l l a h 阿 卜 杜 拉
a b d n o r 阿 布 德 诺
a b e l o f f 阿 贝 洛 夫
a b e r t 艾 伯 特
a b i a t h a r 阿 拜 亚 撒
a b k o w i t z 阿 布 科 维 茨
a b l e s 阿 布 尔 斯
a b l e w h i t e 阿 布 尔 怀 特
a b n e r 阿 布 纳
a b o u r e z k 阿 布 雷 兹 克
a b r a h a m 亚 伯 拉 罕
a b r a m 艾 布 拉 姆
a b ... |
a3ebe282af4be54d7a56ccccfe82fa8e50901018 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.13/Ch05Ex13.sce | 1b2698c767922a0b49a6bba2113fe0738036c6e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | Ch05Ex13.sce | // Scilab code Ex5.13: Pg 163 (2008)
clc; clear;
R_c = 40; // Resistance of coil, ohm
I_fsd = 5e-04; // Full-scale deflection current, A
I = 3; // Current reading, A
V_c = I_fsd*R_c; // Potential difference, V
// Since ... |
85d86b7f0ad33e8221ddf3cf375bc057f6e8f4b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH11/EX11.7/Ex11_7.sce | f1e0d183f432cef88bcacdd5982102556b76f6d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,364 | sce | Ex11_7.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 11- Centrifugal Pumps
//Example 11.7
//To Determine the Impeller Speed and Torque produced by it.
clc
clear
//Given Data:-
Q=60; //Discharge, litres/s
Ri=75; //Radius of the Impeller at Inlet, mm
Ro=150; //Rad... |
7169a78da36d8a99d27f69811204901852b81f1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH10/EX10.4/Exa10_4.sci | 4fc4290eb30956099b8e0939332d82582d93c0c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Exa10_4.sci | //Determine the greatest number of half-waves of electric intensity which it will be possible to establish between the two walls and also determine the guide wavelength for this mode of propagation
vc = 3e+10;
f = 10e+9;
d = 6;
m1 = 1;
m2 = 2;
m3 = 3;
m4 = 4;
lambda = vc/f;
lambda01 = (2*d)/m1;
lambda02 =... |
518a83e4644007dd4760230d9675248fdc183fbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH8/EX8.15.1/Example8_15a.sce | 7857f25a136c5ae7689ff035436ab156a41d8855 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Example8_15a.sce | clc
//Given that
b_e = 13.6 // Binding energy of electron to proton in eV
c= 3e8 // speed of light in m/s
// sample problem 15a page No. 306
printf("\n\n\n # Problem 15a # \n")
printf("\n Standard formula used E = m*c^2")
del_m = b_e * (1.6e-19) / c^2 * 1000
printf ("\n Loss in mass during formation of 1 ato... |
871a33f94d98e8b1cd1da104a5e3759f9a5974f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH7/EX7.14/Chap7_Ex14_R1.sce | c3a0210a3f207ed205e3a993d0e6746227e6ceca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chap7_Ex14_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-7,Example 14,Page 262
//Title: Enthalpy of vaporization using Riedel's correlation
//================================================================================================================
clear
clc
... |
952e683f21d0a4141659f4047a63f2a7b91c4153 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH9/EX9.11/9_11.sce | 8083b05c5b17f933c79772891a9d883748e9e270 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | 9_11.sce | ////Variable Declaration
m = 0.5 //Mass of water, kg
ms = 24.0 //Mass of solute, g
Ms = 241.0 //Molecular wt of solute, g/mol
Tfd = 0.359 //Freezinf point depression, °C or K
kf = 1.86 //Constants for freezing point depression for water, K kg/mol
//Calculations
msolute = ms/(Ms*m)
... |
032f93ecfc8d98f9624c7e948eb75f8393a44757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH2/EX2.5.4/Example2_5_4.sce | fc55ebea8ee61de0d991d49695ce43d73b5201e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | Example2_5_4.sce | //Example 2.5.4 page 2.30
clc;
clear;
n2= 1.48;
del = 0.2;
lamda = 1320;
Dw = -n2*del*0.26/(3*10^5*lamda);
Dw=Dw*10^10; //converting in picosecs....
printf("The waveguide dispersion is %.3f picosec/nm.Km",Dw);
|
efd86941f4aa9935c0cfa63aa232fb2c99cdcc2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.28/Ex2_28.sce | a0e86b0d912926697e65bb78a36ae53b0dd37895 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | Ex2_28.sce | //Ex:2.28
clc;
clear;
close;
E=2.5;//energy in joules
L=20*10^-3;//in henry
I=sqrt(E/(0.5*L));
printf("Current = %f A",I); |
8feb6470ed53e9e06572e8e1797e320983f1ca0e | 872b5ff8852c926ca1261037de07449db7ac51db | /area-01/metodo_newton_raizes.sce | 0e589c4f6cec7ad83f1177536ef394cc17b7611e | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | metodo_newton_raizes.sce | // funcao
function y=f(x)
y = 8*x^7 - 12*x^3 + 5
endfunction
// derivada literal da funcao
function y=fl(x)
/* x=poly(0,'x') // cria um polinomio x
* y=derivat(8*x^7 - 12*x^3 + 5) // calcula a derivada de f(x)
*/
y=8*7*x^6 - 12*3*x^2
endfunction
/* grafico pra ver onde estao as raized de f(x) pa... |
c3bfe1d0b13c42c2de89246be99445487ee63178 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/examples/addinter-examples/ex4f.sce | c3a2ca039335554e0ae0d1b281cfcefa5e5e31bb | [
"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 | 250 | sce | ex4f.sce | // Copyright INRIA
files=G_make(['/tmp/ex4fi.o'],'ex4f.dll');
addinter(files,'fdgemmentry','dgemm');
alfa=2;beta=3;m=3;n=4;C=ones(m,n);k=2;A=ones(m,k);B=ones(k,n);
C1=dgemm(alfa,A,B,beta,C);
if norm(C1-(alfa*A*B+beta*C)) > %eps then pause,end
|
87df7dc4841a6abdf9e34593387fedb326faa366 | 0e52518c6fe37e683dc04d785f174ce30408f8e7 | /massa-mola-rk38.sci | 8b47601a16e7d5af6165ca7f311062178f42f7f5 | [] | no_license | thiago-franco/metodos-numericos | c3a7a10d00376c9b238825e9ff049635cc153a92 | 95ed4e0b1e05b10c7d0ef9cbc23f9c98d2cf8a65 | refs/heads/master | 2021-07-06T00:19:31.512668 | 2017-09-30T01:25:29 | 2017-09-30T01:25:29 | 104,950,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,651 | sci | massa-mola-rk38.sci | // Aplicação do método de Runge-Kutta 3/8 na resolução de um Sistema Massa-Mola com Amortecimento
clear
clc
function F = f1(t, y, v, m, c, k) // Derivada de y em relação a t
F = v;
endfunction
function F = f2(t, y, v, m, c, k) // Derivada de v em relação a t
A = c/m;
B = k/m;
F = -(A*v +... |
4692add66a63994cedaccf031c45893f53087019 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.34/ex5_34.sce | 2401bc38be4250b75b7981b71e0cd0c9cc3ff43e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | ex5_34.sce | //Chapter-5, Example 5.34, Page 197
//=============================================================================
clc
clear
//INPUT DATA
R=20;//resistance in ohms
L=0.2;//inductance in H
C=100;//capacitance in uF
//resistance will be non-inductive only at reosnant frequency
//CALCULATIONS
fr=(1/(2*%pi*(sqr... |
0a14217a194a1cfe548fe924b105b6b30b176d4e | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_geostat.sci | ddcf8b76e86867cbfa7fc0327e12ad3ccab7d102 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,172 | sci | distfun_geostat.sci | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCI... |
c0bb40376779af59d53814dfcc2849a7d18a7f59 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqDIOWrite.sci | 33901ec1b46ea94ba5bddac754cf7d9a1296bbfe | [
"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 | 1,758 | sci | mdaqDIOWrite.sci | function mdaqDIOWrite(arg1, arg2, arg3)
if argn(2) == 2 then
dio = arg1;
state = arg2;
end
if argn(2) == 3 then
link_id = arg1;
dio = arg2;
state = arg3;
if link_id < 0 then
error("Invalid connection id!")
end
end
if argn(2) > 3... |
cbf0b29a1d78d4fe80f828301bc1b564764db05b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH3/EX3.2/3_2.sce | 5fcd822922423c5dc548406590fece51018d6f1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | 3_2.sce | clc
//initialization of variables
P=100 //lb/in^2
T=470 //F
T2=500 //F
T1=450 //F
//calculations
disp("From table 4 of appendix,")
v1=5.268
v2=5.589
v=v1+2*(v2-v1)/5
//results
printf("Specific volume at %d F = %.3f ft^3/lbm",T,v)
|
2a69af49e06344340373b376c1191514564388bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.6/Ex6.sce | 6ad5d0aaf29a42f6201c28dd06bfaa2e2b2456f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | Ex6.sce | // Additional solved examples , Example 6 , pg 332
n1=1.5//core refractive index
n2=1.45//cladding refractive index
n0=1//refractive index of air
NA=sqrt(n1^2-n2^2)//numerical aperture
alpha_m =asin(NA/n0)//angle of acceptance (in radian)
phi_m=asin((n0*sin(alpha_m))/n1)// no*sin(alpha_m)=n1*sin(phi_m) (in ra... |
b1cf66d8932a376aa52233bd864d83f008842463 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH9/EX9.5/Ex9_5.sce | a633178672c6fcaa5493295eb618ebf5184ca021 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | Ex9_5.sce | //chapter-9 page 412 example 9.5
//==============================================================================
clc;
clear;
J=33000;//Current density in A/sqcm
Na=2.5*10^16;//Doping Concentation in TRAPATT diode per cubic cm
q=1.6*10^(-19);//Charge of an Electron in C
//CALCULATION
Vz=(J/(q*Na))/10^5;//Av... |
10d0decb602b823da98cbaf78ebb38d2238d754a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.14/7_14.sce | 7f28ccfd41800a36b356b8828a15a9f4a4d6fd60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | 7_14.sce | clc
//initialisation of variables
td3=15 //dew point temparature
ps3=0.017039 //bar pressure
phi3=0.55 //relative humidity
p=1 //bar pressure
ps4=0.029821 //bar pressure
phi4=1 //relative humidity
td4=24 //temp in degrees
mw1=1000 //kg/min
hf1=109 //kj/kg
hf2=50.4 //kj/kg
w4=0.01912
w3=0.00588
//CALCULATI... |
b23d477e02fb210a7e74be096a75f89a0a28f0ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH9/EX9.13/9_13.sce | cfcbbcbfaabd9ebc559d49b8c8302fbbe3bc486f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | 9_13.sce | //Problem 9.13: A 750 turn coil of inductance 3 H carries a current of 2 A. Calculate the flux linking the coil and the e.m.f. induced in the coil when the current collapses to zero in 20 ms
//initializing the variables:
I1 = 2; // in Amperes
I2 = 0; // in Amperes
dt = 0.020; // in secs
N = 750; //turns
L = 3; ... |
17ce799f4fbc186cc013c478a33f8c9957271124 | c8a2ce0dd5898c7a0eaad60dccdeca114a7a612c | /RPG/bin/scene/up.sce | 283ad34d01c52a03da586830723eb71110bab5e8 | [] | no_license | youlanhai/Lazy2D | 5b34b9e57f5a8c405824dbb7f977059f441f67c5 | 84fa6634729599348018e5ba4b9ed07e2387b414 | refs/heads/master | 2021-05-16T04:13:52.288447 | 2015-04-12T07:36:04 | 2015-04-12T07:36:04 | 105,855,169 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | up.sce | map/up.map
sprit/upsprit.spr
0
sound/up.mid
1
280 64
416 736 64 32
scene/center1.sce
0
0 0
0 192 32 64
null
0
0 0
612 96 32 64
null
0
0 0
224 448 64 32
null
|
6d4d7da07a55a05ba9ddd044d8b0b96680dfd711 | d3ba33088e5d34eaccff205f30b4515b9f598dcf | /sci2blif/macrocab_gen_fcn.sce | 0182521548b7013f34c3adc1adf9f6a3a4db9fe5 | [] | no_license | woodjamesdee/rasp30 | d707e480bf116ce278cf4b37b73de9d076e5ede1 | 7f9251e3ec8d8a6ef827b09009b08d575254bd2e | refs/heads/master | 2020-04-21T14:35:45.199183 | 2019-05-20T18:58:42 | 2019-05-20T18:58:42 | 169,640,192 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 49,616 | sce | macrocab_gen_fcn.sce | global file_name path fname extension chip_num board_num brdtype macrocab_name folder_name bl_level;
function dir_callback()
disp(" ");
endfunction
function MC_folder_name_callback()
global folder_name;
folder_name_obj = findobj('tag','MC_folder_name');
folder_name = folder_name_obj.string;
endfunct... |
21292cf5c6a9a8d24c54fe8a8b61dd13d5225903 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.90/Ex90.sce | 148a61584cd3f3f3d4201c75035a6225d5635370 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | Ex90.sce | //Ex:90
clc;
clear;
close;
t_a=60;// antenna noise temp in k
l1=1.075;//loss in waveguide in K
t_o=290;// in K
t_e2=160;// in K;
t_e3=10000;// in k
G2=10^6;// low noise ampr gain
t_eq=(l1-1)*t_o+(t_e2*l1)+(t_e3*l1)/G2;// in K
t_s1=t_a+t_eq;// in k
T_s1=10*log(t_s1)/log(10);// in db
G=66;// in db
g_t1=G-T_... |
9caf56f1b2036c1970ff2cac73f385140c2ecca1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH21/EX21.2/21_2.sce | e4bd28191545adff22834bc8b91637ea2103ceaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | sce | 21_2.sce | pathname=get_absolute_file_path('21_2.sce')
filename=pathname+filesep()+'21_2data.sci'
exec(filename)
clear
Mx=-Sy*(L-Lc);//moment at section
L3=(L1*(L-Lc)+ L2*Lc)/L;//leangth of CS
B3=(B1*(L-Lc)+ B2*Lc)/L;//breadth of CS
Ixx=4*Aco*(B3/2)^2 + 2*Ace*(B3/2)^2;
B=[Aco;Ace;Aco;Aco;Ace;Aco];
Y=[B3/2;B3/2;B3/2;-B3/2... |
56bdb8ab3185020ab94df656e5c49e01868dde47 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r34/xmpl/reduce.tst | 15dc87bb989a79b19b3d3a79d15b3a8bf390ae02 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 5,786 | tst | reduce.tst | showtime;
comment some examples of the FOR statement;
comment summing the squares of the even positive integers
through 50;
for i:=2 step 2 until 50 sum i**2;
comment to set w to the factorial of 10;
w := for i:=1:10 product i;
comment alternatively, we could set the elements a(i) of the
array ... |
6b1fcb89f6a2246da61682438542cef08b17ec84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.a.12/Example_a_4_12.sce | a1f3cbc27d568157a8910bd8df2639cb0583adcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | Example_a_4_12.sce | //Example_a_4_12 page no:180
clc;
f=10*10^3;
Vrms=10;
L=50*10^-3;
Xl=2*%pi*f*L;
Irms=Vrms/Xl;
Irms=Irms*1000;//converting to mA
disp(Irms,"the rms current is (in mA)");
|
902814ff2cc41e7835524c1bf9230f2439634eb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH13/EX13.5/EX5.sce | 0764ac62ae6f9f652238988c81b27a62d194784a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | EX5.sce | // Example 13.5: Supply voltage, Peak current drawn from each supply, Total supply power, Power conversion efficiency, Maximum power that each transistor can dissipate safely
clc, clear
P_ac=20; // Average power delivered in watts
RL=8; // Load in ohms
Vm=sqrt(2*P_ac*RL); // Peak output voltage in volts
VCC=Vm+5; ... |
78116b8c55e57b08e71e637ef154571376c78dab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH11/EX11.25/ex11_25.sce | 1d65271c56834df8ee585aa7b0f1632bf984a789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | ex11_25.sce | //Page Number: 11.27
//Example 11.25
clc;
//Given
p=0.9;
Px=[p (1-p)];
n=1;
//Average Code length
//L=Summation(P(xi)ni)
L=0;
for i=1:2
L=L+(Px(i)*n);
end
//As H(X)=-Sum of[P(xi)log2P(xi)]
//Where i=0 to n;
HofX=0;
for i=1:2
HofX=HofX+(Px(i)*log2(Px(i)));
end
//Efficiency=H(X)/L
n=-H... |
ac795a74fff07bfaf4becda5bb43c224344221b9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/util/mpow.sci | ab64bdb7dcf65700744a646383aef86ff13847d2 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"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 | 863 | sci | mpow.sci | function x=mpow(a,p)
// mpow - A^p
//%CALLING SEQUENCE
// X=mpow(A)
//%PARAMETERS
// A : square hermitian or diagonalizable matrix
// X : square hermitian matrix
//%DESCRIPTION
//This macro is called by the operation ^ to compute A^p
//!
[m,n]=size(a)
if m<>n then error(20,1),end
flag=or(a<>a')
if ~flag the... |
f039549df876805b465efb12dbf23241e19c50b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH6/EX6.14/ex6_14.sce | 947ccbd17857fe5302bdef62e370c1344b30f173 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | ex6_14.sce | // Exa 6.14
clc;
clear;
close;
format('v',6)
// Given data
R1 = 100;// in ohm
R2 = R1;// in ohm
R3 = 3.9;// in k ohm
R3 = R3 * 10^3;// in ohm
R_F = R3;// in ohm
Vx = -3.2;// in V
Vy = -3;// in V
// output voltage due to Vx, Vox = -(R_F/R1)*Vx and due to Vy, Voy = (R3/(R2+R3)) * (1+(R_F/R1))*Vy
// Vo = Vox... |
9b7d576e64fafa2b6a9964b7ec7ac4e52f457ef0 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/pathrename-with-set.tst | 8800d8a8504c42d531533803278bac7cee7b0110 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 108 | tst | pathrename-with-set.tst | ## Test path rename capability with selection set
read <sample1.fi
:19..$ path README rename REAMDE
write -
|
1db0fc7e455d9e4cce0cf2d55c31d09ddf1f7591 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH31/EX31.3/Ex31_3.sce | 13673936d4388812d0a7d83a3e512735103551bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex31_3.sce |
//To Calculate the Capacitance of a parallel plate capacitor
//Example 31.3
clear;
clc;
a=20*10^-2;//Length of Side of Parallel Plate Capacitor
A=a^2;//Area of the Capacitor Plate
d=1*10^-3;//Separation between the two plates
e0=8.85*10^-12;//Permitivity in farad/meter
C=e0*A/d;//Formula for fi... |
153a4a39d3da22c73ea6259e612984e8cfa8687a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.18/Example5_18.sce | 93a8fcb09357fe401c66dc80fcc70c03297ace3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | Example5_18.sce | //Example 5.18
clc
disp("The cascading of demultiplexers is similar to the cascading of decoder. Fig. 5.33 shows cascading of two 1 : 4 demultiplexers to form 1 : 8 demultiplexer.")
|
71319443c4ba9a6d8488faa0bab641a06fa521f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.7/2_18_7.sce | 6bffb35a33c5c6f66da68926432b79d4f0fd7ec2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | 2_18_7.sce | //water and its treatment//
//example 2.18.7//
clc
Hardness_ppm=304//ppm in terms of CaCO3//
Cl=0.07*Hardness_ppm//0.07 °Clarke =1 ppm//
Fr=0.1*Hardness_ppm//0.1 °French =1 ppm//
mgperlit=Hardness_ppm
printf("Hardness in terms of °Clarke %.2f °Cl",Cl);
printf("\nHardness in terms of °French %.1f °Fr",Fr);
prin... |
49fbe38b2bf1c41d19729b9500cf2d64848faad0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.30/2_30.sci | 6560a24b4b1d7fa46ad0a26093c08c7749548aea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sci | 2_30.sci | // 2.30
clc;
Se_thermocouple=500-(-72);
printf("Sensitivity of thermocouple= %.1f micro V/degree C",Se_thermocouple)
Vo=Se_thermocouple*100*10^-6;
printf("\nMaximum output voltage= %.2f V ",Vo) |
07e8f4b0ce8a338b9eb3c1ce6f11de0d4fcd204c | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH9/EX9.11/ex11.sce | b95bb560de5f6bb9b1ce0e2f344aba11701dedda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | ex11.sce | //example 11
//turbine inlet pressure
clear
clc
hi=1757.3 //initial specific heat of enthalpy of air in kJ/kg
si=8.6905 //initial specifc entropy of airin kJ/kg-K
he=855.3 //final specific heat of enthalpy of air in kJ/kg
w=hi-he //actual work done by turbine in kJ/kg
n=0.85 //efficiency of turbine
ws=w/n //... |
91171a9c1671161f23dee13d14d209df3f7c29ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH9/EX9.3/Ex9_3.sce | 4c549091a1e306c4bb9a8e32e7c93bf5387b931b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,676 | sce | Ex9_3.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 3")
T1=(100+273.15);//temperature at beginning of compresssion in K
P1=103;//pressure at beginning of compresssion in KPa
Cp=1.003;//specific heat at c... |
c90749a8566af414dc057aad08b14cf75b70b21e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.46/Ex1_46.sce | e5fc30b16acc58a7c381e7699e41a890d1b725cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex1_46.sce | clear
//
//
//
//Variable declaration
lamda=6000*10**-8 //wavelength(cm)
n=1
mew=1.5 //refractive index
r=50*%pi/180 //angle of refraction(radian)
//Calculation
t=n*lamda/(2*mew*cos(r)) //least thickness of glass plate(cm)
//Result
printf("\n least thickness of glass plate is %0.2f *10**-5 cm",t... |
75fbeb39b36715565ead832bafb8a7f72a260f03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH1/EX1.8/EX1_8.sce | d34428c4c7422af294d7c241b33c50d20a06fb3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | EX1_8.sce | //Finding of Kinematic Viscosity
//Given
tau=0.2158; //Shear stress in N/m^2
vg=0.218; //Velocity Gradient in sec^-1
rho=959.5; //Density in Kg/m^3;
//To Find
mu=tau*1/vg;
disp("Dynamic Viscosity ="+string(mu)+" Ns/m^2");
nu=mu/rho;
disp("Kinematic Viscosity ="+... |
dad249277bdad421b4875fff4cb25cd165e45421 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH8/EX8.19/Chapter8_example19.sce | b60c095b71ceae96dbbbfdfe1fe922f4c9221d94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,550 | sce | Chapter8_example19.sce | clc
clear
//Input data
CO2=8.85//Percentage composition by volume
CO=1.2//Percentage composition by volume
O2=6.8//Percentage composition by volume
N2=83.15//Percentage composition by volume
C=84//Percentage composition by weight
H2=14//Percentage composition by weight
aO2=2//Percentage composition by weight
... |
41b9655f891d6dc4406cedd9d2434afeee59d2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH2/EX2.1/Ex2_1.sce | 8368c0f12d94a0fa79179937de2eef016e83af16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,261 | sce | Ex2_1.sce | // Problem no 2.1,Page no.29
clc;clear;
close;
//Rectangle-1
b_1=10 //cm //width of Rectangle-1
d_1=2 //cm //breadth of Rectangle-1
a_1=40 //cm**2 //Area of Rectangle-1
y_1=1 //cm //Distance of centroid-1
//Rectangle-2
b_2=2 //cm //width of Rectangle-2
d_2=10 //cm //breadth of Rectangle-2
a_2=20 //cm**2 //Area of ... |
dffd789e169175aa6d12b0ebd0065b37234b8af4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH6/EX6.4/example6_4.sce | 4c7bacb4d1739175c7a623e730ca1b98ef7f1ebb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 919 | sce | example6_4.sce |
//example 6.4
//calculate probable life of reservior
clc;funcprot(0);
//given
asi=3.6; //annual sediment inflow(x10^6)
gamma_s=12; //specific weigth of sediment
vs=asi/12;
ir=30; //initial reservior capacity
fr=60; ... |
e620c1aba668270134df47e23e928c7ea689b07d | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH2/EX2.1/ex2_1.sce | 0d339c2b3bd8c976bc81388d03a797f5abceced6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | ex2_1.sce | //Example 2.1
clc
//Simple program to print "Welcome to c programming"
printf("Welcome to c Programming\n");
//If new line character is used.. then program output will change
scanf("%c");
clc
printf("Welcome to \nc Programming\n");
|
54c72cd278286055c455ae13a6ce246383889537 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH7/EX7.10.a/Ex_7_10_a.sce | 103ccf28a02c1de9ec2f8eba7538e5c29c72e2ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | Ex_7_10_a.sce | // Example 7.10.a;//inernal quantum efficiency and internal power level
clc;
clear;
close;
e=1.6*10^-19;//Electronic charge
ht=6.62*10^-34;//Constt
C=3*10^8;//sPPED OF LIGHT IN M/S
h=1310*10^-9;//wavelength in meter
tr=25;//radiative recombination time in nano second
tnr=90;//non radiative recombination time i... |
c93d1ee0b6e6a15aa0c5466bf238f309b7743dff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.23/Example1_23.sce | c811ae92043735b1dd162b089275d63b9b791092 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | Example1_23.sce | // Example 1.23
clear; clc; close;
format('v',7);
// Given data
VL=400;//in volt
E1Line=VL;//in volt
P=4;//no. of poles
S=5;//in %
f=50;//in Hz
R2=0.15;//in ohm
X2=1;//in ohm
ratio=2;//ratio of stator to rotor turns
//Calculations
S=S/100;//slip
E1ph=E1Line/sqrt(3);//in Volt
K=1/ratio;//ratio of roto... |
a622349fe07cf1435d1f5435215ab03934e29a1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH16/EX16.3/EX16_3.sce | 3fda40e20f644cfd435d4fc64e8c6b3a940d9d84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | EX16_3.sce | //Example 16.3
clc
k_e=8.99*10^9 //N.m^2/c^2
q1=5*10^-6// in C
q2=-2*10^-6//in C
r1=0.4
r2=0.5
V1=(k_e*q1)/(r1)
V2=(k_e*q2)/(r2)
disp("Solution a")
disp(V1,"Magnitude of V1 in v")
disp(V2,"Magnitude of V2 in v")
disp("solution b")
vp=V1+V2
disp(vp,"Magnitude of Vp in v")
q3=4*10^-6//in C
w=vp*q3
disp(w,"work done in Jo... |
5f73cae087bbd24c10a7c908aa749c7a3a7e20ec | f5bb6b6e5afdd322c5cd22aa132ef6cd9671b83e | /exo5-1.sci | bb081b57352e669f19e5b8bcf860408e52111d42 | [] | no_license | MEGCHICHEFarid/Calcul_Num-rique-TP2 | b47cb66cc2c7b8ed7b5dad7992ee03dc8e0ca98f | 121a72c376848daf12d0d81ec628572a2ea573cd | refs/heads/main | 2023-01-30T23:20:31.667199 | 2020-12-18T23:56:13 | 2020-12-18T23:56:13 | 322,196,749 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sci | exo5-1.sci | function [L,U] =factorisation(A)
[m,n]=size(A);
for i= 1:n
L(i,1) = A(i,1);
end
for j=1:m
U(1,j)=A(1,j)/L(1,1);
end
for j=2:n
for i=j:n
res=0.0;
for k= 1:(j-1)
RES=RES+L(i,k)*U(k,j);
... |
3462abd6f3105f558d34a03121997625f58f647e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH7/EX6.3/EX6_3.sce | fc295d876e6251b18fd9293bc9b3ff9e97680f7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,558 | sce | EX6_3.sce | // Grob's Basic Electronics 11e
// Chapter No. 06
// Example No. 6_3
clc; clear;
// Assume that the series-parallel circuit in Fig. 6–15a has failed. A technician troubleshooting the circuit has measured the following voltages: V1 = 10.8 V; VAB = 9 V; V4 = 16.2 V. These voltage readings are shown in Fig. 6–15b. Bas... |
d17047c56df06ee6f9eca64dbf0a6504493b63af | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/12/MathTest/MathTest.tst | 01b683a3536ce84262ba85fb8ece9d56dd8bb150 | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 529 | tst | MathTest.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/12/MathTest/MathTest.tst
load,
output-file MathTest.out,
compare-to MathTest.cmp,
output-list RAM[8000]%D2.6.1 RAM[8001]%D2.6.1 RAM[8002]%D2.6.1 RAM[8003]%D2.6.1 R... |
b7e3933d27167c2175f6fa46cdbfa131e0400487 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH3/EX3.10/Ch03Ex10.sce | fc11a5e4980a9767fcca73253732a0fa31de042f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | Ch03Ex10.sce | // Scilab code Ex3.10 : Pg:113 (2008)
clc;clear;
omega1 = 0.02; // Dispersive power of the convex lens
omega2 = 0.04; // Dispersive power of the concave lens
f2 = -80; // Focakl length of the concave lens, cm
// As omega1/omega2 = -f1/f2, solving for f1
f1 = -omega1/omega2*f2; // Focal length of the c... |
3bc7b0a00f0989224fde2aa46c15e90bd5ea4bf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.22/Chapter3_example22.sce | 7e385bc163cb54a62c2fa44f944161fd32e063d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Chapter3_example22.sce | clc
clear
//Input data
n=4//Four cylinder four stroke
d=7.5//Bore in cm
L=8.75//Stroke in cm
r=6//Compression ratio
n1=55//Efficiency in percent
g=1.4//ratio of specific heats
N=2400//Speed in r.p.m
pm=7//Brake mean effective pressure in kg/cm^2
m=9//Mass of fuel per hour in kg
CV=10500//Calorific Value in ... |
f0be0733f42b1b0537706aa29c91dc6c0348eaa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH9/EX9.5/Ex9_5.sce | 86b460e77665e8b15df3bb6292083f0a85ba0089 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex9_5.sce |
//Exa:9.5
clc;
clear;
close;
//Given:
//v1(t)=10cos(2000*pi*t)+4sin(200*pi*t);
//BPF=800Hz to 1200Hz
printf("Since v2=v1+0.1*v1^2 and");
printf("\n BPF=800Hz to 1200Hz ");
printf("\n So,v3(t)=10*cos(2000*pi*t)+4*sin(2200*pi*t)-4*sin(1800*pi*t)"); |
85231827bee37523396a1b75671e925b575a8a8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH4/EX4.2/example2_sce.sce | cf7365f766f5a36a1ff1939c9059166512524929 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | example2_sce.sce | //chapter 4
//example 4.2
//page 153
printf("\n")
printf("given")
Ic=1*10^-3;Ib=25*10^-6;
Bdc=Ic/Ib
Ie=Ic+Ib
Adc=Ic/Ie
Ib=Ic/Bdc |
b2fde94d23b47c1015d1a5ee2b7612ce5e813492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH5/EX5.1/Example5_1.sce | 6630a9d2af9ccd4a9e0d4549361908dce3a4a205 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,983 | sce | Example5_1.sce | clear;
clc;
// Illustration 5.1
// Page: 114
printf('Illustration 5.1 - Page: 114\n\n');
// solution
//***Data***//
// a = NH3, b = H2O
d = 2.54*10^(-2);// [m]
Yag = 0.80;
Xal = 0.05;
T = 273+26.7;// [K]
Kl = 2.87*10^(-5);// [kmol/square m.s.(kmol/cubic m)]
Sh = 40;
Da = 2.297*10^(-5);// [square m... |
e7f2e85fb7bb13aea867b75f1949db3358fc76db | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/feedback.man.tst | 58c553c42870bdf6ca3f1f74d449c44b04110dc9 | [
"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 | 376 | tst | feedback.man.tst | clear;lines(0);
S1=ssrand(2,2,3);S2=ssrand(2,2,2);
W=S1/.S2;
ss2tf(S1/.S2)
//Same operation by LFT:
ss2tf(lft([zeros(2,2),eye(2,2);eye(2,2),-S2],S1))
//Other approach: with constant feedback
BigS=sysdiag(S1,S2); F=[zeros(2,2),eye(2,2);-eye(2,2),zeros(2,2)];
Bigclosed=BigS/.F;
W1=Bigclosed(1:2,1:2); //W1=W (in state-s... |
72b842ca694b87c9673c03600e2d0d1b853d482f | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH7/EX7.5/Example_7_5.sce | 6fc292e8c161d99424a9f20b99398457646f0044 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,557 | sce | Example_7_5.sce | //Chemical Engineering Thermodynamics
//Chapter 7
//Ideal Gases
//Example 7.5
clear;
clc;
//Given
P1 = 1;//Initial pressure of air in atm
T1 = 15+273;//Initial temperature in K
P2 = 5;//Final pressure of air in atm
T2 = 15+273;//Final temperature in K
Cv = 5;//specific heat of air at constant volume in K... |
24c2be0532d4359f7d8995ff483cdfed200cb52e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH6/EX6.11/Ex6_11.sce | 146fc00a3c76da6605bba6280e4915d977287524 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | Ex6_11.sce | clc,clear
//Example 6.11
//To determine product and ratio of complex numbers using formula
//given values
z1 = 6*(cosd(70)+ %i*sind(70));
z2 = 2*(cosd(31)+ %i*sind(31));
//arguements of complex numbers
theta1=phasemag(z1);
theta2=phasemag(z2);
//modulus of complex numbers
r1=abs(z1);
r2=abs(z2);
theta_... |
22d1e3636ffc150e96d35ad14984abee834b0e7f | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/KovaFlow_expFromFile_par.tst | 8876846e4d6909c5dbfb499c7a7c0dbe9ea6e2b4 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 980 | tst | KovaFlow_expFromFile_par.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Kovasznay Flow, expansion from restart file, par(2)</description>
<executable>IncNavierStokesSolver</executable>
<parameters>--use-scotch KovaFlow_expFromFile.xml</parameters>
<processes>2</processes>
<files>
<file description="Sessi... |
e18ea21577effcc5019ec37423e931bbbbc1c402 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH2/EX2.2/Ex2_2.sce | d91cf9e44236e65ee72ff47a289f6c7b615dc068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex2_2.sce | clc
T=300 //K
k=8.617*10^-5 //eV/K
q=1.6*10**-19 //C
m0=0.91*10^-30//kg
un=1300//m^2/Vs
Nd=10^16//cm^3
n=Nd
disp(n,"donors are ionized in cm^3 is")
row=1/(q*n*un)
disp(row,"resistivity in ohm cm is")
|
5ff1f93f1c49ad2e1ee9489fe8845339559aa9dd | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/NF65WHQ/ATWM1_Working_Memory_MEG_NF65WHQ_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 068b22fb0693b2a72e7e1eaa23165382907ac3e9 | [] | 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,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
fc24b10244e872a04e23ee9b6f34ef73ae708b60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH5/EX5.11/5_11.sce | f1200f789aa0dfb5325687279067f9d62e2b8af4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 5_11.sce | clc
clear
//Initialization of variables
m=150000 //lb
P1=1000 //psia
Ts=900 //F
Tf=200 //F
//calculations
disp("From mollier charts,")
h2=1448.2 //Btu/lb
hf=167.99 //Btu/lb
correc=2.2 //Btu/lb
hc=hf+correc
Q=m*(h2-hc)
output=Q/1000
//results
printf("Output of the steam generating unit = %d kB/hr",output... |
c5b7ab5eef016a21def9bd7641bfb8648a51179b | c6515791fea5828996a3924a74b5358852bc69f0 | /ap6_metodo_gradiente&wolfe/Simulador_f2.sci | 3e6e9b9a41100ad1318f989866870b366af8a72d | [] | no_license | fernandascovino/fgv_math_modeling_3 | 366f05faa9fc657473acad8c1061b7c6feed8d4a | 11853e0bf2c05ad2df4fb369dfa922fc50c68ceb | refs/heads/master | 2023-02-24T23:03:18.431724 | 2021-01-31T18:08:16 | 2021-01-31T18:08:16 | 334,722,683 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sci | Simulador_f2.sci | function [f,g]=Simulador_f2(x)
f = (1-x(1))^2 + 100*(x(2)-x(1)^2)^2
g_1 = -2*(1-x(1))-400*(x(2)-(x(1).^2))*x(1)
g_2 = 200*(x(2)-(x(1)^2))
g = [g_1; g_2]
endfunction
|
98789428cbb7504fa2eff0b270b4911c274eba6c | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/KovaFlow_m8_short_HOBC_3D1H.tst | 0189ca79c56e54cc2f71787a7f865ecc6c93e431 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,003 | tst | KovaFlow_m8_short_HOBC_3D1H.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Kovasznay Flow P=8</description>
<executable>IncNavierStokesSolver</executable>
<parameters>KovaFlow_m8_short_HOBC_3D1H.xml</parameters>
<files>
<file description="Session File">KovaFlow_m8_short_HOBC_3D1H.xml</file>
</files>
<me... |
96ff2091db816f4b9610600ec831e7140e7eb0c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.9/Ex6_9.sce | 1c54aa4eb663ec32fa9ccc3051d69f5aa996ff60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 723 | sce | Ex6_9.sce | clear;
clc;
printf("\t\t\tProblem Number 6.9\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.9 (page no. 252)
// Solution
T2=500+460; //absolute final temperature //unit:R
T1=80+460; //absolute initial temperature //unit:R
//The equation cpbar= 0.338-(1.24*10^2/T)+(4.15*10^4)/T^2 has a form , cbar= Ada... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.