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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b12253bba57beda11e46412453f0db9e2f382237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH13/EX13.1/Ex13_1.sce | eeb9f7f5ce7a9b97ca14faba5c4c8229c022ff2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | Ex13_1.sce | // Exa 13.1
clc;
clear all;
// Given data
// Refer circuit given in Fig no.13.2(b) given on page no.381
Shaft=3; // Shaft stroke in inches
Wiper=0.9;// in inches
R=5; // Total resistance(R1+R2) in K ohms
Vt=5; // Applied voltage in volts
// Solution
R2=Wiper/Shaft * R ;// in k Ohms
// Since Vo/Vt=R... |
f9804a261787509b56d115a3c5f09656507b3e96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.21/21.sce | 7704f51a5402e413d1c4438012369c2f27bf5794 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | 21.sce | clc
Qv=90; //kJ
Qp=-95; //kJ
W=-18; //kJ
U_l=105; //kJ
W_lm=0;
Q_lm=90;
U_m=U_l+90;
dU_mn=Qp-W;
U_n=U_m+dU_mn;
dQ=Qv+Qp;
dW=dQ;
W_nl=dW-W;
disp("W_nl(in kJ)=")
disp(W_nl)
disp("U_l in kJ =")
disp(U_l)
disp("U_m in kJ =")
disp(U_m)
disp("U_n in kJ")
disp(U_n) |
4e9e17036c5c0986d05aecf0e8f652f98bc39fc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH9/EX9.6/9_6.sce | d097410dec0c3cb5b7767ac1eac92b8d38b53617 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sce | 9_6.sce | //Centroid of the gusset plate
//refer fig. 9.15
//The composite area is divided into algebraic sum and differences of simple geometries
//for rectangle
A1=160*280 //mm^2
x1=140 //mm
y1=80 //mm
//for triangle
A2=280*40/2 //mm^2
x2=2*280/3 //mm
y2=160+40/3 //mm
//1st hole
A3=(-%pi*21.5^2)/(4) //mm^2
... |
4b47d6b27ef57e6211ce0b20e226a7b8e198954e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH5/EX5.10/Ex5_10.sce | 07a4c7b6cc01759af29b75be02d8ff4606492f00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Ex5_10.sce | P=280//in kN
e=50//eccentricity, in mm
b=300//width, in mm
D=300//depth, in mm
sigma_cc=4//in MPa
sigma_cbc=5//in MPa
m=18.66//modular ratio
cover=50//in mm
Asc=4*0.785*20^2//four 20 mm dia bars, in sq mm
Ag=b*D//in sq mm
Ac=Ag-Asc//in sq mm
sigma_cc_cal=P*10^3/(Ac+1.5*m*Asc)//in MPa
I=b*D^3/12 + (m-1)*Asc*... |
71f886cca1859bdee48d7eaabfc6a20f40f35f1c | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/buildmacros.sce | 44307d442fade6d362003d21652290aa3c62263f | [
"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 | 98 | sce | buildmacros.sce | tbx_build_macros('OpenPR', get_absolute_file_path('buildmacros.sce'));
clear tbx_build_macros;
|
38fd0247bcd89295c37229b131b15a0aa2994a86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH18/EX18.7/7.sce | dbc6c175fab14964b326c74b5c52f50b817a9cba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | 7.sce | clc
//Example 18.7
//Calculate the value of turbulent kinematic viscosity
K=0.00576//m^2/s^2
eta=0.0196//m^2/s^3
C_mew=0.09//dimentionless
v_t=C_mew*(0.00576)^2/(0.0196)//m^2/s
printf("the value of turbulent kinematic viscosity is %f m^2/s",v_t); |
1407b58076069e4f399fdce947ca781b9497987a | f133ac48bce34834531e4aaf040d93391b483a4d | /rc2poly.sci | 17cc063926925a3e9167aebf4e67a574986171d1 | [] | no_license | vlraik/SCILAB-Signal-Processing-toolbox-FOSSEE | a816836c0daafd1a9afa059a6dad1524bdc340bc | e5d265f759548647c08c5d4acc8cab266b0a3174 | refs/heads/master | 2021-01-19T03:02:28.082316 | 2016-07-31T13:43:13 | 2016-07-31T13:43:13 | 51,532,013 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,430 | sci | rc2poly.sci | /*
*rc2poly
*Convert reflection coefficient to prediction filter polynomial
*Syntax:
*a = rc2poly(k)
*[a, efinal] = rc2poly(k, r0)
*
*
*Desciption:
*a = rc2poly(k) converts the reflection coefficients k corresponding to the lattice structure to the
*prediction filter polynomial a, with a(1) = 1. The output a... |
a4ed1a907288f88118691b5d566b46ebd93eb2a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH5/EX5.6/Ex5_6.sce | 45dbf9c65db7a0b9a2c611dbf96e68ecd0c24856 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Ex5_6.sce | clear
//
//
//
//Variable declaration
D=8.92*10**3 //density(kg/m**3)
rho=1.73*10**-8 //resistivity(ohm m)
W=63.5 //atomic weight
Na=6.02*10**26 //avagadro number
e=1.6*10**-19 //charge(c)
//Calculation
n=D*Na/W
mew=1/(rho*n*e) //mobility(m**2/Vs)
//Result
printf("\n mobility is %0.5f m**2/Vs... |
189ef17b40ec42b087be875a22fc00804352c477 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/Système Triangulaire Supérieur_SL.sci | ac10bd2a3698d01f82088033681000e7d3208f03 | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sci | Système Triangulaire Supérieur_SL.sci | /*
Etideur:
Jinshan GUO
Objectif:
Fonction à resoudre le problème de Ux=y
Containtes:
U est une matrice carrée triangulaire supérieur
y est un vecteur colonne
Valeur retour:
x
*/
function [x]=slosup(U,y)
nb_lignes = size(U)(1); //Nombre lignes de matrice
for i=nb_lignes:-1:1
... |
48d63889ef5a11ec4489523ba13ae49525ce07f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3433/CH7/EX7.4/Ex7_4.sce | 9ebd590a80095ecda8da787d1277445efba8fd2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | Ex7_4.sce | clear;
clc;
funcprot(0);
//given data
Q = 0.1;//in m^3/s
N = 1200;//rotational speed in rev/min
beta2_ = 50;//in deg
D = 0.4;//impeller external diameter in m
d = 0.2;//impeller internal diameter in m
b2 = 31.7;//axial width in mm
eff = 0.515;//diffuser efficiency
H = 0.1;//head losses
De = 0.15;//diffuse... |
1333483cc7f639d593b7cf04f2695559b1d3e69b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH4/EX4.1.a/Chapter4_Ex1_a.sce | 34ff568da031cb287047b5f8c9307d5c1e1ab07e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | Chapter4_Ex1_a.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc., USA,pp 436.
//Chapter-4 Ex4.1.a Pg No. 135
//Title:Diffusivity of Chlorine at 573K and 1.5atm
//===========================================================================================================
clear
clc
//INPUT
S_g=235;//Total s... |
6b6367baabc8cdf184ad95a82c588629bfd4009f | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH15/EX15.7.1/15_7_1.sce | 12b60474a9dc4fdc5a18a1694bd52fba02495112 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,077 | sce | 15_7_1.sce | clc;
//page no 574
//prob no. 15.7.1
// In this problem data regarding the sea water is given
conductivity = 4;//measured in S/m
rel_permittivity =80;
u=4*%pi*10^-7;
f1=100;//measured in Hz
f2=10^6;//measured in Hz
// A) first it is necessary to evaluate the ratio of conductivity/w*rel_permittivity
w1=2*%pi*f... |
d2534d3e3dec6601213adee9589543719c52a14f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH3/EX3.1.1/example3_1.sce | f0c445893139194d89cca33ca7f49d64c3a8adc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | example3_1.sce |
//exapple 3.1
clc; funcprot(0);
// Initialization of Variable
rho=998;
mu=1.002/1000;
x=48/100;
u=19.6/100;
x1=30/100;
b=2.6;
//calculation
//part1
disp("fluid in boundary layer would be entirely in streamline motion ");
Re=rho*x*u/mu;
printf("reynolds no is %.2e",Re);
//part 2
Re1=rho*x1*u/mu;
del... |
dfb73a96b54a5509654f393a8e3580c77197e864 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH7/EX7.1.b/Chapter7_Ex1_b.sce | 882f08df840f4a19b99965f55564d9b3d9778e5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,046 | sce | Chapter7_Ex1_b.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436.
//Chapter-7 Ex7.1.b Pg No.260
//Title:Reaction Volume and Reactor Size
//===========================================================================================================
clear
clc
//INPUT
k2=8.5;//Reaction rate cons... |
a1123edd698d1ff0355810d643e439cf60f2c196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH4/EX4.5/4_5.sce | 003b6738c771ed6717a656514189cbd6c26e8fe0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | 4_5.sce | clc;
R_=8314.5;
m_=28;
R=R_/m_
p1=1.05;//bar
p2=4.2;//bar
s2=R*log(p1)/1000;
s1=R*log(p2)/1000;
disp("change of entropy is:");
disp("kJ/kg K",s2-s1);
T=15+273;
V=0.03;
m=p1*V*10^5/(R*T);
S1=m*s1;
S2=m*s2;
Q=T*(S1-S2);
disp("heat rejected is:");
disp("kJ/kg",Q);
W=-Q;
disp("work done is:");
disp(... |
decf8fb3dc674ab5c9eef3ce78287a0269c82369 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/Redundant Receivers/inc/Qfunc.sci | f45f5e15a543145c3bfdfb03cccc56bde9051b1a | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sci | Qfunc.sci | // Q-function
//
// (c)2011 L. Rayzman
// Created : 10/18/2011
// Last Modified: 10/18/2011 - Added Eye Measurement Tool
//////////////////////////////////////Q-Function////////////////////////////////////
function Qofx = Qfunc(x)
// Extracts waveform data from CSDF ASCII files
//
// Inputs:
// ... |
ba34dcdc5f04271515834f0c2caef9f7aa567dab | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH9/EX9.17/17.sci | c6112b5a05c6282d29c36f566df0c828dc9a0cdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,014 | sci | 17.sci | clc;
clear all;
disp("square plate")
x=0.4;//m
L=0.75;//mm
ts=28;// degree C
rhol=993.95;//kg/m^3
k=62.53*10^(-2);//W/m.C
mu=728.15*10^(-6);// kg/ms
hfg=2402*10^3;// J/kg
rhov=0.561;//kg/m^3
g=9.81;// m/s
tsat=42;// degree C
delx=(4*k*mu*(tsat-ts)*x/(g*rhol*(rhol-rhov)*hfg))^0.25;
disp("mm",delx*1000,"The... |
1d5eb0a0dbd14ffe6862a28c7ae4541044bb472a | 53a108238b9fda736d1411a9722d4043922e73e3 | /lab4.sce | bb15ff503ef3cfb95b740cbe1159da4aeed353aa | [] | no_license | 3reedm/scilab | 708d315412cdb48590c66821d78a883e28b5a7e6 | 2508a225d5e8b744da1be7443f5831b665a60aee | refs/heads/master | 2020-03-18T01:56:55.225475 | 2018-05-20T16:27:39 | 2018-05-20T16:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,237 | sce | lab4.sce | // Сохранение графиков
function[]=save_graphics(b,z)
b_ = 0
for i=2:length(b)
b_ = b_ + (i-1)*b(i)
end
b_ = 1/b_
a = 0.001:0.001:b_-0.001
l = length(a)
for i=1:l
[N1(i), M1(i), M3(i)] = get_data(a(i),b,z)
end
properties = gda()
... |
442ef16fdf891231b4e121888b93c7c3f1b288e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH4/EX4.2/Ex4_2.sce | 18457bf5e95b0455279006790806399813e64f32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | Ex4_2.sce | clc
// initialization of variables
clear
// Material properties
E=200 //GPa
A=100 //mm^2
Y1=500 //M Pa
Y2=250 // MPa
// calculations
E=E*10^9 // Pa
A=A*10^-6 //m^2
Y1=Y1*10^6 // Pa
Y2=Y2*10^6 //Pa
L_FG=1 //m
L_CD=2 // m
P1=Y2*A
e=P1*L_FG/(E*A)
e_FG=e
e_CD=e
P2=E*A*e_FG/L_FG
P3=E*A*e_CD/L_CD
Py=2*P1... |
edb56b92af36ae0df5a19a048ded27b65f76ce37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH14/EX14.2/14_2.sce | 89d258b2fc72c5cffef2282deb749c357ccfada8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | 14_2.sce | clc
//initialisation of variables
v=1.34//fps
s=3.7*10^-3//fps
k=0.8//ft
r=20//ft
k1=0.04//ft
v=3.0//fps
v1=5.0//fps
d=10^-1//ft
d1=1.34//ft
//CALCULATIONS
K=r*k1//ft
V=sqrt(r)//times
D=d*(v/d1)^2//cm
D1=d*(v1/d1)^2//cm
//RESULTS
printf('the minimum velocity and the gradient at the which coarse quartz=... |
b6d7a887804ff1143c7dd09dfab9e377991e1457 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH4/EX4.1/Ex4_1.sce | c4a3b0c57821e68c8605f1078888f5a8896f6e32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Ex4_1.sce | // chapter 4 , Example4 1 , pg 117
c=3*10^8 //speed of light(in m/sec)
h=6.625*10^-34//planck's constant(in J s)
lam=1.2*10^-10//wavelength(in m)
E=(h*c)/(lam*1.6*10^-19) //energy of photon(in eV)
p=h/lam //momentum of photon
printf("Energy of photo\n")
printf("E=%.1f eV\n",E)
printf("momentum of photon(in K... |
2eb2931935f2dc8fd72b50469cdfd50dcef0c8db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.8/ex2_8.sce | 94f3510c89b6e1ea3e3a90f317e28bd6b188b179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | ex2_8.sce | // Example 2.8 page no-49
clear
clc
L=1400
E_diff=12400/L //eV
del_E=2.15
L2=12400/del_E
printf("\nE2-E1=%.2f eV\n1850 A° line is from 6.71 eV to 0 eV\nTherefore, second photon must be from %.2f to 6.71 eV.\nLambda=%d A°.",E_diff,E_diff,L2)
|
599a4bef97ca8f7027ea95d7d64c73edf5ed3cf6 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area1/exemplo_jacobi.sce | ccb5afe0c0814a24ab724fa13b90af7e4705de38 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | exemplo_jacobi.sce | A = [3 2 1 0 0 0 0 0
2 6 2 1 0 0 0 0
1 2 6 2 1 0 0 0
0 1 2 6 2 1 0 0
0 0 1 2 6 2 1 0
0 0 0 1 2 6 2 1
0 0 0 0 1 2 6 2
0 0 0 0 0 1 2 6]
b = [1 1 1 1 1 1 1 1]'
x1 =[0 0 0 0 0 0 0 0]'
[x,dx] = jacobi(A,b,x1,10^(-3),1000)
|
104460552ca11699f8430e47a175fed04c3c64d0 | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /SCILAB/SCILAB-2.sce | 82df5b55dcca410417766224aaabaabe443e30ac | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,620 | sce | SCILAB-2.sce | clear; clc;
// SCILAB-2.sce
// Constantes
A = 1; alpha = 0.5; omega = 2;
// Funciones
function y = f(t)
y = A*exp(-alpha*t).*sin(omega*t);
endfunction
dt = 0.001; tfin = 10; t = 0:dt:tfin;
y = f(t);
// Gráficas
scf(1); clf(1);
plot(t,y);
xgrid; xlabel('t'); ylabel('y');
// Objetivos
yobj = 0.5;
indexyobj = ... |
2124ed9103369f3f1cc5424b461dae3a6874e853 | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_02_solution.sce | 23b0221448d9f40ce055f3bfbaf2b91106889e69 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,009 | sce | 6_02_solution.sce | //Solution 6-2
WD=get_absolute_file_path('6_02_solution.sce');
datafile=WD+filesep()+'6_02_example.sci';
clc;
exec(datafile)
//unit conversions
theta = theta * %pi / 180 //from [degrees] to [radians]
z_1 = z_1 / 100 //from [cm] to [m]
z_2 = z_2 / 100 //from [cm] to [m]
A_1 = A_1 * 10**-4 //from [cm^2] to [m^2]
A_2 = A_... |
01c22b67d5ac9d1923df2aaf7016cd45d61b5c07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH11/EX11.10/example11_10.sce | a6b47199510a5fa96820eb5eb34ab952529754aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | example11_10.sce | clear;
clc;
//Example11.10[Installing a Heat Exchanger to Save Energy and Money]
//Given:-
Cp=4.18;//[kJ/kg.degree Celcius]
Th_in=80,Tc_in=15;//Inlet temperatures of hot and cold water[degree Celcius]
m=15/60;//[kg/s]
e=0.75;//Effectiveness
t=24*365;//Operating Hours[hours/year]
neta=0.8;//Eficiency
cost=1.... |
e2ff6497211edaf284f4e1f717861ef4ba293362 | dea76a7789cbd968b8baea7680a9b49f49577a8d | /reduxPlusSagaPlusTest/commandsRan.tst | 1700beb03bd122a650d68f6801ee72d550c6be1c | [] | no_license | mkdirJava/plainTypescript | 6ab213a624847a424145cb9fbdc0952b077bb9da | 17e05ba4533578ab48de165621bfd992a23e81f7 | refs/heads/master | 2021-08-28T00:16:54.053676 | 2019-07-13T13:44:43 | 2019-07-13T13:44:43 | 195,509,123 | 0 | 0 | null | 2021-08-11T06:02:12 | 2019-07-06T07:05:14 | JavaScript | UTF-8 | Scilab | false | false | 990 | tst | commandsRan.tst | To install Jest on a Typescript project
npm i jest @types/jest ts-jest -D
Explanation:
Install jest framework (jest)
Install the types for jest (@types/jest)
Install the TypeScript preprocessor for jest (ts-jest) which allows jest to transpile TypeScript on the fly and have source-map support built in.
... |
61ca3c4465dafdaec0ade3ab1aac8bee99c81a65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH2/EX2.2/2_2.sce | 5f00f4f5bc7a44cd9ece78e1e7b0e73b95c66770 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | 2_2.sce | clc
//initialisation of variables
n= 0.25 // k mol
M= 32 //kg/kmol
V= 0.5 //m^3
//CALCULATIONS
m= n*M
d= m/V
v= 1/d
v1= V/n
//RESULTS
printf ('mass of oxygen = %.f kg',m)
printf ('\n density of oxygen = %.f kg/m^3',d)
printf ('\n specific volume = %.4f kg/m^3',v)
printf ('\n molar specific volume = %.f m^... |
9d21db387a2dac3533baf8218e84eb11d7e968ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH5/EX5.7/57.sce | 80a56623993aa807d56e2b05a5050fd421df1d5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | 57.sce | // problem 5.7
l=0.77
H=0.39
H1=0.6
Dp=H+H1
Cd=0.623
g=9.81
Q=(2*Cd*l*((2*g*H*H*H)^0.5))/3
v=Q/(l*Dp)
Ha=(v*v)/(2*g)
q=(2*Cd*l*((2*g)^0.5)*(((H+Ha)^1.5)-(Ha^1.5)))/3
disp(q,"discharge in m3/sec")
|
a998c231e4545b756f0242150b13069c49492d57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.10/Ex3_10.sce | 3486f099853ea666d050fa1db6d7cd089ce88663 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | Ex3_10.sce | clc;
//ex3.10
Vlpk=20.5; //volt
RL=5100; //ohm
Ilpk=Vlpk/RL; //Ampere// from v=r*i
Vave=13.1; //volt//from v=r*i
Iave=Vave/RL; //Ampere
disp('mA',Ilpk*1000,"Ilpk="); //The answers vary due to round off error
disp('mA',Iave*1000,"Iave="); //The answers vary due to round off error
|
979cfd5c6d584b2b367fb97b9a4b1c26196a01dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH1/EX1.2/example1_2.sce | ceecd8dc7c54574d3d3ae2cc2d2bce9805fb36ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | example1_2.sce | //example1.2
//page 12
clc; funcprot(0);
//initialissation of variable
delP=10^6;//change in pressure
V=1//volume
Beta=2.2*10^9;
delV=-delP/V/Beta;
perV=-delV*100/V;//percent change
disp(perV,"the percent change in volume (%);");
clear
|
ee8b4fc29f68b9f81352e70cea62265191d61e4c | dc43d2d07e54764662d2629492544cc614c391a7 | /Guass_Jordan.sce | a973bbfc86b73f8fd1247661d0205a7d444cc436 | [] | no_license | CaptainLazarus/Scilab | 6634ea1774f00e1a25b5b05c622429bfc51f9abf | 3af1504ebbdb784e6493a8c4b264e6994c45a02b | refs/heads/master | 2020-04-16T19:27:39.496867 | 2019-02-26T05:53:48 | 2019-02-26T05:53:48 | 165,860,221 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Guass_Jordan.sce |
function Guass_Jordan(a,b)
[row,col] = size(a)
for j = 1:col
for i = 1:row
if(i ~= j)
b(i) = a(j,j)*b(i)/a(i,j) - b(j)
a(i , :) = a(j,j)*a(i,:)/a(i,j) - a(j,:)
end
end
end
c = []
for i = 1:row
c(i) = b(i)/a(i,i)
end
disp(c)
endfuncti... |
f2585da729bb0bc7af90997d630ec6fc832e5e5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH9/EX4.9.10/Ex4_9_10.sce | e36fce2093b53b8e1f9abcd2a90cca10e46ae5a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | Ex4_9_10.sce | //Section-4,Example-3,Page no.-I.66
//To calculate percentage of light absorbed by the given solution.
z_1=40/100 //z_1=(I/I_0)
x=2
C_1=20
y=(log10(100/40)/(x*C_1)) //y=e/M
C_2=40
z_2=y*C_2*x //z_2=log(I_0/I_t)=log(z_3)where z_3=(I_0/I_t)
z_3=10^z_2
I_t=(100/z_3)
p_l=(100-I_t)
disp (p_l,'P... |
20743082ca8cfbd771d91c2ccaabcfe4679280e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH7/EX7.1/ex_7_1.sce | 0eeed6e7758c94e693ae987e76b2e78e9ca67289 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | ex_7_1.sce | //example 7.1//
clc
//clears the screen//
clear
//clears the command window//
e=input('Enter the enable i/p level (1or0) :');
//accepting the input of enable//
r=input('enter the R i/p level(1or0):');
//accepting the inputs from the user//
s=input('enter the S i/p level(1or0):');
//accepting the input S from ... |
e27bf8c83f1b2ced81e66921520a60bb0b194733 | 64647656adb5d4ff3cbb1147f2009fd55a598d27 | /macros/buildmacros.sce | a8c969bfd0f322dafd5aef9eca989122a5f4f9fd | [] | no_license | esc0rpi0n/modbus-blocks | 353ae5e5df9da7a6afc9bd5d264670b1e132e655 | 44664b3424e9b7b98fab0216676977fb7ad29544 | refs/heads/master | 2020-04-02T05:15:19.835714 | 2017-06-14T08:18:01 | 2017-06-14T08:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | buildmacros.sce | mode(-1)
toolboxname='modbusblocks'
pathB=get_absolute_file_path('buildmacros.sce')
disp('Building macros in ' +pathB)
genlib(toolboxname+'lib',pathB,%t)
disp('Building Scicos palette ...')
blocks=['MB_INIT_TCP.sci';..
'MB_INIT_RTU.sci';..
'MB_READ_COIL_STATUS.sci';..
'MB_READ_INPUT_STATUS.sci'... |
cfd19ebe563eee37cf636366ca87e91712afede1 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/SerialLink.sci | 43a8720bdfdd4ee66a1932ab82fa7c39294415b3 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 4,416 | sci | SerialLink.sci | // SerialLink.sci creates a SerialLink robot structure
// www.controlsystemslab.com July 2012
//
// Parameters
// Link(i) Link structure (inherited from L)
// gravity direction of gravity [gx gy gz]
// base pose of robot's base (4x4 homog xform)
// tool robot's tool transform, T6 to tool ... |
8df5a33feba629ebd4435556a79eacc3604360ba | efba0810ec7227f4fe228c95563e792b0b9eee9c | /macros/plotly.sci | 135c7ef42d462c68ef1ed0a7ab2d5fc80bf19b55 | [] | no_license | mstroehle/Plotly | 99d626c68ddb65f388034fa4e24b276d04a7cfec | e360ffcae3639471e72e4ee742878443e9072737 | refs/heads/master | 2023-03-23T09:13:19.890260 | 2020-04-21T16:34:29 | 2020-04-21T16:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sci | plotly.sci | function plotly(x,y)
//if the file plotly.html already exists, delete it
if getos() == 'Windows' then unix('del plotly.html');
else unix('rm -f plotly.html'); end
header='<head><script src=""https://cdn.plot.ly/plotly-latest.min.js""></script></head>';
container='<div id=""container"" style=""width:... |
260cc246b9609d0d4d51b72e475d4f954cab635d | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PiLab_imp.sci | def3c6811e6769d9a2345711e1b609ba253f12c4 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,791 | sci | PiLab_imp.sci | // **** Purpose ****
// This codes can modify the onsite potential of wannier Hr to mimic
// the effects of simple impurities.
// **** Variables ****
// ==== << PiLab Inputs >> ====
// [imp.HrRead]: 1x1, str, 'wan'/'spl'/'hdr'
// <= specify the Hr to read.
// [imp.PotState]: 1xn, int
// <= states that onsite fields a... |
7cc04051bc9a3b1f814d5a4a0f99316ae98735e1 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/levdown.sci | f09612bfd035ac22d42ead1c2d7eef31fcc52aff | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sci | levdown.sci | function [a,e]=levdown(a, efinal)
ee=a($);
a = (a-a($)*flipdim(a,2,1))/(1-a($)^2);
a=a(1:$-1)
econj=conj(ee);
econj=econj';
e = efinal/(1.-(econj.... |
aa84430aec3c0d8b0a36cc43374b31b5b0fa71d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH11/EX11.10/Ex11_10.sce | 1652ade03aeb10a408da406af6713d9f4092d4bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,291 | sce | Ex11_10.sce | //CHAPTER 11 ILLUSRTATION 10 PAGE NO 296
//TITLE:VIBRATIONS
//FIGURE 11.18
clc
clear
//===========================================================================================
//INPUT DATA
PI=3.147
g=9.81// ACCELERATION DUE TO GRAVITY IN N /m^2
E=200*10^9// ... |
0888ccf0a4723fa6b221bd6529d7ab25f75eec8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH7/EX7.6/SC_6.sce | 9bd23f00682429577e5a599963886417caa9b8cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | SC_6.sce | // sum 7-6
clc;
clear;
P=1500;
FOS=2;
Pd=FOS*P;
l=280;
E=207*10^3;
I=Pd*l^2/(%pi^2*E);
D=(64*I/(%pi*(1-0.8^4)))^(1/4);
D=8;
d=6.4;
// printing data in scilab o/p window
printf("D is %0.1f mm ",D);
printf("\n d is %0.1f mm ",d); |
c76886fbd2c5bde08934230466b5c6f80a47a4cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH8/EX8.2/Ex8_2.sce | 277e8fa44d57fc0de7dfd1306f4e8c17a6505086 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex8_2.sce |
clc
// Given that
H_c= 3.3e4 // // Magnetic field in A/m
T_c = 7.2 // Critical temperature in kelvin
T = 5 // Temperature in kelvin
printf("Example 8.2\n")
printf("Standard formula used \tH_c = H_c_0*(1-(T/T_c)^2) \n")
H_c_0 = H_c*(1-(T/T_c)^2)^(-1) // Calculation of critical field
printf("Magnetic Field ... |
c52a487d7389ada1ba92df348b0f9c1c182d4734 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.17.a/Example_7_17_a.sce | 2782c08997c3368dd983c40e3e8052ce15e57b9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_7_17_a.sce | // Chapter7
// Page.No-296
// Example_7_17_a
// Nominal frequency
// Given
clear;clc;
R2=1.5*10^3;
R1=10*10^3;
R3=10*10^3;
C1=0.001*10^-6;
V=12; // Supply voltage
Vc=R3*V/(R2+R3); // Using voltage divider rule
printf("\n Terminal voltage Vc is = %.2f V \n",Vc) // Result
fo=2*(V-Vc)/(V*R1*C1);
printf("\n A... |
a7ff1e36910b75015dc00f0bded7ddc357eac469 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH11/EX11.3/example_11_3.sce | 03cb79e2143bd8afc436461ac4dccc9234e25f90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | example_11_3.sce | //Scilab Code for Example 11.3 of Signals and systems by
//P.Ramakrishna Rao
//Hilbert Transform
clc;
clear xr n t x1 x2;
clear;
n=1;
for t=-1:0.01:1
xr(n)=exp(%i*2*%pi*t);
n=n+1;
end
//Computing Hilbertb Transform
x1=hilbert(real(xr));
x2=hilbert(imag(xr));
x=x1+x2;
t=-1:0.01:1;
plot(t,xr);
ti... |
ce23977fa4684242984defb0665d349334fa11bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH4/EX4.7/4_7.sce | 077c11f937886380af5a9f76f32123c5e1c90c4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | 4_7.sce | //Dynamometer wattmeter power calculation of the load
clc;
clear;
P=250; // Power Recorded by the wattmeter
V=200; // Load voltage
R=2000; // Resistance of the highly non-inductive pressure coil
I=V/R; // Ohm's Law
Pcoil=V*I; // Power Absorbed by the pressure coil
Pl=P-Pcoil; // Power taken by the... |
fb64faab87c187943fec0ba75087e81d063e9f8c | 4ed576b765859807d6c29665521e0697d6f9bae7 | /archive/03/ex3.6.sce | 52beab94af1e01508e9aa14e498636a74ecee850 | [] | no_license | sbednarz/scilab | 96b9182730fa48d11f27840fc197d151adb01e2c | 28f81c58bc4972eeb41f403cb157fb989e809f41 | refs/heads/master | 2021-07-11T04:42:04.289126 | 2021-05-17T20:55:19 | 2021-05-17T20:55:19 | 100,467,366 | 3 | 1 | null | 2020-06-19T06:49:18 | 2017-08-16T08:37:06 | Scilab | UTF-8 | Scilab | false | false | 2,624 | sce | ex3.6.sce | // ex3.6
// https://en.wikipedia.org/wiki/Extent_of_reaction
// https://www.youtube.com/watch?v=fuk1zTdJifM
// 2A <=> B + 3C
// Given:
// A0 >0
// B0 >0
// C0 >0
// K
// calc at eq
// A, B, C
function eq = model1(x)
Xi = x(1) // extent of reaction
A = -2*Xi + A0
B = 1*Xi + B0
C = 3*Xi + ... |
d5e02966ba85e6022bad72265199a92fae2b69c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.9.4/Ex2_9_4.sce | cfd7c6f28c29f9a1f76fc2baf771eab57b4e134a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Ex2_9_4.sce | //Ex 2.9.4
clc;clear;close;
format('v',8);
//Given :
T=27+273;//K
V1=0.4;//V
V2=0.42;//V
I1=10;//mA
I2=20;//mA
VT=T/11600;//V
Eta=1/log(I1/I2)*(V1-V2)/VT
disp(Eta,"Value of Eta : ");
Io=I1/(exp(V1/Eta/VT)-1)*10^-3;//A
disp(Io*10^9,"Current, Io in nA : ");
//Ans in the book is not accurate.
|
630673b15046c62faf0a5fac660d492e3d8fac82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.31/3_31.sci | 6199f0620bcb9d2da98ddc0a6818d091bd22ee54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sci | 3_31.sci | //to point out the reading that can be rejected by chavenets criterion
clc;
x=[5.3 5.73 6.77 5.26 4.33 5.45 6.09 5.64 5.81 5.75]*10^-3;
d=[-.313 .117 1.157 -.353 -1.283 -.163 .477 .027 .197 .137]*10^-3;
n=10;
X=sum(x)/n;
s=sqrt(sum(d^2)/(n-1));
a=abs(d)/s;disp(a);
for i=1:10,
if a(i)>1.96 then
dis... |
dc37dbe60ac8ac9b83c7bc05967917ce4bae6131 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH8/EX8.8/ex8_8.sce | 46fa371f87cf7f1827a9398fae62fef619cdd84c | [] | 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 | 179 | sce | ex8_8.sce | errcatch(-1,"stop");mode(2);//Example 8.8, page no-511
wn=sqrt(3)
x=3.2/(2*wn)
printf("Damping coefficient = %.3f\nNatural frequency of Oscillation = %.3f",x,wn)
exit();
|
9fdf74a77d230c52d8803dbec923ba59aac34b5d | b26239033e0d21476c77ff50326b32231c2a3b00 | /Workspace/missionB1.sce | 468ebbef02005d911e40226db18f6fdf97249d35 | [] | no_license | SmartGuyy/Exolife | 1c9a5bfdb8b16523e9681170fe4cb2cb12613e3a | eb477766dffe7edd9022d0cf46028980489c6277 | refs/heads/master | 2021-06-17T03:56:00.785128 | 2017-03-17T09:39:04 | 2017-03-17T09:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | missionB1.sce | // Chargement de l'image
img_input=readpbm("C:\Users\DimitriXPS\Documents\GitHub\Exolife\Exolife\Images\Mission 5\Gliese 667Cc_surface.pbm");
<<<<<<< HEAD
// Do a normalisation on the image
display_gray(histogramme(normalisation(img_input)));
=======
// Effectuer la fonction normalisation sur l'affichage
d... |
dbeae04c9a17534fabfe8ace96733709caa23cca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH8/EX8.1/8_1.sce | d7eef7cd18421426bf332a1ea486bdc594fea1c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 8_1.sce | clc
//initialisation of variables
p1=53//psi
p2=54//psi
t=638//lb-ft
d=275//rpm
h1=50.26//sq in
h2=49.48//sq in
g=(10/12)//lb-ft
h=33000//lbf
//CALCULATIONS
I=(p1*h1+p2*h2)*g*d/(h)//ihp
P=2*%pi*d*t/h//bhp
M=P/I*100//percent
//RESULTS
printf('the mechanical efficiency=% f percent',M)
|
8791a37f0f4d781b35acdaa48346b47816fda42c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH6/EX6.9/Ex6_9.sce | d5c5731b065570dea349b3698effc77b66aa42ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex6_9.sce | //Example number 6.9, Page number 120
clc;clear;
close;
//Variable declaration
Ee=10; //electron kinetic energy(eV)
Ep=10; //proton kinetic energy(eV)
e=1.6*10**-19; //charge(c)
me=9.1*10**-31; //mass(kg)
mp=1.67*10**-27; //mass(kg)
//Calculation
cebar=sqrt(2*Ee*e/me); //electron velocity(m/s... |
8261a471de844def88a6a6c6a27c65d5eefb7c90 | aab7e40582be003ebdf6f5ad6f1efcdaef4c63d6 | /macros/JSONWrite.sci | fc5deea5b59207f3dc1699674174cad4026790bc | [] | no_license | sengupta/Scilab-JSON | 578370e2470d630afd7c21c5ec5040ee3200d6d0 | 209a65d4b979ce3ff147ebda58c237236783f403 | refs/heads/master | 2021-01-18T18:35:13.647060 | 2012-04-03T13:51:34 | 2012-04-03T13:51:34 | 1,687,912 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sci | JSONWrite.sci | // A simple JSON Writer
function JSON = JSONWrite(Struct)
endfunction
|
6c1666a4e9f200ea32cf1946350bfa0e07eb730e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%b_h_spb.sci | 5646b6be2a3486167d9a1750e4c80d769ec52175 | [
"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 | 161 | sci | %b_h_spb.sci | function r=%b_h_spb(a,b)
// perform logical elementwise and a&b where a is a boolean sparse matrix
// and b a boolean matrix
// Copyright INRIA
r=sparse(a)&b
|
c85b3accb889658c980862b816c2e49dab390e2b | b5b8080da626573a49252737f2fd67dca771b156 | /notes.tst | fbe07421c114c2d32007059f03bbe288c9d91d7e | [] | no_license | GabrielYSirat/GPU | 6cd378854d02b2d39f73db0307fe3b51c71baed2 | a64bf434d687ddc90453afefea6441fc91333efc | refs/heads/master | 2021-08-30T07:11:51.429075 | 2017-12-16T16:41:44 | 2017-12-16T16:41:44 | 114,474,856 | 0 | 0 | null | 2017-12-16T16:41:45 | 2017-12-16T16:31:10 | C++ | UTF-8 | Scilab | false | false | 229 | tst | notes.tst | float displaydata(float * datavalues, int stepval) {
float scratchreaddisplay(float * reconstructiondata, float * scratchdata, const char * filename, bool readtile) {
fullnumberoflasers in tile class
B_DistributionsLoopintern.pgm |
5cd5764b8fddc26f510d98fdc4d5383d71814321 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH10/EX10.7/Ex10_7.sce | 8185676e40770a2067c342083be92626d52861f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex10_7.sce |
clc
//initialisation of variables
h1=0.9//percent
h2=0.6//percent
t=400//ft per sec
s=0.8//ft
a=20//degree
p=500//ft
r=p*cosd(a)-t//ft
r1=p*sind(a)//ft
j=50000//ft
w=6700//ft lb
e=10.2//ft
t1=778//F
//CALCULATIONS
V=t/s//ft per sec
V1=sqrt(r^2+r1^2)//ft lb
N=w/(e*t1)*100//percent
//RESULTS
printf('T... |
e2e2b44bf78d676c5f5260a4c623dd97cc7c708e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH7/EX7.1/Ex7_1.sce | 64466ed7d304101fa4a2f91028bd360c93432716 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex7_1.sce | //Ex 7.1 page 260
clc;
clear;
close;
N1=1000;// rpm
Va1=200;// V
alfa=60;// degree
Va2=230;// V
N2=2*Va2*sqrt(2)*cos(alfa*%pi/180)*N1/Va1/%pi
printf('\n Speed of motor = %d rpm',N2)
// ans in the textbook is not accurate.
|
b020a921be0120d45234156e2da6e5f18b451acb | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH8/EX8.16/8_16.sce | cc6f8bd8dcc4de6f49e5067cfa55e9fea8bcf3e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | 8_16.sce | //Fuels and Combustion//
//Example 8.16//
C=3;//weight of carbon in 1kg of coal sample in Kilograms//
WO2=C*32/12;//weight of oxygen in carbon sample in Kilograms//
WA=WO2*100/23;//weight of air in the carbon sample in Kilograms//
printf('weight of air required for combustion of carbon=WA=%fKg',WA);
MA=WA/28.92;/... |
e4a3010059849508a6beff39c7a9785b3f9826b9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH2/EX2.11/Ex2_11.sce | 9ae4019ddf2d99bf833622061571ec47d83d8b18 | [] | 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 | 288 | sce | Ex2_11.sce | errcatch(-1,"stop");mode(2);//Example 2_11
;
;
//To find the slit width
d=2 //units in meters
lemda=500*10^-9 //units in meters
x=5*10^-3 //units in meters
a=(d*lemda)/x*10^3
printf("The slit width is %.1f mm",a)
exit();
|
ceda2838c97241e2474089fcae7b93576ad9b46f | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH18/EX18.1/Example18_1.sce | cf811e23dae5f5fe9c518a5bbae34887310f8a4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Example18_1.sce | exec('degree_rad.sci', -1)
//Given that
Vs = 1482 //in m/s
Vw = 343 //in m/s
//Sample Problem 18-1
printf("**Sample Probelm 18-1**\n")
//deltaT = d/V = D*sin(theta)/V
//D*sin(90)/Vs = D*sin(theta)/Vw
theta = rtod(asin(Vw/Vs))
printf("The actual angle at which source is present, is %fdegree", theta) |
81dfab217e59e1e9cd63291eb684ed924525c314 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/REP4.prev.tst | 96e5fea8e46ff14dfca18a4db9294a565254994c | [
"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 | 279 | tst | REP4.prev.tst | considerNonPrimitive
Expanding for base=2, level=4, reasons+features=primitive
Refined variables=a,b,c
ReasonFactory: primitive, code="primitive"
isNonPrimitive? rmap2=[0+2*a,0+2*b,0+3*c], gcdAdd=2, gcdMul=1
PrimitiveReason.consider(
"a²+b²-c²",
"a²+b²-c²") =
unknown
|
bafd8631541e146c3db8813bb4bcfd3ac29687e8 | 45a93944a52f35e5601f5eebc0ff0e0c885849fd | /scripts/genererRandUniforme.sci | b6ab2a932e5024a05c7cdd7177b96350bf3fd2e4 | [] | no_license | madox35/Simulations-numeriques | ae32655f213f5a1dc04de86387652264a5b56aa0 | 11d59864210370b2524ad533bf864d0968053131 | refs/heads/master | 2020-03-17T13:32:10.082544 | 2018-05-21T21:14:09 | 2018-05-21T21:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sci | genererRandUniforme.sci | function Xi = genererRandUniforme(borneA,borneB, iter)
Xi = grand(iter,1,'unf',borneA,borneB);
endfunction
|
360b813c899058808b44eae6cbce21af4144032c | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH3/EX3.04/3_04.sce | 8f7a5df1fbb01ba1a31d965beb8c861e06370a33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 3_04.sce | pathname=get_absolute_file_path('3_04.sce')
filename=pathname+filesep()+'3_04data.sci'
exec(filename)
printf("\Answer:\n")
printf("\pressur altitude: %f Km\n",Hp)
printf("\n\density altitude : %f Km\n\n",Hd)
|
3d321803011685df042d77a4464e20ed2068ba7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH32/EX32.7/Ex32_7.sce | 057d720c9fe719e210142c1aa5e16806a1f24d23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | Ex32_7.sce | // Example 32_7
clc;funcprot(0);
//Given data
UF=0.5;// Use factor
CF=0.4;// Capacity factor
//Calculation
// Use factor=E/(P_c*t);.... (1)
// Capacity factor=(average load/P_c)=(E/(P_c*8760));....(2)
// Dividing euations (1) and (2) we get,
T=(8760*CF)/(UF);// hours
printf('\nThe number of hours of its ope... |
bd7d7bdd1c1767622e61cf0ccada222b790ce7b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH5/EX5.1/Example5_1.sce | 89ea84c9ec2d6fd601c6b8bc2926d1216ae1f787 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | Example5_1.sce | exec("degree_rad.sci",-1)
//Given that
m = .20 //in kg
F_1 = 4 * [1,0]
F_2 = 2 * [-1,0]
F_3 = 1 * [cos(dtor(30)),sin(dtor(30))]
//Sample Problebb nmkn nm 5-1
printf("**Sample Problem 5-1**\n")
acceleration_a = F_1(1)/m
acceleration_b = F_2(1)/m
acceleration_c = (F_2(1) + F_3(1))/m
printf("The accelera... |
1c5ed248a93f9e702804afd55d9f2c7120d2170b | 482cdc3e27e99afe860829eff3e593caa62202e3 | /src/Assignment1_Tests/test16.tst | 2e7e197f4f39fcb14687e21ead7c0b9a123aa997 | [] | no_license | abrageddon/DLXCompiler | e153430de4412fe48a34955851352d0fd73ab2d8 | 2d1abd102f723c2e1f0ed5893e86c7d0ceb42914 | refs/heads/master | 2020-12-30T10:50:20.955331 | 2011-12-02T03:34:59 | 2011-12-02T03:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | test16.tst | do ddo do1 od2 od if else fi;
|
fbf2042743a865a47783f0594c83d18699264fd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH10/EX10.10/Ex10_10.sce | 1de0d5066cdc6e193f0e5a210faaf757f37c493c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex10_10.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
alphaF=0.99
alphaR=0.20
Ic=1//mA
IB=0.050//mA
Vcesat=k*T*log(((Ic*(1-alphaR)+IB)*alphaF)/((alphaF*IB-(1-alphaF)*Ic)*alphaR))
disp(Vcesat,"VCEsat in V is=")
|
4902061917634b0ed064be97a80b7843350ea19e | 5a546c6ca54da199fa9941e0b7fc3a35b1833ed8 | /practical_lab1/tp1.sce | 509b3cb1279a28b221bb2da8736f93836c3f0911 | [] | no_license | lejarx/PDEandFiniteDifference | 3185fddc1fa935b622dc27cfc264d29ce9f81494 | 297e41e168be7aa8eb0fcce7b0b8facad5542f00 | refs/heads/master | 2021-05-26T16:44:32.954468 | 2014-03-06T23:07:07 | 2014-03-06T23:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | tp1.sce | clc
clear all
// constants
T = 0.5
L = 1
M = 999
N = 19
delta_t = T/ (M+1)
delta_x = L/ (N+1)
// initial condition
function [f] = initialCondition(x)
f = exp(-(x^2))*x*(1-x)
endfunction
// using the initialCondition function
for i = 1: N + 2
u(1, i) = initialCondition(delta_x*(i-1))
end
x = (0:N+1)*delta_x
... |
d5dbcfeeb1a7a03ec6817e64f85f0a5a4958165a | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH2/EX2.9/example9_sce.sce | d7a3adee48e84e0f98ed1da625e5cecd3a841073 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | example9_sce.sce | //chapter 2
//example 2.9
//page 48
printf("\n")
printf("given")
P1=700*10^-3;Vf=.7;
//at 25C
If=P1/Vf;
disp("If")
//at 65C
D=5*10^-3;T=65-25;
P2=P1-D*T
If=P2/Vf;
printf( "maximum forward current at 65C is %3.3fA\n",If) |
91d15c9d1cff3ce30ee1181ea44117ba4a364aee | 0d6a074efca7f6d9d5b1ec4413faf975046ec9af | /lms.sce | bbee9563434d69847adac6631c01c48a9c7286b5 | [] | no_license | rishabh1217/Adaptive-noise-cancellation-algorithms-LMS-and-RLS-SCILAB | e36c0d52c4eaabe74c8b71d177c4ba2237198273 | f9786644f0d61efa4a7af8bbb9c9163fea0d34f8 | refs/heads/master | 2022-12-22T14:20:29.442433 | 2020-10-01T11:00:13 | 2020-10-01T11:00:13 | 300,246,859 | 0 | 0 | null | 2020-10-01T10:58:57 | 2020-10-01T10:58:56 | null | UTF-8 | Scilab | false | false | 1,343 | sce | lms.sce | // set len of signal mp
mp=500
// set time vector n
n=(1:1:mp ) ;
// set len of filter hmm and hmp
nfilter =20 ;
// set noise vector
R= .2 // variance Gaussian
av =0 // mean Gaussian
sd =sqrt(R) // std Gaussian
v = grand(1,mp,'nor',av,sd) ;// generate white gaussian
hmm = zeros(1,nfilter) ;
hmp = zeros(1,nfilter) ;
... |
34c7eed7a5c4da19d1cac51e82fb6700245a6c17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.18/Ex7_18.sce | c426883dba71533aba77c14cb3f010a6adb7e2fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex7_18.sce | clc
T1=350
Te1=450
Te2=250
P1=250
P2=100
R=8.314
Cp=(7*R)/2
me1=(Cp*log(Te1/T1))-(R*log(P2/P1))
me2=(Cp*log(Te2/T1))-(R*log(P2/P1))
mprintf("me1(se1-si)+me2(se2-si)=%fkJ/K",me1+me2)//ans vary due to roundoff error
|
01036e0a85f44b1a4ff3a8b4812bd61521794900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH8/EX8.0/Example8.sce | ca9b9189fa750bd25869e60bfdacc0c985d1725c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Example8.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 8")
disp("Cavitation in Hydraulic Machinery")
disp("Just Theory No Solved/Unsolved Examples")
|
bc7d70c8a9f233a32b9959a83447e145fbb72232 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.54/ex_54.sce | 60be19caf15452efc235ac3361ce7937e4598ffb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_54.sce | R1=2; //Assigning values to parameters
R2=10;
R3=2;
R4=5;
R5=1;
R6=4;
I1=28;
I2=2;
A=[11,-5,-1;5,-17,10;1,10,-13.5]; //Applying KCL at the two nodes
B=[280;0;20];
V=inv(A)*B;
I1=V(1,1)/R1;
I2=(V(1,1)-V(2,1))/R3;
I3=(V(1,1)-V(3,1))/R2;
I4=(V(2,1)-V(3,... |
94ba85ce8760d65d8c6e87ac242a797e5734544f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH1/EX1.4.a/Ex1_4a.sce | da4c8b7063743d193963ca7366ad699b281a6a40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex1_4a.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex1_4a
clc;
clear;
V=440;// voltage in V
Ia=80;// Current in A
Na=1200;//Speed in rpm
Na1=125.6;// Speed in rad/sec
R1=0.55;// Resistance in ohm
R2=110;// Resistance in ohm
N0=600;// Speed in rpm
... |
6eece4e2733076dfb5dd07bf4c4878630e948905 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH6/EX6.3/Ch06Ex3.sce | 58db50e875a40d6dba26671644543a9215355d3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | Ch06Ex3.sce | // Scilab Code Ex6.3 : Page-6.10 (2004)
clc;clear;
t = 3e-14; // Mean free time, sec
m = 9.1e-31; // Mass of electron, kg
e = 1.6e-19; // Charge of electron, C
r = 1.85e-10; // Radius of sodium atom, m
a = 4*r/sqrt(3); // Sodium has BCC structure
n = 2/(a^3); // Number of electron per unit volu... |
a4203ab4f639b9f2077b2b34e8feb8285b592264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH12/EX12.10/i_10.sce | 61ece873e01f54992f0db608bde1ee01bcf13121 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | i_10.sce | //Calculation of Current and power dissipated in resistors connected in series.
clc;
clear;
R1=100;
R2=200;
R3=300;
Rt=R1+R2+R3;
V=250;
//Ohm's Law V=I*R
I=V/Rt;
// Power Loss Equation P=(I^2)*R
P1=(I^2)*R1;
P2=(I^2)*R2;
P3=(I^2)*R3;
Pt=P1+P2+P3;
P=V*I;
disp('ohms',Rt,'The total re... |
41315e0f0c3fad6fff25f013138828b1017d84a6 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/AcousticSolver/Tests/APE_2DPulseWall_WeakDG_MODIFIED.tst | cb7f10ace9f62346c8b0425031e6663c28a9950b | [
"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 | 845 | tst | APE_2DPulseWall_WeakDG_MODIFIED.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>desc P=400</description>
<executable>AcousticSolver</executable>
<parameters>APE_2DPulseWall_WeakDG_MODIFIED.xml</parameters>
<files>
<file description="Session File">APE_2DPulseWall_WeakDG_MODIFIED.xml</file>
</files>
<metrics>
... |
a9908d7f5eadfafb7bdfaead8b1d68364a312fa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH1/EX1.8/ex1_8.sce | 6c4fa83c31b79ec8e1a82b64c23d9e7541bd9522 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | ex1_8.sce | clc;
clear all;
A = 2e-4; // Area of steel wire in meter square
Y = 2e11 // Young's modulus in Newton per meter square
F = A*Y //l = L in this problem hence eliminating and rearranging equation of Y
disp('N',F,'The value of force is')
|
0fcda8fe4a2a7483dc6256f2ef1aae6f6d409cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH9/EX9.3/Ex9_3.sce | 97a0ed75624ceabb70a8894768d58dda5159a198 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_3.sce | //Ex9_3
clc;
//Given:
f=1.0014;// seperation factor
s=4;// series
p=6;// parallel
// Note: The global yield for s stages in series is(f)^s and each parallel stages simply multiplies the yield of the stage, Hence overall yield with p parallel stages (each with s stages in series) will be Y=p*(f)^s
//Solution:... |
bb24d57ad6af11f62e5949fd5b51e92d5c1f0d86 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/tmp/ensta/tp.sci | 510bb4e53def56108c65637f0fbc1ce63e8ed10a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,989 | sci | tp.sci | // Initialisations ...
s = poly(0,'s'); s = syslin('c',s*s/s);
// approx(G,ll) returns approximation of G by elts in ll
deff('res=approx(G,ll)',...
['res=0';
'n=length(ll)';
'for k=1:n,res=res+ll(k);end';
'res=res+horner(clean(G-res),0)'])
// W3dg1(p) returns p(0) (p degree one)
deff('res=w3dg1(p)','res=horner(p,... |
91555f86ece2354f064fa4bc1de0afa176c7537e | 519e9f150ad545fb1477c968ebca12ac98c0b1ef | /LoopStatement.tst | b25d7b48b95dd4cd84c2c465252e804ae3a3c497 | [] | no_license | bhanushashank/Hack_Computer | 5f877b72474bbed568f4871d76811ba41195d1c5 | 8c1996bcf5c9ff42f6f16ed24b6586f894784831 | refs/heads/main | 2023-06-16T04:51:55.973740 | 2021-07-17T09:58:08 | 2021-07-17T09:58:08 | 386,899,862 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,005 | tst | LoopStatement.tst | load HackComputer.hdl,
output-file LoopStatement.out,
compare-to LoopStatement.cmp,
output-list
RAM64[16]%D1.10.1
RAM64[18]%D1.10.1
RAM64[19]%D1.10.1
RAM64[20]%D1.10.1;
ROM32K load LoopStatement.hack,
// start = 1, inc = 1, end = 100
set RAM64[16] 1,
set RAM64[18] 1,
set RAM64[19] 100,
// No.of... |
cae1f40e8e2b48588e4542a0b3911e412adf0b3d | 98187bfe7a07f2d387b0cc75137b39b9eb012d00 | /OuvertureC.sce | 6d4ad6c3ba3c0e393400b30d1a91534cc834dddd | [] | no_license | Minial/Squelette | a50b9ec88f135d1392bf336478a7854973c25009 | 6356c7e1f52d45ff153335565b7049ff2f297b7b | refs/heads/master | 2020-04-19T11:41:10.640079 | 2019-02-03T16:40:38 | 2019-02-03T16:40:38 | 168,173,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | OuvertureC.sce | function [ImgO] = OuvertureC(Img)
exec('.\DilatationC.sce',-1)
exec('.\OuvertureC.sce',-1)
ImgO=DilatationC(ErosionC(Img))
endfunction
|
e2fcc8304bf2f092238230f07ee3fe220a801ead | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH9/EX9.5/Chapter95.sce | 0ddda3c9467c2dd4c12afc0a80a229bb09fc7f6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | Chapter95.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 9, Example 5")
//A nickel wire of length(L)=0.1m,Diameter(D)=1mm or .001m
//Submerged horizontally in water at pressure=1 atm(101kPa) requires current,I=150A at ... |
76465ba67e12dc1f266c0b5213635d5bc33c9bf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.1/Example10_1.sce | 0ed5768dce2642858c57de57b48fe64f62eb3ad3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Example10_1.sce | /////Chapter 10 Properties Of Steam
////Example 10.1 Page No:183
///Find Dryness fuction of steam
///Input data
clc;
clear;
mw=15; //Water steam
ms=185; //Dry steam
///Calculation
x=((ms)/(ms+mw))*100; //Dryness fuction of steam in %
///Output
printf('Dryness fuction of steam= %f percent \n',x);... |
0f1c847eb7967b16baad884ad4c38f70ae726aee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.11/ex2_11.sce | b653481b3f6a11d7d81f56b25edf0bf99eadd0ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | ex2_11.sce | // Exa 2.11
clc;
clear;
close;
format('v',4)
// Given data
R1 = 4;// in ohm
R2 = 3;// in ohm
R3 = 2;// in ohm
R_L = 5;// in ohm
I = 6;// in A
V = 15;// in V
// V-R1*I1-R3*(I1+I) = 0;
I1 = (V-R3*I)/(R1+R3);// in A
I = I1 + I;// in A
Vth = R3*I;// in V
Rth = ((R1*R3)/(R1+R3)) + R2;// in ohm
// current in... |
1e6622059dcbdec70000cbc59a6cb91421ae47cd | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2ac/poly2ac6.sce | 8c1b7783225dbc72509323a1be3741dead0d77e2 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | poly2ac6.sce | //o/p when char type is given as i/p
a = 'hash';
efinal = 0.2; // Step prediction error
r = poly2ac(a,efinal); // Autocorrelation sequence
disp(r);
//Output
//!--error 10000
//Input arguments must be numeric.
//at line 31 of function rlevinson called by :
//at line 41 of function poly2ac calle... |
8f9d095671887cfe17317b6ea6b74884e79774b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH5/EX5.4/EX5_4.sce | 4cfdeb7fd3c75d797392133788c433f7c8039467 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,176 | sce | EX5_4.sce | // Example 5.4
// Computation of (a) Amount of torque that must be removed from the motor
// shaft to maintain 1760r/min (b) Expected minimum startimg torque for the
// lower voltage (c) Percent change in developed torque caused by 10% drop in
// system voltage.
// Page No. 185
clc;
clear;
close;
// Giv... |
f7ac50c9c51f5e8ef36137b3cf3f64ff89efc43c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH6/EX6.3/6_3.sce | c56fd4040f3dd9e2a12e9785e11051348ff24402 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,460 | sce | 6_3.sce | //Example 6.3
//Calculate the rate of boiling.
//Given
A=12.5673
B=4234.6
pv=1.813
T1=200 //C, tube wall temp.
//For methanol
Tc=512.6 //K, critical temp.
w=0.556 //acentric factor
Zra=0.29056-0.08775*w
R=0.08314 //m^3bar/gmol K, universal gas constant... |
c9d60c1464575b8dbde38c4f1f41f5d63804d6be | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/scicos_blocks/EXPBLK_f.sci | 0c3bdc571938db3f2697ea77ce5a6d972cde9da2 | [
"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 | 1,004 | sci | EXPBLK_f.sci | function [x,y,typ]=EXPBLK_f(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1... |
d423bee5a3e24075c576b360331c784b24223187 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH5/EX5.09/5_09.sce | 49e7ee86ee79f691d81c67b67248164b9c151360 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,046 | sce | 5_09.sce | //Problem 5.09:
//initializing the variables:
nCO2 = 7.5
nCO = 1.3
nO2 = 8.1
nN2 = 83.1
//calculation:
//Determine the amount of oxygen fed for combustion. Since nitrogen does not react (key component), using the ratio of oxygen to nitrogen in air will provide the amount of oxygen fed:
O2f = (21/79)*83.1
/... |
72489485a6eba126ff808dc6ceecbf3ce8e3398e | e1fcb98fc42106c41335695379d620ba376ad2ab | /Integração/simpson2.sci | 18bfb8bac444ca33e15d7db72d89ab6e817e0ea5 | [] | no_license | LuizFelipeLemon/CN | 82c142ff28c2cb63d1f8cb433965d63089628235 | 605076edd4ea218dd5e49dbba2b109f61efa9cfa | refs/heads/master | 2021-08-19T16:08:20.094123 | 2017-11-26T20:51:15 | 2017-11-26T20:51:15 | 103,070,142 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sci | simpson2.sci | function A = simpson2(a,b,n,y)
// Description of name(input)
h = (b-a)/n
x = a:h:b
y = f(x)
A = y(1)
for i = 2:n
if modulo(i,3) == 1
A = A + 2*y(1)
else
A = A + 3*y(i)
end
end
A = (3*h/8)*(A + y(n+1))
endfunction
function y ... |
0de978857f9517de624ec157bc1bc61df9d7e66f | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/soal_04.sce | cee10fd0e975e89a04ac42f94c6c9545d4ed28f2 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,362 | sce | soal_04.sce | V = 3 // m^3
function f = soal_04(v)
// Constants
Ru = 0.518 // kJ/(kg K)
// methane
Pc = 4600 // kPa
Tc = 191 // Kelvin
//
a = 0.427 * Ru^2 * Tc^2.5 / Pc
b = 0.0866 * Ru * Tc / Pc
T = -40 + 273 // K
P = 65000 // kPa
//
denum1 = v - b
denum2 = v*(v + b)*sqrt(T)
f = Ru*T*denum2 - a*denum1... |
97b275a6fdbc9c867fd0b1f1ec562692f56058f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.18/Example1_18.sce | c2c2b07d7aceedd0930e4db6942c8e0ff71ee159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_18.sce | //Example 1.18
//Program to Compute Cross-correlation of given sequences
//x(n)=[1 2 1 1], h(n)=[1 1 2 1];
clear;
clc ;
close ;
x=[1 2 1 1];
h=[1 1 2 1];
h1=[1 2 1 1];
y=convol(x,h1);
disp(round(y));
|
6553868aa864c1d04eec3c6a9b1ec795e8cc368e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH7/EX7.8/eg7_8.sce | c7f116b8f06e33bcfb898b3cd3826ffd3164c609 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | eg7_8.sce | clear;
//clc();
d=3;
r=0.01;
cn=2*(%pi)*8.85*10^(-12)/log([d/r])*1000000000000;
printf("\n the capacitance is: %.2f F/km\n ",cn);
cl=0.5*cn;
printf("\n the line to line capacitance is: %.2f*10^(-9)F/km\n ",cl);
bc=2*(%pi)*50*cn;
printf("\n the capacitance susceptance is: %.2f*10^(-6) S/km\n ",bc/1000);
... |
2f8a6821935ad8c8e1cfd388d6b28112f8bc0c99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.1.p/prob1_1.sce | 3c83b488675bda8ea76cdb8e2dcfd117c5ab59a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | prob1_1.sce | // Prob 1.1
clc;
clear;
close;
format('v',5);
// Given data
s=36;//no. of slots
p=4;//no. of poles
ph=3;//no. of phase
s1=s/ph;//no. of slots pe phase
m=s1/p;//no. of slots per pole per phase
alfa=180*p/s;//slot angle in degree
Kd=sind(m*alfa/2)/(m*sind(alfa/2));//distribution factor
disp(Kd,"Distribution ... |
21db4be4ca22b8774d6ed70b33ee28a65b530c92 | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/phys/screw/screw_new.sce | 6b1ef77a30fbb862d3644c4200f563eab1e7e45f | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | sce | screw_new.sce | function [screw] = screw_new(res, mom)
screw = [ res; mom ];
endfunction
|
d38a0a49d3851ef37e2e3d4605c5661b25e6908b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH6/EX6.15/Ch06Exa15.sce | c7c44b0a313e42475978acf8e4d647471255d9da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,262 | sce | Ch06Exa15.sce | // Scilab code Exa6.15: : Page-246 (2011)
clc; clear;
S = string(rand(2,1))
S(1,1) = 'antiparallel spin'
S(2,1) = 'parallel spin'
for i = 1:2
if S(i,1) == 'antiparallel spin' then
printf("\nFor Fermi types :")
printf("\n\n The selection rules for allowed transitions are : \n\tdelta I is ze... |
d9769593dba7393b6da317caa5ffe1d0c8ca12ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.35/35.sci | 3980db2aaa4844c211e92f0df6793b34a09915ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sci | 35.sci | clc;
clear all;
disp("heat loss per length")
r1=10*10^(-3);//m
r2=20*10^(-3);//m
r3=(20+30)*10^(-3);//m
t1=600;// degree C
t3=1000;// degree C
kB=0.2;// W/(m*C)
Ql=2*3.1416*(t1-t3)/((log (r3/r2))/kB);
disp("W/m",Ql,"heat transfer per unit length = ")
|
2d0c893fa2848d3334d88ce161c9d19447249d6c | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo5g.sce | 7d1e1fe778d31c20107e2873b309e37e87c2f064 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12 | sce | testexo5g.sce | u7=2^[2:9]
|
f0457d6c44107f38e044e585064c7128ef35fd0a | e4e988635315b331ef09f9cab70b128c9201e720 | /tables/superdarn/hdw/hdw.dat.tst | 7b76cddc10a3dbc92ec685ceb3e53adab45a79f3 | [] | no_license | sshepherd/CVR-RST | 58756530763a6936c3d4027baee5d18b7ce81810 | 13fc69b71a860c7996e2ccee86d7188a007649dc | refs/heads/master | 2021-01-15T21:48:46.788040 | 2015-09-02T20:04:17 | 2015-09-02T20:04:17 | 28,063,941 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | tst | hdw.dat.tst | # SD_BEGIN>
# This file defines all the hardware parameters for all the radars
# the format of the file is:
# station_id, year, yr_sec, lat, long, altitude, boresite, bm_sep,
# vdir, atten, tdiff, phidiff, interfer_pos[3], rec_rise
#
# This set of data is for Goose Bay
#
0 2999 31556736 +53.32 -60.46 50.0 +5.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.