blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a7d8886d426fdcdab898215abba681731ad981c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH3/EX3.14/Ex3_14.sce | c1850bcc4965d1e673e8f3ca3e34668e70c67507 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ex3_14.sce | clear
//
//
//
//Variable declaration
d=3.04 //interplanar spacing(angstrom)
lamda=0.79 //wavelength of X-rays(angstrom)
n=3
//Calculation
sintheta=n*lamda/(2*d)
theta=(5+(25/60))*%pi/180; //glancing angle(radian)
thetad=asin(sintheta)*180/%pi //glancing angle(degrees)
thetam=(t... |
e992b6d6b4c915d811f20e57051cbd9ff8dd55bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /36/DEPENDENCIES/prob9_4data.sci | ee02d1109d5c22e8d3e8a5da3176c07129e1e0ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sci | prob9_4data.sci | //problem 9-4 data
//given total time taken by a nonopipelined system:
tn=50;
//given total segments of the pipeline system
k=6;
//clock cycle
tp=10;
//total number of tasks
n=100;
|
3bf9fda80b4715f6014299df860f77161665376f | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/FC30HVJ/ATWM1_Working_Memory_MRI_FC30HVJ/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | d6496c241a7610677ae4be780365791e58392a0e | [] | 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 | 12,492 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds =... |
d9c54acbf492265ecbc2f6250762348c0b618da8 | c4ab1127be3f68a97a5191d086968a1c6d50c6c3 | /DeliverableNII/SciLab/controller.sce | 23c54b02c0b78b91d6f83de51faa28f468e66364 | [] | no_license | etumanov/AppliedRoboticsUNITN | 4b062afef3ae44d77f88ad7c411ae9929e2d85c1 | 241363c8c8fdb8b8fca50e160a9fa7d0c833dc49 | refs/heads/master | 2016-08-11T06:57:47.674470 | 2016-01-20T08:16:25 | 2016-01-20T08:16:25 | 49,948,867 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,224 | sce | controller.sce | // Second order system
//K = 0.0087755;
K = 0.1531618;
xi = 0.8209478;
o_n = 16.515118;
// Parametri
maxOvershoot = 0.2;
maxSettlingTime = 0.2;
alpha = 5;
// Transfer function of the motor
s = poly(0, 's');
G = K/(s^2/o_n^2 + 2*xi/o_n*s+1);
G = syslin('c',G);
//step response
DesiredValue = 10; // rad/s
StepTime = 0.... |
a49328dc69a47ec90859b73dc10f3a30aef8d8f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH7/EX7.10/7_10.sce | 815cf58e208403e7b5b0175cd6d6ecb26c897bda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,023 | sce | 7_10.sce | clear;
clc;
// Illustration 7.10
// Page: 461
printf('Illustration 7.10 - Page: 461\n\n');
// solution
//*****Data*****//
Dd = 1.15*10^-9; // [molecular diffusivity of furfural in water, square m/s]
Dc = 2.15*10^-9; // [molecular diffusivity of furfural in toluene, square m/s]
m = 10.15; // [equilibrium... |
22d14552964fe00ae7ba502d982359c49e1b993a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH3/EX3.8/Ex3_8.sce | cb4ad52f44d86f915dd86c9735a90d5380a3d948 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex3_8.sce | clear
//
//
//
//Variable declaration
d=0.842*10^-10; //lattice spacing(m)
theta1=8+(35/60); //glancing angle(degree)
n1=1; //order
n2=3; //order
//Calculation
theta1=theta1*%pi/180; //angle(radian)
theta3=asin(n2*sin(theta1)); //glancing angle(radian)
theta3=theta3*180/%pi ; //gl... |
63b0bca7a8b2ae41524761eb615516bccca76db7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /509/CH18/EX18.1/18_1.sci | 451809f22590f7ef55bf9b4b6a58a7778538ecb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sci | 18_1.sci | // Chapter 18 Example 1//
clc
clear
//line to ground capacitance= c,supply frequency=f//
//inductance of the coil =l//
f=50;
c=0.2*10^-6;
l=1/(3*(2*%pi*f)^2*c);
printf("\n Inductance of the coil %.2f H\n",l);
//kVA rating of the coil = kVA,operating voltage =v//
v=132; // in kV//
vph=v*10^3/sqrt(3);
kVA=vph... |
ba815517e2b5c5a27b8c99563f213916182353db | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH6/EX6.3/ex6_3.sce | 5ddd8ab233ca5f89ff844e24d40bf1a2312232dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | ex6_3.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=0.5//tonf/in^2
w1=7//tonf/in^2
w2=10//tonf/in^2
t=12.4//tonf/in^2
d1=1.5//in
d2=1.24//in
x=0.495//in
d3=3.02//in
//CALCULATIONS
Y=sqrt((d3/2)^2-(d2/2)^2)//in
S=(1/2*t/(2*Y*w))//tonf/in^2
//RESULTS
print... |
9f3fb428cb33f9b358f52d8d41c5f0e0fefe62e1 | 534bc5aab02119092e226b6ed7d9e24d4f5e2b1a | /case 2.sce | e79eec37cc1f93948154863a4b20d359e85ef3d0 | [] | no_license | haiyenvu96/Dirichlet-Problem-with-Numerical-Probabilistic-Simulation | 35bfedc3865fa7c358fa44cf93eda95885c36742 | 43405f973c056d47997e518c335c4e102362426a | refs/heads/main | 2023-04-22T12:57:06.073175 | 2021-05-03T23:06:30 | 2021-05-03T23:06:30 | 364,084,082 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,247 | sce | case 2.sce | // definition de la fonction g
function value = g1(x,y)
value = x*y
endfunction
function value = g2(x,y)
value = exp(x+y)
endfunction
function value = g3(x,y)
value = %e^x*cos(y)
endfunction
// parameters
M = 1000
h = 0.1
// maillage
r = 0 : 0.1 : 1
theta = 0 : 0.1 : 2
// taille de maillage
Nr = size(r,2)... |
6f9e25f5a211b09ce6de9825f747a5c8069e0cc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH2/EX2.9/Ex2_9.sce | 9294e57259adef5fe45e5e3c9fb5743d5e76ab87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Ex2_9.sce | // Example 2.9 :time
clc;
close;
format('v',6)
clear;
// given :
v=10;//voltage in volts
r1=500;//resistance in ohms
is=0;//current in amperes
r=700;//resistance in ohms
c=100;//capacitance in micro farads
x=1/(r*c*10^-6);//variable
i=30;//current in mA
y=(i*10^-3)-(v/r1);//variable
t=-((log(y*(r/v))));//time in second... |
887290f4fb64ca1b9140c48f8976c8a8dbb14546 | e182a95b50904008697c55b376261f8a6c38b225 | /Create_36_1_CKP.sce | 5028e4b676d64c75459c31cd81b75169bda8cb52 | [] | no_license | RhinomanUK/Scilab | 210fb0ca7f7776d2b271bb243140aa8aa837dd81 | 63519c7f6ada71f1baf6f72633247ea518e6eeb3 | refs/heads/master | 2021-09-07T12:06:29.767806 | 2018-02-22T16:33:57 | 2018-02-22T16:33:57 | 118,903,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,062 | sce | Create_36_1_CKP.sce | // Crank/Cam sensor file generator for DG1022
// RhinoPower Ltd
// v0.1
// 7th January 2018
//
// generates a 36-1 crank sensor (square wave)
// 3600 points gives 0.1 degs resolution.
// Saves to a .csv file
//
clear all
//define header information - this can be the same for all files.
header1 = 'Rig... |
0e24fb073451c830d5533e5ff1a94dee19835696 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.39/example7_39.sce | 9ccdd0df0d909f8485ba692dabbd33d79eb6542c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | example7_39.sce | // Find the value of Rs
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-39 in page 341
clear; clc; close;
// Given data
Id=2.5*10^-3; // Drain current in mA
Vds=8; // Drain-source voltage in V
Vdd=30; // Drain voltage in V
R1=1*10^6; // R1 ... |
68ae9026016c9c69d761437b00767862caeb7a4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH2/EX2.9.1/2_9_1.sce | 818b382066ac140e23d26a9e1c19875224697111 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | 2_9_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 2
//Example 2.9-1
//Principles of Momentum Transfer and Overall Balances
//given data
rho=820;//density in kg/m3
del=1.7/1000;//film thikness in m
g=9.806;//g force
mu=0.2;//viscocity in Pa.s
T=(rho^2)*(del^3)*g/(3*mu);//T= mass flow rate per un... |
307ee300964f321f3c2d874fa48129cca0d08c91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH11/EX11.9/Ex11_9.sce | 0da9b7b3c94871ae2098b95a668020231f8a7867 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex11_9.sce | //chapter11
//example11.9
//page210
gain_beta=50
Ib=20d-3 // mA
// since gain_beta = Ic/Ib we get
Ic=gain_beta*Ib
Ie=Ic+Ib
printf("emitter current = %.3f mA \n",Ie)
|
138865aaf114f5fc9df7d3e72c722c1bab0a0a8b | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /T9_eg_plotlable&title.sce | 94d0c94680a5d50546ae7fd198838afad3de265a | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | T9_eg_plotlable&title.sce | clc;clear;
close;
pi=22/7;
x=linspace(0,2*pi,100);
y=sin(x);
z=cos(x);
plot2d3(x,y,z)
xlabel('x axis')
ylabel('y axis')
zlabel('z axis')
title('plot created by BE Mechanical')
|
283fa2f5c1ca289c87cef9bb429143a47a50117f | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH8/EX8.3/8_3.sce | ceffe5b235418dedcede10e6cba435ceaadba522 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_3.sce | clear;
clc;
//Example - 8.3
//Page number - 291
printf("Example - 8.3 and Page number - 291\n\n");
//Given
W = 1.1;//[kW] - Work done per ton of refrigeration
//1 ton refrigeration = 3.517 kW, therefore
H = 3.517;//[kW] - Heat absorbed
T_low = -30 + 273.15;//[K] - Low temperature maintained
//COP can b... |
f2902e8425d7c6d79c3a7bcac280baba573b813e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH8/EX8.13/8_13.sce | 414e27672042a70e73a31b119cd4e874aca0478a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_13.sce | //Transient analysis
//pg no - 8.17
//example no - 8.13
a=((10*30)/(10+30));
d=5/a;
b=0;
c=5*(20/30);
printf("iL(0-) = %.2f A", d);
printf("\nvb(0-) = %.f", b);
printf("\nva(0-) = %.2f V", c);
disp("Applying Kcl equations at t=0+");
disp("((va(0+)-5)/10)+(va(0+)/10)+(va(0+)-vb(0+))/20 = 0"); //equatio... |
d59d9a7559102fcfdd1941f053bf2d463405dc26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.16/1_16.sce | 08d26b0a3dd86966c373300460265c92f43e4bbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | 1_16.sce | //pathname=get_absolute_file_path('1.16.sce')
//filename=pathname+filesep()+'1.16-data.sci'
//exec(filename)
//Diameter of the vessel(in m):
d=1
//Height of the vessel(in m):
h=4
//Volume of the vessel(in m^3):
v=%pi*d^2*h/4
//Initial pressure(in kPa):
p1=100
//Initial temperature(in K):
t1=300
//Final pre... |
b0087e28d285c012ae3d723592a20cfd47b6828e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH6/EX6.10/Ex6_10.sce | d83b1aac31f8f9ad47f747ef307d46fbde65ccf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,307 | sce | Ex6_10.sce |
//CHAPTER 6 ILLUSRTATION 10 PAGE NO 183
//TITLE:Turning Moment Diagram and Flywheel
clc
clear
pi=3.141
Cs=.02// coefficient of fluctuation of speed
N=200// speed of the engine in rpm
//T2=15000-6000cosθ Torque required by the machine in Nm
//T1=15000+8000sin2θ Torque supplied by the... |
fb7319758f175f0ee10b71b99caae84f7b018d0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH2/EX2.4/2_4.sce | eba66e05c12595b9938da20de99c06d9bf7fd677 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | 2_4.sce | // example:-2.4,page no.-34.
// program to show that a circularly polarized plane wave can be decomposed in to RHCP and LHCP.
A=sym('A');
B=sym('B');
Eo=sym('Eo');
x=sym('x');
y=sym('y');
Ko=sym('Ko');
z=sym('z');
E=Eo*(x+2*y)*exp(-%i*Ko*z); // given
// can be written as:=>E=A*(x-y)*exp(-%i*Ko*z)+B*(x+y)*ex... |
14a0e5a6427121f1e9e502ffd9fc747c20fe3e33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH1/EX1.11/11.sce | 49ea06213f591cdcd6dd1d1971c712243714bf60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 11.sce | clc
rho=800; //kg/m^3
g=9.81; //m/s^2
L=0.12;
theta=%pi/180*20; // radians
dp=rho*g*L*sin(theta);
disp("The gauge pressure across the filter =")
disp(dp)
disp("N/m^2") |
879003946c45f992fb3a572a39ccd20ec83b1793 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH7/EX7.11/ex7_11.sce | 4cd104c97bb38adf3f3575dd9a3bf47c843197c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | ex7_11.sce | clc;
warning("off");
printf("\n\n example7.11 - pg300");
// given
sp=1.45; // specific gravity of trichloroethylene
pwater=62.4; //[lb/ft^3] - density of water
p=sp*pwater;
d1=1.049; //[inch] - density of pipe at point 1
d2=0.6; //[inch] - density of pipe at point 2
d3=1.049; //[inch] - density of pipe at... |
c800b5a4649898bdfd4fc5f7d2538d270dabec68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH6/EX6.22/6_22.sce | 1512aa4dc1fd666090a4aab6a9b55640de246fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | 6_22.sce | //pathname=get_absolute_file_path('6.22.sce')
//filename=pathname+filesep()+'6.22-data.sci'
//exec(filename)
//Initial pressure(in MPa):
p1=6
//Final pressure(in MPa):
p2=5
//Initial temperature(in °C):
T1=400
//Atmospheric pressure(in kPa):
patm=100
//Atmospheric temperature(in °K):
Ta=20+273
//From steam... |
b9aa8b65f7bfeb5e47386e24efd30abebffc169a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH7/EX7.12/712.sce | a7cc2d67fd2225f3324311f5a48944adb21a6e17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 712.sce | // problem 7.12
b=10
d=4
i=1/1000
N=0.03
A=b*d
P=b+(2*d)
m=A/P
z1=23+(0.00155/i)+(1/N)
z2=1+((23+(0.00155/i))*(N/(m^0.5)))
C=z1/z2
Q=A*C*((m*i)^0.5)
disp(Q*1000,"discharge through the rectangular channel in litres/sec")
|
29a68ceeabe4646c4cf8a959916f2f4281e7c016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH14/EX14.7/ex14_7.sce | 85812cd578d9c1f0b72b493788bdd90ee7817da7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | ex14_7.sce | clc;
//From table 14.2 at 25 oC and 1 atm for C8H8
del_Ho=-2039.7; // LHV in MJ/kmol
// Combustion equation is C3H8+ 5O2 +18.8N2 → 3CO2 +4H2O +18.8N2
// From table 14.3
h333_C3H8=2751; // h333_h298 of C3H8 in kJ/kmol
h333_O2=147; // h333_h298 of O2 in kJ/kmol
h333_N2=145; // h333_h298 of N2 in kJ/kmol
h1333_CO2... |
8abc93aafbba3d0ec5b7a62c130c3e9ac30c1c4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH1/EX1.7/example7_sce.sce | a319b1d682e59b6211227d19a7f20d61cf4e99ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | example7_sce.sce | //chapter 1
// example 1.7
//page 32,figure 1.36
Vee=12;Vbe=0.7;Rin=100;Re=8400;Rc=3900;Vcc=12;
Xdc=100// dc gain
Icq=(Vee-Vbe)/((Rin/Xdc)+2*Re);
Vceq=Vcc+Vbe-Icq*Rc;
disp(Vceq,Icq)//the DC base point or Q point is at(volt,ampere)
Hie=1100// assuming
Ri=2*(Rin+Hie);//input resistance
disp(Ri)// input resista... |
45608755ebb7a80e3a67a780dde451f11965e925 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH10/EX10.1/Ex10_1.sce | de368d75413a827c80055e93f6f7ebe43a22696c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,174 | sce | Ex10_1.sce | // chapter 10
// example 10.1
// Determine required supply voltage, thyristor rating and power factor of the supply current
// page-698-699
clear;
clc;
// given
m=3; // number of phases
PF=0.7; // power factor (lagging)
Edc=190; // in V (load voltage)
I_L=45; // in A
// calculate
// since Edc=(m/%pi)*Eph*sin(%pi/m), t... |
32c97f65b69c39b5844362a1607b24d507996dff | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH1/EX1.10/1_10.sce | b53c9152d7256e6316199dec0e8138179868aa00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | 1_10.sce | clear;
clc;
//Example - 1.10
//Page number - 27
printf("Example - 1.10 and Page number - 27\n\n");
//Given
// log(P)=-(1640/T)+10.56 (solid)
// log(P)=-(1159/T)+7.769 (liquid),where T is in K
// F+P=C+2, at triple point F+3=1+2 or,F=0 i.e,vapour pressure of liquid and solid at triple point are same,we get
... |
d42b4e803aa3827949af154bfc71fce56896112e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH5/EX5.8/example5_8.sce | 290fe7d4a9531b49711f4aa3cc272a5578bdc291 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | example5_8.sce |
//example 5.8
//page 211
clc; funcprot(0);
//initialisation of variable
pi=3.14;
mdot=0.0022;//mas flow rate
V1=220*5280/3600;//velocity
V=12000/pi/6^2*4;//velocity
V4=2*V-V1;//velocity
//part1
F=mdot*(V4-V1)*12000;
disp(F,"thurst force (lbs)");
//part2
neta=V1/V*100;
disp(neta,"efficiency (%)");
Hp=F*... |
f88f8d24288ac0dc44bca84a792449ca62131fbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH3/EX3.10/example3_10.sce | e9ee1d601eed25c74d0935fa6e86478e32e42a14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | example3_10.sce | //To find the sensitivity
//example 3-10 in page 54
clc;
//given data
Im=157e-6;// peak current=157 micro ampere
Vrms=100;// FSD rms voltage in volt
//calculation
Irms=0.707*Im;//FSD rms current
R=Vrms/Irms;// total circuit resistance
S=R/Vrms;//sensitivity
printf("sensitivity=%d K-ohm/volt\n",S/1000);
//res... |
5a86388932ff04d4c78661563f55ff018a4f1e60 | b74b2ace796d50f1d2550b2ac8747b0c55e7faa7 | /macros/gitinit.sci | aacbbc6f60545315a06abf7d72415f77f7fef11f | [] | no_license | slevin48/plotdeploy | 2f1a5aea6b14b540b7890a86c588e8361e237152 | 2bbba304a9151beb4b01104746ea41f95d73bd78 | refs/heads/master | 2023-02-14T22:09:40.476472 | 2021-01-08T19:00:04 | 2021-01-08T19:00:04 | 263,965,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sci | gitinit.sci | function [res1,res2] = gitinit(herokuapp)
// herokuapp = "plotdeploy";
if ~isdir(SCIHOME+'\plotdeploy\') & type(herokuapp) == 10 then
// check that herokuapp contains a string
cd(SCIHOME)
mkdir("plotdeploy")
cd("plotdeploy")
res1 = unix_g("git init")
res2 = unix_g... |
e2dfe6f8977cb561d9704691a54208bbfb4c0621 | de4a05983c71acce126215edc1ef3dc68303d939 | /oper/print.tst | b88e50d1beca89a89c784e6e8c0c06e7f53b5057 | [] | no_license | TYMCOM-X/169283.tape | 31a10122e6ac6394a8aa4f6ae215cfb48a4e8552 | f58dedd26328b5c0ba3fd2a76f722194df41d933 | refs/heads/master | 2023-03-27T17:37:41.524138 | 2021-03-21T16:14:00 | 2021-03-21T16:14:00 | 345,965,863 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | tst | print.tst | 1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
|
969a954c9feb939dd03813dccd4d95e2617e9b05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH8/EX8.3/example8_3.sce | 9494b35906bf1ab199212d6e13d1161c4274092d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | example8_3.sce | //Example 8.3
//Compute DFT of x(n)={1,1,0,0} and IDFT of y(n)={1,0,1,0}
clc;
x=[1,1,0,0];
Y=[1,0,1,0];
X=fft(x,-1);
y=fft(Y,1); |
eae72de6c0ac2da5619df13f83c4116b2fa2da5a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA09.prev.tst | 70d3002145aa1b713f848566ca4951ef0e6cd235 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | tst | MA09.prev.tst | [[2,2,1,0],[1,1,1,1],[1,2,2,0],[2,3,2,0]]
[[2,2,1,0],[1,2,2,0],[1,1,1,1],[2,3,2,0]]
[[2,3,2,0],[1,2,2,0],[1,1,1,1],[2,2,1,0]]
[[-2,-3,-2,0],[-1,-2,-2,0],[1,1,1,1],[2,2,1,0]]
[[-2,-3,-2,0],[-1,-2,-2,0],[-1,-1,-1,-1],[-2,-2,-1,0]]
[[2,3,2,0],[1,2,2,0],[1,1,1,1],[2,2,1,0]]
|
c55ae4f3cfff95b5f8e6c1a65e48e1d9bfb12199 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/272.sci | 2839ad4513259231f58eefc9ad03585e1328d6d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 62 | sci | 272.sci | T=[10 20 40 80]
M=[14.76 20.14 27.73 38.47]
sqrtT=sqrt(T);
|
0dd66c5247fa2b015f3c9e51996dd4f854014afe | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_And_Hydraulic_Machines_B._K._Sarkar_2159.zip/Fluid_Mechanics_And_Hydraulic_Machines_B._K._Sarkar_2159/CH2/EX2.7/27.sce | d82a6fb23ccaa9c15eb906d1ec5b8c3c1830282e | [] | 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 | 177 | sce | 27.sce | errcatch(-1,"stop");mode(2);// problem 2.7
s1=19.3
s2=9
x=14/24
wg=x*10
wc=(1-x)*10
vg=wg/s1
vc=wc/s2
vt=vg+vc
disp(vt,"volume of 10gm,14 carat gold in cm3")
exit();
|
8d70dc5e4c6417e1ec44b059f928d536e68ac77e | 364fc2bac23ae5482a18e5e9392ff63e68642dae | /TP2/exo_bis_1.sce | e37bf6c16ab5e57aefeeb05581ec85b410f75f82 | [] | no_license | Raphael-De-Wang/2M310TP | 259e55e9dc931b0a0102ed7a5dbbb31e82b88295 | af21ffee07fadeb5b27c5f30d0deb1926972ccee | refs/heads/master | 2021-01-11T14:14:21.447623 | 2017-03-29T20:27:35 | 2017-03-29T20:27:35 | 81,227,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | exo_bis_1.sce | clear;
// Q1
function rst = div7(n)
if modulo(n,7) == 0 then,
rst = "oui"
else,
rst = "non"
end
endfunction
// testcase
div7(7)
div7(10)
// Q2
function S = Syracuse(n)
S = [n]
count = 1
while n <> 1,
if modulo(n,2) == 0 then,
n = n/2;
else,
n = n * 3 + 1;
... |
84b1acf707eca58e008a8d2019405b36b9bd4cce | b3385e278ba1e11155ec4a0d21d3abb3b4ec8c33 | /dsssnormal.sce | 7604997a2fc9e4bc200e5907e3f691f1866d4b5b | [] | no_license | akashmahale237/ael | 7443658b7bb04f72e775fda0f0abe643207d660d | 549e47cd7fd25b8dfca51f0502cec4d632328abe | refs/heads/master | 2020-03-28T08:54:12.647042 | 2018-10-23T01:39:00 | 2018-10-23T01:39:00 | 147,997,869 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,701 | sce | dsssnormal.sce | t=0:0.2:5
N=10;
wt=0:0.01:1;
bt=[ones(1,10) zeros(1,10) ones(1,6)];
bt_polar=[ones(1,10) -1*ones(1,10) ones(1,6)]
ct=[0,0,1,1,1,0,1,0,0,1,1,1,0,1,1,1,1,0,0,0,0,1,1,0,1,0];
ct_polar =[-1,-1,1,1,1,-1,1,-1,-1,1,1,1,-1,1,1,1,1,-1,-1,-1,-1,1,1,-1,1,-1];
mt=[];
mt=bt_polar .* ct_polar;
disp(mt);
Carrier=2*sin(wt*2*... |
a6d9e0b320bbd6b2cbec2f12dfcce3c89c687407 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.4/Ex3_4.sce | 43d874e3a8bc7152d48b3f503d7850022d717c1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | Ex3_4.sce | clc;
//ex3.4
Vprms=120; //volt
Vppk=Vprms/0.707; //volt
Ns=1;
Np=3;
Vspk=(Ns/Np)*Vppk; //volt
Vf=0.7; //volt
VLpk=Vspk-Vf; //volt
RL=10000; //ohm
ILpk=VLpk/RL; //Ampere
disp('V',Vppk,"Vppk="); //The answers vary due to round off error
disp('V',Vspk,"Vspk="); //The answers vary due to round off error
disp('... |
b6ec6cc1e8ae310b2ff83cfb24dff3bf87f66db3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH5/EX1.A/additional_ex_1.sce | bb29d609a3883cf4e4a626b28154a23d302a2acb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | additional_ex_1.sce | clear;
clc;
//("current through the capacitor is i=C(dv/dt)");
t=15; //acquisition time in us
i=5; //current in mA
v=5; //maximum voltage across capacitor in V
// to satisfy current requirement
disp("to satisfy current requirement");
C_current_req=i*t/v;
disp(C_current_req,"C(nF)=");
//to satisfy accu... |
971a000d28a968131cd292bae331d1e9cf4960fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH10/EX10.10/sadiku_10_10.sce | 0951436be9559ce86eb3dba6af4536a72b208309 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | sadiku_10_10.sce | clear;
clc;
kx=0,ky=.866,kz=.5,Eo=10^-9 /(36*%pi),Uo=4*%pi*10^-7;
k=sqrt(kx*kx+ky*ky+kz*kz);
w=k/(sqrt(Uo*Eo));
disp(w*10^-6,'w im Mrad/sec');
l=2*%pi/k;
disp(l,'lamda = ')
|
5647812f42529fc494e9e8e5f63e3f62063db4c7 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH8/EX8.1/Ex8_1.sce | ee2905a2d275511325c6a32b6fa5c771855d4bf5 | [] | 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 | 507 | sce | Ex8_1.sce | clc
// Intialization of variables
Re1 = 2100 // Reynold's number
Re2 = 4000 // Reynold's number
U = 2.73 * (10^(-5)) // lb.s/ft^2
D = 0.73/12 //ft
d = 1.94 //slugs/ft^3
Vo = 0.0125 //ft^3
// Calculations
V1 = Re1*U/(D*d) // ft/s
t1 = Vo/((%pi/4)*(D^2)*V1) //s
V2 = Re2*U/(D*d) // ft/s
t2 = Vo/((%pi/4)*(D^2)*... |
8084e1b8adcde1295577e35c7560ad604c5d8382 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.25/Example_9_25.sce | caaf845d2256d9303e5d07261d827f3874b1b259 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Example_9_25.sce | clc;
clear;
printf("\n Example 9.25")
C_p=4e3;
//If T K is the temperature of the liquid at time / s, then a heat balance on
//the vessel gives:
x=poly([0],'x');
T_max=roots((600*0.5)*(393-x)-(10*6)*(x-293));
printf("\n\n Maximum temperature to which it can be heated = %.1f K",T_max)
//solving the equat... |
cdb68e5c8e6f7b3c6e9f50614d9052930b678bb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH14/EX14.3/Ex14_3.sce | 0381f75e1be9d3e9899a7ce3bb9a6336e39060f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | Ex14_3.sce | TDR=2000//transmission data rate
Size=20*8
dtt=Size/TDR//data transfer time
printf('data transfer time= %.f ms',dtt*10^3)
|
337fdf163ed6c1bd6d5a0be9373e630fa74924b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH14/EX14.11/Chap14_Ex11.sce | 37c1d9af796f65ab75ab24a9b429fdea3552f90f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,312 | sce | Chap14_Ex11.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-14,Example 11,Page 506
//Title: Primary reactions
//================================================================================================================
clear
clc
//INPUT
//The reactions occ... |
290d0d4cc7ba4d77690b2f8b0e883df1fac46428 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH9/EX9.14.2/ex_9_14_2.sce | d14cd3725f77b076c08260e6929f53af8330fb39 | [] | 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 | 251 | sce | ex_9_14_2.sce | errcatch(-1,"stop");mode(2);//Example 9.14.2 // time interval
;
;
format('v',7)
vdv=2;//volts per division in micro seconds/div
n=2;//no. of divisions
Tint=vdv*n;//peak to peak voltage in volts
disp(Tint,"time interval in micro seconds is")
exit();
|
67aefcbc09187488991d30da70457c25cd1ad12e | 05ac16985ed247964c257764b2c14776a4cd6771 | /trip-tests/trip03.tst | 30a4067747f97f18b50fb4a863833722d00fb8e3 | [] | no_license | felixitous/Graphs | e7887a194429cdbf073c6e41d0d1b9969e2e8ec7 | 395364c7bac49812d28a72dc8862e41ab39651ca | refs/heads/master | 2021-01-22T10:01:56.943976 | 2014-01-15T22:45:23 | 2014-01-15T22:45:23 | 15,950,368 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | tst | trip03.tst | java -ea trip.Main -m trip-tests/trip02 <<EOF
Schenectady, Battery_Park, Great_Barrington, Fort_Lee
EOF
|
bb038c783e8abbf5499fd48f882585ec7dc92d60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH7/EX7.7/7_7.sce | e8e2a7eee67295a5871b2459811eb93ed7902e09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | 7_7.sce | clear//
//Variables
k = 5.0 //dielectric constant
A = 0.04 //Plate area (in meter-square)
d = 0.02 //Thickness of dielectric(in meter)
eps0 = 8.85 * 10**-12 //Absolute permittivity (in kg*m**3*s**-3*A**-2)
//Calculation
C = eps0 * k * A / d //... |
7c03fa1cb87def427fe99915785ecb5eead9435c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.32/Ex2_32.sce | 6ee2f1aa1802c7daf069547ca21844fe4c896c60 | [] | 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 | 367 | sce | Ex2_32.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the resistance to be inserted in series
//Exa:2.32
;
;
V=500;//in volts
R_a=0.5;//in ohms
I_a1=60;//in amperes
E_1=V-(I_a1*R_a);//in volts
I_a2=sqrt(((0.75)^3)*I_a1^2);//in amperes
E_2=0.75*E_1*I_a2/I_a1;//in volts
R=-(E_2-480.5)/38.97;
disp(R,'the resistance... |
b9bad8167b3d08dcf56d78a09b54b312c33c88c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH8/EX8.7/example8_7.sce | 90fe0ec5d0188078458e8e3f3d7da85df855a19a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | example8_7.sce | // to find the resistance inductance and the Q factor of the inductor
// example 8-7 in page 209
clc;
// given data
// it is a maxwell's induction bridge
C3=0.1e-6; R1=1.26e+3; R4=500; R3=470; // capacitance and resistor values in farad and ohm
f=100;// frequency =100 Hz
//calculation
printf("Ls=%d mH\n",C3*R1*... |
33d6f26a9607cf63dba99e33ba95bccf562b5825 | 0eea7d48e039f70051ddf39a431c9325998e775e | /elim_Gauss.sce | 8d5fa06a6d3b40db42beaa17738260c88d9f2462 | [] | no_license | dannylong/Dannylong | dc3e200009a356e5c63481737a6f3c3a515fbdab | 5103df01e5bfef3031627b7eb35f815b63ed862c | refs/heads/master | 2016-09-14T04:58:31.471187 | 2016-05-09T00:32:58 | 2016-05-09T00:32:58 | 58,337,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,043 | sce | elim_Gauss.sce | clear;
// Geração de números aleatórios de 1 a 6
//fix(6*rand()+1);
A = [6 2 -1; 2 4 1; 3 2 8];
b = [7 7 13];
function Ab = gauss(A, b)
Ab = [A b']; //Matriz aumentada Ab
[linhas colunas] = size(A);
for j = 1:colunas
pivo = Ab(j, j);
// PIVOTAMENTO PARCIAL
//Pivotamento
... |
e49203405646920958a4ee0f9e206c1c0e043e95 | 14880498693284f57507e99d65f9d65104a4566c | /html/pages/contact.php.tst | bf8e10f69ee96e938fed6cccd5e8ca41f9bd5e96 | [] | no_license | hasakura12/AWS_QuikID_website | 350f727586804909087a91bd0e31d144fa388749 | 55a03e0633099744b447eedd8fc88d6249b29ccb | refs/heads/master | 2021-05-30T07:24:11.738439 | 2016-01-07T21:44:43 | 2016-01-07T21:44:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,543 | tst | contact.php.tst | <?php
$areas_of_int = array("QuickSafe Solutions","Partner","Other");
require_once('sweetcaptcha.php');
$contact = 'class="on"';
$title = "Contact";
$contacttpl = file_get_contents('pages/contact.tpl');
$action = _GET('action','');
$name = secureText(_POST('inputName',''));
$email = secureText(_POST('inputE... |
a3f2eddd85f27937e7e275e47dfe66d78df5ad95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH5/EX5.7/exp5_7.sce | 0a409466488642395f0a85144336903c23813ec4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 870 | sce | exp5_7.sce | //Example 5.7 calculate torque developed on full load by the motor.
clc
disp("P = 4, f = 50 Hz, R2 = 0.1 ohm, X2 = 1 ohm, N = 1440 r.p.m")
disp("Stator turns/Rotor turns = 2/1")
disp("Therefore, K = E2/E1 = Rotor turns/Stator turns = 1/2 = 0.5")
ns=(120*50)/4
format(5)
disp(ns,"N_s(in r.p.m) = 120f/P =")
disp(... |
356d13326897ab7d7c7081360b3ac94b11564c3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH18/EX18.1/18Q1.sce | b02ebc5d99ce2ee48ffe910d4bb718a474efc246 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | 18Q1.sce | clc
//solving for z=5 only
To=0.275
Cn=To^(-0.5)
N60=8
N160=Cn*N60
printf('(N1)60 = %f',N160)
|
f417b9db589c4a344323fd9d8066431184c8f7f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH12/EX12.4/Ex12_4.sce | ce649cddfef3d3b0d05c11bd6a57c113cd9683b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Ex12_4.sce | //Ex12_4
clc
VI=-15
disp("VI= "+string(VI)+" volts") // Input voltage
TSW=2*10^(-3)
disp("TSW= "+string(TSW)+" seconds")// triangular wave Sweep time
R=10*10^(3)
disp("R= "+string(R)+ " ohm") // resistance as ckt. parameter
C=0.5*10^(-6)
disp("C= "+string(C)+" farad") // capacitance as ckt. parameter
S=-VI... |
a77f4c14314f8d51002033303827b08e3f7c1162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH11/EX11.7/11_7.sce | 0ea507ea152d015b8405bcaaa6a9fa71c6f13b9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,512 | sce | 11_7.sce | //To find stress in the belt
clc
//Given:
N1=200, N2=300 //rpm
P=6*1000 //W
b=100, t=10 //mm
x=4, d2=0.5 //m
mu=0.3
//Solution:
//Stress in the belt for an open belt drive:
//Calculating the diameter of the larger pulley
d1=d2*(N2/N1) //m
//Calculating the velocity of the belt
v=%pi*d2*N2/60 //m/s
//Calculating the ang... |
c7350bf424cc623b5c5a1a615cf43eaa27789df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH2/EX2.6/Ch2Exa6.sci | 446e10bd04d61e63553e6310ae80d84bb5120f52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sci | Ch2Exa6.sci |
//Example 2.6 (b)
c=3*10^8; //velocity of light, m/s
V= 0.5*c; //velocity of electron and positron, m/s
y= 1/sqrt(1-(V/c^2)); //gamma, for relativistic momentum
m=0.511/c^2; //MeV
K= 2*y*m*V; //difference in momentum of both photons
L= 2*y*m*c; //conservation of energy, sum of momentum of both photons
p... |
7f263dd3275bff1e237211725f32f48f65e996b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH9/EX9.6/ExB_6.sce | 0875e20300266c40a93d8e75b50e6008284a51b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ExB_6.sce | clc;
w1=85; // reading of wattmeter 1;
w2=35; // reading of wattmeter 2;
P=w1+w2; // total input power
n=0.85; // efficiency of motor
vl=1100; // supply voltage
pf=cosd(atand((sqrt(3)*(w1-w2))/(w1+w2)));
il=(P*1000)/(sqrt(3)*vl*pf); // line current
ps=n*P;
printf('Input power is %f KW\n',P);
printf('Line curr... |
73c99fbbbe8c5c86492f5c00d6097fef9ee2a09d | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/StereoPictures/SlideShows.SCI | d9f58b5dcc3ab8c1f270f69f009cd712eb34fe3a | [
"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 | 17,387 | sci | SlideShows.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
###############################################################################################
# INIT SCENE AND VIEWPORT
###############################################################################################
sf=T_scene_create;
sss=T_getscene;
vp=T_getview... |
d7d2045e49a8f38c6e271bfd6046063c516d6947 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH17/EX17.13/17_13.sce | 7500d046968d80fa4fe780c416abb4d96fbd66c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,967 | sce | 17_13.sce | clear;
clc;
//Example - 17.13
//Page number - 611
printf("Example - 17.13 and Page number - 611\n\n");
// Given
T_1 = 298.15;//[K]
T = 2600;//[K]
R = 1.987;//[cal/mol-K] - Universal gas constant
// Cp_0 = a + b*T + c*T^(2) + d*T^(3)
delta_H_CO_298 = -26.416;//[kcal/mol] - Enthalpy of formation of CO at ... |
1909a4043c31139260e0c4d2e764fdc3b7195c76 | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /qa_demo_vcast_pipeline/qa_demo/environment/UUT_DATABASE/UUT_DATABASE.tst | 6488c7379ee267b08d0c667b5dc01f0d156b552d | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,307 | tst | UUT_DATABASE.tst | -- VectorCAST 21 (04/16/21)
-- Test Case Script
--
-- Environment : UUT_DATABASE
-- Unit(s) Under Test: database
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT_F... |
86fd81aeb4d89820840d4299b03485a5f495ad42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH4/EX4.7.11/Ex4_7_11.sce | e943e521b22712a4b757f613284d979bf74cdffb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | Ex4_7_11.sce | clear
clc
Tb=353.25;//temperature of benzene in K
Tt=383.75;//temperature of toluene in K
T=368.15;//temperature in K
DelS_vR=-10.6;//
Xb=((exp(DelS_vR))-(exp((DelS_vR)*(Tt/T))))/((exp((DelS_vR)*(Tb/T)))-(exp((DelS_vR)*(Tt/T))));//mole fraction of benzene
printf('Xb=%.4f',Xb)
Xt=(1-Xb);//mole fraction of benzen... |
58faabf1d034e5c4d595f17e0de38985791898da | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Skeletonpers3data.sci | 57dde938b2a0c8af45f185b365fe31121c1200e7 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sci | Skeletonpers3data.sci | // 09.09.25
// 11.12.12
function Out=Skeletonpers3data(varargin)
global MilliIn;
Nargs=length(varargin);
Out=[];
ObjL=Flattenlist(varargin(1));
Plt3L=Flattenlist(varargin(2));
R=0.075*1000/2.54/MilliIn;
if Nargs>2
R=R*varargin(3);
end;
Eps2=0.05; // changed at 08.10.16
if Nargs>3
Eps2=vara... |
e1b5d7634362ae3c1790276b32eac7f95a167c83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH3/EX3.2/Ex3_2.sce | 28e043a2da1ded5aaa623e4fbc86636058508835 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 991 | sce | Ex3_2.sce | clc
R=8.314*(10^3)//universal gas constant
T=473 //temperature of bath in kelvin
v1=0.6 //volume of steel vessel in metre-cube
P=R*T/v1 //pressure developed by ideal gas law
mprintf("P=%fMPa\n",P*10^-6)//ans may vary due to roundoff error
a=453.046*(10^-3) //vander waals constant in Pa(metre-cube/mol)^2
b=0.057*... |
256e12b8d1938d1af5abd2662a1a47efb8e8f16e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.28/2_28.sce | 833b7b84a6a8d0ad337f4475e9af4821fd342731 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | 2_28.sce | //Mesh Analysis
A=[4,-2;998,24.5]
I=inv(A)*[1/1000;0]
disp(I)
P1=I(2)^2*2.5*1000
P2=1/1000*I(1)
P3=-10^6*I(1)*I(2)
P=[P1,P2,P3]
disp(P) |
d48193751e64f246c6fd368f86a7c3e2e3e2cbe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.41/Ex9_41.sce | 002cadcbc959b69a87555c9c1821bd365f288fab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex9_41.sce | clear
//Given
V=2 //V
R=2000.0 //ohm
//Calculation
I=V/R
pd=I*R
//Result
printf("\n Reading of ammeter is %0.3f mA \nReading of voltmeter is %0.3f V",I*10**3,pd)
|
718e0f427b767eda3ff8fd36ce47f3eadbe2b090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH9/EX9.5/Ex9_5.sce | 6f574129508c5f6ce26df299f64891d1ac787838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | Ex9_5.sce | // exa 9.5 Pg 262
clc;clear;close;
// Given Data
d=12;// mm
dc=10;// mm
p=2;// mm
Do=10;//mm
mu=0.15;// coefficient of thread friction
mu_c=0.18;// coefficient of collar friction
F=100;// N
l=150;// mm
dm=dc+p/2;// mm
alfa=atand(p/(%pi*dm));// degree
fi=atand(mu);// degree
TfByW=dm/2*tand(alfa+fi);// where TfByW = Tf... |
e5e145c51c8e8bc901b46742590c27db587baed3 | 319e18105d3bb4e50502225693804b3a76b29ac3 | /OTHER_FISTA/OTHER_numerical_tour/numerical-tour/toolbox_signal/read_bmp.sci | 1b5cca05de28fb92c65061fb04ce52cd713395c6 | [
"BSD-2-Clause"
] | permissive | Venergon/Extrapolated-Bregman-Proximal-DC-method | 0c5e5184b9f04cedec38c4bd28bc066cce6e1be2 | 031bd9fb1a441af325a4aacc194433aa9e781950 | refs/heads/master | 2023-01-25T03:02:44.822773 | 2020-11-17T09:56:40 | 2020-11-17T09:56:40 | 275,793,157 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,430 | sci | read_bmp.sci | function M = read_bmp(name)
// read_bmp - read a 8 bit bw binary file
//
// M = read_bmp(name);
//
// Copyright (c) 2008 Gabriel Peyre
if isempty((strfind(name, '.')))
name = [name '.bmp'];
end
fid = mopen(name, 'rb');
if fid<0
error(['File ' name ' does not exists.']);
end
// sizes
[n,p,toReachMOf4] = ... |
e8742bc0e961e822a1dacfa10a05311a6c451c97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH4/EX4.2/ex4_2.sce | 21660e933508e19cfe305fdf203bc6120aae4dc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_2.sce | clc;
clear all;
I1 = 100;// Intensity of sound produced by turbine in Watts per square meters
I0 = 1e-12; // standard intensity
b = 10*log10(I1/I0);//The relative intensity of a turbine
disp('dB',b,'The relative intensity of a turbine is')
|
90eb4df875ea17a656cccf37b85b59cf9496b1ed | 9d51752f8238cddfc424f702c2c74c7ca7d9ed5f | /07/test/StackArithmetic/SimpleEq/SimpleEq.tst | 116df40ef1ffd04c3a5cbf728a9d939e6f56f443 | [] | no_license | nirasan/go-nand2tetris | afd26e3520ebc37bdf7edbbcd5b2116f0320ef84 | 4d61fd62aab220d1e721506f98c50ebd6adbe09c | refs/heads/master | 2020-03-19T09:58:00.195206 | 2018-06-11T22:26:17 | 2018-06-11T22:26:17 | 136,331,312 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | tst | SimpleEq.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/07/StackArithmetic/SimpleAdd/SimpleAdd.tst
load SimpleEq.asm,
output-file SimpleEq.out,
compare-to SimpleEq.cmp,
output-list RAM[0]%D2.6.2 RAM[256]%D2.6.2 ... |
10184ec06151cadeccdac4981b8165d6904159a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH4/EX4.7/7.sce | d0dfb5c121e0389744423b04289a92b4806d4d8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | 7.sce | //Variable declaration
n=8.5*10**28
e=1.602*10**-19
t=2*10**-14
m=9.1*10**-31
//Calculations
Tc=n*(e**2)*t/m
//Result
printf('The mean free collision time =%0.3f *10**7 ohm**-1 m**-1 \n ',(Tc/10**7)) |
41b67375620c6253a0e20fb87ae7e09c1ba46fcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH2/EX2.14/EX14.sce | ade81eeec62c774af8abb14258d9565d7943535e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | EX14.sce | // Example 2.14: (a) Change in capacitance
// (b) Change in capacitance
clc, clear
C=4e-12; // Depletion capacitance in farads
V=4; // in volts
K=C*sqrt(V); // a constant
disp("Part (a)");
V=4+0.5; // in volts
C_new=K/sqrt(V); // in farads
deltaC=C_new-C; // Change in capacitande in farads
del... |
71a3cab24ca8d58a0e04b30cbea940efa418a643 | aeaf7f37fcb0a9af1a236399e0771bde28863d82 | /vcast/Tutorial/build/697635216/MATH/MATH_auto.tst | c788c763cbe79fd58fd6b8d06b16a39e03e36b88 | [] | no_license | Yukio-Kita/manager | c7b772034d87195a838a69bc62fae6ffff352a74 | d570594662aac497e1579e68635aab72d2ee0760 | refs/heads/main | 2023-07-31T22:35:35.444174 | 2021-09-14T04:35:21 | 2021-09-14T04:35:21 | 406,196,563 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,502 | tst | MATH_auto.tst | -- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
TEST.SCRIPT_FEATURE:VCAST_MAIN_NOT_RENAMED
--
-... |
c6da17ed4e2dcf31a0ddadda8b1a1ba1db55c17b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH9/EX9.7/Ex_9_7.sce | 9650a1ba7007183b711fb0ad7d9c55be502e98b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Ex_9_7.sce | //Example 9.7// cavity gain
clc;
clear;
close;
x=0.5;//
y=(1-(sqrt(x)))/(1+sqrt(x));//
g=(y/(1-y)^2);//
disp("cavity gain is "+string(g)+"/(sqrt(R1*R2))")
|
1687c3a5a836a152e065c94808d09bfec3c98673 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /tracer stationary box tracking.sce | 082a377d5ed57cef2f55df9d2e00ae82f2305213 | [] | 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 | 24,516 | sce | tracer stationary box tracking.sce | Name=tracer stationary box tracking
PlayerCharacters=Racer
BotCharacters=TileFrenzy Cube.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Racer
AddedBots=TileFrenzy Cube.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=kovaim1.map
MapScale=1.0
BlockProjectilePredictors=false
BlockCheats... |
ffe4884aac9ace2537945bbe08a42e1b0dccdbaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH20/EX20.2/ex_20_2.sce | d9c91321c47e1ea8ff21cfe5bce8e74fd2d64e72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | ex_20_2.sce | //find..
clc
//soltuion
//given
n=2
B=15//deg
A=750*10^-6
u=0.12
rho=1200//kg/m^3
f=7*10^6//N/m^2
d=0.300//m
N=1500//rpm
m=A*rho//kg/m
v=(%pi*N*d)/60//m/s
Tc=m*v^2//N
q=%pi
printf("the centrifugl tension is,%f N\n",Tc)
T=f*A//N
printf("max tension is,%f N\n",T)
T1=T-Tc//N
//log(T1/T2)=u*q*cosec(%pi/... |
9a3414dbeb2169f0d435f832e23171fa7a9ec97a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.31/example31.sce | ad0a4d933a0419db4824417bdf7de948fafda9ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | example31.sce | //find the transfer function using block diagram reduction
printf("syms R1 R2 C1 C2 \n l1=1/(1+R2*C2*s);//unity feedback\nl2=1/(s*C1); \n l3=1/R1;\n l4=s*C2;\n l5=1+R2*C2*s;\n g1=l1*l2;//cascading of blocks\ng2=g1/(1+g1*l4);//feedback configuration\n g3=l3*g2;//cascading of blocks\n g4=g3/(1+g3*l5);\nTransfer function... |
b0e51e3b17bdafd6703f41c5efa5f44c148b3baa | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /SMul8/SMuL8.tst | 749f0dc7c3cf44e92ffaecd70549eeb727e4b4b3 | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | tst | SMuL8.tst | //Tests the Signed 8 Bit Mutliplication using csa (SMuL8)
load SMuL8.hdl,
output-file SMuL8.out,
output-list a%B1.8.1 b%B1.8.1 out%B1.8.1 OF%B1.1.1;
//Non overflow cases.(-128 to 127 range)
set a %B00000101,set b %B00011001,eval,output; //5 * 25 = 125
set a %B00000101,set b %B11100111,eval,output; ... |
b4674ea45a6387ea313ae7941fec333bf3aec18b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.9/Ch02Ex9.sce | b444e31fa09d26912bad4b99b03d3f2559cd7029 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Ch02Ex9.sce | // Scilab Code Ex2.9:: Page-2.12 (2009)
clc; clear;
n1 = 69; // Number of interference fringes obtained with yellow wavelength
lambda1 = 5893e-008; // Wavelength of yellow light used, cm
lambda2 = 5461e-008; // Wavelength of green light used, cm
// As n*lambda = l*d/D = constant, therefore
n2 = n1*lambda1/lamb... |
7fbcc1073f13b3d7b55a068eb4c242aa529cbbf4 | 99376cb1d247806f4566fa7f6aa9b889529cc69a | /tests/layout/overlap.tst | 2c8624eea71840c269a90f8901a7f6ddb88190e7 | [
"LicenseRef-scancode-other-permissive",
"NTP",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | maxatome/ctwm-mirror | a7d9b4eda5dbe8844f4b8579796125f45a77ec1c | f688ce4ccb5f3af5b133e073556cd5cb688488fa | refs/heads/master | 2023-03-17T02:53:18.402463 | 2023-01-28T01:04:30 | 2023-01-28T01:04:30 | 579,309,302 | 0 | 0 | NOASSERTION | 2022-12-17T09:02:45 | 2022-12-17T09:02:44 | null | UTF-8 | Scilab | false | false | 3,395 | tst | overlap.tst | layout left:10x12+0+0 \
right:10x12+10+0 \
overlap:10x12+5+6
=comment
1111111111
01234567890123456789
0+left----++right---+
1| || |
2| || |
3| || |
4| || |
5| || |
6| +overlap-+ |
7| | || | |
8| ... |
9b6fe94e7c46cb1326d350418c64aa24e1d9d20d | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/ARDUINO_DCMOTOR.sci~ | 054b4ef98e50dd214b2cc1d898127188eeb38c09 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 5,072 | ARDUINO_DCMOTOR.sci~ | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// 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 ter... | |
527f1733dfa1a240b6a85fad52637cfa8eacd23f | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH2/EX2.1/ch2_1.sce | 06689b41386f508235e5d6b3b54103a83f781309 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | ch2_1.sce |
disp("Example 2.1")
printf("\n")
printf("Given")
disp("Resistance used is 4 ohm")
disp("Current flow is i=2.5*sin(w*t)")
disp("Angular frequency(w)=500 rad/s")
R=4;
iamp=2.5;w=500;
t=0:0.001:0.012566
i=2.5*sin(w*t)
Vamp=iamp*R;
printf("v=%d*sin(%d*t)(V)\n",Vamp,w)
pamp=iamp*iamp*R;
printf("p=%d(sin(%d*t))^2(W)\n",... |
bb153ffe3dce5903a2a76e66faa1bd43556fb422 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH4/EX4.14.3/Exa14_3.sce | bab6ee9a345d8892b536f54007ccf34669da71c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,775 | sce | Exa14_3.sce | //Exa 14(iii)
clc;
clear;
close;
//given data :
inINV=50000;//initial investment in Rs. and equal for all projects
life=5;//in years
salvage=0;//in Rs.
TaxRate=55;//in %
//depreciation type :Straight line
D=inINV/life;//in Rs
//cash flows before tax of 1st,2nd,3rd,4th and 5th years
CBFT1=10000;//in Rs.
CB... |
50eed8f055ff81983588f0f0785eced389672352 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH2/EX2.4/SSA_Ex_2_4.sce | c5697e26ee2bd98a73f2db544d478c5731780a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | SSA_Ex_2_4.sce | clc
//Chapter 2:Small Signal Amplifiers
//example 2.4 page no 30
//given
VDS=15
IDSS=8*10^-3
gmo=4*10^-3
rd=13*10^3
ID=2*10^-3//drain current
Vs=0//source is grounded Vgs=Vg-Vs=Vi
RL=2*10^3//load resistance
R_L=(RL*rd)/(RL+rd)//equivalent load resistance
gm=gmo*sqrt(ID/IDSS)//transconductance
Av=-gm*R_L//v... |
a365bfddb945e17cef7914d53a3cd921eda3af57 | 624a7ca19d7a8e1ba0d1d2dc4c345f6ae06f4f94 | /starmath/qa/unoapi/sm.sce | c68d48d74d4487854d3d774f6a3cacfa041b91b8 | [] | no_license | jonasfj/libreoffice-writer | e6c4c92ece47bc61f1f6bf93fe24b34a1836c53c | 2d415c9854fb6111ac924ee95044c7e1a931433c | refs/heads/master | 2021-01-25T08:42:25.367195 | 2010-10-03T14:16:52 | 2010-10-03T14:16:52 | 954,612 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | sm.sce | -o sm.SmEditAccessible
-o sm.SmGraphicAccessible
-o sm.SmModel
-o sm.XMLExporter
-o sm.XMLImporter
-o sm.XMLMetaExporter
-o sm.XMLMetaImporter
-o sm.XMLSettingsExporter
-o sm.XMLSettingsImporter
|
73e3e2ced41639e44b1126447545e20fedf4b02e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.11.4/Ex2_11_4.sce | 5da996822923600fd4edca004039513c4e0091ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ex2_11_4.sce | clear
clc
M=78*10^-3;//molar mass of C6H6 in Kg/mol
R=8.314;//gas constant in J/Kmol
Tf2=278.4;//melting point of pure C6H6 in K
DelHm_v=10.042*10^3;//heat of fusion in J/mol
Kf=((M*R*Tf2^2)/DelHm_v);//inKkg/mol
Tf1=277.4;//melting point of C6H6 in Kg/mol
M1=(Tf2-Tf1)/Kf;//molality in mol/kg
X1=0.02;//molefrac... |
f17635847cb35738c33428ea59c0d1053e62f089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH12/EX12.21/i_21.sce | eca2c552d12ce9b9dec07b9f43bf97a1512d97e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | i_21.sce | // To calculate current from a battery and pd across points A and B
clc;
clear;
// Resistances in the given network
R1=4;
R2=2;
R3=3;
R4=6;
R5=8;
// MESH Equations
//9*i1-5*i2=10
//-5*i1+19*i2=0
// Supply voltage 10V
R=[(R1+R2+R3) -(R2+R3); -(R2+R3) (R2+R3+R4+R5)];
V=[10;0];
//Loop Currents
... |
939c99843a2262c8f3277d5dcbec75ae93de5327 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/demos/lmitool/lmidem.sci | 64ea0325e8d749afa316557967443a2737b50e5f | [
"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 | 5,432 | sci | lmidem.sci | function [txtdo]=lmidem(PROBNAME,XNAME,DNAME)
// Copyright INRIA
[LHS,RHS]=argn(0);
txtdo=[]
if RHS ~=3 then
PROBNAME1='foo';
XNAME1='X1,X2,...';
DNAME1='D1,D2,...';
if RHS==1 then
tt=read(PROBNAME,-1,1,'(a)');
tt=stripblanks(tt);
mat=str2vec(tt);
[q1,p1]=find(mat'=='[');
[q2,p2]=find(ma... |
52f97b8bfdbe21556bfdf794f0f923b8c8aa9e3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH10/EX10.6/10_6.sce | d51e69c940a53441985849f648c2efe9f58af862 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | 10_6.sce | clc
//Initialization of variables
w1=0.0176 //lbm
w2=0.0093 //lbm
T2d=73//F
T2=55 //F
//calculations
disp("From steam tables,")
hv1=1061+0.445*100
hv2=1061+0.445*55
hf=23.06
q1=20
q2=4.88
//results
printf("Heat removed in cooling section = %d Btu/lbm ",q1)
printf("Heat added in heating section = %.2f Btu... |
2f8eb7366cf2f616828a6932bc340ed3ebb6a944 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH6/EX6.1/1.sce | 2ca6e42a2530d8479731a2c9b09e7598bd850d27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 709 | sce | 1.sce | clc;funcprot(0); //Example 6.1
//Initializing the variables
Pc = 0; // Atmospheric Pressure
Z3 = 30+2; //height of nozzle
Ep = 50 ; //Energy per unit weight supplied by pump
d1 = 0.150; //Diameter of sump
d2 = 0.100; //Diameter of delivery pipe
d3 = 0.075 ; //Diamete... |
b34046eb0ad18341b35bb4a282ce86c9fac2e4cd | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /ejemplos/03_optimization/scilab/01_basic/01_golden_search/golden.sce | 0c9ebc88f9fb9d981c0b755637ee1b8ebb17f601 | [] | 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 | 501 | sce | golden.sce | function [xlow, x2, fx2, x1, fx1, xup, d, xopt, ea] = golden(funcion, xlow, xup, niter)
phi = (1 + sqrt(5))/2;
for i=1:niter
d = (xup - xlow)/phi;
x1 = xlow + d;
x2 = xup - d;
fx1 = funcion(x1);
fx2 = funcion(x2);
if (fx1 < fx2) then
... |
daa93f92fbb4b350187f74210b2aa959f5da9a79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH10/EX10.9/Example10_9.sce | 25f22311c1439e000e42cf7ec590d12c563a8e3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Example10_9.sce | //clear//
//Example10.9:Inverse Z Transform:ROC |z|>1/3
z = %z;
syms n z1;//To find out Inverse z transform z must be linear z = z1
X =z*(3*z-(5/6))/((z-(1/4))*(z-(1/3)))
X1 = denom(X);
zp = roots(X1);
X1 = z1*(3*z1-(5/6))/((z1-(1/4))*(z1-(1/3)))
F1 = X1*(z1^(n-1))*(z1-zp(1));
F2 = X1*(z1^(n-1))*(z1-zp(2));
... |
34fd623b5b29d731cf1d0ddb5ad99ddf411a4057 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH14/EX14.2/14_2_Diffusion_mass_transfer_Water_droplet.sce | 8d01d3d7741641e7e5cfa9a800c6b6fd6e4cec29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,397 | sce | 14_2_Diffusion_mass_transfer_Water_droplet.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 14.2 Page 898 \n')// Example 14.2
// Evaporation rate through a single pore
T = 298 ;//[K] Temperature
D = 10*10^-6 ;//[m]
L = 100*10^-6; //[m]
H = .5 ;// Moist Ai... |
fbb1f549def0b4eeb66aed0f4ca58228924cc561 | fd56912428cdd6be1cdaaecf2b551af84d20cafa | /2b.sce | d966bafbfaad27fe7b174ad782b50dde13db285e | [] | no_license | prernams/LAA-Assignment | ebb528f06918c2b9a054376908c7f236bf3d97ec | c3bea5b3d3dd7edf93662cc92ee82c6919310fd6 | refs/heads/main | 2023-05-27T16:15:08.449010 | 2021-06-16T04:48:20 | 2021-06-16T04:48:20 | 377,373,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | 2b.sce | clc;
clear;
close;
format('v',5);
A=[2,3,1;4,7,5;0,-2,2];
for l=1:3
L(l,l)=1;
end
for i=1:3
for j=1:3
s=0;
if j>=i
for k=1:i-1
s=s+L(i,k)*U(k,j);
end
U(i,j)=A(i,j)-s;
else
for k=1:j-1
s=s+L(... |
6c1fcdf2ee930843196684f3d8e057144f232732 | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-5/matrix.sce | f069d4673001055fed118cf43a547ef284452fee | [] | 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 | 580 | sce | matrix.sce |
cmp = zeros(1,7);
cp = zeros(1,7);
noe = zeros(1,7)
for n =1:7
k=0;
noe(n) = n;
t= 2.^n;
A = zeros(t,t);
B= zeros(t,t);
C= zeros(t,t);
for i = 1:t
for j= 1:t
for z= 1:t
k=k+1;
C(i,j) = A(i,j)*B(i,j);
end
end
end
cmp(n)=k/100000;
... |
4d406f56e3fc2959eeb174b029164e261ecc84d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.10/Example5_10.sce | f32f97e6f723c413855fbdcb2a9d91a6410b741e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sce | Example5_10.sce | //Exa 5.10
clc;
clear;
close;
//Given data :
l=200;//km
P=50;//MVA
VRL=132*10^3;//Volt
f=50;//Hz
R=l*0.15;//ohm
X=l*0.50;//ohm
Y=l*2*10^-6;//mho
pf=0.85;//power factor
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
VR=VRL/sqrt(3);//Volt
IR=P*10^6/(sqrt(3)*VRL);//A
Z=R+%i*X;//ohm
IR=IR*(cos_fi_r-%i*sin_fi_r... |
445a072803c48ec17c0356155af6c927058cea90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH11/EX11.5e/11_05_example.sci | 3d0294d308af29e0b5204a9ad79ade8d14024131 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sci | 11_05_example.sci | //Example 11-5 Lift and Drag of commercial Airplane
m = 70000 //mass of commercial airplane [kg]
A = 150 //wing planeform area [m^2]
V = 558 //crusing speed of the plane [km/hr]
rho_altitude = 0.312 //density of air at altitude of 12000m [kg/m^3]
rho_ground = 1.2 //density of air on ground [kg/m^3]
C_Lmax_flap = 3.48 /... |
a274ee44522d8e8d052e70a37914ddc0d2f16b95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH20/EX20.1/C20P1.sce | 423ddd9a84397270c4ec6b1976f11266b2bf121f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,099 | sce | C20P1.sce | clear
clc
//to find minimum speed of muon in the Earth's fram of reference
//to find minimum speed of muon in the muon's fram of reference
//Given:
//refer to figure 20-8(a)and (b) from page no. 457
//lifetime of muon
delta_t0 = 2.2//in microsesonds
//height of atmosphere
L0 = 100//in Km
//speed of light
c... |
d8587eadb2b5bde62c1c0f5cbc65d343264a34c4 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/VW42LKU/ATWM1_Working_Memory_MRI_VW42LKU/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | ec449ef7ced5296133570df3f8ae8232a781fdbe | [] | 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 | 12,492 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds =... |
c5f6cb158bc39ba7b06da940ff3abb7a470be4ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH5/EX5.2.6/Example_5_2_6.sce | a452b399b5a1b8a7c2a14811135a6514813f3df5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,135 | sce | Example_5_2_6.sce | // Example 5.2.6 page 5.8
clc;
clear;
n1=1.47; //refractive index of fiber
n=1; //refractive index of air
theta=3; //angle in degree
d=80d-6; //core diameter
y=2d-6; //lateral dispalcement
delta=2/100; //relative refractive index
a=d/2; //computing core radius
eta_lateral... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.